Reloading Vue instance after ajax response received

I am new to Vuejs and using Vuejs 2.0. This is an evaluation phase for us as we are trying feasibility of Vue with our existing project.
What I am trying to achieve is on click event of a button the page makes an Ajax call and receives HTML content. This HTML content includes normal HTML tags as well as Vue components. After the end of the content, I have added Vue instance creation script so that the content received via Ajax request does recognize it and mark it as Vue component. But the thing is the response does loaded and set to the page correctly but Vue instance script does not sounds to work. It does not loads component like it should be.
I have found several issue somewhat similar to what I am looking for. But the solution provided in them are not fit for my case or not working out.
Here is the Vue content from Ajax response:
<input-element name="experimentCommandObj.name" id="name"
               label="Name"
               cssclass="form-group"></input-element>
  <checkbox-element name="experimentCommandObj.enabled" id="checkboxItem"
                    label="Tracking?"
                    cssclass="form-group"></checkbox-element>

Vue component:
Vue.component('input-element', {
	props: {
		id: String,
		name: String,
		label: String,
		cssclass: String,
		value: String
	},
	template: `
 {{ label ? label : name | capitalize }}
		  <input autocomplete="off" :title="label ? label : name | capitalize" class="text-property form-control" type="text"   :id="id"  :name="name" :value="value" />

`,
	filters: {
	  capitalize: function (value) {
		if (!value) return ''
		value = value.toString()
		return value.charAt(0).toUpperCase() + value.slice(1)
	  }
	}
});
Vue.component('checkbox-element', {
	props: {
		id: String,
		name: String,
		label: String,
		value: String,
		cssclass: String
	},
	template: `
 {{ label ? label : name | capitalize }}
		  <input type="hidden" :name="name" />
		  <input type="checkbox" :name="name" :id="id" :title="label ? label : name | capitalize" />

`,
	filters: {
	  capitalize: function (value) {
		if (!value) return ''
		value = value.toString()
		return value.charAt(0).toUpperCase() + value.slice(1)
	  }
	}
});

HTML page in which Vue instance is been loaded:

<input type="button" onclick="javascript: makeAjaxReq()" value="Submit" />

Any input/hint greatly appreciated.

Why do you want to get your component with Ajax and how have you defined your makeAjaxReq() method? Why can you not use conditional rendering to show or hide your component based on ajax response?

Current structure we are having is completely HTML. On makeAjaxReq(), it creates ajax request with get/post method and send it to the server, which returns HTML response. That response is set/update to one of the container on the page. Mostly ajax request is to validate form data and show error messages (in case data is invalid) or submit the form and show next step which may be another form or another page in the container.
About conditional rendering, it is I think ok if impact to the form/ajax response is small. In my case it is completely new form as ajax response or error messages to each form field.
Please correct me if my approach is wrong.

Why can't the button which makes the ajax request be inside the Vue instance instead of outside? Why would you need a separate javascript file to make the request?

The reason there is separate javascript file is we have created a common js library which performs some task prior to make request and handling of response. This javascript library also handles some data validations, performs session checking operations. These are all done in our custom javascript library.
As far as I have understood Vuejs (which is at a beginner level), we can do ajax request inside method section of Vue instance. To perform ajax call from Vue's method we will need ajax request handling on each and every Vue instance. And there are hundreds of ajax calls being made in entire applications.  And there may be chance that to perform ajax request we may have to switch on and off some html elements which are out of Vue instance's scope.
Thank you.

Any input on this please @pranayaryal ?

You can use Vue's lifecycle hooks to subscribe to a service or to unsubscribe from a service. https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks

@parthbhagat Please use our forum or Discord.

Perhaps this can help https://vuejs.org/v2/guide/components-dynamic-async.html


unity-hub headless option does not seem to work properly

Bug description
When I am using a too recent version of Unity Hub (>= 3.3.0) then the script unity-hub generates a lot non-fatal errors. That occurs only if it is launched from a container.
At the end we get the docker image unity-hub but it makes the Gitlab job fails.

How to reproduce

docker build game-ci/docker/images/ubuntu/base -t unity-base --build-arg ubuntuImage="ubuntu:20.04"
docker build game-ci/docker/images/ubuntu/hub -t unity-hub --build-arg baseImage=unity-base --build-arg hubVersion="3.4.1"

Expected behavior

A way to avoid having these error logs in the terminal output.
Additional details

#7 [builder 2/5] RUN unity-hub install --version "2022.2.11f1" --changeset ...
#7 2.656 [22:0403/115000.551237:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
#7 2.656 [22:0403/115000.551816:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
#7 2.658 [22:0403/115000.554119:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
#7 2.658 [22:0403/115000.554205:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
#7 2.783 [53:0403/115000.679104:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
#7 2.919 [96:0403/115000.814817:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
#7 2.973 [143:0403/115000.869070:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
#7 3.754 [22:0403/115001.649813:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
#7 3.754 [22:0403/115001.649896:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
#7 3.754 [22:0403/115001.649956:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
#7 3.771 This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
#7 3.771 Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.774 (node:22) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.774 (Use `unityhub-bin --trace-warnings ...` to show where the warning was created)
#7 3.775 (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
#7 3.775 This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
#7 3.775 Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.776 (node:22) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.777 (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 8)
#7 3.777 This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
#7 3.778 Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.778 (node:22) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.779 (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
#7 3.779 This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
#7 3.780 Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.780 (node:22) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.781 (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)
#7 3.781 This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
#7 3.782 Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.782 (node:22) UnhandledPromiseRejectionWarning: Error: Unknown or unsupported transport “disabled” for address “disabled:”
#7 3.783 (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 11)

The error seems to be triggered by the presence of the keyword Error

Yes, of course. Sorry.
I am running this command using unity-hub 3.4.1:
docker build game-ci/docker/images/ubuntu/editor -t unity-editor --build-arg baseImage=unity-base --build-arg hubImage=unity-hub --build-arg version="2022.2.11f1" --build-arg changeSet="621cd60d08fd" --build-arg module="android"

And there is the output:
#1 [internal] load .dockerignore
#1 transferring context: 2B done
#1 DONE 0.0s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 14.64kB done
#2 DONE 0.0s
#3 [internal] load metadata for docker.io/library/unity-base:latest
#3 DONE 0.0s
#4 [internal] load metadata for docker.io/library/unity-hub:latest
#4 DONE 0.0s
#5 [stage-1  1/19] FROM docker.io/library/unity-base
#5 CACHED
#6 [builder 1/5] FROM docker.io/library/unity-hub
#6 DONE 0.0s
#7 [builder 2/5] RUN unity-hub install --version "2022.2.11f1" --changeset ...

=> unity-hub warnings related to the fact that we try to launch it from a docker container (despite the headless option)

#7 7.316 Progress:
#7 7.316 [Unity 2022.2.11f1] queued for download.
#7 7.316 Progress:
#7 7.317 [Unity 2022.2.11f1] queued for download.
#7 7.322 Progress:
#7 7.322 [Unity 2022.2.11f1] validating download...
#7 7.323 Progress:
#7 7.323 [Unity 2022.2.11f1] validating download...
#7 7.323 Progress:
#7 7.323 [Unity 2022.2.11f1] validating download...
#7 8.173 Progress:
#7 8.173 [Unity 2022.2.11f1] in progress...
#7 9.379 Progress:
#7 9.380 [Unity 2022.2.11f1] downloading 0.55%
...
#7 183.3 Progress:
#7 183.3 [Unity 2022.2.11f1] downloading 99.61%
#7 183.8 Progress:
#7 183.8 [Unity 2022.2.11f1] downloading 100.00%
#7 183.8 Progress:
#7 183.8 [Unity 2022.2.11f1] finished downloading.
#7 183.8 Progress:
#7 183.8 [Unity 2022.2.11f1] finished downloading.
#7 183.8 Progress:
#7 183.8 [Unity 2022.2.11f1] queued for install.
#7 183.8 Progress:
#7 183.8 [Unity 2022.2.11f1] queued for install.
#7 189.1 Progress:
#7 189.1 [Unity 2022.2.11f1] validating installation...
#7 189.1 Progress:
#7 189.1 [Unity 2022.2.11f1] validating installation...
#7 189.1 Progress:
#7 189.1 [Unity 2022.2.11f1] installing...
#7 354.0 Progress:
#7 354.0 [Unity 2022.2.11f1] installed successfully.
#7 354.0 All Tasks Completed Successfully.
#7 354.0 Progress:
#7 354.0 [Unity 2022.2.11f1] installed successfully.
#7 354.0 All Tasks Completed Successfully.
#7 DONE 358.8s
#8 [builder 3/5] RUN for mod in android; do       if [ "$mod" = "base" ] ; ...

=> unity-hub warnings related to the fact that we try to launch it from a docker container (despite the headless option)

