Segmentation fault when running 2d_gizmos example

Bevy version
lastest main(caa662272ce).
[Optional] Relevant system information
AdapterInfo { name: "Apple M1", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.0 ", kernel: "22.1.0", cpu: "Apple M1", core_count: "8", memory: "16.0 GiB" }
What you did
cargo run --example 2d_gizmos
What went wrong
segmentation fault

P.S. 3d_gizmos example works fine.

Same here.
objc_release (@objc_release:7)
AutoreleasePoolPage::releaseUntil(objc_object**) (@AutoreleasePoolPage::releaseUntil(objc_object**):52)
objc_autoreleasePoolPop (@objc_autoreleasePoolPop:67)
<objc::rc::autorelease::AutoReleaseHelper as core::ops::drop::Drop>::drop (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/rc/autorelease.rs:17)
core::ptr::drop_in_place<objc::rc::autorelease::AutoReleaseHelper> (@core::ptr::drop_in_place<objc::rc::autorelease::AutoReleaseHelper>:9)
objc::rc::autorelease::autoreleasepool (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/objc-0.2.7/src/rc/autorelease.rs:30)
wgpu_hal::metal::device::<impl wgpu_hal::Device<wgpu_hal::metal::Api> for wgpu_hal::metal::Device>::create_render_pipeline (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-hal-0.15.3/src/metal/device.rs:807)
wgpu_core::device::Device<A>::create_render_pipeline (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-core-0.15.1/src/device/mod.rs:3030)
wgpu_core::device::<impl wgpu_core::hub::Global<G>>::device_create_render_pipeline (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-core-0.15.1/src/device/mod.rs:4938)
<wgpu::backend::direct::Context as wgpu::context::Context>::device_create_render_pipeline (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/backend/direct.rs:1174)
<T as wgpu::context::DynContext>::device_create_render_pipeline (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/context.rs:2191)
wgpu::Device::create_render_pipeline (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.15.1/src/lib.rs:2055)
bevy_render::renderer::render_device::RenderDevice::create_render_pipeline (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_render/src/renderer/render_device.rs:105)
bevy_render::render_resource::pipeline_cache::PipelineCache::process_render_pipeline (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_render/src/render_resource/pipeline_cache.rs:612)
bevy_render::render_resource::pipeline_cache::PipelineCache::process_queue (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_render/src/render_resource/pipeline_cache.rs:683)
bevy_render::render_resource::pipeline_cache::PipelineCache::process_pipeline_queue_system (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_render/src/render_resource/pipeline_cache.rs:718)
core::ops::function::FnMut::call_mut (@core::ops::function::FnMut::call_mut:14)
core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut (@core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut:19)
<Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0) .> Out>>::run::call_inner (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_ecs/src/system/function_system.rs:648)
<Func as bevy_ecs::system::function_system::SystemParamFunction<fn(F0) .> Out>>::run (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_ecs/src/system/function_system.rs:651)
<bevy_ecs::system::function_system::FunctionSystem<Marker,F> as bevy_ecs::system::system::System>::run_unsafe (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_ecs/src/system/function_system.rs:485)
bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}}::{{closure}} (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:448)
core::ops::function::FnOnce::call_once (@core::ops::function::FnOnce::call_once:7)
<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (@<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once:13)
std::panicking::try::do_call (@std::panicking::try::do_call:40)
__rust_try (@__rust_try:11)
std::panicking::try (@std::panicking::try:30)
std::panic::catch_unwind (@std::panic::catch_unwind:13)
bevy_ecs::schedule::executor::multi_threaded::MultiThreadedExecutor::spawn_system_task::{{closure}} (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_ecs/src/schedule/executor/multi_threaded.rs:446)
async_executor::Executor::spawn::{{closure}} (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/async-executor-1.5.0/src/lib.rs:139)
async_task::raw::RawTask<F,T,S>::run (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/async-task-4.3.0/src/raw.rs:511)
async_task::runnable::Runnable::run (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/async-task-4.3.0/src/runnable.rs:309)
async_executor::Executor::run::{{closure}}::{{closure}} (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/async-executor-1.5.0/src/lib.rs:230)
<futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.12.0/src/future.rs:529)
async_executor::Executor::run::{{closure}} (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/async-executor-1.5.0/src/lib.rs:237)
futures_lite::future::block_on::{{closure}} (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.12.0/src/future.rs:89)
std::thread::local::LocalKey<T>::try_with (@std::thread::local::LocalKey<T>::try_with:79)
std::thread::local::LocalKey<T>::with (@std::thread::local::LocalKey<T>::with:11)
futures_lite::future::block_on (/Users/shuoli/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.12.0/src/future.rs:79)
bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}}::{{closure}} (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_tasks/src/task_pool.rs:171)
std::panicking::try::do_call (@std::panicking::try::do_call:41)
__rust_try (@__rust_try:11)
std::panicking::try (@std::panicking::try:31)
std::panic::catch_unwind (@std::panic::catch_unwind:13)
bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}}::{{closure}} (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_tasks/src/task_pool.rs:165)
std::thread::local::LocalKey<T>::try_with (@std::thread::local::LocalKey<T>::try_with:91)
std::thread::local::LocalKey<T>::with (@std::thread::local::LocalKey<T>::with:16)
bevy_tasks::task_pool::TaskPool::new_internal::{{closure}}::{{closure}} (/Users/shuoli/.cargo/git/checkouts/bevy-f7ffde730c324c74/6a85eb3/crates/bevy_tasks/src/task_pool.rs:158)
std::sys_common::backtrace::__rust_begin_short_backtrace (@std::sys_common::backtrace::__rust_begin_short_backtrace:14)
std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (@std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}:14)
<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (@<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once:14)
std::panicking::try::do_call (@std::panicking::try::do_call:48)
__rust_try (@__rust_try:11)
std::panicking::try (@std::panicking::try:37)
std::panic::catch_unwind (@std::panic::catch_unwind:14)
std::thread::Builder::spawn_unchecked_::{{closure}} (@std::thread::Builder::spawn_unchecked_::{{closure}}:101)
core::ops::function::FnOnce::call_once{{vtable.shim}} (@core::ops::function::FnOnce::call_once{{vtable.shim}}:9)
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once (@std::sys::unix::thread::Thread::new::thread_start:15)
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once (@std::sys::unix::thread::Thread::new::thread_start:12)
std::sys::unix::thread::Thread::new::thread_start (@std::sys::unix::thread::Thread::new::thread_start:11)
_pthread_start (@_pthread_start:40)

Should be introduced by pr #6529

You can try running with METAL_WRAPPER_TYPE=1 in your env to see if there's a validation error, other than that, I'm lost.

The bloom_2d example also segfaults for me. Bisected to #6529.
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.1 ", kernel: "22.2.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }

