cluster autoscaler --skip-nodes-with-system-pods=false ?

Hello All,
Apologies if I'm missing something, but with a recently new cluster deployed with kube-aws v0.9.10-rc.3, I seem to be missing autoscaler functionality.  The problem is that this new cluster's AS doesn't honor the min settings in our node pool configurations as specified in the cluster.yaml and will not terminate after we've manually scaled the nodepool up, and then after we've done a kube-aws update with the new lower/min setting.
Looking at the actual AS git code/repo:
ref: Cluster Autoscaler on AWS

By default, cluster autoscaler will not terminate nodes running pods in the kube-system namespace. You can override this default behaviour by passing in the --skip-nodes-with-system-pods=false flag.

autoscaler/cluster-autoscaler/simulator/cluster.go#L42,L43,L44
On that note, I received a private message / response to my post in the kube-aws IRC channel stating

thats known problem, you need to edit user-data files and add option for cluster-autoscaler --skip-nodes-with-system-pods=false

Regarding kube-aws deployed clusters and the above fixes and suggestions, it's not clear how the above should be done.
Thanks

One significant caveat/concern that I wanted to expand on and provide more details:
After deploying a new cluster with the modification to the userdata file in the PR: the initial autoscaler pod continued to crash--perhaps this was coincidental, but wanted to note what I saw.
I tested this on the most recent version of kube-aws version that we have: kube-aws version v0.9.10-rc.3
after intial cluster deployment inspecting AS pod logs:
I0430 17:44:26.564742       1 auto_scaling.go:138] Failed to describe ASG tags for keys [k8s.io/cluster-autoscaler/enabled kubernetes.io/cluster/opsdev-pr] : RequestError: send request failed
caused by: Post https://autoscaling.us-west-1.amazonaws.com/: dial tcp: i/o timeout
F0430 17:44:26.564788       1 cloud_provider_builder.go:112] Failed to create AWS cloud provider: Failed to get ASGs: RequestError: send request failed
caused by: Post https://autoscaling.us-west-1.amazonaws.com/: dial tcp: i/o timeout
goroutine 65 [running]:
k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog.stacks(0xc4206db700, 0xc420a245a0, 0xec, 0x106)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog/glog.go:766 +0xa7
k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog.(*loggingT).output(0x5618fa0, 0xc400000003, 0xc420b368f0, 0x528d12b, 0x19, 0x70, 0x0)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog/glog.go:717 +0x348
k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog.(*loggingT).printf(0x5618fa0, 0x3, 0x3739198, 0x27, 0xc420b6ed20, 0x1, 0x1)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog/glog.go:655 +0x14f
k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog.Fatalf(0x3739198, 0x27, 0xc420b6ed20, 0x1, 0x1)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/vendor/github.com/golang/glog/glog.go:1145 +0x67
k8s.io/autoscaler/cluster-autoscaler/cloudprovider/builder.CloudProviderBuilder.Build(0x7ffe6838a85a, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/builder/cloud_provider_builder.go:112 +0x76a
k8s.io/autoscaler/cluster-autoscaler/core.NewAutoscalingContext(0xa, 0x3fe0000000000000, 0x8bb2c97000, 0x1176592e000, 0x0, 0x4e200, 0x0, 0x186a00000, 0x0, 0x7ffe6838a8db, ...)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/core/autoscaling_context.go:148 +0x466
k8s.io/autoscaler/cluster-autoscaler/core.NewStaticAutoscaler(0xa, 0x3fe0000000000000, 0x8bb2c97000, 0x1176592e000, 0x0, 0x4e200, 0x0, 0x186a00000, 0x0, 0x7ffe6838a8db, ...)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/core/static_autoscaler.go:56 +0x14d
k8s.io/autoscaler/cluster-autoscaler/core.(*AutoscalerBuilderImpl).Build(0xc42073f380, 0x412d18, 0xc420b6f850, 0x412d18, 0x1a0)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/core/autoscaler_builder.go:71 +0x10e
k8s.io/autoscaler/cluster-autoscaler/core.NewPollingAutoscaler(0x5514020, 0xc42073f380, 0x78, 0x98, 0xc420b7a820)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/core/polling_autoscaler.go:38 +0x35
k8s.io/autoscaler/cluster-autoscaler/core.NewAutoscaler(0xa, 0x3fe0000000000000, 0x8bb2c97000, 0x1176592e000, 0x0, 0x4e200, 0x0, 0x186a00000, 0x0, 0x7ffe6838a8db, ...)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/core/autoscaler.go:64 +0x5f2
main.run(0xc420ae7c20)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/main.go:247 +0x263
main.main.func2(0xc4202a84e0)
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/main.go:345 +0x2a
created by k8s.io/autoscaler/cluster-autoscaler/vendor/k8s.io/client-go/tools/leaderelection.(*LeaderElector).Run
  /gopath/src/k8s.io/autoscaler/cluster-autoscaler/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go:145 +0x97

'deleted the initial first autoscaler pod and the second replacement AS pod resolved the errors noted above.
kk delete po cluster-autoscaler-59998c8cbf-jvcx6
pod "cluster-autoscaler-59998c8cbf-jvcx6" deleted

then validated saw the correct updated options with the logs from the newly deployed cluster-autoscaler pod:
kk logs -f cluster-autoscaler-59998c8cbf-f9qpt

I0430 17:50:02.175080       1 flags.go:52] FLAG: --skip-nodes-with-local-storage="false"
I0430 17:50:02.175083       1 flags.go:52] FLAG: --skip-nodes-with-system-pods="false"

and once the pod was deleted and redeployed its logs were clean and the updated cloudconfig file worked as expected allowing scaling up/down.
validated setting the cloudconfig file back to the unmodified value, the autoscaling did not reduce the scaled-up workers and controllers back down.

@cmcconnell1 Thanks for the information! This is so helpful.
Have you deployed kiam or kube2iam, or enabled calico, or anything you think suspicious on your cluster? Just an idea, but I suspect CA may have an startup-ordering issue with kiam/kube2iam/calic/etc.

Yes @mumoshu we have kube2Iam enabled in both nodepools  and in the global
egrep -C 1  'kube2Iam' ./cluster.yaml
        enabled: true
      kube2IamSupport:
        enabled: true
--
        enabled: true
      kube2IamSupport:
        enabled: true
--
  # This is intended to be used in combination with .controller.managedIamRoleName. See #297 for more information.
  kube2IamSupport:
    enabled: true

Looking at another fresh cluster just deployed to validate--this is immediately after deployment:
kk get po | grep 'cluster-autoscaler'
cluster-autoscaler-59998c8cbf-9hqwq                               1/1       Running   3          8m
Saw three restarts of the initial AS pod.
Below is gist with the logs from the third (3rd) AS pod auto deployed with the code from the p/r
kubernetes-cluster-autoscaler-pod-logs-pr-1268
I waited until the sixth (6th) restarted AS pod before killing it and noting its logs look good.
Hope this is helpful.
Thanks!

@cmcconnell1 Yes, it's super helpful!
I was reading https://github.com/kubernetes/kops/issues/1796#issuecomment-328000372 - I remember that a custom DNS was the requirement in your env.
If that's still the case, several questions I'd appreciate if answered would be:

Which node do you deploy CA? Controller or worker nodes, or maybe both?
To which node role did you CA get deployed at first? And which node role, after you killed it?

@cmcconnell1 Regardless, would setting dnsPolicy: Default in the cluster-autoscaler deployment inside cloud-config-controller resolve the issue, by any chance?

@mumoshu
I added dnsPolicy: Default to the cluster-autoscaler deployment in the cloud-config-controller and redeployed.
The new cluster's CA did have six (6) restarts, but its logs were clear of the previous noted errors when deployed.
    command:
      - ./cluster-autoscaler
      - --v=4
      - --stderrthreshold=info
      - --cloud-provider=aws
      - --skip-nodes-with-local-storage=false
      - --skip-nodes-with-system-pods=false
      - --expander=least-waste
      - --node-group-auto-discovery=asg:tag=k8s.io/cluster-autoscaler/enabled,kubernetes.io/cluster/{{.ClusterName}}
    env:
      - name: AWS_REGION
        value: {{.Region}}
    imagePullPolicy: "Always"
dnsPolicy: Default

@cmcconnell1 Thanks! Seems better than before, right?
Now, perhaps you're seeing errors other than https://autoscaling.us-west-1.amazonaws.com/: dial tcp: i/o timeout?

@mumoshu I didn't see any (concerning) errors in the final (sixth) CA pod's logs.  It remained stable and did not redeploy any more pods and remained stable after around 20 minutes (time of the sixth CA pod deployment).  I was not able to watch the previous CA pod logs as am working on other projects at the same time.
What would be very helpful for me would be some docs and utilities (i.e. kube-aws test/validation harness) for testing new kube-aws/kube clusters that would/could gather all requisite details for deep dive analysis.
We know that it's difficult because we all have very different configurations and concerns.
kube-aws test/validation harness benefits:

lt would help the kube-aws community standardize and share best practices.

when doing a P/R, the kube-aws community could use standardized configurations and "blessed" test scripts/utilities--currently I'm trying to do some quick initial validations manually, while working on other projects, but can't be assured that I would test/validate everything necessary.
i.e.:  kube-aws test-harness kube2iam CA spot-fleet add-on-foo123 Where each option after the keyword would be specific areas where the cluster would need to use a baseline minimal config and test?

It would help foster new and potential kube-aws users and get them up to speed much faster--i.e. we could have templates for things like  multi-az node pools (which took some time for me to figure out initially), spot fleet, possibly add-ons, etc.

Would increase participation and collaboration by making it much easier to get involved (reducing time, etc.).  I've been very hesitant due to time concerns and not knowing how I can effectively test everything correctly.