#8 3.666 Adding module android-sdk-platform-tools as dependency of android-sdk-ndk-tools.
Adding module android-sdk-build-tools as dependency of android-sdk-ndk-tools.
Adding module android-sdk-platforms-29 as dependency of android-sdk-ndk-tools.
Adding module android-sdk-platforms-30 as dependency of android-sdk-ndk-tools.
Adding module android-ndk as dependency of android-sdk-ndk-tools.
Progress:
#8 3.677 [Android Build Support] queued for download.
#8 3.678 Progress:
#8 3.678 [Android Build Support] queued for download.
#8 3.683 Progress:
#8 3.683 [Android Build Support] validating download...
#8 3.684 Progress:
#8 3.684 [Android Build Support] validating download...
#8 3.684 Progress:
#8 3.684 [Android Build Support] validating download...
#8 3.693 Progress:
#8 3.693 [Android Build Support] validating download...
#8 3.693 [Android SDK Platform Tools] queued for download.
#8 3.693 Progress:
#8 3.693 [Android Build Support] validating download...
#8 3.693 [Android SDK Platform Tools] queued for download.
#8 3.695 Progress:
#8 3.695 [Android Build Support] validating download...
#8 3.695 [Android SDK Platform Tools] validating download...
#8 3.695 Progress:
#8 3.695 [Android Build Support] validating download...
#8 3.695 [Android SDK Platform Tools] validating download...
#8 3.695 Progress:
#8 3.695 [Android Build Support] validating download...
#8 3.696 [Android SDK Platform Tools] validating download...
#8 3.705 Progress:
#8 3.705 [Android Build Support] validating download...
#8 3.705 [Android SDK Platform Tools] validating download...
#8 3.705 [Android SDK Build Tools] queued for download.
...
#8 230.2 [Android SDK Platforms 29] installed successfully.
#8 230.2 [Android SDK Platforms 30] installed successfully.
#8 230.2 [OpenJDK] installed successfully.
#8 230.2 [Android SDK & NDK Tools] installed successfully.
#8 230.2 [Android NDK] installed successfully.
#8 230.2 All Tasks Completed Successfully.
#8 DONE 238.7s
#9 [builder 4/5] RUN echo "2022.2.11f1-android" | grep -q -vP '^(2021.2.(?!...
#9 DONE 0.6s
#10 [builder 5/5] RUN echo "2022.2.11f1-android" | grep -q -vP '^(2021.2.(?!...
#10 DONE 0.6s
#11 [stage-1  2/19] COPY --from=builder /opt/unity/editors/2022.2.11f1/ /opt...
#11 DONE 59.5s
#12 [stage-1  3/19] RUN echo 2022.2.11f1 > "/opt/unity/version"
#12 DONE 0.4s
#13 [stage-1  4/19] RUN /bin/echo -e '#!/bin/bash\n\nif [ -d /usr/bin/unity-...
#13 DONE 0.6s
#14 [stage-1  5/19] RUN echo "2022.2.11f1-android" | grep -q -v '^2019.3.[0-...
#14 DONE 0.6s
#15 [stage-1  6/19] RUN echo "2022.2.11f1-android" | grep -q -v '^\(2019.3.[...
#15 DONE 0.6s
#16 [stage-1  7/19] RUN echo "2022.2.11f1-android" | grep -q -v '^\(2020.1\|...
#16 DONE 0.6s
#17 [stage-1  8/19] RUN echo "2022.2.11f1-android" | grep -q -v '^2018\.[34]...
#17 DONE 0.5s
#18 [stage-1  9/19] RUN echo "2022.2.11f1-android" | grep -q -vP '^20(?!18)....
#18 DONE 0.7s
#19 [stage-1 10/19] RUN echo "2022.2.11f1-android" | grep -q -vP '^(202[1-9]...
#19 DONE 0.6s
#20 [stage-1 11/19] RUN echo "2022.2.11f1-android" | grep -q -vP '^(20(19|20...
#20 DONE 0.5s
#21 [stage-1 12/19] RUN echo "2022.2.11f1-android" | grep -q -vP '^(202[1-9]...
#21 0.463 /bin/sh: 1: /bin/sdkmanager: not found
#21 ERROR: process "/bin/sh -c echo \"$version-$module\" | grep -q -vP '^(202[1-9]|20[3-9]).*android'   && exit 0   || :   && . ~/.bashrc   && yes | \"${ANDROID_CMDLINE_TOOLS_PATH}/bin/sdkmanager\" --licenses" did not complete successfully: exit code: 127
------
 > [stage-1 12/19] RUN echo "2022.2.11f1-android" | grep -q -vP '^(202[1-9]|20[3-9]).*android'   && exit 0   || :   && . ~/.bashrc   && yes | "${ANDROID_CMDLINE_TOOLS_PATH}/bin/sdkmanager" --licenses:
------
process "/bin/sh -c echo \"$version-$module\" | grep -q -vP '^(202[1-9]|20[3-9]).*android'   && exit 0   || :   && . ~/.bashrc   && yes | \"${ANDROID_CMDLINE_TOOLS_PATH}/bin/sdkmanager\" --licenses" did not complete successfully: exit code: 127

Ah the changes that made it to main are for Unity Hub 3.4.2-beta.1 as that version is the first to fix the incorrect android package installation when in headless mode. This will not work with 3.4.1 or earlier.

It works perfectly with Unity Hub 3.4.2-beta.1. Thank you.


[Gluten-4433][VL] Fix cast int and string to timestamp issue

What changes were proposed in this pull request?
Added support for casting int and string to timestamp in velox.
Fixes : https://github.com/oap-project/gluten/issues/4433
Velox PR : https://github.com/oap-project/velox/pull/479
How was this patch tested?
Tested by adding UTs.

@rui-mo Can you please review this PR. Corresponding Velox PR https://github.com/oap-project/velox/pull/479

Hi @sharmaplkt @pulkitsharma7, thank you for working on this. It is preferred to file Velox PRs to Velox upstream, and Gluten can use them after they are merged.


How can i use the "ON"-Button?

Hi guys,
Sorry if the question sounds stupid... but i don't find any hint, to which GPIO, the "ON"-Button on the Side of the TimerCam, is connected to. On other M5-Modules the PWR-Button isn't even connected to the esp32, but to another chip that also controls the RTC.
Do you know, how i can use it either as trigger to take photos, or turn on/off the camera?
Thank you in advance!

Hello @v8-rt
it's connected to GPIO37. See Pinmap/Button here.
It is my understanding that when the camera is powered off it will power it on. And when the camera is already powered on it depends on what you program your application to do when GPIO37 is pulled down to GND.
Thanks
Felix

Thanks @FedericoBusero for help! I would also love to learn more about how TimerCAMs power work and more working examples would be nice. I want to make pictures more often and I'd like to use powerbank with my unit, but timerSleep() doesn't wake up when there is power through USB port..


Easier prefiltered cubemap

Now you can just set material.prefilteredCubeMap128 = loaded DDS cubemap.
Mips will be extracted automatically if needed.

This is an improvement but I don't think it's going to work if you have to set the prefilteredCubeMap128 property. We need to make it only accept the cubeMap property and depending on what type of texture it is then set the appropriate prefiltered internal properties of the material.
That's because the material asset will reference a cubeMap which might be prefiltered or it might not. Then the cubeMap resource loader will return either a plain cubemap pc. exture

... Or a dds pc.Texture.  In either case the result will go into the cubeMap property of the material so that's why the cubeMap property needs to be smart about what it accepts.

I was going to do that, but realized that as we have separate sphereMap and cubeMap properties (with cubemap having higher priority), maybe prefiltered cubemap should also be separate (different codepath and features).

Sorry for closing the pull request my stupid phone did it

The problem is the one I explained above, because we are loading something that is predetermined to go into the cubeMap property so we can't load a dds pc.Texture and tell it to go to a different property instead

OK, you now should be able to set prefiltered cubemaps into cubeMap

Good man - I'll play with this tomorrow :)

Fixed cache issue, fixed syncing betwee cubeMap/prefilteredCubeMap, also fixed some minor stuff.


quickswitch fix, resizeable playlist

made the playlist resizeable and tried to fix the crash when switching songs to quickly
Greetings,
Taki