Interestingly, bloom_2d (but not 2d_gizmos also fails under in a CI environment
AdapterInfo { name: "llvmpipe (LLVM 15.0.6, 256 bits)", vendor: 65541, device: 0, device_type: Cpu, driver: "llvmpipe", driver_info: "Mesa 23.1.0-devel (git-270f9c0 2023-03-21 jammy-oibaf-ppa) (LLVM 15.0.6)", backend: Vulkan }
SystemInfo { os: "Linux 22.04 Ubuntu", kernel: "5.15.0-[103](https://github.com/rparrett/prototype_bevy_example_runner/actions/runs/4478769269/jobs/7871955336#step:10:104)4-azure", cpu: "Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz", core_count: "2", memory: "6.8 GiB" }

2023-03-21T12:24:15.705573Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread '<unnamed>' panicked at 'wgpu error: Validation Error
Caused by:
    In a RenderPass
      note: encoder = `<CommandBuffer-(0, 1, Vulkan)>`
    In a set_pipeline command
      note: render pipeline = `gizmo_2d_pipeline`
    Render pipeline targets are incompatible with render pass
    Incompatible color attachment: the renderpass expected [Some(Rgba16Float)] but was given [Some(Rgba8UnormSrgb)]

edit: #8151

Cool, seems like this was unrelated to the M1 segfaulting which is happening in every example with a 2d camera as far as I can tell. (didn't test them all)

Cool, seems like this was unrelated to the M1 segfaulting

Yeah, I figured.
I don't see a reason why this happens as the 2d gizmo pipeline really doesn't do anything special and is mostly the same as the 3d one, except for not using a depth stencil and alpha blending being enabled.
Have you tried running it with METAL_DEVICE_WRAPPER_TYPE=1?

Yeah, that emits a
2023-03-21 13:20:56.059 2d_gizmos[50337:22271848] Metal API Validation Enabled

message, but no validation errors.

I'm getting this same issue when running ui examples.

I think issue this can now be closed.

Why is the issue closed if the error has not been fixed?

I think this issue comes from upstream somewhere but it's a crash affecting enough users that it's worth trying to fix here.
bevy_debug_lines uses almost the same rendering setup but does not have this issue so it should be possible

I have 2 ideas that might hopefully solve this.

Maybe this issue is triggered by some particular combination of things.
If this is the case then perhaps changing the shader setup slightly might randomly fix it.
Please try the solid-gizmos branch on my fork which changes the shader/render pipeline slightly.
Since bevy_debug_lines does not have this issue I tried to see what was different and the only thing I noticed was that it does not use LineStrip geometry.
Please try the gizmos-no-strip branch to see if this is the problem.
(If the 2d_gizmos example runs you should only see two lines. One red and the other green)

Tried both, still segment fault for me.

Tried both, still segment fault for me.

Shucks. I can't think of anything else :(

I was able to fix the issue for me with #8223


Updated version of vpp_agent

Coverage decreased (-0.09%) to 47.364% when pulling a47e4a074dac0e329c637c22cb240c963b766215 on lukasmacko:new_agent into d05ac3373c4a13894bf4c11eb81c0f86a4ec2477 on contiv:master.


Split SDC plugin into separate timing constraints related plugins

The objective is to divide the functionalities of the current SDC plugin into 2 optionally 3 separate plugins:

'sdc' -- The part which reads SDC into the Yosys attributes, i.e. read_sdc and write_sdc
'propagate-constraints' -- The part which propagates the constraints in the Yosys attributes across things like clock buffers and similar, i.e. propagate_clocks (and maybe future things like generate_pll_config or something?)
(optionally) 'pcf' -- In case we end up wanting a read_pcf or read_other_timing_constraint_format plugins which pull data into the same Yosys attributes.

In the current SDC plugin implementation the clock information is not assigned to parameters but kept in a separate Clocks class object. The object would have to be global in order to work for all timing related plugins or the clock information would have to be stored in the RTLIL::Wire parameters in form of extra parameters.

@mithro @litghost Please have a look if the description correctly captures the main idea of the SDC plugin split.

This is correct.
I would say that storing the information in parameters is a separate issue that should be logged.


Add a site-wide historical redirect functionality

In order to facilitate bulk site re-organizations, this change adds a
settings-level redirect capability. By defining a PAST_ARTICLE_FORMATS
key in the settings file, a redirect page will be generated for all
content that is to be moved.
Note: I have not yet amended the README or docs, pending a sign-off on the
concept here.

Thanks for posting this! I'll take a look tomorrow but I wanted to get back to you to say thanks 😊


psh: login feature

Added login feature. Forbids psh usage if valid password is not given. Password stored in plain text in psh_commons. Feature not present by default.
Feature can be turned on if value "login" is added to PSH_COMMANDS shell variable in _targets scripts. If the only value in PSH_COMMANDS is "login" then all psh features + login are present. If variable PSH_COMMANDS is not declared then psh has all features except login feature.
Default password is "phoenix"
JIRA: BES-104

Pull request closed due to improper approach to the problem and flawed code. Thank you for suggestions. I have to work on consistency with code writing guidlines.
Login feature will be rewritten to be part of psh.c (a mode you can choose psh to start with) and not as an psh applet

Just a side remark - You shouldn't parse special chars by hand when asking for password - you should use TTY canonical mode (this will make backspace and other special control chars - like ^W work automagically). I believe the TTY should be switched to canonical mode every time an applet/binary is being executed - so if it's not happening - it should be fixed (to comply with POSIX).
For reference see the busybox login implementation (https://github.com/mirror/busybox/blob/master/loginutils/login.c) and specifically bb_aspkass.


runtime/pprof: Golang pprof cpu performance analysis, after the sampling frequency increases on the windows platform, the number of samples decreases

What version of Go are you using (go version)?
go version go1.20.6 windows/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
windows/amd64
windows11 (22H2, 22621.1992)
cpu x86 amd pyzen 5500
What did you do?
I want to increase the sampling frequency of cpu profiling and get more cpu sampling samples.
On the windows platform, I use the runtime.SetCPUProfileRate() interface to set the cpu performance analysis sampling frequency.
It was found that after increasing the sampling frequency, the number of cpu samples (Total samples) decreased abnormally.
When the computer is running the test program, the total CPU usage does not exceed 50%.
I tested again on the same computer using linux (centos stream 9, 5.14.0-340.el9.x86_64) through a virtual machine, and found that the sampling results were basically the same, and the results were normal.
Test code:
package main

import (
	"fmt"
	"os"
	"runtime"
	"runtime/pprof"
	"time"
)

func inrun1() {
	t1 := time.Now()
	for {
		if time.Since(t1) > time.Second*3 {
			return
		}
	}
}

func main() {
	samplesNum := 100
	fn := fmt.Sprintf("cpuprof-%d--%s--main.prof", samplesNum, runtime.GOOS)
	f, err := os.Create(fn)
	if err != nil {
		panic(err)
	}
	defer f.Close()
	runtime.SetCPUProfileRate(samplesNum)
	pprof.StartCPUProfile(f)

	inrun1()

	pprof.StopCPUProfile()
}

What did you expect to see?
I want to increase the sampling frequency of cpu profiling and get more cpu sampling samples.
What did you see instead?
It was found that after increasing the sampling frequency, the number of cpu samples (Total samples) decreased abnormally.
When the computer is running the test program, the total CPU usage does not exceed 50%.
I tested again on the same computer using linux (centos stream 9, 5.14.0-340.el9.x86_64) through a virtual machine, and found that the sampling results were basically the same, and the results were normal.
Specific sampling results:
windows11 (22H2, 22621.1992):
Sampling frequency Sampling result
25 Duration: 3.08s, Total samples = 2.92s (94.68%)
50 Duration: 3.19s, Total samples = 3s (93.94%)
100 Duration: 3.16s, Total samples = 1.91s (60.48%)
200 Duration: 3.18s, Total samples = 960ms (30.20%)
linux --centos-stream 9, 5.14.0-340.el9.x86_64:
Sampling frequency Sampling result
25 Duration: 3.13s, Total samples = 2.84s (90.68%)
50 Duration: 3.13s, Total samples = 2.84s (90.71%)
100 Duration: 3.13s, Total samples = 2.85s (91.06%)
200 Duration: 3.13s, Total samples = 2.85s (91.01%)

"When the computer is running the test program, the total CPU usage does not exceed 50%."
What is the total CPU usage on Linux?  (I.e., is this information supposed to tell us

that there is plenty of available CPU to collect samples, or
that changing the sampling frequency somehow caused the CPU to not run at full utilization, on Windows 11?

And I assume that you first observed this with a not-toy program, instead of a tight loop checking the current time.  Is that assumption correct?

@qmuntal are there any well-known windows gotchas that might cause this?

@qmuntal are there any well-known windows gotchas that might cause this?

It is related to #44343. The maximum sampling rate that doesn't reduce the number of samples is ~60, that is one sample every ~16ms, which matches the default Windows time accuracy. I've have reproduced @ypcd results, and managed to get back the number of samples to ~96% by calling timeBeginPeriod(1) before starting the sampling: https://play.golang.com/p/vFcMKDVmWrE.
What I don't know is why the number of samples are reduced. Could it be that the Go runtime is expecting the OS to honor the sampling rate, and when this assumption is not met it doesn't behaves well?

"When the computer is running the test program, the total CPU usage does not exceed 50%."
What is the total CPU usage on Linux? (I.e., is this information supposed to tell us

that there is plenty of available CPU to collect samples, or
that changing the sampling frequency somehow caused the CPU to not run at full utilization, on Windows 11?

And I assume that you first observed this with a not-toy program, instead of a tight loop checking the current time. Is that assumption correct?

When I run tests on different platforms (windows, linux), the computer has enough free cpu time to use.
The total cpu usage on linux is below 50%.
Changing the sampling frequency seems to have no effect on the operation of the main body of the program, which can be proved by the fact that the duration of the program is more than 3 seconds. Changing the sampling frequency has an effect on the number of samples.
I first discovered this problem while profiling other programs.
Test programs are now written for individual tests.

I rewrote the test program a bit. I also found the sample reduction problem in the pure calculation test program.
Specific performance:
Sampling frequency Number of samples
25 Duration: 2.55s, Total samples = 2.44s (95.58%)
50 Duration: 2.54s, Total samples = 2.42s (95.45%)
100 Duration: 2.59s, Total samples = 1.52s (58.72%)
200 Duration: 2.53s, Total samples = 780ms (30.78%)
Pure calculation test program:
func inrun2() int {
	v := 0
	for i := 0; i < 10000*10000*100; i++ {
		v = i * (i - 1)
	}
	return v
}

func cpuprofile(samplesNum int) {
	//samplesNum := 100
	fn := fmt.Sprintf("cpuprof-%d--%s--i.prof", samplesNum, runtime.GOOS)
	f, err := os.Create(fn)
	if err != nil {
		panic(err)
	}
	defer f.Close()
	runtime.SetCPUProfileRate(samplesNum)
	pprof.StartCPUProfile(f)

	v := inrun2()
	_ = v

	pprof.StopCPUProfile()

}

func Test_cpuprofile25(t *testing.T)  { cpuprofile(25) }
func Test_cpuprofile50(t *testing.T)  { cpuprofile(50) }
func Test_cpuprofile100(t *testing.T) { cpuprofile(100) }
func Test_cpuprofile200(t *testing.T) { cpuprofile(200) }

Thanks for the new reproducers @ypcd.
While working on CL 514375 I've noticed that the default cpu sampling rate (100Hz) is already too high on Windows, which has a timer frequency of 15.6ms (~64Hz). This was regressed in go1.16 due to #44343.

thank you for your reply.


chore: npm audit fix

A couple of vulnerabilities were being reported (for node-forge and minimist), this should fix them.

I'll land this after CI passes.


LLamaSharpEmbeddings Exception: EmbeddingMode must be true.

Describe the bug
When creating a LlamaSharpEmbeddings the LlamaEmbedder expects the property EmbeddingMode to be true, even if i set it to true in the LlamaSharpConfiguration it is not beign passed to the model params.

This is the LlamaSharp code that throws the exception:

Steps to reproduce the bug

Create a LLamaSharpEmbeddings

Expected behavior
Adding this line of code should fix the problem:

Screenshots
No response
NuGet package version
No response
Additional context
No response

Hello.
Thanks, I think this problem is due to the fact that the LLamaSharp provider was originally written for version 0.8, but after that it was incorrectly updated to new versions
I'll be happy to accept PR on this or take a look at it this weekend


need suggest for making a rich text editor in seed

I am new to web，I read about some contenteditable, would it possible to define a tree-like document model, and  receive the edit event to map to the model? I try inputEvent, but the changed content does't appear.
or it would be better to use another tech to make a rich text editor?

Can you post an example of the inputEvent that's not working as you expect?
This is something that can be made with any frontend framework, including this one. I imagine one approach is to store the tree however you like using Rust data structures (Nothing framework-specific), provide views which parse your tree, creating html elements as appropriate. Eg div with contenteditable set to true, ps, spans etc which control formatting.

If tree-like structure is not required for everything, read Building a Text Editor for a Digital-First Newsroom - they are using flat structure for paragraphs and their editor is based on ProseMirror.
You can also look at Draft.js and Quill for inspiration.
If you are new to web, I suggest to use something proven and study its API before you decide to create a library. However, It will be nice to have a modular rich editor in Rust if you decide to go the hard way.
But It always depends on project - maybe contenteditable will be enough for your project.

Agree. I think the best approach is to find an existing one, and attempt to port it to your framework of choice, then modify as desired. Unless this is purely a learning project.

Thanks for all you suggest, I will try to learn one


Pie with data 0.0F

First of all, i would like to thank you for this amazing project, I looked at several libs and none of them had decent documentation or the graphics were good enough to be able to use.
I think you should consider the data equal to zero at plotting time.
I tried to create a PieChart where I have 2 scenarios:

where all options have data greater than zero (in this case everything works perfectly)
where there were options whose data was equal to zero, in this case the graph was not built. (you can try create a chart with 2 options and you'll see the problem)

I expected that in this case the chart would display the only option using all the space.
WDYT about it?

@MathBrandino Hi,dear.
Thank your for reporting the problem.
If your application catches when you give 0.0f value to chart, that problem was solved in here, so if you using 0.0.6 version, it should not be a persistent problem.
But considering that you opened the issue, i tried other kind of scenarios, in the 0.0.6 version if you had a data with this values:
20.0,0.0 or 20.0
The chart didn't show this, and i decided to fix it in 0.0.7 version.
So in the end, if you use 0.0.7 version of library, there should be no problem.

Thanks for the fast response!
I'm using the version 0.0.6
I'm creating a chart with wins and losses, so I can face some condition that the user never won or never lose.
I'll try version 0.0.7 and then I come back here to give you a feedback about it.

After updating everything works!
Thank you a lot 🚀

Your welcome.


Screen turns to black for ~1s when launching Terminal

Environment
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18362.0 Microsoft Windows NT 10.0.18362.0

Windows Terminal (Preview)
Version: 0.9.433.0

GPU:
RTX 2080 Super

Drivers:
GeForce Game Ready Driven v442.50

Steps to reproduce
Launch Terminal after rebooting Windows.
Expected behavior
Terminal launches without any hiccups.
Actual behavior
The screen it starts on turns to black for about 1s before coming back to normal with no error message. Happened on every reboot for the last week.

I've noticed a similar issue. If I leave Terminal running when I hibernate the machine, the first time I bring Terminal into the foreground after waking the machine up, the entire screen flashes black for about a second.
Platform ServicePack Version      VersionString
-------- ----------- -------      -------------
 Win32NT             10.0.18362.0 Microsoft Windows NT 10.0.18362.0

Windows Terminal version: 0.10.781.0

GPU: Geforce GTX 1080
Drivers: v445.75

The screen turning black sounds like a video card TDR. Would you mind sharing feedback?

/feedback

I have sent the issue through the feedback hub but have not found a way to get the link to send back here.

@mrtolkien ^ This button ^ will give you an aka.ms link you can share that we can use to look up your crash


Add end-to-end example for IBM Cloud

Adds instructions for an end-to-end example for IBM Cloud based on https://github.com/kubeflow/examples/pull/746

This change is

/assign @animeshsingh

/ok-to-test

/lgtm
/approve


Change name of "@jsonhpp" to "@jsonhpp//:json" for WORKSPACE

These seem to be different otherwise in WORKSPACE and MODULE.bazel.

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

Project coverage is 92.92%. Comparing base (25611a8) to head (b00dcfe).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2120   +/-   ##
=======================================
  Coverage   92.92%   92.92%
=======================================
  Files         359      359
  Lines       26666    26666
=======================================
  Hits        24780    24780
  Misses       1886     1886

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

Confirmed by @lromor who is working on bzlmod-ifiication that this is working for his needs.


Settings > Customizations > Apps   doesn't exist in v9

Is it supposed to be Settings > Customizations > Customization the System > Apps

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

ID: b4bb8dcf-9211-591e-4ddc-a82ba53b2807
Version Independent ID: 4b501c46-bd2e-457d-c891-2ebea3e44967
Content: Deploy Dynamics 365 App for Outlook (Dynamics 365 Customer Engagement)
Content Source: ce/outlook-app/deploy-dynamics-365-app-for-outlook.md
Service: crm-online
GitHub Login: @mduelae
Microsoft Alias: mkaur

@jimholtz @mduelae Yes. It should be Settings > Customizations > Customize the System > Apps

That topic has been updated. Thank you.


feat(exercises): add selfmade images to the initial exercise overview

Motivation

Added some pictures to the MUI Cards overview of exercises to get a better idea of where it can go
Issues closed

closes #6
closes #9
closes #10

Great, the images are not visible in the deployment...

Thanks, but the images are still not visible in the deployment, only on the localhost version! neither in firefox nor in chromium...

Ok my bad, I was watching the deployment of the main branch :D !!! Now I am happy!


Unlocking charge port

Hi all,
First of all.. Thank you for the awesome work.
I didn't found an option to unlock the charge port via Node-Red, although via the Tesla native app it is possible. I have tried using general unlock doors command but it didn't worked. Any suggestion?
Regards

Take a look here https://github.com/mseminatore/TeslaJS#openchargeportjs

Thank you.
I'll definetly take a look

Hi,
sorry i think I didn't get it at all. I want to Unlock my Charge Port, how can i use the sample above in node red?
Sorry for the rookie question.

Easy peasy @andijegg, I just created a UI Dashboard button and linked the Tesla-api with openChargePort function selection. Works perfect for me.

@TomNijsen
Thanks for the quick replay.

 I managed to build my own app for my #DRZMKRMT car sharing group. We share our Tesla Model3 with 6 other drivers and now they can heat up the car when they start walking from their home to arrive in a warm cosy car! Only the frunk an trunk opening is not working yet.

Looks great!

@TomNijsen , can you share that flow ? that looks great...


flutter_image not compiling with master branch

../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image-1.0.0/lib/network.dart:75:31: Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable Function()'.

'StringBuffer' is from 'dart:core'.
'Iterable' is from 'dart:core'.
'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/michal/Development/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'Iterable Function()'.
informationCollector: (StringBuffer information) {

Closing as a dup of https://github.com/flutter/flutter/issues/31962


fix nil pointer dereference when current kubectl context is empty

The following panic occurs if kubectl's current-context does not point
to a valid configuration context.
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x11f2018]

goroutine 1 [running]:
main.getDefaultNamespace(0xc4202cc280, 0x12, 0x0, 0x0)
cmd/istioctl/main.go:700 +0xb8
main.glob..func4(0x1c35de0, 0x1c61be8, 0x0, 0x0)
cmd/istioctl/main.go:86 +0x39
github.com/spf13/cobra.(*Command).execute(0x1c35de0, 0x1c61be8, 0x0, 0x0, 0x1c35de0, 0x1c61be8)
external/com_github_spf13_cobra/command.go:637 +0x549
github.com/spf13/cobra.(*Command).ExecuteC(0x1c349a0, 0x41172d, 0xc4200002a8, 0x0)
external/com_github_spf13_cobra/command.go:729 +0x339
github.com/spf13/cobra.(*Command).Execute(0x1c349a0, 0xc4204f7f78, 0x434056)
external/com_github_spf13_cobra/command.go:688 +0x2b
main.main()
cmd/istioctl/main.go:531 +0xc0

fixes https://github.com/istio/issues/issues/105
What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

@ayj: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ayj: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/lgtm

@rkpagadala: changing LGTM is restricted to assignees, and assigning you to the PR failed.

In response to this:

/lgtm

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

/approve

This repo is no longer accepting PRs. Please resubmit this change to the istio/istio repo.
Thanks.

Let's not close releaze-0.2 bug fixes

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

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
fd81ca50cf0f38bd4ba90c0155a76c84f9dd72d3
link
/test pilot-presubmit

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

Conflict?

looks conflicting my recent fix (https://github.com/istio/old_pilot_repo/pull/1638), be careful to resolve without breaking my one.

@ayj ping, is this needed for 0.2 ?

so we just missed 0.2.11 / what's the impact ?

Users need to specify a valid kubeconfig with --kubeconfig or have a valid default config discoverable through KUBECONFIG

k not too bad, connectivity to the cluster is needed for kube-inject anyway for instance


Use region on navigation method

What issue is this PR fixing?
https://github.com/react-community/react-native-maps/issues/2406
@techieyann comment in this PR: https://github.com/react-community/react-native-maps/pull/2049
How did you test this PR?
WIP: We tested this changes in our app (Android only) Full QA will be done within @autofleet team soon.
Based on: http://luan-itworld.blogspot.com/2013/07/calculate-google-map-zoom-level-on.html

Closing as superseded by #2563


config-helper: add enumParam?

support real ts-enums?
just a list of possible values?

current workaround: stringParam with matches

list of possible values: string and number?
option to match ignoring case -> always return predefined value on match


expose two operations on EntityType for use by Hibernate Reactive

see https://github.com/hibernate/hibernate-reactive/pull/954
cc @Sanne

Thanks mate


🐛 Bug Report: invalid SearchBar and SearchModal styles

📜 Description
Recent changes of Search components that were introduced in https://github.com/backstage/backstage/pull/16647 resulted in incorrect rendering of Search components that rely on the Custom style suggested in the storybook as can be seen in the storybook here, here, and here if you toggle modal
This makes going from 1.13.* to 1.14.* a bit problematic for anybody who relied on these styles.
👍 Expected behavior
The custom style suggested by the storybook should have been adjusted accordingly to minimise the impact on the end users. Also given that the introduced change has a visible impact on the standard components, it'd be great to have some migration guide in the correspondent change report if possible
👎 Actual Behavior with Screenshots
Custom SearchBar is rendered incorrectly on HomePage after bumping Backstage to 1.14.0-next.0 and further
Screenshot from the storybook

Screenshot from my instance's homepage, just in case (we try to stay as close to your styles as possible when displaying the standard components)

The same applies to the custom search modal in the storybook

👟 Reproduction steps

Open the storybook here, here, and here if you toggle modal
See the incorrectly rendered component

📃 Provide the context for the Bug.
No response
🖥 Your Environment
Chrome 112
OS:   Windows_NT 10.0.22621 - win32/x64
node: v16.14.2
yarn: 1.22.18
cli:  0.22.7-next.0 (installed)
backstage:  1.14.0-next.1

Dependencies:
  @backstage/app-defaults                          1.3.1-next.1
  @backstage/backend-app-api                       0.4.3-next.1
  @backstage/backend-common                        0.18.5-next.1
  @backstage/backend-dev-utils                     0.1.1
  @backstage/backend-plugin-api                    0.5.2-next.1
  @backstage/backend-tasks                         0.5.2-next.1
  @backstage/catalog-client                        1.4.1
  @backstage/catalog-model                         1.3.0
  @backstage/cli-common                            0.1.12
  @backstage/cli-node                              0.1.0
  @backstage/cli                                   0.22.7-next.0
  @backstage/config-loader                         1.3.0-next.0
  @backstage/config                                1.0.7
  @backstage/core-app-api                          1.8.0-next.1
  @backstage/core-components                       0.13.1-next.0
  @backstage/core-plugin-api                       1.5.1
  @backstage/dev-utils                             1.0.15-next.1
  @backstage/errors                                1.1.5
  @backstage/eslint-plugin                         0.1.3
  @backstage/integration-aws-node                  0.1.2
  @backstage/integration-react                     1.1.13-next.1
  @backstage/integration                           1.4.5-next.0
  @backstage/plugin-api-docs                       0.9.3-next.1
  @backstage/plugin-app-backend                    0.3.45-next.1
  @backstage/plugin-auth-backend                   0.18.3-next.1
  @backstage/plugin-auth-node                      0.2.14-next.1
  @backstage/plugin-catalog-backend-module-github  0.2.8-next.1
  @backstage/plugin-catalog-backend-module-ldap    0.5.12-next.1
  @backstage/plugin-catalog-backend                1.9.1-next.1
  @backstage/plugin-catalog-common                 1.0.13
  @backstage/plugin-catalog-graph                  0.2.30-next.1
  @backstage/plugin-catalog-node                   1.3.6-next.1
  @backstage/plugin-catalog-react                  1.6.0-next.1
  @backstage/plugin-catalog                        1.11.0-next.1
  @backstage/plugin-events-node                    0.2.6-next.1
  @backstage/plugin-github-actions                 0.5.18-next.1
  @backstage/plugin-search-backend                 1.3.1-next.1
  @backstage/plugin-search-common                  1.2.3
  @backstage/plugin-search-react                   1.6.0-next.1
  @backstage/plugin-search                         1.3.0-next.1
  @backstage/plugin-techdocs-addons-test-utils     1.0.13-next.1
  @backstage/plugin-techdocs-backend               1.6.2-next.1
  @backstage/plugin-techdocs-module-addons-contrib 1.0.13-next.1
  @backstage/plugin-techdocs-node                  1.7.1-next.1
  @backstage/plugin-techdocs-react                 1.1.6-next.0
  @backstage/plugin-techdocs                       1.6.2-next.1
  @backstage/plugin-user-settings                  0.7.3-next.1
  @backstage/release-manifests                     0.0.9
  @backstage/test-utils                            1.3.1-next.1
  @backstage/theme                                 0.2.19
  @backstage/types                                 1.0.2
  @backstage/version-bridge                        1.0.4

👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

Ping @backstage/discoverability-maintainers
Thanks for reporting!

Hi, I have a slight addition to this issue. Last week we noticed that the search bar in TechDocs looked a bit weird after update to 0.14.0-next.v1. Something tells me there's a chance it's related to the change mentioned in the description.
Before

After

You can see this in action on your demo page here

Hi there, starting to work on this, definitely an oversight on my side about custom styles for the search bar.

So far I can tell this is currently happening:

The issue stems from changing the InputBase for a TextField, while the base has little styles by default, the text field uses the input variants, it was ok as long as you use the default SearchBar, but since there's no way to disable the variant styles, the custom styles will need to override them.
The MuiFormControl added by the TextField has by default margin-top 16px & bottom 8px, in the default input it doesn't show because it blends with the background, but as soon as you wrap it in a Paper it shows.
The custom styles are being applied to the form control that wraps the input, while the input gets the outlined variant styles, I'll try and make the styles apply to the input instead of the MuiFormControl.

So far I see 2 ways to fix this:

Revert back to InputBase and manually replicate the outline variant styles, that way there will be no MuiFormControl to mess up the custom styles application & overriding the manual variant styles.
Remove the margins of the MuiFormControl, then make sure to apply the custom root styles to the input instead of the TextField's MuiFormControl so anyone can override the styles properly, not sure how to do this since I have yet to understand the root classes and how those are passed down to the components.

This is how the storybook custom styles SearchBar would look if I manage to remove the margins and apply the custom root styles to the input, it does need some tweaks to the padding/margin on the sides though:

@freben @ilya-kochetkov-cko Which of these 2 solutions should I go for?

Hmm there's something interesting in the StoryBook:

There's 2 sections for custom styles SearchBar, one is the Search Plugin version and the other is the Home Components version.
The plugin version does remove the outline properly using the notchedOutline class & applying on it the borderStyle: none, so the only issue with this example is the Form Control extra margin.
The HomePageSearchBar seems to be adding a custom border but not removing the notchedOutline, I'm thinking about removing that by default and rely on the custom border, which the dev can easily change it like before, the issue is that the way you customize the styles for the plugin version & HomePageSearchBar would differ...

@ilya-kochetkov-cko I've created a PR that fixes the margin on the MuiFormControl & updates the StoryBook stories to show how to remove the border properly.

@ilya-kochetkov-cko I've created a PR that fixes the margin on the MuiFormControl & updates the StoryBook stories to show how to remove the border properly, may need to update the changeset to reflect the change in the classes.

Hi, thank you very much for working on it 🙇
I'll try to bump our version from 1.13.0 to 1.14.0-next.* once again when your changes are merged.

Created a new PR to address the custom SearchModal story in StoryBook as mentioned by @emmaindal in this comment:
https://github.com/backstage/backstage/pull/17960


Cmake subdirectory

This split the code in three subdirectories:

common
dealii
cuda

This matches more closely the UML

Codecov Report

Merging #95 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   85.52%   85.52%
=======================================
  Files          37       37
  Lines        1665     1665
=======================================
  Hits         1424     1424
  Misses        241      241

Impacted Files
Coverage Δ

include/mfmg/dealii/dealii_mesh_evaluator.hpp
0% <ø> (ø)

include/mfmg/dealii/amge_host.templates.hpp
100% <ø> (ø)

include/mfmg/common/amge.templates.hpp
83.98% <ø> (ø)

source/dealii/dealii_trilinos_matrix_operator.cc
90.24% <ø> (ø)

tests/hierarchy_driver.cc
95.31% <ø> (ø)
:arrow_up:

tests/test_restriction_matrix.cc
95.07% <ø> (ø)
:arrow_up:

tests/test_hierarchy_helpers.hpp
64.86% <ø> (ø)
:arrow_up:

include/mfmg/dealii/dealii_smoother.hpp
100% <ø> (ø)

include/mfmg/common/mesh_evaluator.hpp
100% <ø> (ø)

source/dealii/dealii_solver.cc
96.29% <ø> (ø)

... and 22 more

Continue to review full report at Codecov.

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


Parse error: syntax error, unexpected '[' on  ['key'=>'...

Hello friends,
I have an issue that I cannot handle...
I already installed the packages and delete a lot of times to try figure this out, but nothing solves.
I`m having this error:
Parse error: syntax error, unexpected '[' in <DIRECTORY/sparkpost-test.php> on line 10
LINE 10:
$sparky = new SparkPost($httpAdapter, ['key'=>'<key>']);
When I turn this into array( 'key'=>''); it passes,
but gives me the same kind of error on line 14:
$results = $sparky->transmission->send([
I have used the basic sample code...
require 'vendor/autoload.php';

use SparkPost\SparkPost;
use GuzzleHttp\Client;
use Ivory\HttpAdapter\Guzzle6HttpAdapter;

$httpAdapter = new Guzzle6HttpAdapter(new Client());
$sparky = new SparkPost($httpAdapter, ['key'=>'<KEY>']);

try {
  // Build your email and send it!
  $results = $sparky->transmission->send([
    'from'=>'From Envelope<EMAIL_ADDRESS>    'html'=>'
Congratulations, {{name}}!

You just sent your very first mailing!
',
    'text'=>'Congratulations, {{name}}!! You just sent your very first mailing!',
    'substitutionData'=>['name'=>'YOUR FIRST NAME'],
    'subject'=>'First Mailing From PHP',
    'recipients'=>[
      [
        'address'=>[
          'name'=>'YOUR FULL NAME',
          'email'=>'YOUR EMAIL ADDRESS'
        ]
      ]
    ]
  ]);
  echo 'Woohoo! You just sent your first mailing!';
} catch (\Exception $err) {
  echo 'Whoops! Something went wrong';
  var_dump($err);
}

Any sugestion?
Thanks in advance.

Solved, seems like was the server php version.
Changed server, changes the error...
=/ at leat a step further...


Update readme.md how to use ScalaOjaiTesting and JavaOjaiTesting

@anicolaspp

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   81.39%   81.39%
=======================================
  Files           4        4
  Lines          43       43
=======================================
  Hits           35       35
  Misses          8        8

Continue to review full report at Codecov.

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


Docker Build

Working on Docker Build.   Everything worked except for UI
I am working on the NodeJS, Gulp dependencies.

##Running Gulp Serve.
bash-4.1# gulp serve
[11:57:40] Warning: gulp version mismatch:
[11:57:40] Global gulp is 3.9.0
[11:57:40] Local gulp is 3.8.11
[11:57:41] Using gulpfile /Hygieia/UI/gulpfile.js
[11:57:41] Starting 'consolidate:jade:app'...
[11:57:41] Starting 'consolidate:jade:components'...
[11:57:41] Starting 'wiredep'...
[11:57:41] Starting 'injector:css:preprocessor'...
[11:57:42] Starting 'themes-watcher'...
[11:57:42] Starting 'scripts'...
[11:57:42] Starting 'fonts'...
[11:57:42] Finished 'consolidate:jade:app' after 1.12 s
[11:57:42] Finished 'consolidate:jade:components' after 949 ms
[11:57:42] Starting 'consolidate:jade'...
[11:57:42] Finished 'consolidate:jade' after 8.73 μs
[11:57:42] Starting 'consolidate'...
[11:57:42] Finished 'consolidate' after 8.81 μs
[11:57:42] gulp-inject 7 files into index.less.
[11:57:42] Finished 'wiredep' after 1.01 s
[11:57:43] Finished 'injector:css:preprocessor' after 1.07 s
[11:57:43] Starting 'styles'...
/Hygieia/UI/src/app/chartist/plugins/tooltip.js
line 91  col 22  Don't make functions within a loop.
line 97  col 22  Don't make functions within a loop.
⚠  2 warnings
[11:57:44] Finished 'styles' after 1.99 s
[11:57:44] Starting 'injector:css'...
[11:57:45] gulp-inject 1 files into index.html.
/Hygieia/UI/src/app/dashboard/controllers/site.js
line 121  col 10  Unnecessary semicolon.
⚠  1 warning
[11:57:45] Finished 'injector:css' after 231 ms
/Hygieia/UI/src/app/dashboard/directives/widget-container.js
line 87  col 33  Use '===' to compare with 'null'.
⚠  1 warning
[11:57:46] Finished 'themes-watcher' after 4.31 s
[11:57:46] Finished 'fonts' after 4.16 s
/Hygieia/UI/src/app/dashboard/core/extensions/ng-fitText.js
line 68  col 26  Don't make functions within a loop.
line 73  col 99  Expected an assignment or function call and instead saw an expression.
⚠  2 warnings
[11:57:46] Finished 'scripts' after 4.93 s
[11:57:46] Starting 'injector:js'...
[11:57:47] gulp-inject 63 files into index.html.
[11:57:47] Finished 'injector:js' after 425 ms
[11:57:47] Starting 'watch'...
[11:57:47] Finished 'watch' after 75 ms
[11:57:47] Starting 'serve'...
[11:57:47] Finished 'serve' after 41 ms
[BS] Local URL: http://localhost:3000/
[BS] External URL: http://<IP_ADDRESS>:3000/
[BS] Serving files from: .tmp
[BS] Serving files from: src
[BS] Watching files...

Once pull #129 is merged, then there will be docker support.

Will review it today and complete this essential piece
Thanks
AM
804-229-3241
Sent with Good (www.good.com)
-----Original Message-----
From: jdamick [notifications<EMAIL_ADDRESS>Sent: Monday, September 28, 2015 12:42 PM Eastern Standard Time
To: capitalone/Hygieia
Subject: Re: [Hygieia] Docker Build (#131)
Once pull #129https://github.com/capitalone/Hygieia/pull/129 is merged, then there will be docker support.
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/131#issuecomment-143800101.

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

Here is my Linux install
bootstrap#3.3.5 bower_components/bootstrap
└── jquery#2.1.4
jquery#2.1.4 bower_components/jquery
bash-4.1# ls
README.md   bower_components  gulp	   karma.conf.js  package.json	protractor.conf.js
bower.json  e2e		      gulpfile.js  node_modules   pom.xml	src
bash-4.1# gulp serve
[12:23:34] Warning: gulp version mismatch:
[12:23:34] Global gulp is 3.9.0
[12:23:34] Local gulp is 3.8.11
[12:23:35] Using gulpfile /Hygieia/UI/gulpfile.js
[12:23:35] Starting 'consolidate:jade:app'...
[12:23:35] Starting 'consolidate:jade:components'...
[12:23:35] Starting 'wiredep'...
[12:23:35] Starting 'injector:css:preprocessor'...
[12:23:35] Starting 'themes-watcher'...
[12:23:35] Starting 'scripts'...
[12:23:35] Starting 'fonts'...
[12:23:35] Finished 'consolidate:jade:app' after 762 ms
[12:23:35] Finished 'consolidate:jade:components' after 619 ms
[12:23:35] Starting 'consolidate:jade'...
[12:23:35] Finished 'consolidate:jade' after 9.56 μs
[12:23:35] Starting 'consolidate'...
[12:23:35] Finished 'consolidate' after 11 μs
[12:23:35] gulp-inject 7 files into index.less.
[12:23:35] Finished 'wiredep' after 691 ms
[12:23:35] Finished 'injector:css:preprocessor' after 773 ms
[12:23:35] Starting 'styles'...
/Hygieia/UI/src/app/chartist/plugins/tooltip.js
line 91  col 22  Don't make functions within a loop.
line 97  col 22  Don't make functions within a loop.
⚠  2 warnings
[12:23:37] Finished 'styles' after 1.58 s
[12:23:37] Starting 'injector:css'...
/Hygieia/UI/src/app/dashboard/controllers/site.js
line 121  col 10  Unnecessary semicolon.
⚠  1 warning
[12:23:37] gulp-inject 1 files into index.html.
[12:23:38] Finished 'injector:css' after 456 ms
/Hygieia/UI/src/app/dashboard/directives/widget-container.js
line 87  col 33  Use '===' to compare with 'null'.
⚠  1 warning
[12:23:39] Finished 'themes-watcher' after 4.1 s
[12:23:39] Finished 'fonts' after 4.29 s
/Hygieia/UI/src/app/dashboard/core/extensions/ng-fitText.js
line 68  col 26  Don't make functions within a loop.
line 73  col 99  Expected an assignment or function call and instead saw an expression.
⚠  2 warnings
[12:23:39] Finished 'scripts' after 4.7 s
[12:23:39] Starting 'injector:js'...
[12:23:40] gulp-inject 63 files into index.html.
[12:23:40] Finished 'injector:js' after 325 ms
[12:23:40] Starting 'watch'...
[12:23:40] Finished 'watch' after 76 ms
[12:23:40] Starting 'serve'...
[12:23:40] Finished 'serve' after 25 ms
[BS] Local URL: http://localhost:3000/
[BS] External URL: http://<IP_ADDRESS>:3000/
[BS] Serving files from: .tmp
[BS] Serving files from: src
[BS] Watching files...
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }

How do I reconfigure the "proxy" server?   It seems to be the problem
[12:43:16] Finished 'scripts' after 5.31 s
[12:43:16] Starting 'injector:js'...
[12:43:17] gulp-inject 63 files into index.html.
[12:43:17] Finished 'injector:js' after 470 ms
[12:43:17] Starting 'watch'...
[12:43:17] Finished 'watch' after 86 ms
[12:43:17] Starting 'serve'...
[12:43:17] Finished 'serve' after 60 ms
[BS] Local URL: http://localhost:3000/
[BS] External URL: http://<IP_ADDRESS>:3000/
[BS] Serving files from: .tmp
[BS] Serving files from: src
[BS] Watching files...
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }

Looks like your api layer is not running , can you check by hitting this url in browser http://localhost:8080/api/dashboard and see a json getting returned with configured dashboard details.
Fyi the api is configured in a file named proxy.js, you can search for it and make changes accordingly
Thanks,
Amit
From: Hugh Brien <notifications<EMAIL_ADDRESS>Reply-To: capitalone/Hygieia <reply<EMAIL_ADDRESS>Date: Tuesday, September 29, 2015 at 12:54 PM
To: capitalone/Hygieia <Hygieia<EMAIL_ADDRESS>Cc: Amit Mawkin <amit.mawkin<EMAIL_ADDRESS>Subject: Re: [Hygieia] Docker Build (#131)
How do I reconfigure the "proxy" server? It seems to be the problem
[12:43:16] Finished 'scripts' after 5.31 s
[12:43:16] Starting 'injector:js'...
[12:43:17] gulp-inject 63 files into index.html.
[12:43:17] Finished 'injector:js' after 470 ms
[12:43:17] Starting 'watch'...
[12:43:17] Finished 'watch' after 86 ms
[12:43:17] Starting 'serve'...
[12:43:17] Finished 'serve' after 60 ms
[BS] Local URL: http://localhost:3000/
[BS] External URL: http://<IP_ADDRESS>:3000/
[BS] Serving files from: .tmp
[BS] Serving files from: src
[BS] Watching files...
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
[Proxy] { [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' }
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/131#issuecomment-144119000.

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

I have a Dockerfile and a list of commands that seem to get it working.
https://github.com/hughbrien/Hygieia/blob/patch-2/Dockerfile
docker build -t hygieia-base .
docker run -it -d  -p 3000:3000 -p 8080:8080  --name hygieia  hygieia-base /bin/bash;
docker exec -it hygieia  /bin/bash
Once inside of the
mvn clean install package
cd ./UI
bower install --allow-root
cd ./api
mvn install
nohup mongod --dbpath /Hygieia/data &
mongo
use
db.createUser(
{
user: "dashboarduser",
pwd: "1qazxSw2",
roles: [
{role: "readWrite", db: "dashboarddb"}
]
})
db.createUser(
{
user: "sbrien",
pwd: "password",
roles: [
{role: "readWrite", db: "dashboarddb"}
]
})
cd /Hygieia
nohup java -jar api/target/api.jar &
cd /Hygieia/UI
gulp serve
Now we want to start all the Java Collector Services
It appears that collectors must be run from with their respective  directories
cd /Hygieia/GitHubSourceCodeCollector/target/
github-collector-1.0.0.jar

@hughbrien please take a look at this branch: https://github.com/capitalone/Hygieia/tree/docker
We are still reviewing it - but that will get you going.

i'm still thinking about the collectors and if it makes sense to have a container each or all collectors in 1 container then you can activate the one(s) you want.. any opinions?

I like the idea the putting the collectors in a container.
I assume you are also running the MongoDB in separate container?

A separate container for each makes sense to me as it gives me freedom to pick And choose.
AM
804-229-3241
Sent with Good (www.good.com)
-----Original Message-----
From: jdamick [notifications<EMAIL_ADDRESS>Sent: Wednesday, September 30, 2015 11:09 AM Eastern Standard Time
To: capitalone/Hygieia
Cc: Mawkin, Amit
Subject: Re: [Hygieia] Docker Build (#131)
i'm still thinking about the collectors and if it makes sense to have a container each or all collectors in 1 container then you can activate the one(s) you want.. any opinions?
—
Reply to this email directly or view it on GitHubhttps://github.com/capitalone/Hygieia/issues/131#issuecomment-144440539.

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.

pull #129 is now merged

closing this issue as it's delivered


Beaker failing

Operation System: Linux, Debian testing
Beaker Version: 0.6.0
Beaker fails to launch with the following errors:

@ start /home/zmaj/Preuzimanja/beaker-master
gulp start

/usr/bin/env: „node”: Nema takve datoteke ili direktorija
npm ERR! @ start: gulp start
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the @ start script.
npm ERR! This is most likely a problem with the  package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp start
npm ERR! You can get their info via:
npm ERR!     npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.8.0-2-amd64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! cwd /home/zmaj/Preuzimanja/beaker-master
npm ERR! node -v v4.7.2
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/zmaj/Preuzimanja/beaker-master/npm-debug.log
npm ERR! not ok code 0
I hope you make an appimage.

Hi @mariokamenjak! Sorry for the trouble.
This looks like it might be a problem with the way Ubuntu installs nodejs. Could you try the steps in this stackoverflow and let me know if it solves your problem? https://stackoverflow.com/questions/18130164/nodejs-vs-node-on-ubuntu-12-04

It's Debian, not Ubuntu... Well let me try...

Oh, hmm. Yeah it looks like node is not installed, at least under the
name "node"
On Sun, Jan 22, 2017 at 4:22 PM, mariokamenjak<EMAIL_ADDRESS>wrote:

It's Debian, not Ubuntu... Well let me try...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/266#issuecomment-274364720,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU6bat_8AzC8myuKrxfxwm6W9rE5pks5rU9aWgaJpZM4LqfcD
.

The first solution worked. Thank you. This will aid my paper about IPFS.

Good deal. Make sure you have the ipfs daemon running to use it.
Cheers
On Sun, Jan 22, 2017 at 4:40 PM, mariokamenjak<EMAIL_ADDRESS>wrote:

The first solution worked. Thank you. This will aid my paper about IPFS.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/beakerbrowser/beaker/issues/266#issuecomment-274366113,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNhU4O2RBT9ajFm5c25I0YlORrUWBXPks5rU9rpgaJpZM4LqfcD
.

I know. I also need to make sure that my university doesn't block the default IPFS ports. Something that I learned after several hours of troubleshooting :)


[WIP] 2d parallelism chapter - tensor parallelism

Adds details on tensor parallelism.

Discussing tensor parallelism here: https://discuss.pytorch.org/t/tp-fsdp-sync-module-states-cpu-offload/211386/2

Closing, moving this work to another branch


Tabs for Day should be reformatted on mobile

They wrap around when there are more than two and it's not so pretty

Partly addressed in #41 ;-)

Had the same issue also on small devices with only two days ...
What about my proposal of "only" current day + left/right arrows?

Thinking (for now) of just shortening the text. But I'll play around with a few options when I get to it

Shortened the weekday when viewing small screens. Don't want to add a whole new library so I hope this is enough. If not, we can also remove the abbreviated weekday to gain more space


Reconcile Nav Item and Tabs with consumer feedback

Payments and Fusion teams have provided feedback on navigation type components (Nav Item and Tabs). Feedback addresses interaction, accessibility, and theming challenges.
This ticket explores design solutions to adopt this feedback. The output will be an updated proposal for component updates.
Exploration is being documented in Figma.

Reminded me VIDA complained about nested app header within mcp doesn't work well with Salt's current design

And for Pepper's requirement to automatically navigate to nested item when expanded, i don't know what's best approach when navigating from another group but clicking on an already expanded group item. My prototype: https://stackblitz.com/edit/salt-template-a5m9gs

Reminded me VIDA complained about nested app header within mcp doesn't work well with Salt's current design

I believe MCP is looking into changing their design


add a note about running on Windows

The cmake outputs for the built extensions go under build\Debug so the run instructions are not the same as on other OSs.  In addition, python is just python.exe on Windows, not python3.
for #517

Thanks!


Upload the related file to aws

You have not uploaded the aws class file. please add this file and credential class file also

What is an "aws class file"? And what is a "credential class file"?

S3Client class file
and
Credentials class file

The S3Client must be downloaded by you using composer. It's part of the AWS PHP SDK. See the composer file in the repo for details. As for the credentials, you must supply those.

In  composer .json file
why there is comment  invalid json https://github.com/FineUploader/php-s3-server/commit/7f8f64441168a41f82aa85ed0e9294b6fe5e16b1.

On 03-Oct-2016, at 5:42 pm, Ray Nicholus<EMAIL_ADDRESS>wrote:
Closed #3 https://github.com/FineUploader/php-s3-server/issues/3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/FineUploader/php-s3-server/issues/3#event-810177990, or mute the thread https://github.com/notifications/unsubscribe-auth/ANm7wbPE6BtUs6bq7mz0hF4Ps2Qjm3raks5qwPEsgaJpZM4KMZKZ.

there is no comment in that file

Sorry , not in the comment composer,son fil.
It comment on that file “Invaild Josn”.
You can also see just after your  name .
(click on that file).
And one more request . can you make this in laraval.
Thanks.

On 03-Oct-2016, at 5:50 pm, Ray Nicholus <n.

<EMAIL_ADDRESS>wrote:
there is no comment in that file
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/FineUploader/php-s3-server/issues/3#issuecomment-251092249, or mute the thread https://github.com/notifications/unsubscribe-auth/ANm7wZxQjGiQ1orWe2zu7_y56BA0Wp_hks5qwPMigaJpZM4KMZKZ.

no idea what you're talking about. sorry.


fix(Chat): fix handling of onMouseEnter

💥 Issue
Previously onMouseEnter was not handled properly, if you will pass custom onMouseEnter the position update will be never called.

But how could you previously pass onMouseEnter, when ChatMessage didn't have such prop? Shouldn't this be a feature PR, that adds such a prop?

But how could you previously pass onMouseEnter, when ChatMessage didn't have such prop?

It was overridden as an unhandled prop:


karyotypicSex first pass

This introduces the additional karyotypicSex attribute, as pointed out by @pnrobinson in https://github.com/ga4gh-beacon/beacon-v2-Models/issues/82. Please check ...

I know that my suggestion would probably break the compatibility with the Phenopackets spec, but, I would like to get the enum as text. I like the schemas to be as human readable as possible.
Sounds that as reasonable break?

@jrambla I was just this moment starting to type this as a question - I haven't found an example (YAML or JSON) in the Phenopackets docs; it is just listed as "ordinal". Can @julesjacobsen comment here, please? I'd prefer text since there is no intrinsic numeric value. (I'd much prefer the direct karyotypes / labels here anyway; such odd translations will lead to implementation errors.)

@mbaudis I was meaning readable karyotypes ;-) as you said in your comment...

@jrambla There you go. Would be my preferred option, too.

Second guessing the enum use in Phenopackets: This is just due to the Protobuf use of enumerations & w/ the use of the original constants we're actually true to form.
Merging this now w/o additional review since it is an addition w/o changes to existing parameters.


Algorithms

https://en.wikipedia.org/wiki/Bradley–Terry_model
https://en.wikipedia.org/wiki/Ordinal_regression
https://en.wikipedia.org/wiki/Rasch_model
https://en.wikipedia.org/wiki/Scale_(social_sciences)#Comparative_scaling_techniques
https://en.wikipedia.org/wiki/Elo_rating_system
https://en.wikipedia.org/wiki/Thurstonian_model
https://en.wikipedia.org/wiki/Glicko_rating_system
https://github.com/deepy/glicko2 Python Glicko-2 implementation.
https://github.com/sublee/glicko2 Python Glicko-2 implementation.

This looks like the most well-built glicko2 module. It's linked to from the creator's website (http://www.glicko.net/glicko.html)
https://code.google.com/archive/p/pyglicko2/source/default/source

https://en.wikipedia.org/wiki/Stochastic_transitivity

It also occurred to me that we might get some inspiration from the active learning community. Something like this paper would be great, especially if they shared their code. :-)

The Bradley-Terry model has a well-maintained implementation here: https://github.com/lucasmaystre/choix
The author made a great notebook explaining how to use it: https://github.com/lucasmaystre/choix/blob/master/notebooks/intro-pairwise.ipynb


Images not aligning correctly

I don't believe that's related to this plugin. I was having that issue with yazi for a while, latest branch seems to work fine for me. What terminal emulator + terminal file manager combo is this?

It's Kitty
Yazi without this plugin

Yeah I think there's some issue with the kitty image protocol in Neovim, so it must be falling back to something else while using this plugin. Have a look at this issue and try this:

What happens with the image previews if you just do :term and call yazi in there? I assume that would still be blurry.


Message format

My notes/draft on the message format, so far. For alignment/discussion, this is a quick first shot.
Message format
We have different message types:

Control messages

Data messages

Logging messages

TBC more?

[ ] F1: Do we want a plain-text (SCPI-like) protocol or a binary encoded one? E.g. do we have plaintext command verbs like GET or opcodes like 0x02 that are defined in a table somewhere?

Message structure
All messages have the same base structure:

Header
Payload
Checksum

Header

Timestamp

Message ID (possibly UUID v7 including timestamp) #16

1 Sender

0 or more recipients (pub-sub messages don't have a recipient afaict)

0 or 1 reply-reference

Probably payload length (for knowing when the checksum starts)

[ ] H1: How does a coordinator get the message if the recipient is another Node? Do we also need to give the Coordinator's ID?

[ ] H2: Can we manage a common header for data, control and logging messages?

Control Payload
<CMD> [<args>]+
<CMD> is from a command dictionary

SET

GET

CALL

RESET

ERROR

LIST_PARAMS

LIST_ACTIONS

...

[ ] C1: Should an argument always be a key-value pair, or do we stay plain sequence of tokens?
That is, is prop1 15.2 prop2 true 2 or 4 args` What about arguments without value?

[ ] C2: Is every token in the message a zeromq "frame"? Can we decide what goes in a frame?

Data Payload
TODO, didn't have time to define yet.
Logging Payload
TODO, didn't have time to define yet.
Checksum
TBD, some universally acceptable CRC check, I guess?

This is a high-level issue, I expect we will farm out details to separate issues later.

A few comments regarding zmq's working:

You can have as many frames as you like (however more frames creates more overhead) and you can put in a frame whatever you like (as a bytes object): The frames parameter is just a list of bytes objects (in python termini).
In the PUB-SUB communication can the first frame be used to filter messages (a so called "topic")
Zmq manages, that you get the whole message (it internally sends the length of the frame and checks for that).

Consequences for us:

The first frame of the data protocol has to be some kind of topic (I propose the sender name).
A checksum could be added to the header, as an individual frame (the last one) or the last x bytes of every frame for that particular frame.
We can (if we wish) put different "sentences" (meaningful units of a message, for example SET prop1 15.1) in different frames.

Some more ideas regarding content:

We can use json serialization with lists and dictionaries to convey key value pairs. In my implementation (growing with this project and going to be adjusted) I currently test a list of lists: Each entry of the outer list is a "sentence". A sentence is a list consisting in a command type and possibly arguments. An example: b"[['GET', ['property1', 'another property']], ['SET', {'property1': 7}], ['GET', ['property1']]. In this example I request the values of two properties, I set one of these properties to a specific value and I request the property again.
yaq uses Apache Avro RPC to serialize data. That could be another possibility.

Ideas regarding the command type:

it is difficult to put a byte value in a json content as a byte. Sending it human readable ("0x02") defeats the purpose of a smaller footprint. In that case, I'd prefer few-letter-abbreviations (enums are helpful) like "S", "G"...

Regarding logging:

we can use the same message format as the data protocol, just a different port (my favourite solution)
we could distinguish at the topic level (should work well)
we could distinguish in the content, but that way the logging facility gets messages with data (and has to discard them) and the observer gets log entries (and has to discard them). Therefore this version creates useless traffic and I dislike it.

yaq uses Apache Avro RPC to serialize data. That could be another possibility.

I read a bit on the subway today, it really looks like a good option; this would also take some of the handshaking, capability listing, reply tracking, message verification (with schema), RPC burden from us. zmq would probably mostly be the transport layer (plus maybe the topic stuff). JSON or binary option. Implementations for several languages.
Specification here.

Here is another description of some message format (that a colleague recommended, but probably not that good a fit for our use case), could inform us regarding the message structure: https://en.wikipedia.org/wiki/Constrained_Application_Protocol#Message_formats

To answer one question here:

H1: How does a coordinator get the message if the recipient is another Node? Do we also need to give the Coordinator's ID?

In zmq, at least two endpoints of communication need to be defined in a fixed way, i.e. you define a certain communication channel, similar to tcp/ip (on which it builds), which is an IP adress and a port, i.e. a socket. In that sense, for our case, all the non-Coordinator nodes talk to the Coordinator in a more or less hardcoded way, their messages always go to/through to Coordinator by default, thus we do not need to give a Coordinator's ID in this message.
The matter changes (slightly) once we need/want to route messages through a number of Coordinators, then the Coordinators might need to start adding more "route-information" frames/data for properly getting back a reply through the chain, but this is currently not our concern, I think. Currently, every Actor needs to be initialized with the knowledge of the socket info for the Coordinator, while that can be at localhost or on a remote IP.

Here the "names" come into play:

Every Component talks with their coordinator (so, they do not need to know any address). Let's say Component A sends a message to B.
The Coordinators keep a list of names and corresponding addresses to which they send the message. If several names can have the same address, the coordinator does not need to know, that the recipient is another coordinator. So Coordinator 1 looks up the address for B (which happens to be Coordinator 2) and delivers it there, while storing the address of A in its list.
The recipient's coordinator finally delivers the message to the recipient (via its stored address). Coordinator 2 has a direct link to B and delivers the message. It also stores the address of Coordinator 1 in its recipients list under "A".
For the return path, B sends a message to A and each Coordinator on the way, having learnt the name-address combination of A, passes the message, until it arrives at A.

With that protocol, the header does not change and each hop just knows, how to reach the next hop.

Well, maybe we want to make a separate issue out of that, since it pops up again and again xD
I have opened #22 to that end, and would guess it would be better to focus here on the message format.
Regarding the format, I guess we should first distinguish how precise we want to control what happens ourselves. If we are to use the PUB-SUB (with XPUB and XSUB sockets on the proxy) for a certain channel, the makeup of the frames which we control ourselves will be different than if we do it purely with ROUTER and DEALER sockets. The PUB-SUB sockets cannot be connected to ROUTER/DEALER sockets (without errors or undocumented/unpredictable results).
So we have two options:

Do everything with ROUTER-DEALER, even the data publishing (with quite a lot of overhead for us to implement)
Do the publishing of data and logging messages with PUB-SUB and the command/control/GET/SET messages with ROUTERs and DEALERs.
I strongly suggest the second choice. There, we have a fundamental difference between the headers necessary (or appropriate) for PUB-SUB and the ROUTER-DEALER channels. For example, as @bmoneke pointed out, for the data channel (PUB-SUB), the first frame is a "topic", and the simplest way to do that in a big system is to send with it a name/ID of the respective node. Currently I am not sure whether zmq will allow us to put more arbitrary frames in this type of socket channel.

Currently I am not sure whether zmq will allow us to put more arbitrary frames in this type of socket channel.

zmq only considers the first frame for "topic filtering". The rest of the message is just a simple message consisting in 0 or more frames.

zmq only considers the first frame for "topic filtering". The rest of the message is just a simple message consisting in 0 or more frames

Ok, then we can actually make a common Header for both data and control protocols:

name of the sending component (used in the proxied PUB-SUB data protocol as filter)
message ID (vouching for uuid7 with timestamp)
0 or more recipients
0 or 1 reply-reference (i.e. conversation ID)
checksum of the payload (if we actually want it - zmq drops corrupt messages by itself, as far as I read today in the zmqguide, I think)

This will keep a bit of overhead in the data-channel (recipients and conversation ID are unnecessary here), but we can keep it the same across the different channels. The same is true for the logging channel (if we now separate it with its own PUB-SUB proxy), recipients and reply-reference are unnecessary.
In general, having a message ID could be beneficial for debugging purposes, I think - if we can include the timestamp into an uuid directly (if it can be extracted sensibly) this would make things easy too.
Alternatively, we can also just insert a timestamp frame after the message ID for good measure.

What I'm not clear on is how the Avro messages fit into the whole thing (e.g. this) -- are the Avro messages completely contained in the zmq payload? Where/how do we disntiguish what goes in the zmq header, and what into the Avro message? Do we duplicate information, or is the distinction clear anyway (e.g. zmq header: only message/routing metadata).

My idea is, that we have a routing header (I prefer the first frame), which contains the addresses and message ID etc., and then the payload in all the other frames.
As default payload we define some protocol, for example the apache avro protocol.
So yes, we have frame 0 for Zmq routing stuff and frames 1 to n for the apache avrò payload.


Trial Version of HWA, possible?

Hi, I developed a HWA that is intended to be published in the Windows 10 store to make it installable on devices. Is there a way to make a trial version of it? ...and allow continous usage after payment is made?
Thanks in advance!

Detalles del documento
⚠ No edite esta sección. Se requiere para docs.microsoft.com ➟ Vinculación de problema de GitHub.

ID: 1ba583c8-c78b-49de-a68a-4fbc7a2bb568
Version Independent ID: e71db58c-e513-eefd-3f4d-2644b88f405d
Content: Progressive Web Apps in the Microsoft Store - Microsoft Edge Development
Content Source: microsoft-edge/progressive-web-apps/microsoft-store.md
Product: microsoft-edge
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

Have a look at implementing a trial version of your app. It walks through how to do this through the dev center. The code sample is in C#, but you can use WinRT APIs from your Javascript.


Switch to jpg for better compression

Hi I used squoosh.app to convert to jpg for smaller file sizes. Also changed out my profile pic since that was the original impetus for the PR. :)

Thank you, Sia! One question — could we automate the squooshing for new images, do you think?

They don't have a CLI yet, but we could also use another image solution. Might be better to chat about some options - like using the twitter avatar URL instead or if we do actual files, using eleventy image or cloudinary.

Optimising images is on my to do list anyway, so I'll merge this for now! Thank you!

Let me know if you want any help!


Typo in variable of valid() function

Hi,
Thanks for this great library. I believe there is a small typo in the valid() function that causes an error "ENOENT: no such file or directory" for me.
  if (arguments.length == 2) {
        // Given the database name and location
        const dbName = arguments[0]
        const dbLocation = arguments[1]
        var fName = path.join(dbLocation, dbName + '.json')
    } else if (arguments.length == 1) {
        const dbName = arguments[0]
        fname = path.join(userData, dbName + '.json')
    }

Last fname shall be fName instead. I am not familiar with git yet, so if you want to fix it...
Christian

My PR that fixes this was merged in. This can be closed

Yes thank you for that.


Wrong wording for: PF2E.SpecificRule.Equipment.ChimeraFlail.StrideHalfLabel

Stride is not "at least half speed"- it should be "max half speed"

Source? My PDF contains “If your last action was to Stride at least half your Speed, this does an additional 1d4 force damage.”

Hello,
As @simonward mentioned in their reply, the Howl of the Wild PDF does not utilize the wording "max half speed" on the ability.
I also checked Demiplane and AoN to see if there was a discrepancy but they are an exact match with what is in the source document (HotW PDF).
Can you please advise what the intent of the change is?

Ok... If this is correct, then the Chimera Flail - Lion discription is incorrect.
"Effect You tap into the predator speed of a lion. You Stride up to half your Speed and make a Strike against a target. If that creature is within reach of an ally, regardless if they would normally provide flanking or not, that creature is considered off-guard to your Strike. Your additional precision damage against an off-guard creature increases to 1d4. After using this, the lion head loses its additional precision damage. You can spend 10 minutes to rest and recharge the head."

I believe I understand what's going on - there are two references to "You Stride up to half your Speed". One of them is for the Goat and the other is for Lion. The " Stride up to half your Speed" toggle appears on the Goat head but not the Lion.
The toggle appears when "Goat" is selected because it will add a 1d4 to the damage roll -
Goat If your last action was to Stride at least half your Speed, this does an additional 1d4 force damage.
For Pouncing Whirl, you don't require a toggle. The Goat Stride at least half your Speed means you can move/stride up to half your total speed as part of the action.
Does that make sense?

Ahhhh.... Ok... Yes. Thank you. That make sense. Ok... Case closed. Sorry guys :)

All good!
Happy gaming :)


File Explorer Crash

Is your feature request related to a problem? Please describe.
Whenever i drag  an avalonia window on windows 11 file explorer crashes.
Describe the solution you'd like
File explorer not to crash
Describe alternatives you've considered
Additional context
VisualBasic, .NET 7.0, Avalonia 11.0.0

Ok will do that tonight

AvaloniaCalculator.zip
https://github.com/AvaloniaUI/Avalonia/assets/76707331/92e96a4a-4501-48c6-89b3-374a114f841b
Faulting application name: explorer.exe, version: 10.0.23493.1000, time stamp: 0xdf7f3ef2
Faulting module name: SnapLayout.dll, version: 723.17012.0.0, time stamp: 0x6490e42e
Exception code: 0xc000027b
Fault offset: 0x00000000000628e2
Faulting process id: 0x0x5BC8
Faulting application start time: 0x0x1D9B51AE44CE454
Faulting application path: C:\WINDOWS\explorer.exe
Faulting module path: C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\SnapLayout.dll
Report Id: 0a142fca-8e07-4f32-bb5f-52667d1a668e
Faulting package full name:
Faulting package-relative application ID:
I am on an insider build so that might have something to do with it.
I'll try updating to the latest build and see if its fixed.

Please report this bug to windows insider portal.

@CoolCoderSuper thanks for the update 👍


"ERROR: invalid syntax (, line 1)" when migrating from Python 2 to 3

This may be specific to using the Django ORM as the queue backend.
When porting an existing app using django-q to Python 3, I noticed logging lines complaining about the following:
2019-05-06 09:49:42,167 ERROR django-q: invalid syntax (<unknown>, line 1) [in /usr/local/lib/python3.6/dist-packages/django_q/cluster.py:558,<PHONE_NUMBER>87648 (MainThread), 27943 (Process-1)]

That wasn't much to go on, so I edited the logger.error(e) of the scheduler function (line 558 corresponds to that line in django-q v0.9.4), to be logger.exception(e) and got the following message:
2019-05-06 09:52:12,859 ERROR django-q: invalid syntax (<unknown>, line 1) [in /usr/local/lib/python3.6/dist-packages/django_q/cluster.py:558,<PHONE_NUMBER>87648 (MainThread), 27943 (Process-1)]
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/django_q/cluster.py", line 506, in scheduler
    args = ast.literal_eval(s.args)
  File "/usr/lib/python3.6/ast.py", line 48, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    (320L,)
        ^
SyntaxError: invalid syntax

This error makes sense because django-q was storing integers (in this case, model ids) as long integers. While the following works in Python 2, it fails to parse in Python 3:
>>> import ast
>>> ast.literal_eval('(320L,)')
  File "<unknown>", line 1
    (320L,)
        ^
SyntaxError: invalid syntax

I think I'm going to have to write a custom migration on the django-q scheduled tasks table to migrate the data in any existing tasks to strip out the trailing L in integers. Are there better ways of handling this?

Asked on StackOverflow for more visibility: https://stackoverflow.com/questions/56014957/syntaxerror-with-pickled-integers-when-migrating-app-using-django-q-to-python-3


AzureRM is deprecated but referenced here

Our Runbooks use AzureRM that apparently we should migrate away from this year (2020). Why are the examples here still using "Connect-AzureRmAccount" etc.? Is this info outdated, or ...?

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

ID: 81c284ea-3656-836f-7eab-388773e0e382
Version Independent ID: 71329bef-2d4f-4ff6-5a03-83b99b2269e9
Content: Connection assets in Azure Automation
Content Source: articles/automation/automation-connections.md
Service: automation
Sub-service: shared-capabilities
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@jeroenhabets Thank you for your feedback, assigning this to our document author @MGoedtel to further evaluate the feedback and update the document accordingly. Thank you

We are presently going through all the content for Automation to update articles that are demonstrating how to use ARM module cmdlets and replace where applicable, with the Az module equivalent.  Thanks - #please-close


install in pycharm failed

When I try to install Django-Select2-Py3 in pycharm using Settings panel, following errors occured.

Collecting Django-Select2-Py3
Downloading Django-Select2-Py3-4.2.1.tar.gz (90kB)
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\KE\AppData\Local\Temp\pycharm-packaging\Django-Select2-Py3\setup.py", line 166, in
long_description=read("README.md").decode('utf-8'),
AttributeError: 'str' object has no attribute 'decode'

That's an old version. Please use Version 5 which is both python 3 and 2 compatible.


plugin needs to check expired HPE OneView access tokens

plugin needs to check expired HPE OneView access tokens
It is possible there are old/stale tokens in the host's config.json file.  The code needs to
verify the token and refresh (if needed).

dupe -  identical defect was filed against golang-oneview bindings (should be there)


Fix #6 cannot set Kamek as a partner

Kamek's id is P_KMK, not P_KMP.

Paper Mario TOK Save Editor.zip
Modified build(Nothing except P_KMP -> P_KMK changed. also based on .net 4.8 and updated Newtonsoft.Json to 13)


Add basic descriptions to YAML pipelines

Added some basic descriptions and did some drive-by whitespace cleanup.

Can you add comments for these

Refers to: .pipelines/diabetes_regression-variables.yml:54 in 9e60ab4. [](commit_id = 9e60ab47c8552b05e18aff656db1843a2ff1878e, deletion_comment = False)

Can you add comments for these
Refers to: .pipelines/diabetes_regression-variables.yml:54 in 9e60ab4. [](commit_id = 9e60ab4, deletion_comment = False)

Spoke offline, there needs to be a larger cleanup here and is out of scope for this PR.

Oh, I was going to merge, but thanks :)


[schedy] support for unit conversion rounding

The interface for my thermostat is all done in Fahrenheit, however my UI is set to use Celsius. This means that you get a slight rounding error when setting the temperature which causes keep retrying due to missing confirmation. Currently I'm working around the issue with
- x: "Postprocess(lambda result: round(int(result.value * 1.8)/1.8, 1))"
However that's rather inelegant and it would be nice if there was a more "baked-in" solution. Ideally I would suggest using the temperature_unit and precision properties of the climate entity, but I'm not seeing any obvious way of accessing that via appdaemon

I have the opposite problem - thermostats are natively Celsius but I use Fahrenheit. As best I can tell, that means...

the thermostat firmwares still use Celsius internally
the Zigbee messages still use Celsius
Homeassistant converts to/from Fahrenheit in ZHA
the thermostats convert to Fahrenheit to drive the displays

... and this means, for example, that Schedy will set a thermostat to 60.0F and it will actually go to 60.1F, seemingly because it gets converted to 15.5555C and rounded to 15.6C on the way out.
I think I could probably do postprocessing step like you are, but I'm wondering if there's a more elegant way to describe the situation to Schedy so it recognizes what's going on...


[SPARK-50542][INFRA] Add a separate docker file for python 3.13 daily build

What changes were proposed in this pull request?
Add a separate docker file for python 3.13 daily build
Why are the changes needed?
to isolate the testing environments
Does this PR introduce any user-facing change?
no
How was this patch tested?
PR builder with env
default: '{"PYSPARK_IMAGE_TO_TEST": "python-313", "PYTHON_TO_TEST": "python3.13"}'

https://github.com/zhengruifeng/spark/runs/34188570406
Was this patch authored or co-authored using generative AI tooling?
no

thanks @dongjoon-hyun
merged to master


On HardFault entry use MSP/PSP depending on stack mode

Noticed this when making my own hardfault handler - none of the registers were correct. The &ExceptionFrame argument was wrong because I was using the PSP in Thread mode, but the handler only loads MSP. This PR inspects the EXC_RETURN value in LR and loads either MSP or PSP depending on the stack used (see section B1.5.8 in the ARMv7-M architecture manual for details on the format of EXC_RETURN).
I haven't tested this on armv6m or armv8m, but I believe it works the same across the board. Also didn't update the libraries in bin/ since I wasn't sure if that was expected or not.

(Checked against https://www.pjrc.com/teensy/beta/DDI0403D_arm_architecture_v7m_reference_manual.pdf and yup, bit 4 indicates main/process stack).

👍  This matches how I have done similar MSP/PSP checking in debug monitor code.

bors r=thejpster


Update .deepsource.toml

Fix test patterns for deepsource
Ref: https://github.com/inventree/InvenTree/pull/5778#issuecomment-1781903275

@matmair do we need to adjust the deepsoirce coverage check to not run on PR? It keeps running and failing

Github is being weird, for some reason what I posted earlier doesn't seem to be visible for people except me.
This should be **/test_*.py as it's not using regexes, but glob patterns. (So the . has to be removed).


Added custom scrollbar

#7 is resolved. Do let me know if there're any more modification required.

After Code apply -

Before Code apply -

Thank You for your contribution

@daredevil3435 can you please tell your name so that I can fill the score sheet of SWOC?

@daredevil3435 can you please tell your name so that I can fill the score sheet of SWOC?

yes, kanak umrani

I have my exams this month, is it fine if I start contributing again after my exams are over?

Yeah sure! Concentrate on your exams first. All the best!