On that same note, could you recommend existing recommended test/validation tools such as  sonobuoy that we could use to help us validate/test new kube-aws (and kubernetes, etc.) versions?
I've used sonobuoy, but would sonobuoy's test results be sufficient validation for us when doing a P/R ?
Or would we need to run a new cluster through something like sonobuoy and additional tools?
Thanks!

FWIW, I ran Sonobuoy Scan against my p/r test cluster and the results should be available here  for awhile
RUN DATE: 2018-05-02
Time tests took to run: 01:01:10
Kubernetes Version: v1.9.3
Total Nodes: 3

The only issue my Sonobuoy Scan detected was a very trivial issue
[k8s.io] KubeletManagedEtcHosts should test kubelet managed /etc/hosts file [Conformance]
I also manually scaled the worker node pools and controller up and back down successfully with our mods noted in the P/R.
Hope this helps.
Thanks

On that same note, could you recommend existing recommended test/validation tools such as sonobuoy that we could use to help us validate/test new kube-aws (and kubernetes, etc.) versions?

Yes. I prefer it over our e2e/run script these days. Sonobuoy is basically doing the same thing with a more sophisticated manner than our previous e2e test runner 😉

I've used sonobuoy, but would sonobuoy's test results be sufficient validation for us when doing a P/R ?

Depends on the changes made in a PR, but basically:

If your change affects host/pod networking(vpc, security group, subnet, etc) and kube-system pods, running sonobuoy would help finding various edge-cases your k8s cluster won't function properly after the change
If your change affects host provisioning(systemd unit, files, keys and certs, etc), creating a brand-new cluster would help

kube-aws test/validation harness

Your idea of the test hardness sounds awesome!
I'd really like to discuss further in another issue.
Maybe we'd want to explain it in the developer guide, or even in the pull request template?

@cmcconnell1 Thank you so much for your efforts, anyway! Your PR LGTM now.


Testing of user stored information - manual and automated

@me4502 please describe this, i dont know what you mean


crashing with input::get_key_state

as title says, can't get fgui to work due to this crash, using surface
is_button_down() code
	bool is_button_down(int code) {
		using original_fn = bool(__thiscall*)(void*, int);
		return (*(original_fn * *)this)[15](this, code);
	}

call stack:
https://i.imgur.com/LlEj7Mi.png

edit: throws me to this func after pressing home key
	void draw_colored_text(unsigned long font, int x, int y, int red, int green, int blue, int alpha, const char* text) {
		using original_fn = void(__thiscall*)(i_surface*, unsigned long, int, int, int, int, int, int, const char*);
		return (*(original_fn * *)this)[163](this, font, x, y, red, green, blue, alpha, text);
	}

Does it crash whenever you press a key or it crashes when you inject your cheat? The callback wasn't very helpful, since it didn't show me where on the framework is the call for get_key_state coming from.

Does it crash whenever you press a key or it crashes when you inject your cheat? The callback wasn't very helpful, since it didn't show me where on the framework is the call for get_key_state coming from.

It's crashing everytime if press menu key (default home key)