You made a lot of changes that weren't related to the problems, and I didn't like that you were throwing away the exceptions without handling them, potentially leaving it in an unusable state that's half-loaded because it abandoned halfway through
But in 3.0.9 I have now applied these; the playlist is resizable (and font isn't crazy big), and I fixed the crash when changing songs

well it was a drity workaround ^^

Lol all good.  I'm happy for contributions but ... preferably not quick and dirty.  Or if it is, it might just make me try to do it less dirty.
In this case I dug around and found that the issue is the LoadAsync method ... which is using very old async implementations and shouldn't be there, but it is and it's from another library.  So basically if the async method was already loading something and you tried to load something else, it would crash.
It has a CancelLoadAsync method, which throws an exception everytime you use it because they wrote it wrong
So I just made it completely destroy and remake the sequencer everytime you change songs instead, which makes it unable to break so it all just works


Add Database Schema Support

It will be nice to have if the Authorizer supports the database schema.
This will be useful when using a shared database such as PostgreSQL in one instance.

Since Authorizer using Gorm this will not too hard to implement.

@riipandi yes. That is true but now after so many releases I will have to think about backward compatibility else if tables changes one might not get the required data.


theme

Good afternoon
Symbols are not visible when the theme is dark

I'm talking about something else. If you enable dark theme. Then the characters become unreadable.

DARK theme


Make paranoid_column_reference a method

paranoid_column_reference is currently a class attribute which is set when a class is
loaded and the acts_as_paranoid method is invoked. A
rails model can set its table_name after it declares itself as
acts_as_paranoid.  This means that whenever paranoid_column_reference is
referenced in the gem it does not match the table_name for the model
which can cause errors

e.g.
# Currently works
class User
  self.table_name = "Account"
  acts_as_paranoid
end
#Currently breaks
class User
  acts_as_paranoid
  self.table_name = "Account"
end

This change turns this attribute into a method so that it will always
match whatever the table_name is instead of it set when the class is loaded.
This means a developer can invoke acts_as_paranoid wherever they would like in the class and if they change table_name at runtime acts_as_paranoid continues to work

Hi @AlexWheeler this makes a lot of sense. Would you mind adding some tests for this?

@mvz yep totally will get some tests up when I find some time this week!

closing in favor of: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/131 which has test


Toradex Apalis IMX8 display overlay support

Update u-boot-distro-boot to support overlays, enabling display
support on the Apalis IMX8.
Signed-off-by: pagi<EMAIL_ADDRESS>

Hi @pgiangrossi it's unclear to me where these files came from. I'm really wondering if we should do this as a patch file against the upstream Toradex BSP version of the file. I think that will make it clearer what we are changing and why.  As well, it will more easily allow us to detect when changes occur in the upstream BSP that might be needed as the patch will likely fail in that case and we can investigate.  I'll take a swing at that so you can see what I mean.

These changes are part of this PR.  Closing


Added travis and coveralls badges to README

🎫

Changes Unknown when pulling 067314c257013d723629fe06ca0763e99752952e on chore/coverage-stats into ** on master**.

Changes Unknown when pulling 9696cf1fd839561359dcb7455a4d8bff77e8b440 on chore/coverage-stats into ** on master**.

I think the coveralls bot is too noisy, an we avoid somehow the comments on the PRs? what do you think?

disabled 💬 🙉 ⛔


Unable to run nist-data-mirror on OpenShift

As OpenShift does not support using the root user, it is not possible to deploy the Docker image to OpenShift. It fails with the followig error:

It seems that supervisord is configured to run as root:
https://github.com/stevespringett/nist-data-mirror/blob/master/src/docker/conf/supervisord.conf#L3

We have the same problem, not able to run dockerimage on openshift because of the root-user.
Error: Can't drop privilege as nonroot user
For help, use /usr/bin/supervisord -h

Also port 80 for httpd is not allowed:
(13)Permission denied: AH00072: make_sock: could not bind to address <IP_ADDRESS>:80

Same problem as well, not able to drop the user to nonroot for supervisord. Any workaround or solution for this?


not showing all the tasks

I have
includes:
  config:     ./config
  proto:      task/proto.yml
  go:         task/go.yml
  mod:        task/mod.yml
  install:    task/install.{{OS}}.yml
  build:      task/build.{{OS}}.yml

full source: https://github.com/xmlking/grpc-starter-kit
but vs code only showing few

why I click run I got following error

why I click run I got following error

I already installed   go-task with brew and it is on my path

I already installed   go-task with brew and it is on my path


Enable web ui for "pelican serve" mode

Pelican serve mode currently runs without web_ui enabled, there is a prometheus issue from trying to start up and return metrics in the same process.
This should be dealt with after issue #523

This should be closed with #587 and #570


Keyboard sometimes do not show up on iOS when focused on send box

Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
NPM
Which hosting environment does this issue primarily affect?
Cordova/PhoneGap
Which browsers and platforms do the issue happened?
Platform: iOS/iPadOS
Which area does this issue affect?
Send box
What is the public URL for the website?
No response
Please describe the bug
Framework: Ionic React with Capacitor
focus on send message box sometimes does not trigger virtual keyboard
Do you see any errors in console log?
No response
How to reproduce the issue?

Build simple ReactWebchat in Ionic React using a starter template https://ionicframework.com/docs/react/your-first-app
Deploy to a physical Iphone or simulator device (ensure virtual keyboard is enabled)

What do you expect?
focus on send message box always trigger virtual keyboard
What actually happened?
focus on send message box sometimes DOES NOT trigger virtual keyboard
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
probably related to Webchat text box component not implemented with  as intended in an ionic react app.
I can perhaps try manually hooking 'keyboard show command' on send message box focus. Don't know if Webchat supports this.

@proxy-hatch,
Asking few clarifying questions:

Is this issue happening only for iOS devices?
Is this issue reproducible only with Ionic Framework?
Have you tried to isolate Ionic React Framework/Capacitor from WebChat to see if this issue is still reproducible?

Hi @proxy-hatch, Closing this due to inactivity.


headings

Can headings be used to intercept the ILS

Yes, that is how you're meant to do it if an airport does not have a defined set of waypoints leading to the ILS.
Use the command 'fh###' for headings, ### being a 3 digit heading (ie. 090) and 'ils ###' to clear an aircraft for the ILS, ### being the runway.


Add example of how to run CronJob using secrets

Suggest a method to use secret instead of a configmap for k8s payloads.
Secrets by default are only base64 encoded,
but in case there is encryption on RBAC or encryption on secrets, and not on configmaps,
it will be safer to use secrets instead of configmaps.
Moreover it will serve as a tip for a non malicious admin to not mess with the information.
Signed-off-by: Or Shoval<EMAIL_ADDRESS>

Thanks, addressed

changes: see https://github.com/oshoval/github2jira/pull/2#discussion_r762522942


[BUG] Login required after every 2 / 3 days

Describe the bug
I do a new login. Save settings in file. Next time I load settings and login through that (no new session created). After Two or Three days, Instagram otp challenge appears. I use cl.media_pk_from_url cl.media_info cl.story_pk_from_url cl.story_info cl.cl.user_info_by_username with time gap (max 50 requests in a day)
To Reproduce
cl = Client()
cl.login(username, password)
settings = cl.get_settings()
save_settings(settings) # save settings in file

from instagrapi import Client
settings = load_settings() # return saved settings in file
cl = Client(settings)
cl.login(username, password) # no new session created.

Expected behavior
login_required error
Desktop (please complete the following information):

OS: Parrot OS
Python version 3.8
instagrapi version 1.16.29

Additional context
I am asked to login by solving otp challenge (mostly sms otp) after 2 or 3 days from the day i created session.

Hello @RoyalBosS-Ayush, I had the same problem, so I created a logic to check if the login is ok.
from os.path import exists

  @staticmethod
  def __get_client() -> Client:
      client = Client()

      if exists('./tmp/dump.json'):

          loaded_settings = client.load_settings('./tmp/dump.json')

          # validate if client is logged
          if not loaded_settings.get('last_login'):
              remove('./tmp/dump.json')

              return UserService.__get_client()
      else:
          client.login(os.environ.get("INSTAGRAM_USER"), os.environ.get("INSTAGRAM_USER_PASSWORD"))
          client.dump_settings('./tmp/dump.json')

      return client

How does it solve the issue? Instagram will still log me out and i'll have to solve challenge to continue using id.


Highlight alternative opening moves

In addition to best, highlight alternative opening moves in darker green cell frame

Make it a user setting, to consider the move as alternative best, so it won't stop study and keep analysis the position in case it has sufficient role


Option to also enable BorderRadius at the beginning of stack

Feature Proposal
Following this PR : https://github.com/chartjs/Chart.js/pull/8941 Only enable the bar borderRadius at the end of the stacks
I really like what this does although I don't really understand why the bottom part would get a radius only when it has negative value.
Feature Use Case
My use case is the following: a single data set (with several values) without negative value, in an horizontal bar. I just need the bar to look pretty with radius on every corner of the dataset (so just like the yellow example of the PR desc but without negative value).
The borderRadius object syntax works well out of the box until the dataset potentially has empty values, then it becomes a nightmare to handle since every declaration of  borderRadius has to check against the others in the dataset before setting (or not) the radius.
Possible Implementation
A borderStartStack bool param that would automatically apply radius to the first non null segment of the stack, wherever its value is negative or not.

Duplicate of #9217

Hi sorry if I wasn't clear enough but it's not, the request is about outer borders so getting exactly like the yellow example of the PR:

This behavior is only possible to get if your dataset contains a starting negative value, else you get :

I understand why it's made this way since it is probably what you need in most cases.
I also understand that I can use the borderRadius object syntax to cover this case and easily get the yellow output this way.
However: in the case the dataset can have 0 value this becomes very hard to manage, because any segment can become the first or the last of the stack. Which means the borderRadius needs a quite complex logic (testing against every single previous segment for bottom borders + testing against every single next segment for top borders, for every dataset) to handle this simple (and common) effect.

I think you just need the borderSkipped: false docs in your dataset.
https://jsfiddle.net/hge96oru/

Hi yes sorry I meant several datasets but stacked on a single bar, so exactly just like the yellow bar of the linked PR.
FYI here is how I solved it, by checking for all segments if every previous value are 0/null (for left borders) and every next values are 0/null (for right borders):

const borderRadius = 12

const leftBorder = (i, data) =>
	data.slice(0, i).every((v) => v === 0 || !v) ? borderRadius : 0

const rightBorder = (i, data) =>
	data.slice(i + 1).every((v) => v === 0 || !v) ? borderRadius : 0

const chart = {
	data: {
		datasets: my_data.map((value, i, data) => ({
			data: [value],
			borderRadius: {
				topLeft: leftBorder(i, data),
				bottomLeft: leftBorder(i, data),
				topRight: rightBorder(i, data),
				bottomRight: rightBorder(i, data),
			},
		}))
	}
}

This way I get nice rounded borders for bars whatever the stacked values are.


Windows Playbook Java installation API broken

The Windows playbook roles that install the OpenJ9 Java doesn't work because it produces multiple zip files because of the new large heap binary. Adding heap_size variable to the URL should fix this.
"OpenJDK8U-jdk_x64_windows_openj9_8u222b10_openj9-0.15.1.zip", "heap_size": "normal"
"OpenJDK8U-jdk_x64_windows_openj9_windowsXL_8u222b10_openj9-0.15.1.zip", "heap_size": "large"

The affected roles are Java8, Java11, and Java12.
Not sure what the default should be, but it can be added to AdoptOpenJDK_Windows_Playbook/group_vars/all/adoptopenjdk_variables.yml.

We generally use the hotspot ones at AdoptOpenJDK so this isn't an issue, but we don't have any particular need for the large heap ones to my knowledge so I'd pick normal for any PR on this.


Added Newick type and Phylotree.newick attribute

Feel free to kill this. Because Newick is an InterMine class, and I didn't want to deviate from how we query InterMine, I created a Newick type so that I can then resolve a Phylotree.newick field, providing the Phylotree.newick.content string. This is because Phylotree does not have a Newick reference, so I cannot query Newick directly from Phylotree.
That is something I could change in a future mine version, where we could query Phylotree.newick.content.
The reason Newick is a separate class in InterMine has to do with large strings and indexing. Newick is a "simple" class without an id, which means it doesn't get indexed or included in the object store. And I don't want it to be. (Another example of a simple class is ExpressionValue.)
Not all the mines have populated Phylotree/Newick (same loader). But the current dev MiniMine <IP_ADDRESS> does have the Phylotree/Newick classes populated:
INTERMINE_URI=https://mines.dev.lis.ncgr.org/minimine/service
Also, the production GlycineMine <IP_ADDRESS> has them as well. I'd been moving away from storing Phylotree since I link off to another site from the gene family, but now that we're looking at querying Phylotree in graphql I'll populate it in all the mines.

Of course, if you just want the Newick and you've got a gene family identifier, you can just get the Newick with that identifier.

I think it make sense for the Newick tree (i.e. the Newick type's content field) to just be a string field of the Phylotree type in the GraphQL API because the Newick is just a different representation of the same tree data. Of course this wouldn't change the Intermine model so we would have to translate between the GraphQL API and the Intermine model via the resolvers.
Also, is line 27 in src/resolvers/intermine/phylotree.ts correct, i.e. is the Newick identifier the same as the Phylotree identifier?

Also, is line 27 in src/resolvers/intermine/phylotree.ts correct, i.e. is the Newick identifier the same as the Phylotree identifier?

Yeah, that's kind of the whole idea, which is why there is no Phylotree.newick. I can't query the newick via Phylotree so I have to query it via a get-newick routine. And the get-foo routines want a model. And a model wants a graphql type. So the whole thing cascaded up to me having to create a Newick type to be consistent with our design.
I can add Phylotree.newick in <IP_ADDRESS> and we can just hold off on this. But <IP_ADDRESS> is well underway so we're talking probably a half year or so before that happens. Unless I bail on my current builds and add Phylotree.newick to <IP_ADDRESS> and start over with the builds. I think a GraphQL temporary solution like this makes a lot more sense. Phylotree.newick.content isn't the end of the world for a temporary solution.

But we can populate a string field Phylotree.newick from the Newick object, I guess. I just figured that I'd go with the normal routine, if we've got a Type, we use that Type and then pull it's fields down the chain. So, Phylotree.newick.content rather than Phylotree.newick for the time being. But no strong opinion on that. And if you want to wrangle stuff to draw content from the Newick mine object (using Phylotree.identifier) without having a Newick type, feel free! I just didn't want to veer into a different way of querying and resolving.

Again I keep forgetting that I have a standalone Newick object in the mines for performance reasons. I don't want to index that huge "meaningless" content in keyword search or the object store. I did that first and it really slowed things down. So, now that I remember that, we need to stick with a standalone Newick object in the mines and deal with populating Phylotree on the graphql side.

Again I keep forgetting that I have a standalone Newick object in the mines for performance reasons. I don't want to index that huge "meaningless" content in keyword search or the object store. I did that first and it really slowed things down. So, now that I remember that, we need to stick with a standalone Newick object in the mines and deal with populating Phylotree on the graphql side.

This is totally fine. The beauty of the GraphQL approach is that we don't need data model parity between Intermine and GraphQL. I think the parity-by-default approach that we've been taking is good, but this seems like an instance where deviating makes sense.

@sammyjava I added a commit to this PR that removes the Newick GraphQL type and makes the newick field of the Phylotree type the newick string. Check it out.

Ahhh, so we have graphqlNewickAttributes to be able to run the query and load stuff into a JSON for Phylotree.newick resolution, but we don't have the Newick type to store that stuff. That's sort of the ultimate extension of the "temporary" fields like organismIdentifier that we use, where everything is a "temporary" field.
I am getting null for the Newick, though.

Ahhh, so we have graphqlNewickAttributes to be able to run the query and load stuff into a JSON for Phylotree.newick resolution, but we don't have the Newick type to store that stuff. That's sort of the ultimate extension of the "temporary" fields like organismIdentifier that we use, where everything is a "temporary" field.

Yeah, you were 90% of the way there.

I am getting null for the Newick, though, which is where I was when I tried this yesterday. :)

Did you use INTERMINE_URI=https://mines.dev.lis.ncgr.org/minimine/service? The default mine doesn't seem to have any newick.


Find optional ways to suppress messages from get_data

Right now, get_data returns two informational messages that may want to

"auto-disconnect" messages linked to the postgreSQL connection. I propose to get rid of this message entirely.
The message printed whenever users download data ("your downloaded project n..." ect. ). We might decide to provide a way to silence this message.

I've written a function, db_close(connection, quiet=T) to silently close the postgreSQL connection.


WIP: EC-802

This is a WIP

After a conversation with @lcarva this will be abandoned and an alternate approach taken.


Create PythonHelloWorldEle

What does the program do ?
hello world
In what programming language it is written?
Python

This pull request do not contains files in specific folders. Please fix it and reopen for help see https://help.github.com/articles/moving-a-file-to-a-new-location/


spirv_msl: Add support for gl_GlobalInvocationId

Hey all,
As the name implies this adds support for gl_GlobalInvocationID to the MSL output so that non-trivial compute shaders work. Unfortunately this commit is in the MSL backend that doesn't have tests but locally we have verified this works correctly and using gl_GlobalInvocationID works as expected.

I would like to get https://github.com/KhronosGroup/SPIRV-Cross/pull/100 in before merging this.

Sounds good, thanks for putting tests together.

Just saw the part about additional builtins.

PTAL again.

Merged, and fixed the issue with device const&.

Sorry I didn't get back to this in time.


First paragraph of many articles omitted

Some articles have their first paragraph omitted, regardless of the configuration values of CleanConditionally and StripUnlikelyCandidates. Examples below:
https://www.engadget.com/2019/05/10/lyft-just-started-experimenting-with-car-rentals-in-san-francisc/?utm_campaign=homepage&utm_medium=internal&utm_source=dl
The paragraph beginning with "Between offering on-demand rides..." at the beginning of the article is completely absent from cleaned content.
https://www.cnn.com/2019/04/12/us/andrew-chael-katie-bouman-black-hole-image-trnd/index.html
The short paragraph beginning with "When internet trolls tried..." is omitted from the article content. This section gets assigned to the article excerpt and is recoverable that way, but the first example's lost paragraph is not available in the excerpt.
I've looked at several pages where this behavior happens and I'm unable to determine why it is happening. HTML parsing is not my strong suit so I'm hoping someone can take a look. I really appreciate all the work on this library.
The code I'm using to scrape these pages:
$pageContent = file_get_contents($this->url);

    $readabilityConfig = new Configuration([

    ]);
    $readability = new Readability($readabilityConfig);

    try {
        $readability->parse($pageContent);
    } catch (ParseException $e) {
        echo('parse failed');
    }

same problem


Bugfix: inspector not receiving events on autocompletion selections.

Fixes https://github.com/jupyter/jupyterlab/issues/767

Works for me, thanks!


Add option to disable rev in config.json

I have to switch from revisioned to non revisioned versions according to the project. Some are used in bigger projects which have a revision system themself, others are simply static sites. I found it useful to add a config setting to enable / disable revisioning in the config for that.
Another option I considered was using a different production task for it, but that would need a different name for multiple tasks which seems a not so clean solution.

Change ref to rev and i think this is good to go!

I'll rebase with master and update the name, and get this merged.

Pulled in the latest, made a few changes and opened #269


Add all files from mixins schemas and extension folder for localization

Please link to the issue #…

To get the build pass, you can just add a resolver function to handle the conflict. You can refer to the example of resolver here --> https://github.com/adobe/xdm/blob/727e86d290e3087b6492c5ac50100157dd732211/bin/xed-validation/xedConverter.js#L305


Update Feast client version

Signed-off-by: khorshuheng<EMAIL_ADDRESS>
What this PR does / why we need it:

Feast SDK version v0.9.4 improves performance for retrieval of large number of entities.
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

Checklist

[ ] Added unit test, integration, and/or e2e tests
[ ] Tested locally
[ ] Updated documentation
[ ] Update Swagger spec if the PR introduce API changes
[ ] Regenerated Golang and Python client if the PR introduce API changes

Do you have any benchmark for this update?

Based on our internal testing using requests consists of about two hundred entities, it's around 20ms faster. The gain in latency is proportional to the number of entities.

Wow, that's a lot faster! Thanks @khorshuheng!
We will have this PR merged later next week ya for our next release (v0.22) because we are already on code freeze for v0.21


removed the RETSVersion class

Description
Not using the retsversion class so it is removed. May create a util to compare rets versions at a later time.
GitHub Issues

#31

Coverage increased (+3.9%) to 89.374% when pulling 5496c1f3c684bda34eb3aff787e0d30c5901f251 on mcrowson:deprecate_retsversion into 7791791eaa6cbd5f935c7db8d3bb7bbfaca388db on refindlyllc:development.


No demo html

want to preview this easily but you have no demo.html for me to just live load on install and have a look at since the website doesn't exactly make it easy to find the actual demo for this feature. just a bunch of information.

Hi, we will update the site and demo with new version by Wednesday and try to add more info here. Watch our blog and Twitter for more updates it will be busy week.

Demo for the set of components stored in this repository can be seen at http://demo.baasic.com/polymer/


WIP: Add GitHub Super-Linter

Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

Closing in favor of https://github.com/submariner-io/submariner-website/pull/214.


Update lang v3.0 --> return single language instead of a list

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

@HanLiMS this is a breaking change in a swagger that's marked as stable.  Is this intentional?

@HanLiMS this is a breaking change in a swagger that's marked as stable. Is this intentional?

@HanLiMS this is a breaking change in a swagger that's marked as stable. Is this intentional?

@jhendrixMSFT Yes. We have not published this version v3.0 yet. This change is included in v3.0 version update.  Is this also the reason that "Breaking Changes" failed?  Could you give me some suggestions on moving forward? Thanks!

/azp run automation - sdk

@HanLiMS can you please clarify what "have not published this version 3.0 yet" means?  Merging swagger changes into the public specs repo is a release event and signals to customers that the API is ready for consumption.

@HanLiMS can you please clarify what "have not published this version 3.0 yet" means? Merging swagger changes into the public specs repo is a release event and signals to customers that the API is ready for consumption.

@jhendrixMSFT  We have not released v3.0 yet. It will happen in the middle of April. We would like to have changes ready before the release.

@mayurid can you please merge this?  The breaking changes failure is expected.  Also note that the service hasn't yet been deployed.


Add provision node

Add recipe for configuring a provisioning-node and add provisioning node to test-kitchen.

I think this PR might be better as it's own cookbook to setup a provisioning-node.

What might help me a little is to understand the driver behind adding a provisioning node here. I assume that the intention was to create a node that would manage the cluster?

Closing in favor of https://github.com/opscode-cookbooks/delivery-cluster/pull/118


Improvisation of UX of footer

UX of the footer of the website is not up to mark.
I want to work on this under GSSOC2022 to make it more user-friendly. Can you assign it to me.

@ronitrangwani what type of changes do u want to do?

UX of the footer section doesn't match with the other component of the site, and it's not properly align. So I would like to correct that.


Release Preparations

Getting files ready for release:

Remove Active Edge from images and text.
Start using Style Guide.
General clean up.

Hey Kimberly, looks like this PR was made against master. I'm gonna close this one, and then you can recreate the PR against ActivEdge. We will make the merge to master once upon approval from required parties.

I don't understand how this happened.


Use forkchoice headStateRoot for Gossip Validator

PR #710 has this commit then I rebase to sign CLA and it lost this part

Tested the sync of 2 nodes in my local environment


Improve Travis CI build Performance

#3273
recreate this PR
According to the data in paper An empirical study of the long duration of continuous integration builds, travis_retry can only solve 3% of the build failures. And it may cause unstable build and increase build time.

Coverage decreased (-0.02%) to 54.172% when pulling 3e0cff212601974ca5b4ce46f6de579fba98c54e on YunLemon:Modify_Travis_1 into a7e71cb4ca5351a3416199b5bc269713cfc352e3 on apache:develop.

Codecov Report

Merging #3282 (2dbad80) into develop (a7e71cb) will increase coverage by 1.66%.
The diff coverage is n/a.

:exclamation: Current head 2dbad80 differs from pull request most recent head 3e0cff2. Consider uploading reports for the commit 3e0cff2 to get more accurate results

@@              Coverage Diff              @@
##             develop    #3282      +/-   ##
=============================================
+ Coverage      47.98%   49.64%   +1.66%
- Complexity      4560     4977     +417
=============================================
  Files            552      552
  Lines          36521    40039    +3518
  Branches        4818     5784     +966
=============================================
+ Hits           17523    19878    +2355
- Misses         16782    17793    +1011
- Partials        2216     2368     +152

Impacted Files
Coverage Δ

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-4.35%)
:arrow_down:

...g/apache/rocketmq/store/MessageExtBrokerInner.java
75.00% <0.00%> (-1.93%)
:arrow_down:

.../rocketmq/broker/filter/ConsumerFilterManager.java
72.19% <0.00%> (-1.80%)
:arrow_down:

.../rocketmq/broker/pagecache/OneMessageTransfer.java
22.58% <0.00%> (-1.42%)
:arrow_down:

...org/apache/rocketmq/store/AppendMessageResult.java
59.45% <0.00%> (-0.55%)
:arrow_down:

...ocketmq/broker/pagecache/QueryMessageTransfer.java
0.00% <0.00%> (ø)

...apache/rocketmq/client/trace/TraceDataEncoder.java
69.23% <0.00%> (+0.10%)
:arrow_up:

...a/org/apache/rocketmq/store/StoreStatsService.java
31.19% <0.00%> (+0.37%)
:arrow_up:

...ocketmq/broker/processor/AdminBrokerProcessor.java
8.32% <0.00%> (+0.39%)
:arrow_up:

...ocketmq/store/schedule/ScheduleMessageService.java
74.74% <0.00%> (+0.50%)
:arrow_up:

... and 26 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7e71cb...3e0cff2. Read the comment docs.


[Feature] hiring staff are redirected to the last incomplete step