Yeah, this draw_colored_function doesn't seem to work on Windows on the same way it works on Linux. (Using just the vtable index.) I would suggest to just use the other method of drawing text on surface.
draw_set_text_pos(x, y);
draw_set_text_font(font);
draw_set_text_color(color.r(), color.g(), color.b() color.a( ));
draw_print_text(text.c_str(), string_length(text.c_str());

It's crashing everytime if press menu key (default home key), i guess everything with is_button_down is fine cuz it's working now, but it's crashing on draw_colored_text

Yeah, this draw_colored_function doesn't seem to work on Windows on the same way it works on Linux. (Using just the vtable index.) I would suggest to just use the other method of drawing text on surface.
draw_set_text_pos(x, y);
draw_set_text_font(font);
draw_set_text_color(color.r(), color.g(), color.b() color.a( ));
draw_print_text(text.c_str(), string_length(text.c_str());

got it working by replacing draw_text func:
void draw::text(int x, int y, fgui::color color, unsigned long font, std::string_view text) {
	const auto converted_text = std::wstring(text.begin(), text.end());

	interfaces::surface->set_text_color(color.m_red, color.m_green, color.m_blue, color.m_alpha);
	interfaces::surface->draw_text_font(font);
	interfaces::surface->draw_text_pos(x, y);
	interfaces::surface->draw_render_text(converted_text.c_str(), wcslen(converted_text.c_str()));
}

but seems like i have problems with few drawing functions, cuz it looks like this:
https://i.imgur.com/9RUIz2l.png

thats weird.. can you show me your render manager? or is it the same as the one from ruvi-sdk?

Thats weird.. Can you show me your render manager? Or is it the same as the one from ruvi-sdk?

it's from ruvi with some changes
https://pastebin.com/Vqf0Jrkp

Try setting up m_bClippingEnabled, like I do on ruvi
 *csgo::vgui_surface->m_bClippingEnabled() = true;
 fgui::handler::render_window();
 *csgo::vgui_surface->m_bClippingEnabled() = false;

The offset on windows should be 0x280.

Try setting up m_bClippingEnabled, like I do on ruvi
 *csgo::vgui_surface->m_bClippingEnabled() = true;
 fgui::handler::render_window();
 *csgo::vgui_surface->m_bClippingEnabled() = false;

The offset on Windows should be 0x280.

got it working!
https://i.imgur.com/AgJOiDb.png
the problem was
void draw::outline(int x, int y, int w, int h, fgui::color color) {

	interfaces::surface->set_drawing_color(color.m_red, color.m_green, color.m_blue,
		color.m_alpha);
	interfaces::surface->draw_outlined_rect(x, y, w, h);
	//	interfaces::surface->draw_outlined_rect(x, y, x + w, y + h);
}

	void draw_outlined_rect(int x, int y, int w, int h) {
		using original_fn = void(__thiscall*)(i_surface*, int, int, int, int);
		return (*(original_fn * *)this)[18](this, x, y, **x + w, y + h**);
	}

No problem/!

Try setting up m_bClippingEnabled, like I do on ruvi
 *csgo::vgui_surface->m_bClippingEnabled() = true;
 fgui::handler::render_window();
 *csgo::vgui_surface->m_bClippingEnabled() = false;

The offset on Windows should be 0x280.

got it working!
https://i.imgur.com/AgJOiDb.png
the problem was
void draw::outline(int x, int y, int w, int h, fgui::color color) {

	interfaces::surface->set_drawing_color(color.m_red, color.m_green, color.m_blue,
		color.m_alpha);
	interfaces::surface->draw_outlined_rect(x, y, w, h);
	//	interfaces::surface->draw_outlined_rect(x, y, x + w, y + h);
}

	void draw_outlined_rect(int x, int y, int w, int h) {
		using original_fn = void(__thiscall*)(i_surface*, int, int, int, int);
		return (*(original_fn * *)this)[18](this, x, y, x + w, y + h); // cuz im doing my math already in surface class, same for filled rect
	}

great framework, thanks for ur help! <3

No problem! Glad I could help.


ModuleNotFoundError: No module named 'PIL'

disclaimer: i am no python programmer, just a noob stumbling along.  any help appreciated!
windows AMD user (directml)
cloned repo:
git clone https://github.com/toshiaki1729/dataset-tag-editor-standalone.git
installed via CLI:
python -m venv --system-site-packages venv
.\venv\Scripts\activate
pip install -r requirements.txt
launch_user.bat:
venv "T:\tageditor\dataset-tag-editor-standalone\venv\Scripts\Python.exe"
Traceback (most recent call last):
File "T:\tageditor\dataset-tag-editor-standalone\scripts\launch.py", line 12, in
import gradio as gr
File "T:\tageditor\dataset-tag-editor-standalone\venv\lib\site-packages\gradio_init_.py", line 3, in
import gradio.components as components
File "T:\tageditor\dataset-tag-editor-standalone\venv\lib\site-packages\gradio\components.py", line 22, in
import matplotlib.figure
File "T:\tageditor\dataset-tag-editor-standalone\venv\lib\site-packages\matplotlib_init_.py", line 148, in
from . import _api, _version, cbook, _docstring, rcsetup
File "T:\tageditor\dataset-tag-editor-standalone\venv\lib\site-packages\matplotlib\rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "T:\tageditor\dataset-tag-editor-standalone\venv\lib\site-packages\matplotlib\colors.py", line 51, in
from PIL import Image
ModuleNotFoundError: No module named 'PIL'

T:\tageditor\dataset-tag-editor-standalone>.\venv\Scripts\activate
(venv) T:\tageditor\dataset-tag-editor-standalone>pip install pillow
Requirement already satisfied: pillow in c:\users\XXXXXXX\appdata\local\programs\python\python310\lib\site-packages (9.4.0)
however, same result as above

I'm not sure but re-creating venv without --system-site-packages option can fix, maybe . It increases storage size though.
You may need PyTorch installed in the venv.

or the issue is caused by the bat file?
i changed it to simply call activate bat file in the latest commit

I would delete the entire folder and try cloning it again, this is what fixed my issue.


Function API definition (Swagger) feature is not supported for V2 runtime currently.

This article does not mention that Function API definition (Swagger) feature is not supported for V2 runtime currently. Effectively blocking PowerApps from using Azure Functions v2.

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

ID: fb743ac5-5429-b45d-9623-3140b304669b
Version Independent ID: 2b8fc604-63b0-7ea5-0c75-450f21056e9b
Content: Call a function from PowerApps
Content Source: articles/azure-functions/functions-powerapps-scenario.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hi @khilscher Thank you for your feedback! We will review and update as appropriate.

@khilscher Thanks for catching that! I believe this doc was missed in the update when a note was added for v1-only features. I have worked up a PR for this which should reflect soon.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


"Continue..." no second episode?

finished the first episode and it was a pleasant experience, somewhat makes me want to try classic text based games again.
at the start of the second episode after succesfully killing the zombies after going in reverse the it says "Continue..." and closes itself. my only guess is that there is no more.
i thought i saw somewhere the amount of episodes this game has but i don't remember where.
another two things which i'm not sure if they're intentional:
-the game lets you choose to load a save after dying. if you do choose that, it takes you right before you died only that without any items.
-when dying you can choose if you want to start again or not, if you choose not to it immediately starts again (at the house), instead of asking the difficulty.

finished the first episode and it was a pleasant experience, somewhat makes me want to try classic text based games again. at the start of the second episode after succesfully killing the zombies after going in reverse the it says "Continue..." and closes itself. my only guess is that there is no more. i thought i saw somewhere the amount of episodes this game has but i don't remember where.

First, thanks for trying out the game! Second, this is correct as the game isn't entirely finished and doesn't currently plan to be finished without the help of others. However, I plan to maintain and fix this game if bugs or any other issues occur.

another two things which i'm not sure if they're intentional: -the game lets you choose to load a save after dying. if you do choose that, it takes you right before you died only that without any items. -when dying you can choose if you want to start again or not, if you choose not to it immediately starts again (at the house), instead of asking the difficulty.

If you do die and choose to reload the save, you should still have all your items from the previous checkpoint. Were you running release v6.0 of the game or the latest changes?
I just tried to replicate the same issue your having with restarting and selecting no and I could not find the issue, I am using the latest updates of the game instead of v6.0. Keep in mind, I'm going to release v7.0 very soon so id recommend playing off of that version when it comes out.


Include rpath for back-deployed concurrency on macOS prior to 12.0.

When building an executable or test target for macOS prior to 12.0,
add an additional rpath to point into the toolchain's copy of the
back-deployed concurrency shared libraries. This allows swift build
to build executables that can run on the same macOS that predates
macOS 12.0.
Fixes rdar://problem/85209998 / SR-15445.

@swift-ci please test

@swift-ci please smoke test


NAT-682: support multiple open/close times per day

A missed requirement from the initial build was the assumption that each office would only have one set of opening hours per day, this is not the case (see Leighton Buzzard). This updates the data model to support multiple - but this would break the API, so this has led to a breaking version change as v2 of the API.

There looks like there's a lot of new code in here, but the bulk of the code in the v2 controllers already existed for the v1 controllers, the main difference is the way opening hours are output. The V1 code will shortly be discontinued, so expending effort in making it DRY vs copy/pasting was discounted.


Getting the issue "'Flutter/Flutter.h' file not found" in Flutter add to app when running in iOS Simulator, when the iOS project has multple configurations

I have tried creating a new iOS as well as Flutter app multiple times, but each time I get the same result.
I am putting down the steps for the same, and also attaching a Minimal reproducible code.
iOS - link
Flutter - link
Steps to Reproduce

Create a new iOS App which has multiple configurations(for as to include the different enviroments, refer this for adding configurations).
Follow the doc provided by Flutter to add the Flutter app to native code.
Change the scheme's run con of any target as PRO-Debug in the Run Section.

Try to run the app on any iOS Simulator.

Expected results:
The App should run
Actual results:
Getting the error 'Flutter/Flutter.h' file not found
Flutter doctor
Run flutter doctor and paste the output below:

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.2.2 20D80 darwin-x64, locale en-GB)
    • Flutter version 2.2.1 at /Users/hungerbox/Desktop/flutter
    • Framework revision 02c026b03c (10 weeks ago), 2021-05-27 12:24:44 -0700
    • Engine revision 0fdb562ac8
    • Dart version 2.13.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/hungerbox/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/hungerbox/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 92.0.4515.107

• No issues found!

Hi @ParasGarg7
I just tried the iOS project with the flutter module `from flutter/samples, your iOS project doesn't actually launch the module. nevertheless, I updated the module iOS bundle ID in pubspec.yaml and updated your project 4.2, 3.0 is not supported on Xcode 13 as your code is 4 years old. and fixed some code issues (had new line)
and ran the app and it runs fine on the simulator but again, I don't see any code that launches the Flutter module
To better address the issue, please provide  a new iOS project and module and complete logs for "'Flutter/Flutter.h' file not found"

Hi @TahaTesser,
I have updated the original Links, and the also updated the image for the newer project as well. Can you check now please?

Hi @ParasGarg7
Following the steps with updated code, I am getting a different error from Xcoe
PhaseScriptExecution [CP]\ Copy\ XCFrameworks /Users/tahatesser/Library/Developer/Xcode/DerivedData/MultipleEnvApp-awpdnnnjbjvpntazuyghmudzgbhw/Build/Intermediates.noindex/Pods.build/PRO-Debug-iphonesimulator/Flutter.build/Script-42D7D825206CB49D711AA4954BE31F5B.sh (in target 'Flutter' from project 'Pods')
    cd /Users/tahatesser/StudioProjects/samples/add_to_app/plugin/MultipleEnvApp/Pods
    /bin/sh -c /Users/tahatesser/Library/Developer/Xcode/DerivedData/MultipleEnvApp-awpdnnnjbjvpntazuyghmudzgbhw/Build/Intermediates.noindex/Pods.build/PRO-Debug-iphonesimulator/Flutter.build/Script-42D7D825206CB49D711AA4954BE31F5B.sh

/Users/tahatesser/Library/Developer/Xcode/DerivedData/MultipleEnvApp-awpdnnnjbjvpntazuyghmudzgbhw/Build/Intermediates.noindex/Pods.build/PRO-Debug-iphonesimulator/Flutter.build/Script-42D7D825206CB49D711AA4954BE31F5B.sh: line 2: /Users/tahatesser/StudioProjects/samples/add_to_app/plugin/MultipleEnvApp/Pods/Target Support Files/Flutter/Flutter-xcframeworks.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code

Here complete files
flutter_module_using_plugin.zip
MultipleEnvApp.zip

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 12.0 21A5304g darwin-x64, locale en-GB)
    • Flutter version 2.2.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision f4abaa0735 (8 weeks ago), 2021-07-01 12:46:11 -0700
    • Engine revision 241c87ad80
    • Dart version 2.13.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/tahatesser/Code/SDK
    • Platform android-31, build-tools 30.0.3
    • ANDROID_HOME = /Users/tahatesser/Code/SDK
    • Java binary at: /Users/tahatesser/Code/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Xcode 13.0, Build version 13A5212g
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2020.3)
    • Android Studio at /Users/tahatesser/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] VS Code (version 1.59.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.25.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.0 21A5304g darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 92.0.4515.159

! Doctor found issues in 1 category.

Please files like above so it can be reproduced the same as you

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


Implement Navbar component

Fixes

Use Navbar component from butter-base-components

Fix Tabs style

looks good, the goBack changes should be thought about a tad more.

Its already implemented in butter-desktop


wharf-cmd chart v0.1.0

[x] I've added a new note in the charts/wharf-helm/CHANGELOG.md file, according to docs:
https://iver-wharf.github.io/#/development/changelogs/writing-changelogs
(but without version dates nor WIP versions)
[x] I've version bumped charts/wharf-helm/Chart.yml

Summary

Added new chart: wharf-cmd

Motivation
Used to deploy all wharf-cmd components into Kubernetes.
Added as a separate chart as we can later use that as a dependency in wharf-helm, to have a bit of modularity, hopefully.

Very nice 👍🏻
Edit: Are the failing/cancelled checks to be expected or do they need to be fixed?

It's the watchdog that's failing. It requires the wharf-api to be available at least one time, otherwise it errors out without serving.


Typo in help command.

glags /? instead of gflags /?

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

ID: 58a2a343-17bf-477c-4ec3-c1b3baf7528d
Version Independent ID: 89340c44-adea-9d15-d60a-b2864d1dbc1b
Content: GFlags Commands - Windows drivers
Content Source: windows-driver-docs-pr/debugger/gflags-commands.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

Thanks, @Temppus
While I'd like to make a joke about how glags /?  gives you the version of help from the prior release, I'll just avoid the overt dad joke and stick to saying Thanks!!
Eliot


Hello, can rerun.Image be converted to a normal Image?

I want to use rerun-based program to generate videos, but the video_frames are all rerun.Image() content, which cannot be saved or visualized. pecifically, I'm modifying the program at https://rerun.io/examples/generative-vision/vista. I directly called the image generation part of this program, rather than the complete app. As a result, all the saved content is in rerun.Image format. I tried to save using rerun.log, but it didn't work.
import queue
from vista import sample, sample_utils, create_model, run_sampling
import torch
import sys
import os
import rerun as rr
import gradio_rerun
sys.stdout = open(os.devnull, 'w')
def generate_video(
first_frame_file_name,
height=576,
width=1024,
n_rounds=2,
n_frames=25,
n_steps=15,
cfg_scale=2.5,
cond_aug=0.0
):
model = create_model()
log_queue = queue.SimpleQueue()
run_sampling(
log_queue,
first_frame_file_name,
height,
width,
n_rounds,
n_frames,
n_steps,
cfg_scale,
cond_aug,
model
)
# 从队列中获取生成的图像
generated_images = []
while True:
msg = log_queue.get()
if msg == "done":
break
else:
entity_path, entity, times = msg
if entity_path == "generated_image":
generated_images.append(entity)
return generated_images
first_frame_path = "test.png"
video_frames = generate_video(first_frame_path)
print(1)

Thank you, alredy fix it.


python3Packages.devpi-common: add missing dependency

https://cache.nixos.org/log/dmwmpzvirbfg3crw0dpmzi82lb0dj1gd-python3.11-devpi-common-4.0.3.drv Now devpi-server and devpi-client build again.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

8 packages built:

devpi-client
devpi-client.dist
devpi-server
devpi-server.dist
python311Packages.devpi-common
python311Packages.devpi-common.dist
python312Packages.devpi-common
python312Packages.devpi-common.dist


New version: Tauri.create-tauri-app version dev-0d9d0318

Created by 🥟 Dumplings in workflow run #5146.
Logs
No ReleaseNotes (en-US) for version dev-0d9d0318
Updated: 3.14.0 → dev-0d9d0318
Submitting WinGet manifests

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/tauri-apps/create-tauri-app/releases/download/dev-0d9d0318/create-tauri-app-i686-pc-windows-msvc.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 881)

Automatic Validation ended with:

URI: https://github.com/tauri-apps/create-tauri-app/releases/download/dev-0d9d0318/create-tauri-app-i686-pc-windows-msvc.exe, Validation result: Failed, Http status code: NotFound
URI: https://github.com/tauri-apps/create-tauri-app/releases/download/dev-0d9d0318/create-tauri-app-x86_64-pc-windows-msvc.exe, Validation result: Failed, Http status code: NotFound
URI: https://github.com/tauri-apps/create-tauri-app/releases/download/dev-0d9d0318/create-tauri-app-aarch64-pc-windows-msvc.exe, Validation result: Failed, Http status code: NotFound

(Automated response - build 881.)


Error when dumping empty dataset

In order to help us troubleshoot issues with this project, you must provide the following details:

ElasticDump version
3.3.1
Elasticsearch version
6.3.0
Node.js version (note that nodejs v8+ is required for this tool)
8.11.3
Full command you are having issue with (with inputs and outputs)
elasticdump --input=http://localhost:9201 --input-index=empty --output=http://localhost:9202 --output-input=empty --type=data --headers='{"User-Agent": "elasticdump", "Content-Type": "application/json"}'
A data set you can share publicly which reproduces the problem
Basically I was trying to dump from an empty index (the index called empty is literally an empty index

I'm getting the following error when trying to dump an empty dataset.
I would have expected it would do nothing, not printing out to standard error.
dump ended with error (get phase) => Error: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Failed to parse request body"}],"type":"illegal_argument_exception","reason":"Failed to parse request body","caused_by":{"type":"json_parse_exception","reason":"Unrecognized token 'DnF1ZXJ5VGhlbkZldGNoBQAAAAAAAAFBFjk3RWNaQXppVFA2cm9vZE5qcVpaVVEAAAAAAAABRBY5N0VjWkF6aVRQNnJvb2ROanFaWlVRAAAAAAAAAUIWOTdFY1pBemlUUDZyb29kTmpxWlpVUQAAAAAAAAFDFjk3RWNaQXppVFA2cm9vZE5qcVpaVVEAAAAAAAABRRY5N0VjWkF6aVRQNnJvb2ROanFaWlVR': was expecting ('true', 'false' or 'null')\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@589a3a5e; line: 1, column: 457]"}},"status":400}

What is --output-input=empty, shouldn't this be output-index or simply --output=http://localhost:9202/empty ?

@ferronrsmith That was a copy-and-paste mistake. With the output-input corrected to output-index I'm getting the same error.

Is it possible to provide a dataset ?

You should upgrade to a later version. Any version before v3.3.2 doesn't have ES 6 support.


Level 20 features: Wizard: Signature Spells

Feature :
When you reach 20th level, you gain mastery over two powerful spells and can cast them with little effort. Choose two 3rd-level wizard spells in your spellbook as your signature spells. You always have these spells prepared, they don't count against the number of spells you have prepared, and you can cast each of them once at 3rd level without expending a spell slot. When you do so, you can't do so again until you finish a short or long rest.
If you want to cast either spell at a higher level, you must expend a spell slot as normal.
Suggested Implementation
Make a list of level 3rd spells, convert from spells to powers with a single use until next rest, add to new FeatureDefinitionFeatureSet that forces unique choices.

Here's a suggested solution, any comments before PR?
            foreach (SpellDefinition spell in DatabaseHelper.SpellListDefinitions.SpellListWizard.SpellsByLevel[3].Spells)
            {

                var SignatureSpellBuilder = new FeatureDefinitionPowerBuilder(
                        "DH_SignatureSpell_" + spell.name,
                        GuidHelper.Create(SignatureSpell_BASE_GUID, "DH_SignatureSpell_" + spell.name).ToString(),
                        1,
                        RuleDefinitions.UsesDetermination.Fixed,
                        AttributeDefinitions.Charisma,
                        spell.ActivationTime,
                        1,
                        RuleDefinitions.RechargeRate.LongRest,
                        false,
                        false,
                        AttributeDefinitions.Charisma,
                        spell.EffectDescription,
                       spell.GuiPresentation,
                        true);
                  FeatureDefinitionPower SignatureSpell= SignatureSpellBuilder.AddToDB();

                // these spells are spellsbundle and so would require sub powers that arent currently in the base game
                if (spell.name != DatabaseHelper.SpellDefinitions.BestowCurse.name & spell.name != DatabaseHelper.SpellDefinitions.ProtectionFromEnergy.name)
                {
                    list.Add(SignatureSpell);
                }

            }

            FeatureDefinitionFeatureSet featureSet = new FeatureDefinitionFeatureSetBuilder(
                  DatabaseHelper.FeatureDefinitionFeatureSets.FeatureSetHumanLanguages,
                        "DH_SignatureSpellFeatureSet",
                        GuidHelper.Create(SignatureSpell_BASE_GUID, "DH_SignatureSpellFeatureSet").ToString(),
                  new GuiPresentationBuilder(
                          "SignatureSpellDescription",
                          "SignatureSpellTitle").Build())
                  .ClearFeatures()
                  .AddFeature(list[0])
                  .AddFeature(list[1])
                  .AddFeature(list[2])
                  .AddFeature(list[3])
                  .AddFeature(list[4])
                  .AddFeature(list[5])
                  .AddFeature(list[6])
                  .AddFeature(list[7])
                  .AddFeature(list[8])
                  .AddFeature(list[9])
                  .AddFeature(list[10])
                  .AddFeature(list[11])
                  .AddFeature(list[12])
                  .AddFeature(list[13])
                  .SetMode(FeatureDefinitionFeatureSet.FeatureSetMode.Exclusion)
                  .SetUniqueChoices(true)
                  .AddToDB();

            var wizard = DatabaseHelper.CharacterClassDefinitions.Wizard;

              wizard.FeatureUnlocks.Add(new FeatureUnlockByLevel(featureSet, 2));
            wizard.FeatureUnlocks.Add(new FeatureUnlockByLevel(featureSet, 2));

Some quick thoughts on the proposed code.

You should use a loop to add the features to the feature set feature list.

This doesn't provide the spell as prepared. Instead of a FeatureDefinitionPower  can we add a FeatureSet that contains the FeatureDefinitionPower and a FeatureDefinitionAutoPreparedSpells of the proper spell?

And then I was wondering how we feel about using powers to represent spells. This changes a few things

Powers can't be counter spelled
Material components are ignored (most relevant for consumed components)
Conditions that may prevent spell casting (like Silence if there's a verbal component of the spell) can be ignored

I think powers are the best representation of this kind of ability we have right now, but I just wanted to make sure we considered how powers differ from actually casting the spell.

Those two changes will be made as recommended, if the current approach is taken forward.
The general questions are good ones and not ones I considered as I was focused on implementation. A few alternative approaches come to mind that might better preserve the spellcasting nature but come with their own issues.

leave the spell as a spell that is always prepared and instead have a 2/day power that restores one 3rd level spell slot each time so you end up with the same effective free spell, which could be used on any other spell as well
have a power than summons a scroll of the selected spell 1/day for the two selections. More roundabout but keeps it to  casting only the selected without consuming slots
investigate if the empty 10th level spell slots in FeatureDefinitionCastSpell.SlotsByLevelDuplet() are functional of not. If they are create 10th level versions of the spells and add two spell slots for the spells. Less confident about this as I haven't checked if it's possible and there could be a bit of upcasting abuse but would be the most straightforward user experience while maintaining the spell casting nature

Restoring spell slots is definitely a boost in power for the wizard, though mechanically I think gets us closest to the desired effects. I wonder if we could make the power conditionally available only after you cast the specific spell.
Making a spell scroll I believe can be counter spelled (though I'd have to double check the game's implementation to be sure), but it still suffers the other drawbacks of a power and it adds the clunkiness of needing to create the scroll and needing to go find and activate it.
Using the 10th level slots seems like it will open up lots of possible issues. The simplest being that I assume other spells could then be upcast (why cast Fireball for "free" when you can upcast it to 10th level for free, or heck what about just an 8th level spell that you can now upcast to 10th level).
So my vote is either the power implementation above or a way to recover the spell slots.

Actually one thought on this- we may want to think about how we plan to implement Spell Mastery (https://github.com/ChrisPJohn/SolastaCommunityExpansion/issues/85)
Ideally that will use spells, but if that is going to use powers as well, it might be better to use powers here to be consistent.

Another completely untested solution could be to create a replica spell that recreates the spell fully with an additional effect form to add a spell slot back every time the spell is cast. The way to limit such a spell to 1/day would be to set a unique consumable material component. There would be to be a power , possibly a rest activity power, that adds two components per day to allow two use of those spells. This solution only works if the user has the full component setting active but would maintain spell casting , limit the spell slot restoration to only happening after casting the signature spells, be more user friendly/intuitive than scrolls and spells as powers and not require a patch

It's been a few months since the above solution as suggested. Has anyone come up with a better solution or idea for alternative implementation in the meantime, such as the conditionally available spellslot recovery power?
If nobody else is working on it, should the above solution be used until a better version is available?


✨ Spaces persistent storage

Related PR (internal link): https://github.com/huggingface/moon-landing/pull/6530

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


newsboat: migrate to pkgs/by-name, format using nixfmt-rfc-style, 2.36 -> 2.37

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

1 package built:

newsboat

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1989

Thanks for merging, @h7x4, much appreciated 👍


new odo workflow: odo url

odo url should only modify the config file. Storage will be created by odo push

changes to odo url command

$ odo url create
 ✓  URL created for component: java-sjtn

To create URL on the OpenShift cluster, please run `odo push`

update:
It should be possible to specify --context flag with odo url create.
The same flag should be available for url list and url delete

ping @surajnarwade Updated the issue

ping @surajnarwade Updated the issue


feat: add cors

Proposal

Add CORS

Codecov Report

Merging #35 (abcd5a0) into main (e717e9a) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   76.56%   76.50%   -0.07%
==========================================
  Files          46       46
  Lines        1165     1166       +1
==========================================
  Hits          892      892
- Misses        273      274       +1

Impacted Files
Coverage Δ

src/presentation/http/mod.rs
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


getting primary ipv4/ipv6 from device

Hello!
I tried to get active primary ip4/ipv6 address from device id, is it possible? I saw it in json output, device id brought primary ip address (both ipv4 and ipv6), but I didn't found any reference how to do it using pynetbox.
This is the example json output :
//<PHONE_NUMBER>2447
// http://<IP_ADDRESS>:8000/api/dcim/devices/3/?format=json

{
  "id": 3,
  "name": "R1U7-4U8N-A",
  "display_name": "R1U7-4U8N-A",
  "device_type": {
    "id": 5,
    "url": "http://<IP_ADDRESS>:8000/api/dcim/device-types/5/?format=json",
    "manufacturer": {
      "id": 1,
      "url": "http://<IP_ADDRESS>:8000/api/dcim/manufacturers/1/?format=json",
      "name": "Supermicro",
      "slug": "supermicro"
    },
    "model": "F618R2-RC0PT+ Node",
    "slug": "f618r2-rc0pt-node"
  },
  "device_role": {
    "id": 1,
    "url": "http://<IP_ADDRESS>:8000/api/dcim/device-roles/1/?format=json",
    "name": "Server Node",
    "slug": "server-node"
  },
  "tenant": {
    "id": 1,
    "url": "http://<IP_ADDRESS>:8000/api/tenancy/tenants/1/?format=json",
    "name": "Infrastructure",
    "slug": "infrastructure"
  },
  "platform": null,
  "serial": "",
  "asset_tag": null,
  "site": {
    "id": 2,
    "url": "http://<IP_ADDRESS>:8000/api/dcim/sites/2/?format=json",
    "name": "Ampera Office",
    "slug": "ampera-office"
  },
  "rack": {
    "id": 1,
    "url": "http://<IP_ADDRESS>:8000/api/dcim/racks/1/?format=json",
    "name": "Rack1",
    "display_name": "Rack1 (STG1-R1)"
  },
  "position": null,
  "face": null,
  "parent_device": {
    "id": 1,
    "url": "http://<IP_ADDRESS>:8000/api/dcim/devices/1/?format=json",
    "name": "R1U7-4U8N",
    "display_name": "R1U7-4U8N",
    "device_bay": {
      "id": 33,
      "url": "http://<IP_ADDRESS>:8000/api/dcim/device-bays/33/?format=json",
      "name": "1"
    }
  },
  "status": {
    "value": 4,
    "label": "Failed"
  },
  "primary_ip": {
    "id": 22,
    "url": "http://<IP_ADDRESS>:8000/api/ipam/ip-addresses/22/?format=json",
    "family": 4,
    "address": "<IP_ADDRESS>/24"
  },
  "primary_ip4": {
    "id": 22,
    "url": "http://<IP_ADDRESS>:8000/api/ipam/ip-addresses/22/?format=json",
    "family": 4,
    "address": "<IP_ADDRESS>/24"
  },
  "primary_ip6": null,
  "cluster": null,
  "virtual_chassis": null,
  "vc_position": null,
  "vc_priority": null,
  "comments": "",
  "custom_fields": {

  },
  "created": "2018-02-08",
  "last_updated": "2018-02-17T06:23:40.457262Z"
}

I've tried using :
nb = pynetbox.api('http://<IP_ADDRESS>:8000', token='abcd1234')
print nb.ipam.ip_addresses.filter(role=['server-node'])

Return is None.
But if I am using print nb.dcim.devices.filter(role=['server-node'])
Return is [R1U7-4U8N-A, R1U7-4U8N-B, R1U7-4U8N-C, R1U7-4U8N-D]
My goal is, get all active ip address from nb.dcim.devices so I can put it on array.
Any hints?
Thanks

Hi @draskolnikova, you should be able to iterate over nb.dcim.devices.filter(role=['server-node']) and the info you're looking for should be in the .primary_ip.address.ip attribute. e.g.:
primary_ips = [i.primary_ip.address.ip for i in nb.dcim.devices.filter(role=['server-node'])]

i.primary_ip.address in the above example is a netaddr.IPNetwork object, .ip I think returns a netaddr.IPAddress object so you might need to cast to str() depending on what you want to do with it.


Mergr 6.5.x with Master

Purpose

Resolves https://github.com/wso2/ansible-ei/issues/26, Resolves https://github.com/wso2/ansible-ei/issues/27

Goals

Create support for product updates
Add contribution guidelines

Test environment

Ansible 2.8.0
Ubuntu 18.04

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


can't create confluent_cluster_link between a private cluster and public cluster

Hello,

I deployed one dedicated Kafka cluster (private) and a dedicated Kafka clusuter (public)
I created two API keys (one per each cluster) and I assigned the role CloudClusterAdmin

I try to create a confluent_cluster_link  between both cluster (private is the source and public is the destination) I get the error
Error: error creating Cluster Link: 401 Unauthorized: Not authorized: the authenticated user didn't have the right access to the resource: Cluster authorization failed.
How can I know where the problem is? - the error doesn't help.
thanks,

👋 @javiervelamindcurv thanks for creating this issue!
It seems like your setup is supported:
.
Could you confirm you used this example and it didn't work?

I'm checking my code. the example works.
thanks @linouk23


More SDK examples?

For example, it doesn't tell you how to:
Change the location of the config.xml which is used to specify logging?
How to deal with responses from realex?
It doesn't tell you how to do refunds?

Hi Craig,
Thanks for the feedback.
The SDK uses log4php for logging, please see the quick start guide: https://logging.apache.org/log4php/quickstart.html
The SDK currently doesn't support rebates or refunds but these enhancements will be coming shortly.
As for examples on how to handle the response, we'll update these on the Developer Hub: https://developer.realexpayments.com/
Best,
Seán

@seanmacdomhnall Hi Sean, what happened to the enhancements? I still need rebates, refunds, 3d Secure, storing of tokens

@craigcarnell,
3D Secure is available in the SDK already (just not for tokens). Rebates, refunds and Card Storage (including 3D Secure) calls are 99% QA'd and available here:
https://github.com/realexpayments-developers/rxp-remote-php/
We'll be creating a pull request to the main repo in about a week or so. The new functionality will also be fully documented on https://developer.realexpayments.com
Best,
Seán

@seanmacdomhnall Thank you.

@seanmacdomhnall Hi Sean, Where is this PR? Thank you


Stutter on all content

I'm submitting a ...

[ ] bug report
[ ] feature request
[*] support request

General information
Stutter on all Netflix content
Prerequisites

[*] Are you running the latest version?

Description
All content on Netflix stutters.
Tried all framerate settings, bandwidht and so on.
Everything stutters (video only, sound is fine).
Hardware: Intel NUC NUC6CAYH, Intel HD 500 GFX should have no problems with this.
Also a pretty decent 4-core CPU (but this is stuck on 800mhz for some unknown reason)
Only in Netlix addon, other streaming-addons works, same with local mkv on extreme high bitrate.
Have 100/100 connection.
Kodi 19 on LibreElec native install.
Steps to Reproduce
Run any movie.
Expected behavior: [What you expected to happen]
Steady flow of frames.
Actual behavior: [What actually happened]
Stutters.
Context (Environment)
Installation

[ ] I installed the plugin via zip from the Releases page
[*] I´m using the Netflix Repo
[ ] I´m using a different source (Please tell which)

Operating System

[*] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[ ] Linux (ARM)
[ ] Android

Additional informatin on the environment
[Descripe your environment a bit more detailed, are you using LibreElec f.e.]
Debug log
[Please include a link to your debug log (use something like http://sprunge.us/) or similar, please do not paste]
Other information
[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]
Screenshots
[Please add a screenshot if that helps understanding your problem]
[You can erase any parts of this template not applicable to your Issue.]

Guys at LibreElec says that the Netflix addon has a memory leak.
...
2019-07-26 10:10:42.314 T:139900012103424   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.URLError'>
Error Contents: <urlopen error [Errno 111] Connection refused>
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.netflix/addon.py", line 33, in
NAVIGATION.router(paramstring=REQUEST_PARAMS)
...

The same here. I've updated Netflix addon manually to 0.13.23 (from zip, not from repo) and for some time, all was good.
Yesterday, my nVidia Shield updated to Shield Experience 8.0 (but I'm not sure if that's the reason) and since that time, I cannot play anything in Kodi in Netflix - it stucks on "loading" circle and video never starts.
HBO GO plugin for Kodi is working properly.


fix(wizard): deprecate inline wizard

closes #3591
Signed-off-by: Marcu Alexandru<EMAIL_ADDRESS>PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] If applicable, have a visual design approval

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] clarity.design website / infrastructure changes
[x] Other... Please describe:
A warning that inform the user that the inline wizard is deprecated will appear in the console if the component its used

What is the current behavior?

Issue Number: #3591
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@gnomeontherun can you help me with this? The error comes from the test: format script but i cant figure out what needs to be changed in the code. The logs are not clear enough.  i tried to run test: travis scripts locally, without my changes and these tests still cant be passed. What should i do to make everything work properly?

Only one thing can we add a test in the deprecations.spec file that checks that the deprecated input is still there?


keyword search yields blank results

Happens with search terms "decadence" and "grass." @mnaydan discovered on test site while testing #274 and @kmcelwee reproduced behavior in production.
@rlskoeser:

I get the empty results when I add dictionaries to the list of collections, I don’t get them otherwise. When I click on one of the records I get a 410 Gone result, which means that record has been deleted. I think that means our deletion logic isn’t right - looks like we’re deleting metadata but not page content

duplicate of #337


[Request] Sort item tags by mod source and/or alphabetical order.

Currently when you have any mod that adds many variants of a block type (e.g. chipped), you have to scroll through a huge disorganized list of blocks to favorite specific types for crafting trees. If you could change it such that it is sorted by mod / alphabetical, that would be really beneficial.
e.g. of what I mean (in forge 1.20.1)

Tags in the tag page are actually sorted by name, but the contents of tags, like all of the planks in the planks tag, are not. Tags themselves are lists, not sets, so they have order that hypothetically matters, especially for pack devs. Lots of tags that have explicit ordering especially in vanilla where alphabetical sorting would make them significantly less appealing. Also, the first item in a tag is particularly important, as it is representative of the rest of the contents. This is working as intended, the weird spammy order of tag entries is caused by the mods adding the content like this, in this case, chipped.

Ah, so there's no way on your side to at least keep tags separated by the mod that calls them, right? i.e. keeping whatever sorting the mod itself implements for that mod's specific blocks/items, but keep them by order of mod source.


Backport PUP-3829 from 4.0.0

Related ticket for more detailed information.

CLA signed by all contributors.

Hi @arioch.  Thanks for the contribution!  We have a few things we would need addressed before being able to merge this commit:

It looks like you've created a new commit instead of cherry picking 6ee0339675e7460073483ebc74d4136b27687ae9 into the 3.x branch.  Was there a reason a new commit was created?

Additionally, please see our contributor guidelines for information about how we like the commit messages formatted.  We would like to see it formatted the same way as the original commit's message.  If you cherry pick the original commit, this will no longer be an issue.

Thanks!

Hi @arioch.  Thanks again for your contribution!
I'm closing this in favor of #3948 that cherry-picks the original commit into the 3.x branch.  Please re-open if you feel this is incorrect.  Thanks.


[RFC] Engine API: remove INVALID_BLOCK_HASH

PR https://github.com/ethereum/execution-apis/pull/254 introduces null value for latestValidHash in the case when latest VALID ancestor is unknown.
This change makes {status: INVALID_BLOCK_HASH, latestValidHash: null} semantically equal to {status: "INVALID", latestValidHash: null}. Thus, INVALID_BLOCK_HASH becomes redundant.
If all CL clients support latestValidHash: null, this change doesn't introduce backward compatibility issues but would require corresponding change in Hive tests that are checking INVALID_BLOCK_HASH.

The status has been removed since Shanghai https://github.com/ethereum/execution-apis/pull/338


Adding Migrate actions on throughput

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 commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

Hi @MehaKaushik could you please fix the LintDiff error first?
Basically it is saying that the error response should be in the following structure:
{
   "error": {
      "code": "CodeForError",
      "message": "ErrorMessage"
   }
}

The current swagger is missing the error level

No longer required.


urlFor "nav" does the wrong thing when passed a port as a relative URL

If you setup a navigation item with a url that's just a port number on the same domain as configured in config.js, urlFor treats this like a relative path and starts adding slashes where there shouldn't be one.
Steps to Reproduce

Configure the url in config.js to be a URL that doesn't have a port number (it doesn't have to be right :wink: ) e.g. http://ghost.dev
In navigation, add an item which points at a port number on the same url e.g. http://ghost.dev:3000
Save the navigation item, everything will look fine in the admin panel
Open your theme, view the source, and see the url is output with an extra slash in the middle as well as at the end e.g. http://ghost.dev/:3000/

This is a bug with the logic here: https://github.com/TryGhost/Ghost/blob/c549914ae867cb3f185b159e0a11ac713e0218c3/core/server/config/url.js#L204
In the case that there's a port number which isn't included in config.js, this is effectively pointing at an external site.
Technical details:

Ghost Version: 0.8

Damn sry didn't see there was already another pr for this. Feel free to close mine again.


PHP Fatal error during index creation

PHP Fatal error:  Cannot use Exception as Exception because the name is already in use in /Users/ricardo/Code/Scratch/newproject/vendor/mockery/mockery/library/Mockery/Instantiator.php on line 23
Fatal error: Cannot use Exception as Exception because the name is already in use in /Users/ricardo/Code/Scratch/newproject/
vendor/mockery/mockery/library/Mockery/Instantiator.php on line 23
Loading Index
Error detected while processing function phpcomplete_extended#readDataForProject..phpcomplete_extended#loadProject..<SNR
>33_loadIndex..<SNR>33_readIndex:
line    2:
Could not read index file .phpcomplete_extended/phpcomplete_index
Index Loaded.

Happens on newly created project using the latest laravel

@riq as I understand, @m2mdas doesn't support this plugin anymore. You can try my https://github.com/mkusher/padawan.vim but it may have some bugs and doesn't have laravel plugin

@mkusher Ahh okay, thanks for the info

@riq, you can avoid the error by enabling opcache.enable and opcache.enable_cli in your /etc/php5/cli/php.ini.
if it would not work, try enable same options in /etc/php5/apache2/php.ini as well.
However generating index file for a project is huge pain, you'll probably get many other errors, unfortunately...


Use subprocess.run

This is much less bug-prone:

os.system() will not return any exceptions
os.system() takes a single string and parses it as shell code so embedded spaces or embedded shell operators in your parameters can cause it to do pretty much anything at all

This depends on #173.

/cc @alexfoias @jcohenadad


CSS tweak: make file and line number more readable on dev error pages.

It turns out my text editor also took the liberty to remove trailing whitespaces, which I believe is a good thing.

I find the actual file name and line number painful to read. It's too small, the contrast is bad and the text-shadow makes it worse.
As it's one of the most important informations of this screen, I made it larger and more readable.


fix doku for warmup-command

1. Why is this change necessary?
Docu is wrong, see https://github.com/shopware/platform/blob/master/src/Storefront/Framework/Command/HttpCacheWarmUpCommand.php#L13
2. What does this change do, exactly?
Correct docu
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-8736
Please use this issue to track the state of your pull request.

Hi @tinect,
thanks for helping out with the documentation.
You PR was merged to 6.2 🎉 👍
Best regards
Tobias


Horreum fails to build on JDK23

Describe the bug
Horreum fails to build on jdk23 with the following error;
$ java -version
openjdk version "23" 2024-09-17
OpenJDK Runtime Environment Homebrew (build 23)
OpenJDK 64-Bit Server VM Homebrew (build 23, mixed mode, sharing)

...
        Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)' [in thread "executor-thread-3"]
                at com.oracle.truffle.api.library.LibraryFactory.ensureLibraryInitialized(LibraryFactory.java:385)

For the records, I tried running mvn clean install -DskipTests -DskipITs and the build looks working:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Horreum 0.16-SNAPSHOT:
[INFO]
[INFO] Horreum ............................................ SUCCESS [  1.210 s]
[INFO] horreum-api ........................................ SUCCESS [ 16.554 s]
[INFO] Horreum Client ..................................... SUCCESS [  0.601 s]
[INFO] Horreum infra - common ............................. SUCCESS [  0.814 s]
[INFO] Horreum Dev Services - Parent ...................... SUCCESS [  0.019 s]
[INFO] Horreum Dev Services - Runtime ..................... SUCCESS [  0.845 s]
[INFO] Horreum Dev Services - Deployment .................. SUCCESS [  0.884 s]
[INFO] Horreum Backend .................................... SUCCESS [ 41.774 s]
[INFO] Horreum Integration Tests .......................... SUCCESS [ 10.138 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:15 min
[INFO] Finished at: 2024-10-01T15:34:18+02:00
[INFO] ------------------------------------------------------------------------

Env:
$ java -version
openjdk version "23" 2024-09-17
OpenJDK Runtime Environment Temurin-23+37 (build 23+37)
OpenJDK 64-Bit Server VM Temurin-23+37 (build 23+37, mixed mode, sharing)

$ mvn -version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/alampare/.sdkman/candidates/maven/current
Java version: 23, vendor: Eclipse Adoptium, runtime: /home/alampare/.sdkman/candidates/java/23-tem
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.10.7-200.fc40.x86_64", arch: "amd64", family: "unix"

@lampajr thanks for checking

Maybe the issue is related to the specific Homebrew jdk23 🤔

possibly. I can check

@johnaohara I hit a similar issue when trying to execute a jar using jdk23 but that jar was built using jdk17.. so that might be the issue


ENVO and OMRSE with respect to health care facilities

Is OMRSE attracted to the idea of having built environment references in ENVO that OMRSE organization and role related axioms could work off of?  I see opportune modelling in OMRSE regarding architectural structure and underlying facilities with respect to organizations that administer them and use them for service provision.  But would OMRSE prefer to use ENVO terms for the facilities themselves?  I ask because I was poised to add about 60 hospital / clinic / healthcare facility and component terms to ENVO, and then realized OMRSE had a handful of them.
If there are reservations to migrating the terms to ENVO, what would they be?  The motivation to have these terms in ENVO would be that such facilities have many aspects to them - building maintenance, costing, engineering, environmental impact, waste disposal, etc. that go beyond a strictly medical purview. Or a compelling argument to shift into OMRSE?
 OBI "hospital" and OMRSE "hospital facility". The list is motivated by sampling location description or transmission context with respect to covid19 and other infectious diseases.
Thanks for input,
Damion

@ddooley regardless of where the terms go it's definitely better not to have a term like hospital be in all of OBI, OMRSE and ENVO. I think it would be good to clarify this so were all together upholding OBO principal 5 (not duplicating across ontologies).
At the moment my understanding is that ENVO’s scope is all environments natural and antropogenic, as well as many materials natural or human produced. Perhaps this is fine but it does seem like quite a lot of ground to cover, especially with @ddooley's health-care related environments. Are these better suited elsewhere? Perhaps some ENVO, OBI and OMRSE folks have thoughts on this? @pbuttigieg, @cmungall, @jamesaoverton, @zhengj2007, @matentzn, @hoganwr @dillerm?
@ddooley has a large COVID-related term set he's trying to get into various OBO ontologies so I think clarifying this will help with his efforts.

I think it would be worth discussing, probably on a call with relevant
stakeholders.
Some principles that underlie this work:

The term 'hospital' is used ambiguously in natural language to refer to
a building, an organization, and perhaps more (a licensure from the state
to operate a particular physical facility as a hospital, the function of
being a hospital, etc.)
Physical subunits of buildings change function all the time.  For
example, when I was a medical resident, the medical ICU moved from
Presbyterian Hospital to Montefiore Hospital (after an organizational
merger of Montefiore into UPMC, so now both facilities were owned and
managed by one organization).  Patients were transported from the Presby ED
across two "bridges", one from Presby to Eye and Ear Hospital, and then
across another bridge that was L shaped, from E&EH to Montefiore.
Thus the pain clinic, the pharmacy, the dental clinic all might stay
organizationally identical while moving from one physical place to another,
and that move might even cross entire buildings blocks apart.
Buildings that serve healthcare functions sometimes even end up ceasing
to serve any healthcare functions at all (e.g., apartment buildings:
https://www.physicianleaders.org/news/so-what-are-your-plans-for-that-old-hospital-building)
, and vice versa (e.g., a physician office acquiring a space in a strip
mall and converting it to healthcare use).

My experience is that although healthcare organizations do not carefully
distinguish these things in their data, their infection control personnel
frequently lament said lack.
Bill
On Mon, Mar 15, 2021 at 6:17 AM Kai Blumberg @.***>
wrote:

@ddooley https://github.com/ddooley regardless of where the terms go
it's definitely better not to have a term like hospital be in all of OBI,
OMRSE and ENVO. I think it would be good to clarify this so were all
together upholding OBO principal 5
http://www.obofoundry.org/principles/fp-005-delineated-content.html
(not duplicating across ontologies).
At the moment my understanding is that ENVO’s scope is all environments
natural and antropogenic, as well as many materials natural or human
produced. Perhaps this is fine but it does seem like quite a lot of ground
to cover, especially with @ddooley https://github.com/ddooley's
health-care related environments. Are these better suited elsewhere?
Perhaps some ENVO, OBI and OMRSE folks have thoughts on this? @pbuttigieg
https://github.com/pbuttigieg, @cmungall https://github.com/cmungall,
@jamesaoverton https://github.com/jamesaoverton, @zhengj2007
https://github.com/zhengj2007, @matentzn https://github.com/matentzn,
@hoganwr https://github.com/hoganwr @dillerm
https://github.com/dillerm?
@ddooley https://github.com/ddooley has a large COVID-related term set
he's trying to get into various OBO ontologies so I think clarifying this
will help with his efforts.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ufbmi/OMRSE/issues/157#issuecomment-799298555, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJR55WRAXZLWAUUXR7AH23TDXNCBANCNFSM4YP4SP4A
.

@hoganwr indeed I noticed OMRSE's use of "... facility" - which I like perhaps more than just "unit" as it implies physical built environment rather than organizational/operational /management semantics.  I am only after naming the physical built stuff assigned to a functional role / capability - to provide physical context to infectious disease biosamples or processes at some time t.  I leave the organizational /management/ semantics in the good hands of OMRSE!

Hi all
@wdduncan I quite like your suggestion, but it seems more natural to me that the building classes are stored in ENVO, and then imported to OMRSE where they can be embellished with roles that work for OMRSE's scope.
The "units" however, feel like they fit in OMRSE well, as they are not (necessarily) bound to rooms or floors (as @hoganwr notes in his points 2 and 3 here)
Ultimately, OBO really needs a dedicated ontology for building types and/or architectural elements that can be imported as a module. Similar to how FOODON branched off of ENVO.
@hoganwr

The term 'hospital' is used ambiguously in natural language to refer to
a building, an organization, and perhaps more (a licensure from the state
to operate a particular physical facility as a hospital, the function of
being a hospital, etc.)

This is  an excellent point, and I think it offers us the way forward: ENVO can limit itself to the physical buildings and building parts, and the subtleties of role-defined sub-(fiat)-parts of thes be covered in OMRSE
Happy to have a call about this too

For my needs I would like to rename the above "X unit" to "X unit facility" to make clear the physical environment of the unit is being referenced.
I can send out a doodle poll to the people involved about a good telecon time in next few weeks (one in which invitees can get others who are interested to take the poll too).

Thanks @ddooley
I'm sensing something like:

ENVO would contain terms for buildings that have been deliberately built as hospitals, and rooms therein built with specific purposes in mind
OMRSE would have a broader notion of "hospital" which can be role based and realisable in any process where any building is used for hospital-like activities. The same thinking applies to parts of those buildings.
Combining the above, this is then a way for applications to import any building type from ENVO (barns, schools, houses) and assign them the OMRSE hospital roles/functions as needed, to capture a wide variety of situations.

Units and facilities are linguistically fuzzy, so we'll need to sort out our approach consistently

Hi,
just adding from the perspective of the CAFE project, we will also need
hospital organizations (and their parts). I suggest those are in OMRSE, too.
Best,
Mathias
On Wed, Mar 17, 2021 at 1:33 PM Pier Luigi Buttigieg <
@.***> wrote:

Thanks @ddooley https://github.com/ddooley
I'm sensing something like:

ENVO would contain terms for buildings that have been deliberately
built as hospitals, and rooms therein built with specific purposes
in mind
OMRSE would have a broader notion of "hospital" which can be role
based and realisable in any process where any building is used for
hospital-like activities. The same thinking applies to parts of those
buildings.
Combining the above, this is then a way for applications to import
any building type from ENVO (barns, schools, houses) and assign them the
OMRSE hospital roles/functions as needed, to capture a wide variety of
situations.

Units and facilities are linguistically fuzzy, so we'll need to sort out
our approach consistently
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ufbmi/OMRSE/issues/157#issuecomment-801317372, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACF6DLWMHU3E5KCL5BN2D4LTEDYZFANCNFSM4YP4SP4A
.

just adding from the perspective of the CAFE project, we will also need
hospital organizations (and their parts). I suggest those are in OMRSE, too.

Yes, the organisations are socially grounded. OBI's organization  class would be the root, I suppose, but this should be abstracted out of OBI (perhaps moved to COB, if not already planned)

I totally agree that the OBI class is the root, but if I am not mistaken
that is imported by OMRSE.
Best,
Mathias
On Wed, Mar 17, 2021 at 1:54 PM Pier Luigi Buttigieg <
@.***> wrote:

just adding from the perspective of the CAFE project, we will also need
hospital organizations (and their parts). I suggest those are in OMRSE,
too.
Yes, the organisations are socially grounded. OBI's organization
http://purl.obolibrary.org/obo/OBI_0000245 class would be the root, I
suppose, but this should be abstracted out of OBI (perhaps moved to COB, if
not already planned)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ufbmi/OMRSE/issues/157#issuecomment-801329778, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACF6DLRMS3XWINNL3KSFDVDTED3FTANCNFSM4YP4SP4A
.

This makes sense to me
On Wed, Mar 17, 2021, 11:33 Pier Luigi Buttigieg @.***>
wrote:

Thanks @ddooley https://github.com/ddooley
I'm sensing something like:

ENVO would contain terms for buildings that have been deliberately
built as hospitals, and rooms therein built with specific purposes
in mind
OMRSE would have a broader notion of "hospital" which can be role
based and realisable in any process where any building is used for
hospital-like activities. The same thinking applies to parts of those
buildings.
Combining the above, this is then a way for applications to import
any building type from ENVO (barns, schools, houses) and assign them the
OMRSE hospital roles/functions as needed, to capture a wide variety of
situations.

Units and facilities are linguistically fuzzy, so we'll need to sort out
our approach consistently
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ufbmi/OMRSE/issues/157#issuecomment-801317372, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOODE54IG7OJ6YUGEETTEDYZFANCNFSM4YP4SP4A
.

If ENVO is going to host the classes, I think we need to be careful about how to handle poly-hierarchies. For example, a building on a medical campus may be both a healthcare facility and educational facility. Ideally, these poly-hierarchies should handled via reasoning. This suggests to me that the roles/functions would also need to be also be in ENVO. Would  the medically relevant roles/functions keep an OMRSE identifier and then have ENVO import them for purposes of reasoning?

Would the medically relevant roles/functions keep an OMRSE identifier and then have ENVO import them for purposes of reasoning?

yes, that makes sense


Review, improve the allocator interface

Review, improve the allocator interface

https://github.com/MGfoundation/mgcpp/blob/511dc98d1a4d0f41c562b4552aaa7119a75eff90/include/mgcpp/type_traits/get_member_trait.hpp#L46

Removing get_allocator
accessing member type variable ::allocator_type should now replace that metafunction.

https://github.com/MGfoundation/mgcpp/blob/511dc98d1a4d0f41c562b4552aaa7119a75eff90/include/mgcpp/type_traits/allocator.hpp#L21
2. moving, renaming change_allocator_type
The C++ standard term for something like this is 'rebind'. Should be renamed accordingly.
and it should probably be a member metafunction of default_allocator.
(the C++ standard uses std::allocator_trait as indirection, but it seems to be overkill for our case)

Done


Support mix-blend-mode compositing in screenshots.

There are limitations to the current screenshot function.  If layers are composited with mix-blend-mode, svg filters, or some other options, these are not applied.  mix-blend-mode support is added here; other limitations remain.

As an explicit use case, we have a project where a hyperspectral image (fluorescence microscopy) is shown with one channel per layer.  We let the users adjust the color and scaling of each channel in a separate layer and composite them via the mix-blend-mode: lighter option.  We want to take a screenshot of the current settings, and this change is needed to composite the results correctly.

Doing the review now


SaveDatabase / LoadDatabase Issue

Hello i am trying to use lokijs for large collections.
For demo i used LokiIndexedAdapter;
In android everything is working perfectly fine. But in IOS when i try to savedatabase operation it breaks the app.
After reading documentation, i used LokiPartitioningAdapter along with LokiIndexedAdapter after that in IOS breaking app has stopped. But this time after loading and parsing database, data is empty.
Here is my code;
   function getToBeInsertedData(max) {

            var arr = [];
            var count = 0;
            while (count< max) {

                var obj = {
                    _id: "test",
                    field1: 'Test',
                    field2: 'Test'
                };
                arr.push(obj);
                count = coun + 1;
            }
            return arr;
      }

     function testLokiJs() {

            var idbAdapter = new LokiIndexedAdapter('tester');

            var pa = new loki.LokiPartitioningAdapter(idbAdapter, { paging: true });

            var db = new loki('test', {
                adapter: pa,
                autosave: true,
                autosaveInterval: 4000
            });

            var coll = db.addCollection('testColl');

            var toBeInsertedData = getToBeInsertedData(5);
            coll.insert(toBeInsertedData);

            db.saveDatabase();

            idbAdapter.loadDatabase('test', function (result) {
                var parsedJson = JSON.parse(result);
                //in here parsedJson.collections[0].data is empty
            });
       }

if i remove LokiPartitioningAdapter and use only LokiIndexedAdapter saveDatabase() breaks app with larger data. With smaller data example saveDatabase() and loadDatabase() operations are working.
else if i use LokiPartitioningAdapter along with LokiIndexedAdapter saveDatabase() does not breaks app but after loading database, collections[0].data is empty.
Any ideas...

Did you solve this issue. I'm experiencing the same thing on an electron app


Include / Exclude / Filter don't work as expected

Hello
I have a directory '/tmp/test' with 3 files :
drwxr-xr-x  2 root root 4096 Oct  6 04:40 .
drwxrwxrwt 14 root root 4096 Oct  6 04:57 ..
-rw-r--r--  1 root root    0 Oct  6 04:08 f1.txt
-rw-r--r--  1 root root    0 Oct  6 04:07 tata.jpg
-rw-r--r--  1 root root    0 Oct  6 04:07 xxx.jpg

I use the --include option to include only *.jpg file => it's OK
./rclone -v --include "*.jpg" ls '/tmp/test'
2017/10/06 04:48:08 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2017/10/06 04:48:08 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 tata.jpg
        0 xxx.jpg

I use the --filter option to include only *.jpg file => it's KO
./rclone -v --filter "+ *.jpg" ls '/tmp/test'
2017/10/06 04:48:55 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2017/10/06 04:48:55 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 f1.txt
        0 tata.jpg
        0 xxx.jpg

I use the --filter option to exclude all *.jpg file => it's OK
./rclone -v --filter "- *.jpg" ls '/tmp/test'
2017/10/06 04:49:24 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2017/10/06 04:49:24 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 f1.txt

I use the --exclude and --include option to include all *.jpg file AND to exclude '*x.jpg' file => it's KO
./rclone -v --include "*.jpg" --exclude "*x.jpg" ls '/tmp/test'
2017/10/06 04:50:33 NOTICE: Config file "/root/.config/rclone/rclone.conf" not found - using defaults
2017/10/06 04:50:33 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 tata.jpg
        0 xxx.jpg

All the above test was done on Linux 64 bits with the local storage with the beta and 1.38 release.
Do you need some more informations ?
Regards,

I if you use --dump-filters you will see exactly what rclone is doing.
You can see here that rclone includes an implicit drop everything when you use --include.
$ rclone --dump-filters -v --include "*.jpg" ls /tmp/test
--- start filters ---
--- File filter rules ---
+ (^|/)[^/]*\.jpg$
- ^.*$
--- Directory filter rules ---
+ ^.*$
- ^.*$
--- end filters ---
2017/10/06 13:15:49 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 tata.jpg
        0 xxx.jpg

Whereas it doesn't do that with --filter.
$ rclone --dump-filters -v --filter "+ *.jpg" ls /tmp/test
--- start filters ---
--- File filter rules ---
+ (^|/)[^/]*\.jpg$
--- Directory filter rules ---
+ ^.*$
--- end filters ---
2017/10/06 13:16:06 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 f1.txt
        0 tata.jpg
        0 xxx.jpg

So if you want to do --filter you need to add one
$ rclone --dump-filters -v --filter "+ *.jpg" --filter "- *" ls /tmp/test
--- start filters ---
--- File filter rules ---
+ (^|/)[^/]*\.jpg$
- (^|/)[^/]*$
--- Directory filter rules ---
+ ^.*$
- ^.*$
--- end filters ---
2017/10/06 13:16:18 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 tata.jpg
        0 xxx.jpg
$

The reason why your --include and --exclude don't work is due to the order the flags are processed.  If you want to use both --include and --exclude on the command line, then you should use --filter instead.  This is mentioned in the docs.
$ rclone -v --dump-filters --include "*.jpg" --exclude "*x.jpg" ls /tmp/test
--- start filters ---
--- File filter rules ---
+ (^|/)[^/]*\.jpg$
- (^|/)[^/]*x\.jpg$
- ^.*$
--- Directory filter rules ---
+ ^.*$
- ^.*$
--- end filters ---
2017/10/06 13:18:39 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 tata.jpg
        0 xxx.jpg

So what you really want here is
$ rclone -v --dump-filters --filter "- *x.jpg" --filter "+ *.jpg" --filter "- *" ls /tmp/test
--- start filters ---
--- File filter rules ---
- (^|/)[^/]*x\.jpg$
+ (^|/)[^/]*\.jpg$
- (^|/)[^/]*$
--- Directory filter rules ---
+ ^.*$
- ^.*$
--- end filters ---
2017/10/06 13:44:04 INFO  : Local file system at /tmp/test: Modify window is 1ns
        0 tata.jpg

So I think the filtering is working as intended.  I'm always grateful for PRs to improve the docs if you have any suggestions for improvements.

I was impressive about your answer and the details how to handle my request.
You're right : using '--filter' option was the good option and there's no issue !
It's working well !!!
thank you about your tool : it's amazing !!!


ImageMagick

I'm on GoDaddy Shared Linux hosting. I upgraded to 2.1.4 which ran for an hour before throwing this error.
Internal Server Error
Fatal error: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/alt/php74/usr/lib64/php/modules/imagick.so (libMagickWand-7.Q16HDRI.so.7: cannot open shared object file: No such file or directory), /opt/alt/php74/usr/lib64/php/modules/imagick.so.so (/opt/alt/php74/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory))
Any ideas? I am posted this on some forums as well. I cannot seem to get to the root of the cause.

You need to contact GoDaddy to get that fixed. It's trying to load a PHP module which isn't available.


ISPN-11862 Remove CacheStoreFactoryRegistry

https://issues.redhat.com/browse/ISPN-11862

@wburns CI looks good.

Integrated into master, thanks @ryanemerson !


Potential use-after-free in GltfConverters / AssetFetcher

The new AssetFetcher introduced in #854 stores the AsyncSystem and the vector of request headers by reference. This is safe if at least one of these is true:

The AssetFetcher is only used during the course of the function it is passed to, never after the function returns. But this is not true. I3dmToGltfConverter captures it in a lambda to be used later, after the function returns. Even if we fix this converter, future converters will need to keep this in mind as well.
The caller extends the lifetime of those objects until the converter function is done with them. But there's currently no documentation of this requirement. And even if there were, this is a difficult thing to be sure of, and an easy thing to overlook.

The current use may very well be safe (even checking that is a fair bit of work), but it's precarious. It's easy to imagine future changes leading to subtle, intermittent bugs.
The easiest solution is store the AsyncSystem and request headers by value instead. If that's too expensive, the next best thing is to pass them to the function directly rather than wrapping them up in AssetFetcher. It makes for a lot of parameters, but it's much more natural / obvious to capture them by value that way.
CC @timoore

One easy improvement idea is to delete the AssetFetcher copy/move constructors and assignment operators. That will allow the efficiency of storing these objects by reference in AssetFetcher, and the convenience of keeping them in an object rather than passing them as individual parameters, while also forcing implementors of converter functions to do the safe thing of capturing individual fields by value rather than capturing the entire object by value (which inadvertently captures the async system and headers by reference).

This has been addressed in #912 .

I'm going to reopen this, because we generally don't close issues until the PR that addresses them is merged. If you add "Fixes #893" to the top post of the PR, then GitHub will automatically close the issue upon merge.

I'm going to reopen this, because we generally don't close issues until the PR that addresses them is merged. If you add "Fixes #893" to the top post of the PR, then GitHub will automatically close the issue upon merge.

Whoops! No problem.


[Question/Feedback]: Terraform Variable Validation

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
Wanted to start a discussion around testing in terraform AVM modules. l started investigating the TF testing framework and creating some unit tests around variable validation.
Looking at the style guide there is not a lot of defined information yet around what kinds of unit tests we should be looking to create. I started with testing our variable validations to ensure that there was coverage if a validation changed. This lead to the creation of many more tests than I expected. For just the resource group name there were 5 tests to confirm various potential values.  All these tests still need to run during the plan phase which would be when the built in TF validation will run.
This brought up several questions:

Should we be creating custom validations for every variable?
Does creating custom validation bring value if the built-in provider validation will catch the same errors?
Should test be created on a case-by-case basis where it helps module consumers to better under the required values without needing to context switch and check documentation.

Hoping for some feedback on what others are doing and any future plans for testing in general.

@Azure/avm-core-team-technical-terraform, can you please take a look at this inquiry? Thanks!