…n attempting to get to the review page
Trello card URL:
https://trello.com/c/rIYYPmMQ/488-hiring-staff-can-continue-the-publishing-journey-where-they-left-it
Changes in this PR:
Redirects hirings staff to a vacancy's last incomplete step

 Hiring staff can continue the publishing journey where they left it


Inconsistent iati.core.default.x() API

The function calls in iati.core.default are inconsistent.

The calls to functions relating to Codelists return only values relating to an explicitly defined version.
The calls to (most) functions relating to Schemas return values relating to all versions.

It should be made consistent.

Decision to return only values relating to an explicitly defined version.

#147 now merged to dev.


test_serving: Use sys.executable, not 'python'

test_monkeypatched_sleep fails on systems where the Python command is not called "python".
Also, it could execute Python 2 when pytest is run under py3, or vice versa.
With this change, sys.executable is used instead.

The test failure looks quite unrelated.

The new test failure is also unrelated. It looks like a Travis CI error; restarting the job might help.

I have no idea what's going on with flake8 and Travis. The PR is fine.


DO-NOT-MERGE update the docs for using host-network

with syntax before, there is
WARN[0000] network hostnet: network.external.name is deprecated in favor of network.name
tested with docker-compose-file-version 3.5
Server Version: 17.12.0-ce
in swarm mode

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Hm, the warning disappears, but without using 'external' the swarm does create a network named
 <STACK>_host
which is overlay. So what about the deprecation?

Hi, @rdxmb  ... let's see if I understand you:

You are referring to this page/section: https://docs.docker.com/compose/compose-file/#host-or-none
You're in swarm mode, using Compose, and you want to use the host networking stack. But it's failing.
You think that the use of external in this section may be wrong because of the deprecation note down the page.

networks:
  hostnet:
    external:
      name: host

@shin-  are the Compose examples under "HOST OR NONE" accurate for v3.5? For reference: #4593 / #4959

The new recommend syntax would be:
networks:
  hostnet:
    external: true
    name: host

@gbarr01

You are referring to this page/section: https://docs.docker.com/compose/compose-file/#host-or-none
exactly.

You're in swarm mode, using Compose, and you want to use the host networking stack. But it's failing. You think that the use of external in this section may be wrong because of the deprecation note down the page.

Not exactly. It's not failing, its just a deprecation warning:
WARN[0000] network hostnet: network.external.name is deprecated in favor of network.name
networks:
hostnet:
external:
name: host
@shin-   it seems to work. Thanks.
https://docs.docker.com/compose/compose-file/#network-configuration-reference

PR changed.


Sidebar does not close properly in IE11

First, I just want to say great work! This framework looks pretty awesome, and will be using for a project soon.
Second, I found an issue with the sidebar menu items not closing properly in IE11 when the window is resized (for the docs page). It works fine in Chrome and MS Edge. The accordion component is a little flaky in IE11 as well with the visibility of the menu items when expanded.
Will you be releasing this as a component (Sidebar)? I could proabably extract what I need, but it would be great to have this as a standalone (perhaps with Icons).
Thanks!

@Potentiator What I use in the sidebar is the Accordions component. I will test it in IE11 and see what bug it is. Thank you.

@picturepan2 Great - thanks!
Yes, releasing the off-screen sidebar as a component would be useful. I can probably figure it out from the docs, so not a big issue for me.

@Potentiator The bug in IE11 is fixed in v0.4.1 which is still in dev.

@picturepan2 Thanks!

@Potentiator Released https://picturepan2.github.io/spectre/elements.html#media

@picturepan2 Awesome - appreciate the quick turnaround on this one.

@Potentiator Off-canvas is here https://picturepan2.github.io/spectre/experimentals.html#off-canvas


[CI] Update CUDA to 11.7

The last time we updated the CUDA version on CI was two years ago, I think it is a good time for another update.
v11.7 is the latest version officially supported by PyTorch (https://pytorch.org/get-started/locally/). Rather than jumping directly to v12, I think it is better to stay in the stable v11 line for now.
This would unblock the PR https://github.com/apache/tvm/pull/14291 which uses a relatively new feature in cuBLAS introduced in v11.4.

My experience with CUDA and the whole CUDA ecosystem is very limited, but just wanted to point out that it would be good to review also the tlcpack CUDA versions, perhaps to propose this new one and deprecate some of the old version. Can you have a look?

Do you mean this https://github.com/tlc-pack/tlcpack? I'm not familiar with this package, but its README says how to build an image with a specific CUDA version. Is there other action required to support newer CUDA versions in tlcpack?

@driazati It seems the driver has been updated, can you help?

It passed!


Add spinner when preparing import of projects

Description
Add a spinner and disable next button when preparing the import of a large project:

Type of Change

[x] 🥂 Improvement (non-breaking change which improves an existing feature)

Checklist

[x] I've read the CODE_OF_CONDUCT.md document.
[x] I've read the CONTRIBUTING.md guide.

@kevinmessiaen , there's actually a :loading="loading" property that we use in other places already. Could you use the same approach for the sake of consistency? Thanks

let's use :loading v-btn property

It's way better with the loading property 👍


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2182

Questions ?
Please refer to the Backport tool documentation


[cmake] fix one-step build

In one-step build, llvm include directory will be prepended into include directories list, and this cause the IR backend using LLVM provided IntinsicImpl.inc file. This commit add BEFORE keyword into include_directories macro to force prepend buddy-mlir backend include directory.
Fixed #181

Thanks for your thorough analysis of the issue and your experienced debugging skills orz~ I have verified the RVV examples that were not supported originally. I think this PR is ready to be merged now. @zhanghb97


Correct unsynchronized reset

The next packet shared pointer must be cleared outside of the lock in the same way as the collection of AutoFilters.  Store it in a local variable, nullify the member under lock, and destroy on scope exit.
Additionally, the stop check must occur under lock in order to guard against an unsynchronized state change.
This defect was introduced in #845

👍


Update composer support for form dialog triggers and actions

This is to add the necessary hard-coded groupings and configuration to support the newly used action and trigger types from form dialogs.

I'm working on https://github.com/microsoft/BotFramework-Composer/pull/4079 which is related to this issue.
Here is the draft definition of Trigger's uischema https://github.com/microsoft/BotFramework-Composer/pull/4014.


Update iconify extension

Description

Screencast

Checklist

[ ] I read the extension guidelines
[ ] I read the documentation about publishing
[ ] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Pinging you one last time @Destiner :)

I reviewed the extension based on your informations regarding the missing <Grid> view, and I had a local version of the extension installed. I checked the store version and it has a fine <Grid> view. This was the main reason for a change for me.

I checked the speed too, and it's loading pretty quickly here. Also, remember that things are cached, so loading it again should be pretty fast.
Based on the above, I don't see a reason to supersede, but you're still free to enhance the current. The author will, however, remain Destiner, and you'll be a contributor.
Feel free to DM in our Slack community or on Twitter to discuss further.

Then I have no problem to close this merge, the view may be that I didn't notice the latest changes, the speed may be due to geography

Closing as requested - let's monitor what's happening


K3s Service stuck at activating on nodes

k3s-node.service does not start and is stuck on activating.
Expected Behavior

k3s-node.server should be running on nodes.
Current Behavior

`TASK [k3s/master : Create crictl symlink] ******************************************************************************changed: [us-ga-cluster-02]
changed: [us-ga-cluster-01]
changed: [us-ga-cluster-03]
PLAY [node] ************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************ok: [us-ga-worker-01]
ok: [us-ga-worker-02]
TASK [k3s/node : Copy K3s service file] ********************************************************************************changed: [us-ga-worker-01]
changed: [us-ga-worker-02]
TASK [k3s/node : Enable and check K3s service] *************************************************************************`
`ubuntu@us-ga-worker-01:~$ sudo systemctl status k3s-node.service
● k3s-node.service - Lightweight Kubernetes
Loaded: loaded (/etc/systemd/system/k3s-node.service; enabled; vendor preset: enabled)
Active: activating (start) since Fri 2022-05-20 15:49:17 EDT; 53s ago
Docs: https://k3s.io
Process: 2513 ExecStartPre=/sbin/modprobe br_netfilter (code=exited, status=0/SUCCESS)
Process: 2522 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
Main PID: 2527 (k3s-agent)
Tasks: 8
Memory: 31.2M
CGroup: /system.slice/k3s-node.service
└─2527 /usr/local/bin/k3s agent
May 20 15:49:17 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:17-04:00" level=info msg="Starting k3s agent v1.23.6+k3s1 (418c3fa8)"
May 20 15:49:17 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:17-04:00" level=info msg="Running load balancer k3s-agent-load-balancer <IP_ADDRESS>:6444 -> [<IP_ADDRESS>:6443]"
May 20 15:49:23 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:23-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51760-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:49:29 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:29-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51768-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:49:35 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:35-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51776-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:49:42 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:42-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51784-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:49:48 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:48-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51792-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:49:54 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:49:54-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51800-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:50:00 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:50:00-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51808-><IP_ADDRESS>:6444: read: connection reset by peer"
May 20 15:50:06 us-ga-worker-01 k3s[2527]: time="2022-05-20T15:50:06-04:00" level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:51816-><IP_ADDRESS>:6444: read: connection reset by peer"`
Steps to Reproduce

 ansible-playbook playbooks/site.yml -K

Context (variables)

Operating system:
ubuntu 20.04
Hardware:
Proxmox VM
Variables Used:
all.yml
k3s_version: v1.23.6+k3s1
# this is the user that has ssh access to these machines
ansible_user: ubuntu
systemd_dir: /etc/systemd/system

# Set your timezone
system_timezone: "America/New_York"

# interface which will be used for flannel
flannel_iface: "eth0"

# apiserver_endpoint is virtual ip-address which will be configured on each master
apiserver_endpoint: "<IP_ADDRESS>"

# k3s_token is required  masters can talk together securely
# this token should be alpha numeric only
k3s_token: "xxxxxxxxxxxxxxxxx"

# change these to your liking, the only required one is--no-deploy servicelb
extra_server_args: "--no-deploy servicelb --no-deploy traefik"
extra_agent_args: ""

# image tag for kube-vip
kube_vip_tag_version: "v0.4.3"

# image tag for metal lb
metal_lb_speaker_tag_version: "v0.12.1"
metal_lb_controller_tag_version: "v0.12.1"

# metallb ip range for load balancers
metal_lb_ip_range: "<IP_ADDRESS>-<IP_ADDRESS>"

Hosts
host.ini
[master]
us-ga-cluster-01
us-ga-cluster-02
us-ga-cluster-03

[node]
us-ga-worker-01
us-ga-worker-02

[k3s_cluster:children]
master
node

Possible Solution

vip is not reachable so i am thinking if that's the issue.

I'm facing the same issue here, what if we only have one master? Do we need to specify the apiserver_endpoint same as the master IP? Kindly clarify.

Hi.  This is an issue with k3s/kube-vip.  I would use the version in the template.  It will always be the latest tested version
v1.23.4+k3s1

Tried v1.23.4+k3s1, same issue. The VIP is not responding.
Stuck on "TASK [k3s/node : Enable and check K3s service]"
Status on node = activating
level=error msg="failed to get CA certs: Get "https://<IP_ADDRESS>:6444/cacerts\": read tcp <IP_ADDRESS>:42274-><IP_ADDRESS>:6444: read: connection reset by peer"

Please see this https://github.com/techno-tim/k3s-ansible/discussions/20


Feature Requests MCL 2021/12/27

[ ] 1. Trig Condition(s) and Arrow- up/down
So far all conditions have to be set with Arrow-up starting by L-n going to P-n and so on. Using Arrow Up for L-n's and Arrow Down for P-n's would correspond with other elektron devices behaviour as in CCW for P and CW for L.

[ ] 2. Fill and Not-Fill as Conditions and Performance Tool
Implementation of a Fill feature as in a classic 808 manner. Adding the Conditions FILL and NOT-FILL and having the [song/pattern] Knob on MD UI as momentary switch for these conditions.

[ ] 3. Soundmanager MD UI Implementation
Sound Manager Page on MC to be controlled by arrow/Yes/No knobs of MD UI

[ ] 4. Reimplementation of Global Swing and/or Swing Per Track
Reimplementation of Swing as a performance tool; having a percentage per track rather than microtiming per step

[ ] 5. Euclidean Sequence Generator
A Euclidean Sequence Generator maybe as a page or Edit Mode on MC, micabeza brought that up somewhere

[ ] 6. MC Encoders on Mixer Page
"utilise the dormant 4 encoders as an external CTR-4P, or as a micro CTR-ALL for all filters and all LFOs depth and speed, would be really useful/expressive.  how about holding down a button to capture the pots movement over a patterns duration." Waftlord

[ ] 7. Enhanced Performance/Scene mode
"Enhanced Performance/Scene mode feature idea/request in MCL menu: 16 programmable parameter scenes across 16 trigs, saved to each row. hold scene trig and turn pot can assign (a finite amount of) tracks parameters to each scene. switching scenes has embedded slide for adjusted params. MCL 4 encoders become assignable to any chosen parameters (a mini external CTR-4)
Or one knob macros like rytm perf knob. YES/NO buttons could be assigned too, SHIFT ALL L/R, global pitch shift +- etc" Waftlord

[ ] 8. MD mode to receive midi Ch. Inp for each track on its respective Channel
"Let me turn this into a feature request then: Can we get a mode or setting that allows each MD channel to receive their own midi channel input? Much like the Nord 3p." https://www.elektronauts.com/t/megacommand-mcl-4-0/159098/215

[ ] 9. EXT. control of Grid via midi notes
"map editor or some sort grid mode to trigger clips(or tracks) using external midi notes (which would open to the possibility to map it to an external grid controller" https://www.elektronauts.com/t/megacommand-mcl-4-0/159098/66

I'd like to request Retrig support, or an Arpeggiator track which could serve the same purpose assuming the Rate can be fast enough to do rolls (as fast as 128th notes?)


Rakefile Changes

[x] desc "Runs the smoke tests." is listed twice

@blowmage Can this be closed?


Stackview should allow creation of structures from a selection

It would be nice if stack view allowed you to create a structure by selecting a range of values and hitting 's'. Analog to how its done in linearview from selection.

Related to https://github.com/Vector35/binaryninja-api/issues/3236.


Atomkraft project is not necessary for some CLI commands

Any --help  (eg. atomkraft model --help)
atomkraft model apalache ...

I tried to fix this. The ideal solution is,

Revert/Replace #108
Let project_root raise exception only when it is called (not at top level)
Use something like this to catch exceptions at the top level

@andrey-kuprianov @hvanz what do you think?


fix: +default/discover-projects not reading depth

Fix +default/discover-projects to read the depth in projectile-project-search-path.

Thanks again!


[Bug Report] Options are not scrolling with keyboard down key when option-group is given

Element UI version
2.3.7
OS/Browsers version
Windows 7 / Chrome 66.0.3359.139
Vue version
2.5.11
Reproduction Link
https://codepen.io/akki-jat/pen/odwyww
Steps to reproduce
Iterate through list using keyboard down key
What is Expected?
Option list should scroll
What is actually happening?
Option list is not scrolling

@Leopoldthecoder It is not working

Wait for our next release.

@Leopoldthecoder thanks man.


Add AC as valid double award grade

Context
A candidate has provided proof that they achieved the grade AC, it appears to be a valid grade at the time.
https://becomingateacher.zendesk.com/agent/tickets/85597

Changes proposed in this pull request
Add AC as a valid double award grade.

Guidance to review

Link to Trello card
https://trello.com/c/Eog98ua1/1463-potential-bug
https://becomingateacher.zendesk.com/agent/tickets/85597

Things to check

[x] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

Closing as we are going to amend the relevant candidate's data for this instance. May revisit if this becomes a frequent issue but AC is not listed as a valid grade by AQA.


Convert Images GCS Bucket error

Hi, I'm trying out the image resizing demo. Deployment throwing error:
 Deploy Error: Failed to configure trigger GCS Bucket: product_images

My images are inside product_images folder and my code looks like this:

exports.generateThumbnail = functions.storage.object().onChange(event => {
  const object = event.data;
  const fileBucket = object.bucket;
  const filePath = object.name;
  const contentType = object.contentType;
  const resourceState = object.resourceState;

  if(!filePath.match(/product_images/)) {
    console.log('not product_images bucket');
    return;
  }

  if (!contentType.startsWith('image/')) {
    console.log('This is not an image.');
    return;
  }

  const fileName = filePath.split('/').pop();
  // Exit if the image is already a thumbnail.
  if (fileName.startsWith('thumb_')) {
    console.log('Already a Thumbnail.');
    return;
  }

  if (resourceState === 'not_exists') {
    console.log('This is a deletion event.');
    return;
  }

  const bucket = gcs.bucket(fileBucket);
  const tempFilePath = `/tmp/${fileName}`;

  return bucket.file(filePath).download({
    destination: tempFilePath
  }).then(() => {
    console.log('Image downloaded locally to', tempFilePath);
    // Generate a thumbnail using ImageMagick.
    return spawn('convert', [tempFilePath, '-thumbnail', '64x64>', tempFilePath]).then(() => {
      console.log('Thumbnail created at', tempFilePath);
      // We add a 'thumb_' prefix to thumbnails file name. That's where we'll upload the thumbnail.
      const thumbFilePath = filePath.replace(/(\/)?([^\/]*)$/, `$1thumb_$2`);
      // Uploading the thumbnail.
      return bucket.upload(tempFilePath, {
        destination: thumbFilePath
      });
    });
  });
});

Not sure what it means.

Can you tell us a bit more about when the deploy error happens? Is that when you are running the CLI firebase deploy? Can you copy paste the full output off the CLI?

Exactly, during deployment process. I've searching more about this, and it seems we need to have billing enabled and firebase store and google cloud store are two different products. My understanding was that the image resizing function works on firebase store which apparently is not correct. My use case is, when someone uploads file to firebase store (using firebase client) I want to resize image using cloud function. Could you please clarify if that's possible?
i  deploying functions
i  functions: ensuring necessary APIs are enabled...
i  runtimeconfig: ensuring necessary APIs are enabled...
✔  runtimeconfig: all necessary APIs are enabled
✔  functions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (2.63 KB) for uploading
✔  functions: functions folder uploaded successfully
i  starting release process (may take several minutes)...
i  functions: updating function addTag...
i  functions: updating function adjustments...
i  functions: updating function generateThumbnail...
⚠  functions[generateThumbnail]: Deploy Error: Failed to configure trigger GCS Bucket: product_images
✔  functions[addTag]: Successful update operation.
✔  functions[adjustments]: Successful update operation.
✔  functions: 2 function(s) deployed successfully.

Can you change:
exports.generateThumbnail = functions.storage.bucket().object().onChange(event => {
to:
exports.generateThumbnail = functions.storage.object().onChange(event => {
?
It looks like Functions thinks you want a trigger on the bucket named product_images which would happened if your code was:
exports.generateThumbnail = functions.storage.bucket('product_images').object().onChange(event => {
Even if that works, could you paste what you have in your code above so we can investigate?

This is what I have, same as you suggested.
const functions = require('firebase-functions');
const admin = require('firebase-admin');
const gcs = require('@google-cloud/storage')();
const spawn = require('child-process-promise').spawn;

exports.generateThumbnail = functions.storage.object().onChange(event => {
  const object = event.data;
  const fileBucket = object.bucket;
  const filePath = object.name;
  const contentType = object.contentType;
  const resourceState = object.resourceState;

  if(!filePath.match(/product_images/)) {
    console.log('not product_images bucket');
    return;
  }

  if (!contentType.startsWith('image/')) {
    console.log('This is not an image.');
    return;
  }

  const fileName = filePath.split('/').pop();
  // Exit if the image is already a thumbnail.
  if (fileName.startsWith('thumb_')) {
    console.log('Already a Thumbnail.');
    return;
  }

  if (resourceState === 'not_exists') {
    console.log('This is a deletion event.');
    return;
  }

  const bucket = gcs.bucket(fileBucket);
  const tempFilePath = `/tmp/${fileName}`;

  return bucket.file(filePath).download({
    destination: tempFilePath
  }).then(() => {
    console.log('Image downloaded locally to', tempFilePath);
    // Generate a thumbnail using ImageMagick.
    return spawn('convert', [tempFilePath, '-thumbnail', '64x64>', tempFilePath]).then(() => {
      console.log('Thumbnail created at', tempFilePath);
      // We add a 'thumb_' prefix to thumbnails file name. That's where we'll upload the thumbnail.
      const thumbFilePath = filePath.replace(/(\/)?([^\/]*)$/, `$1thumb_$2`);
      // Uploading the thumbnail.
      return bucket.upload(tempFilePath, {
        destination: thumbFilePath
      });
    });
  });
});

This looks like it's a backend issue. I can investigate; do we have permission to view logs related to your account?

@inlined Sure! Let me know if anything is required.

I found a stack trace in our backend; since this conversation includes details about your personal app I'm going to reach out to you at the email address listed on your GitHub profile.

For posterity: Cloud Functions requires editor permission on your project.

FYI this issue is somewhat widespread because we used to have a bug (as of 1-2 month ago) where lots of Cloud Storage Buckets were created with the wrong permissions. New projects don't have this issue but if you have an old Firebase project which is impacted by this the manual fix for your permissions is described here:
https://github.com/firebase/friendlychat/issues/184#issuecomment-290914672

Yes @inlined mailed me with details. I'm guessing the particular project I was working on was affected by the bug. It worked fine with a new project.

Glak you got it sorted @amitava82 !
I'm changing the title and added the comment above so that it's easier to find for other developers that might be infected.

Just had this happen with a Realtime Database trigger for firebase. Should I report as bug? Trigger has not been edited and has worked previously.

Please contact support directly. GitHub bugs are for bugs with the SDK.

I am still getting this issue with a project I created a few weeks ago. I have all the correct permissions as well as setting the storage rules to be completely open to read/write. I want to set a trigger on a specific bucket only like
export const imageUploaded = functions.storage
.bucket("mybucket").object().onChange(  event => {
    //code
});

any idea how to fix this?

@inlined I am getting this exact same issue. Would you mind having a look for me?
https://stackoverflow.com/questions/48901888/firebase-storage-trigger-not-working

I'm having the same issue.
I'm deploying a function and getting Failed to configure trigger GCS Bucket.
I'm declaring the function as required per the docs:
functions.storage.object().onFinalize((object) => {...})

This exact same function deploys ok on another project.

I was having the same problem.
Apparently it is caused by missing permission on service account executing cloud function.
I just added Storage Object Admin role to default to default service account and everything start to work as expected.


ChannelMessagesPinned uses wrong ratelimit bucket

The ChannelMessagesPinned function uses EndpointChannelMessagesPins(channelID) as its ratelimit bucket. https://github.com/bwmarrin/discordgo/blob/8416350/restapi.go#L1693
This is incorrect. The ratelimit for pins requests is shared across all channels and guilds.
I recommend replacing the bucket with a constant of "/pins/global".

I wrote a small program that logs the response headers to prove this: https://github.com/riking/AutoDelete/blob/master/cmd/pinsHeaders.go
It consistently prints "X-Ratelimit-Bucket: 29438e9be9d5f3f082da200ec5a36e41" no matter what channel I request.

This is the code currently in use:
body, err = c.bot.s.RequestWithBucketID("GET", discordgo.EndpointChannelMessagesPins(c.ChannelID), nil, "/custom/pinsGlobal")


Make ryo-mode on per default

Hi,
I used xah fly keys before but it's too much for me, ryo is simpler to configure and I like it very much. One thing would be nice. Say we switch to a new buffer with ivy-switch-buffer, then ryo mode is not enabled. It would be nice if one can enable it for every new buffer or file per default.
The same is for opening a new file, ryo should be on per default, I think!
Is that possible?
Regards
Thorsten

Hi! Glad you like ryo! A thing you could do is to add ryo-modal-mode to the hooks of the modes where you want ryo to be active by default. If you want that for most text editing major-modes, you could add the following to your init-file:
(add-hook 'text-mode-hook #'ryo-modal-mode)
(add-hook 'prog-mode-hook #'ryo-modal-mode)

Yes that works, simple and effective, thank you!
Regards
Thosren


Handle multiple Xcodes with the same version number

It would be great to be able to handle multiple Xcodes with the same version number, i.e. Xcode 9.0 beta 2 and Xcode 9.0 beta 3. I suppose these could be identified by their build version, i.e. 9M174d.

Thanks for filing the issue!


Retrieve file on demand

@arapov, I'm still trying to figure out what's the best way to mock ocp3.FetchFile func.

This approach is not good and is going to be replaced using a pipeline workflow


GitHub: Invite member @ds-crehm

Who should be invited to Catena-X ng
GitHub User:
@ds-crehm
Vouching person: @mkanal

Hi @mkanal could you please verify that @ds-crehm is working for Catena-X

Hi @mkanal any update on this?

Hi @mkanal could you please verify that @ds-crehm is working for Catena-X?

Hi @FaGru3n I confirm that  @ds-crehm is working for Catena-X. Thank you very much.

Hi @mkanal thanks for the input.
@ds-crehm you were invited:

After 7 days the invitation expires and the maintainer of the gh-team can now invite you.
Please review and close the issue if you are a part of the Catena-X ng

Hi @FaGru3n, thank you. I'm a member of the organization now.

Hi @FaGru3n, thank you. I'm a member of the organization now.

Great and a warm welcome will close the issue 😉
Happy Coding!


Last Membership Date not consistently computed for Accounts, Contacts, Households

I've looked at the code and Account is setting Last Membership Date to the MAX(CloseDate) of Won membership opps grouped by AccountId and CalendarYear (or Fiscal Year), whereas Contact and Household membership queries are only grouping by ContactId or HouseholdId, and NOT grouping by calendar/fiscal year.  So you are correct that they are computing different things!  I'll enter an issue in gitHub so we can look further into this and make appropriate adjustments to they are consistent.
Hub thread: https://powerofus.force.com/0D58000002as3a9

**lurch: add

Tracking W-009674

Customizable Rollups (CRLPs) addressed this issue upon their introduction.
To learn more check this Knowledge Article - https://powerofus.force.com/s/article/NPSP-Cust-Rollups-Overview


Homematic IP HmIP-SRH not working

Home Assistant release with the issue: 0.92
Last working Home Assistant release 0.91.4:
Operating environment (Hass.io/Docker/Windows/etc.):
Component/platform: Homematic IP Access Point
Description of problem: the device does not respond
https://www.bilder-upload.eu/bild-172ad8-1556221618.jpg.html
Full Log https://pastebin.com/LHpSM0te

Click on the device/sensor . What do you see.? Are there hints in the attributes?

And please check the device in Homematic IP App!

Found. When sabotage contact is triggered, then he does not respond. That should not be.
And something else, the tilt window shows as open, but it was early too, but that's also wrong.
Homematic IP App shows: Gekippt, Geschlossen und Geöffnet (Tilted, closed and opened)

and welcome to our Facebook Groups.
https://www.facebook.com/groups/HomematicIP/
https://www.facebook.com/groups/HomeAssistantDE/

I am not on facebook.

Ok and it would be nice if you make the window tilt.

The RotaryHandleSensor is implemented as binary sensor.
This results in two states: open and closed.
In case of the RotaryHandleSensor that means:
Every state that is not closed means open.
The RotaryHandleSensor is part of the security sensors (also heating). So a triggered sabotage should be avoided and handled as soon as possible.
Looks like this was the intention of the original implementor.
So far i could say this is not a bug.
If you want another behaviour of the device,  please create a feature request in the community forum.
If you agree that this is not a bug, please close the issue.


MultipleErrorsReportedForSameDNSQueryStaticThresholdBased.yaml - Alert description invalid starting in version 1.3

Starting in version 1.3 deployment will result in a validation error
"Column names IPCountthreshold,TotalIPs,SrcIPs do not exist. Please check the query results and try again"
This is due to the addition of the summarization operator that was added on line 38.

commit d431963 introduced the issue.

Hi @Bievens, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 15-08-2024. Thanks!

Hi @Bievens, Could you please check with the below shared query and let us know your issue gets resolved :
let lookback=1h;
let threshold = 2;
let errors = dynamic(['NXDOMAIN', 'SERVFAIL', 'REFUSED']);
_Im_Dns(starttime=ago(lookback))
  | where EventResultDetails has_any (errors)
  | summarize SrcIPs = make_set(SrcIpAddr, 100), Dvcs = make_set(Dvc, 100), ResourceIds = make_set(_ResourceId, 100) by DnsQuery, bin(TimeGenerated, 10min)
  | where array_length(SrcIPs) >= threshold
  | extend TotalIPs = array_length(SrcIPs),IPCountthreshold = threshold
  | extend DomainName = strcat(split(DnsQuery, ".")[1], ".", split(DnsQuery, ".")[2])
  | mv-expand SrcIPs
  | extend SrcIP = tostring(SrcIPs)
  | mv-expand Dvcs
  | extend Dvc = tostring(Dvcs)
  | mv-expand ResourceIds
  | extend ResourceId = tostring(ResourceIds)
  | extend Dvc = strcat(split(Dvc, ".")[0])
  | summarize Start=min(TimeGenerated), End=max(TimeGenerated), IPCountthreshold = make_set(IPCountthreshold), TotalIPs = make_set(TotalIPs), SrcIPs=make_set(SrcIP) by SrcIP, Dvc, ResourceId, DnsQuery, DomainName
  | extend HostName = tostring(split(Dvc, ".")[0]), DomainIndex = toint(indexof(Dvc, '.'))
  | extend HostNameDomain = iff(DomainIndex != -1, substring(Dvc, DomainIndex + 1), Dvc)

Or you can also do the solution custom deployment using below steps:-
Custom Deployment - CustomDeploymentSteps.docx
Main template - mainTemplate.json
Thanks!

Validation and deployment are successful with the provided query. Thanks for resolving this issue.

@Bievens, Thanks for your response.  closing this issue. If you still need support for this issue, feel free to re-open it any time. Thank you for your co-operation.


Challenge http://www.freecodecamp.com/challenges/waypoint-wrap-an-anchor-element-within-a-paragraph has an issue

This code gets passed o.k.
see my cat photos
but I believe it should be
click here for cat photos

@appijumbo You want to be sure to wrap your code in back ticks (check out Mastering Markdown and scroll down to Syntax Highlighting to see how it works). Without marking that as code, it renders as html. I was only able to read your code because the bot posted it to the Slack chat in plain text.

oops thanks! will do

Both examples are equally valid, but the first is actually preferable (as far as Google is concerned). Longer hyperlinked phrases give Google more context for links and without looking spammy. They actually have a small affect on search rankings, if you're into SEO, and "click here" is kind of a holdover from the early days of the web, when people needed sites to tell them explicitly where to click. People have a more intuitive sense of how web interfaces work, and "click here" has gone by the wayside.

o.k, that seems reasonable.
Saying 'click here' is a bit like saying 'push to open' on a door, rather than just 'push' I guess!

@appijumbo Does that fix your issue?

Yes thanks ;)

Thanks for filing! Good luck with the rest of the challenges!


cannot change tab name for server http://<IP_ADDRESS>:8188/

Tab Modifier version
Browser: Chrome or Opera
Chrome
Extension version: X.Y.Z
0.22.0
Can be found here: chrome://extensions/?id=hcbgadmbdkiilgpifjgcakjehmafcjai
Expected behavior
What do you expect?
to rename tab for webapp  server
for example:
Rule created from right-click (<IP_ADDRESS>:8188/...) | Contains | http://<IP_ADDRESS>:8188/
All other tab renaming work. But not for this use case
Actual behavior
What actually happen?
tab name does not change to modified name
Steps to reproduce the behavior
Please describe the steps to help me to reproduce the actual behavior

right click on tab
change name
enter

Is there a way to allow each instance of http://<IP_ADDRESS>:8188/ to have a unique title name?

Hello,
It works for me.

Best regards,

Hello,
It works for me.

Best regards,


logo missing in our website

Hi @avinash201199, I want to do some changes to enhance our web Project such as Adding a logo page and improving UI of the Web Project
Please assign this issue to me

Hi @avinash201199  logo added and font changes #274


IllegalArgumentException Wrong FS for vcf_head files on HDFS

From<EMAIL_ADDRESS>$ adam-submit adam2vcf \
  "hdfs://localhost:54310/vcf_pruebas/vcfpruebas.adam" \
  "hdfs://localhost:54310/vcf_pruebas/vcfpruebas2.vcf"

...
2016-11-10 16:46:49 ERROR Executor:91 - Exception in task 0.0 in stage 1.0 (TID 1)
java.lang.IllegalArgumentException: Wrong FS: hdfs://localhost:54310/vcf_pruebas/vcfpruebas2.vcf_head, expected: file:///
  at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:647)
  at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:82)
  at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:604)
  at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:822)
  at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:599)
  at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:421)
  at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:140)
  at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:341)
  at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:767)
  at org.seqdoop.hadoop_bam.util.WrapSeekable.openPath(WrapSeekable.java:60)
  at org.seqdoop.hadoop_bam.KeyIgnoringVCFOutputFormat.readHeaderFrom(KeyIgnoringVCFOutputFormat.java:82)
  at org.bdgenomics.adam.rdd.variation.ADAMVCFOutputFormat.getRecordWriter(ADAMVCFOutputFormat.scala:46)
...

When the process finishes, it leaves in the HDFS two new files:

An empty "vcfpruebas2.vcf" (the expected name for the final file)
A file "vcfpruebas2.vcf_head", that contains: a meta-information VCF structure, with just some of the FORMAT and INFO keys that were in the original VCF file (and many less than those that are in the INFO column of the original variants contents), and the header line, including all the sample columns.

@heuermh without more info, we can't debug this, as I suspect this is a Hadoop conf issue. We've added support for reading/writing with non-default configured FS. I am going to close this ticket, and we can reopen if this reoccurs.


Register marks to suppress the mark warnings.

This fixes the warnings like below.
I referred to the rebase-helper :)
https://github.com/rebase-helper/rebase-helper/blob/d4a98d5b6bdb11338ba514cee5bd5a434ecd98fe/tox.ini#L7-L12
 tests/test_install.py:128
  /work/tests/test_install.py:128: PytestUnknownMarkWarning: Unknown pytest.mark.network - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.network

 tests/test_integration.py:11
  /work/tests/test_integration.py:11: PytestUnknownMarkWarning: Unknown pytest.mark.integration - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.integration

tests/conftest.py:86
  /work/tests/conftest.py:86: PytestUnknownMarkWarning: Unknown pytest.mark.unit - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    item.add_marker(pytest.mark.unit)

tests/conftest.py:90
  /work/tests/conftest.py:90: PytestUnknownMarkWarning: Unknown pytest.mark.no_network - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    item.add_marker(pytest.mark.no_network)

Thanks for checking the PR!


composer extra nexus-push ignores are not read correctly

When creating the zip archive, the ignores are read from $this->nexusPushConfig before the config is loaded into that variable. So no files get ignored.
Same goes for reading the "ignore-by-git-attributes" option from composer extra.

nevermind, I see it has been fixed in #31 !


RBAC Permissions to be able to allow Pipeline to read Azure Monitor Alerts

Step 6 of the "Configure continuous monitoring" section of this page talks about adding the details of the Application Insights resource that Azure Pipelines should be using for the continuous monitoring. This step I believe assumes that the user performing this step on Azure DevOps portal has some sort of RBAC permission on Application Insights resource instance. Have we got details around what permissions the user doing this configuration on Azure Devops needs for the Application Insights resource? Is the Monitoring Reader built-in role sufficient?

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

ID: 44d0ffad-8692-99d2-c185-5dfcc44cba77
Version Independent ID: 4fd6e6a0-18e9-e6f2-46cf-b9ca55ea73f7
Content: Continuous monitoring of your DevOps release pipeline with Azure Pipelines and Azure Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/continuous-monitoring.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@pnarsi Thanks for the question! We're investigating this and will get back to you shortly.

@pnarsi Build and release tasks connect to your Azure Subscription using the provided Service Connection. When a Service Connection is created, say over a given Subscription and Resource group, it is assigned the (built-in) Contributor Role over the selected scope by default. For the vast majority of common operations in Azure, this should be sufficient. So that's how it does not depend on what permissions a User has on the App Insights resource.
You can list role assignments and check what granular permissions the Service Principal has from the Access Control (IAM) blade of the resource on the Azure portal.
Hope this clarifies your query.

@pnarsi We will now proceed to close this thread as resolved, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Docblock

Looking good - however there seem to be some errors in the types. Could you go through this again?

Merged it anyway, thank you so much for your contribution!

Sorry but I had no time to go through it and fix the errors... Thanks for accepting my contribution!


Add license for the e2e test suite

Ref https://github.com/epinio/epinio/issues/1900

Yeaa make sense considering that we already use this license elsewhere on Epinio


MBL-1306: Added tests

📲 What
All networking was covered for error states already, so took the chance to add a few tests :
🤔 Why

More tests always welcome!

👀 See

nothing to qa just tests

|  |  |
📋 QA

nothing to qa just tests

Story 📖
MBL-1306

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.43%. Comparing base (7eeb4f9) to head (4caf52f).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2029      +/-   ##
============================================
+ Coverage     67.31%   67.43%   +0.12%
- Complexity     2064     2067       +3
============================================
  Files           353      353
  Lines         21460    21460
  Branches       3025     3025
============================================
+ Hits          14445    14471      +26
+ Misses         5406     5377      -29
- Partials       1609     1612       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.