refactor: move the askpass declaration to manifest (#790)

The askpass sidecar is a container in the reconciler Pod akin to the other containers, but is treated differently and declared in code rather than the manifests. This inconsistency can be a gotcha and requires our other tooling to have special exceptions for parsing the image tag from code. This change makes the askpass sidecar consistent with the other reconciler containers.
Note this is intended as a non-functional refactor, so the overall behavior should be unchanged.

This PR avoids merge conflicts when cherrypicking https://github.com/GoogleContainerTools/kpt-config-sync/pull/800/files.


Update global.json Microsoft.Build.Traversal from 3.0.23 to 3.2.0

PR made per:

https://github.com/Azure/azure-sdk-tools/pull/5043#issuecomment-1374100525

Reference:
https://www.nuget.org/packages/Microsoft.Build.Traversal#versions-body-tab

/azp run net - core


Tasks not arriving on Flex with the customer name

Hey team,
The task on Flex is not arriving with the customer name after you fill the pre-engagement form. The identity returned on initWebchatController.js returns a long string, which is the same as the one that appears on Flex. Not sure if this has something to do with it.

Resolved


Add Type Hint to Model Factory Stub

I find myself adding this type hint to every model factory that I
create to help IDEs auto complete the $factory object and
figured that others my also find it useful.

Taylor is quite back-and-forth on this 🤣

Yeah I remembered #21185

Even if it gets removed again this still counts as my first approved PR :)

Welcome to open source!

Please fix it.


Bottom bar showing on every screen in SwiftUI in iOS 15

Hi
Bottom bar showing every screen So I want to hide this bar when user will click on card(refer screenshots).
To Solve this issue
I am using Introspect with the code  .introspectNavigationController { nav in nav.hidesBottomBarWhenPushed = true } but its not working in SwiftUI iOS 15.
Please let me know proper solution to hide Bottom bar. Thanks in advance

I think this is due to the order of operations, you can only introspect it after it has been initialized and being pushed on the screen
Furthermore, you're trying to introspect the navigation controller, that's incorrect, try introspecting the child view controller

A bit late to this, but @PatrikTheDev is right on the money, and there's really nothing this library alone can do to circumvent this. So unfortunately I'm closing this for now.

FYI: introspectNavigationController never worked for us reliably too when we want to hide the bottom bar on specific views. What seemed to be quite reliable however, was to use introspectViewController and add an additional guard to compare the topViewController.
´´´
introspectViewController {
guard $0.navigationController?.topViewController == $0 else { return }
$0.navigationController?.hidesBottomBarWhenPushed = shouldHide
}
´´´

Hmm interesting. Can you provide a minimum reproducible example of this? I'm trying to replicate it but it's still not working for me. I'd really appreciate it. Here's my attempt so far:
import SwiftUI
import Introspect

struct ContentView: View {
    var body: some View {
        TabView {
            NavigationStack {
                NavigationLink("Tap Me") {
                    Text("Detail View")
                        .introspectViewController {
                            guard $0.navigationController?.topViewController == $0 else { return }
                            $0.navigationController?.hidesBottomBarWhenPushed = true
                        }
                }
                .navigationTitle("Primary View")
            }
            .tabItem {
                Label("Home", systemImage: "house")
            }
        }
    }
}

Digging even deeper into this, sadly I think this is virtually impossible unless Apple makes some changes to UIKit itself.
I believe there's some internal logic in UIKit which checks if the currently selected tab's root view controller type is UINavigationController to determine whether the tab bar should be hidden during a push transition, and if it's not, any hidesBottomBarWhenPushed gets ignored completely.
The way TabView (UITabBarController) in SwiftUI sets up its viewControllers is by first wrapping them in a UIHostingController, so there will never be a  UINavigationController at the root of a tab, hence hidesBottomBarWhenPushed is always ignored.
You can verify this by running the following demo I put together: https://github.com/davdroman/SwiftUIHidesBottomBarWhenPushedExperiment


tags being cut off on https://www.opencilk.org/tags/

Issues
The tags are being cut off visually on https://www.opencilk.org/tags/
They seem to do so on many different screen sizes and unless I make the screen small enough that it switches from 2 columns down to 21, they are always cut off.
System information
I am using chrome on windows
see the far left of

Thanks @wheatman for the report. The tags page is quite rough, I have to say, so I'm trying to understand the specific problem that you are flagging. Is it the left sidebar, where the screenshot indicates tags ending abruptly at "mutex"? On my machine, that sidebar has vertical scrolling, which becomes visible when you mouse-over, and so there is not, in fact, anything being cut off.
Now might be a good time to consider briefly what we want in a tags page. The features I would most want start with some evident order of the tags (e.g. alphabetical), and maybe also include a summary of pages that use each tag (e.g. as seen in https://www.opencilk.org/tags/work/). I'm curious what you think?

If you look at the far left of the image the words are all cut off.
For example
Release has no R
Tools has no T
Glossary has no G and so on

Thanks @wheatman. It should be fixed now in PR #221. Could you please confirm?

yes, it looks fixed in the deploy preview (https://deploy-preview-221--sage-licorice-6da44d.netlify.app/tags/)


Support downloading as PDF again

A user has asked if it would be possible to download the guide as PDF. Previously this was possible, but the option disappeared when we switched to the new build system. A package that supports converting to PDF is https://github.com/meff34/docsify-to-pdf-converter. I managed to create a PDF locally by following the steps in the readme of that package and changing the paths in _sidebar.md to relative paths, but I'm not sure how to add this as a download button to the site. @sverhoeven Would you know a way to add a download as PDF button again?

I can switch from Travis-CI to GH Actions and generate the PDF on push and upload the PDF as an artifact. I should be able to add a link from the README.md to the artifact.

Seems I can generate the PDF at https://github.com/NLeSC/guide/actions/runs/116815738, but the link to the PDF only works when I am logged in and it's inside a zip file.

It looks like the file will also be deleted after 90 days, so maybe a different hosting solution would be a better choice.

PDF files are generated on new releases, and deposited in zenodo.


Chart style

How to set the style of the graph? I need to change the color and add lines.
This default chart http://prntscr.com/jr2a8c
need a http://prntscr.com/jr2b0k

+1
need it too

大神，图表横纵坐标标签颜色太浅这个有办法解决吗？？
xmlCharte.go
1192:
LumMod: &attrValInt{Val: 15000},
LumOff: &attrValInt{Val: 85000},
这里透明度定义 参考https://stackoverflow.com/questions/19886180/whats-the-difference-between-lummod-lumoff-and-tint-shade-in-drawingml-colors
luminance = (luminance/100)*(lumMod/100_000) + (lumOff/100_000)
根据公式修改85000->15000减小

Sorry for the late reply. The AddChart function support custom chart axis font style since v2.7.0 (reference issues #320 and #378), and support to set custom series (bar, line, etc.,) color in the charts (reference issues #1345 and #1474). I've closed this issue, please upgrade to the latest version, and if you have any question, please let me know, and you can reopen this anytime.


Transparent windows in Wayland are opaque

Bevy version
0.7.0, 0.8.1 or 0.9.0-dev
[Optional] Relevant system information
Rust:
❯ rustc --version
rustc 1.63.0 (4b91a6ea7 2022-08-08)

Adapter:
2022-08-23T23:51:13.144078Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD RADV NAVI10", vendor: 4098, device: 29471, device_type: DiscreteGpu, backend: Vulkan }

On Arch Linux, using Gnome (in Wayland mode)

What you did
From a freshly cloned repository I ran:
cargo run --example transparent_window --features x11, yielding:

cargo run --example transparent_window --features wayland, yielding:

I attempted to update winit using the dependabot/cargo/winit-0.27.2 branch (#5701) with this patch, but it did not solve it:

Patch
diff --git a/crates/bevy_winit/src/lib.rs b/crates/bevy_winit/src/lib.rs
index b48dd441..b9512340 100644
--- a/crates/bevy_winit/src/lib.rs
+++ b/crates/bevy_winit/src/lib.rs
@@ -4,6 +4,7 @@ mod web_resize;
mod winit_config;
mod winit_windows;

+use winit::window::CursorGrabMode;
pub use winit_config::*;
pub use winit_windows::*;

@@ -138,7 +139,7 @@ fn change_window(
               bevy_window::WindowCommand::SetCursorLockMode { locked } => {
                   let window = winit_windows.get_window(id).unwrap();
                   window
-                        .set_cursor_grab(locked)
+                        .set_cursor_grab(if locked { CursorGrabMode::Locked } else { CursorGrabMode::None })
                       .unwrap_or_else(|e| error!("Unable to un/grab cursor: {}", e));
               }
               bevy_window::WindowCommand::SetCursorVisibility { visible } => {
diff --git a/crates/bevy_winit/src/winit_windows.rs b/crates/bevy_winit/src/winit_windows.rs
index 91550eef..91375f22 100644
--- a/crates/bevy_winit/src/winit_windows.rs
+++ b/crates/bevy_winit/src/winit_windows.rs
@@ -2,7 +2,7 @@ use bevy_math::IVec2;
use bevy_utils::{tracing::warn, HashMap};
use bevy_window::{Window, WindowDescriptor, WindowId, WindowMode};
use raw_window_handle::HasRawWindowHandle;
-use winit::dpi::{LogicalPosition, LogicalSize, PhysicalPosition};
+use winit::{dpi::{LogicalPosition, LogicalSize, PhysicalPosition}, window::CursorGrabMode};

#[derive(Debug, Default)]
pub struct WinitWindows {
@@ -156,7 +156,7 @@ impl WinitWindows {
       let winit_window = winit_window_builder.build(event_loop).unwrap();

       if window_descriptor.cursor_locked {
-            match winit_window.set_cursor_grab(true) {
+            match winit_window.set_cursor_grab(CursorGrabMode::Locked) {
               Ok(_) | Err(winit::error::ExternalError::NotSupported(_)) => {}
               Err(err) => Err(err).unwrap(),
           }
@@ -238,7 +238,7 @@ pub fn get_fitting_videomode(
       match abs_diff(a.size().width, width).cmp(&abs_diff(b.size().width, width)) {
           Equal => {
               match abs_diff(a.size().height, height).cmp(&abs_diff(b.size().height, height)) {
-                    Equal => b.refresh_rate().cmp(&a.refresh_rate()),
+                    Equal => b.refresh_rate_millihertz().cmp(&a.refresh_rate_millihertz()),
                   default => default,
               }
           }
@@ -255,7 +255,7 @@ pub fn get_best_videomode(monitor: &winit::monitor::MonitorHandle) -> winit::mon
       use std::cmp::Ordering::*;
       match b.size().width.cmp(&a.size().width) {
           Equal => match b.size().height.cmp(&a.size().height) {
-                Equal => b.refresh_rate().cmp(&a.refresh_rate()),
+                Equal => b.refresh_rate_millihertz().cmp(&a.refresh_rate_millihertz()),
               default => default,
           },
           default => default,

I then attempted to replicate the issue in winit using the latest main, however winit won't draw wayland windows (note) so I couldn't replicate.
The example in winit ran but did not produce a visual window:
winit on  master is 📦 v0.27.2 via 🦀 v1.63.0
❯ cargo run --example transparent --features wayland
    Blocking waiting for file lock on build directory
    Finished dev [unoptimized + debuginfo] target(s) in 3.91s
     Running `target/debug/examples/transparent`
2022-08-24T00:46:14.093Z TRACE [crossfont::ft::fc::font_set] Number of fonts is 175
2022-08-24T00:46:14.094Z TRACE [crossfont::ft] Got font path="/usr/share/fonts/noto/NotoSans-Regular.ttf", index=0
2022-08-24T00:46:14.094Z DEBUG [crossfont::ft] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
NewEvents(Init)
Resumed
NewEvents(WaitCancelled { start: Instant { tv_sec: 4824, tv_nsec: 233335504 }, requested_resume: None })
WindowEvent { window_id: WindowId(WindowId(94012884126464)), event: Focused(false) }
MainEventsCleared
RedrawRequested(WindowId(WindowId(94012884126464)))
RedrawEventsCleared
NewEvents(WaitCancelled { start: Instant { tv_sec: 4831, tv_nsec: 4778737 }, requested_resume: None })
MainEventsCleared
RedrawEventsCleared
NewEvents(WaitCancelled { start: Instant { tv_sec: 4832, tv_nsec: 36637634 }, requested_resume: None })
MainEventsCleared
RedrawEventsCleared

Next I tried glutin as the winit docs recommended instead (note), this seemed to work ok:

What went wrong
I was expecting roughly the same output between x11 and Wayland in the example. The wayland feature seems to render the example incorrect, as the window is supposed to be transparent.
Additional information
It's unclear to me what's going on and I'm fairly new to bevy, so I don't really have any idea what's going on!
@benbrittain noted https://github.com/gfx-rs/wgpu/issues/687#issuecomment-1033116799 might be relevant, if so that implies https://github.com/gfx-rs/wgpu/pull/2836 may be required to fix this.

Can you reproduce this behavior using raw winit? I would expect this sort of platform specific windowing bug to be due to an issue there :)

I then attempted to replicate the issue in winit using the latest main, however winit won't draw wayland windows (note) so I couldn't replicate.

That's unfortunate. I expect that our special-casing to workaround this is ultimately responsible here.

I attempted to reproduce, here is the log (adding it above!)
Because winit's scope, its examples aren't functional in wayland: https://github.com/rust-windowing/winit#wayland

winit on  master is 📦 v0.27.2 via 🦀 v1.63.0
❯ cargo run --example transparent --features wayland
    Blocking waiting for file lock on build directory
    Finished dev [unoptimized + debuginfo] target(s) in 3.91s
     Running `target/debug/examples/transparent`
2022-08-24T00:46:14.093Z TRACE [crossfont::ft::fc::font_set] Number of fonts is 175
2022-08-24T00:46:14.094Z TRACE [crossfont::ft] Got font path="/usr/share/fonts/noto/NotoSans-Regular.ttf", index=0
2022-08-24T00:46:14.094Z DEBUG [crossfont::ft] Loaded Face Face { ft_face: Font Face: Regular, load_flags: TARGET_LIGHT, render_mode: "Normal", lcd_filter: 1 }
NewEvents(Init)
Resumed
NewEvents(WaitCancelled { start: Instant { tv_sec: 4824, tv_nsec: 233335504 }, requested_resume: None })
WindowEvent { window_id: WindowId(WindowId(94012884126464)), event: Focused(false) }
MainEventsCleared
RedrawRequested(WindowId(WindowId(94012884126464)))
RedrawEventsCleared
NewEvents(WaitCancelled { start: Instant { tv_sec: 4831, tv_nsec: 4778737 }, requested_resume: None })
MainEventsCleared
RedrawEventsCleared
NewEvents(WaitCancelled { start: Instant { tv_sec: 4832, tv_nsec: 36637634 }, requested_resume: None })
MainEventsCleared
RedrawEventsCleared

No visual window is created.

Based on @alice-i-cecile 's comment I attempted to build the example without bevy_winit and was still able to reproduce the issue:

Good digging. I strongly suspect that the linked wgpu issue is ultimately responsible then.

So I rebased https://github.com/gfx-rs/wgpu/pull/2836 over the v0.13.1 tag of wgpu (published https://github.com/Hoverbear-Consulting/wgpu/tree/rebased-alpha_mode-for-bevy-5779) and then patched the Cargo.toml to use that wgpu branch.
diff --git a/Cargo.toml b/Cargo.toml
index b0920d9e..52bccaeb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1555,3 +1555,6 @@ inherits = "release"
 opt-level = "z"
 lto = "fat"
 codegen-units = 1
+
+[patch.crates-io]
+wgpu = { git = "https://github.com/Hoverbear-Consulting/wgpu", branch = "rebased-alpha_mode-for-bevy-5779" }
\ No newline at end of file
diff --git a/crates/bevy_render/src/view/window.rs b/crates/bevy_render/src/view/window.rs
index bba94068..2351a0ea 100644
--- a/crates/bevy_render/src/view/window.rs
+++ b/crates/bevy_render/src/view/window.rs
@@ -172,6 +172,7 @@ pub fn prepare_windows(
                 PresentMode::AutoVsync => wgpu::PresentMode::AutoVsync,
                 PresentMode::AutoNoVsync => wgpu::PresentMode::AutoNoVsync,
             },
+            alpha_mode: wgpu::CompositeAlphaMode::PreMultiplied,
         };

         // Do the initial surface configuration if it hasn't been configured yet

Then running the transparent_window example using wgpu::CompositeAlphaMode::PreMultiplied:

Here using wgpu::CompositeAlphaMode::PostMultiplied:

I'm not entirely clear what this setting should be, but I can at least confirm that the patch improves the current situation with little effort.

I can't reproduce this on either 0.7.0, 0.8.1 or 0.9.0-dev.
Manjaro, Plasma wayland
Adapter:

fixed as said above


Re-thinking available features

Realized this when working on the design doc, let me know what you think.

I think I'm on board with the opener part, though I'm wondering if cross-browser folks have any thoughts (@bvandersloot-mozilla or @annevk for example).
I don't fully grok popin must know the referrer to gain access to the correct storage partition. You mean internally the browser needs to know? We could still decide not to expose the full referrer if the site doesn't want us to, right?

We could decide not to expose the referrer, but at least the origin is sort of known given the Popin-Policy header.

That's a good point, so we at least leak the origin of the referrer. I'm still not convinced that this would mean we have to forbid usage of noreferrer. How does this interact with Referrer-Policy? Do we enforce the referrer even though the policy says no-referrer? While that would most accurately reflect the privacy properties of the pop-in it seems a bit problematic from an API standpoint.
And if the developer choose a policy of unsafe-url but chooses to select no-referrer on specific window.open calls, sending the full referrer URL on those calls might actually regress on user privacy.
OTOH it seems like rel=noreferrer implies rel=noopener 🤔, which might not be what we want.
Soo maybe we enforce a Referer header that is always the origin of the referrer?


Incorrect results with converted model [Caffe to Keras]

Platform (like ubuntu 16.04/win10):
Ubuntu 18.04
Python version:
3.6
Source framework with version (like Tensorflow 1.4.1 with GPU):
Caffe, GPU
Destination framework with version (like CNTK 2.3 with GPU):
Keras, GPU
I have a modified GoogLeNet, in which I changed the input structure and the final number of classes. This works perfectly in Caffe. I converted this to Keras using the command:
mmconvert -sf caffe -in deploy.prototxt -iw caffe.caffemodel -df keras -om ./keras.model
I resize the input image (grayscale) to the desired dimensions, switch the channels to either first dimension or third (for caffe and keras), and pass it to both keras and caffe, like so:
Caffe:
def check_keras(arr):
arr = arr[:,None,...]
net.blobs['data'].data[...] = arr[0]
out = net.forward()
return(np.argmax(out['softmax']))
Keras:
def check_keras(arr):
y_train_pred_keras=m.predict(arr[...,None])
return(np.argmax(y_train_pred_keras,axis=1))
For the same image, this returns different results.
For Caffe:
[[2.8024021e-01 1.7262013e-04 7.1958715e-01]]
Predicted - class 2
For Keras:
[[0.8009005  0.00084618 0.19825332]]
Predicted - class 0
Any help is appreciated.

Hi @vedantbhatia, could you provide your model for us to debug?


[FLINK-32261][table] Add built-in MAP_UNION function.

What is the purpose of the change
This is an implementation of MAP_UNION
Returns a map created by merging two maps, 'map1' and 'map2'. This two maps should have same data structure. If there are overlapping keys, the value from 'map2' will overwrite the value from 'map1'. If any of maps are null, return null.
Brief change log
MAP_UNION for Table API and SQL

Syntax:
MAP_UNION(map1, map2)
Arguments:
map1:The first map to be merged.
map2:The second map to be merged.
Returns:If there are overlapping keys, the value from 'map2' will overwrite the value from 'map1'. If any of maps are null, return null.
Examples:

Merging maps with unique keys:
map1 = ['a': 1, 'b': 2] map2 = ['c': 3, 'd': 4]
map_union(map1, map2)
Output: ['a': 1, 'b': 2, 'c': 3, 'd': 4]

Merging maps with overlapping keys:
map1 = ['a': 1, 'b': 2] map2 = ['b': 3, 'c': 4]
map_union[dict1, dict2]
Output: ['a': 1, 'b': 3, 'c': 4]

Verifying this change

This change added tests in MapFunctionITCase.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@snuyanzin  I have already solve all the comments, could you please do the second code review. Thank you.

@snuyanzin can you help me do another code review. Thank you.

This query fails with NullPointerException
SELECT map_union(MAP[1, 2], MAP[CAST(NULL AS INT), 3]);

Is it legal for the key of the map to be null?

@snuyanzin There are some problems with rebase, this pr is closed for some reason, please go to the new rebased PR.

@flinkbot run azure

@flinkbot run azure

@snuyanzin , do you know why test_ci misc report error?

looks like because of this https://issues.apache.org/jira/browse/FLINK-32539

@snuyanzin solve all comments.

@flinkbot run azure

@flinkbot run azure

@snuyanzin do you know why Test - table report error?

@snuyanzin do you think it's ok now?

@snuyanzin do you think it is ok now? I let CommonMapInputTypeStrategy and CommonArrayInputTypeStrategy as subclass extends CommonCollectionInputTypeStrategy.

Returns a map created by merging at least one map. These  maps should have a common map type. If there are overlapping keys, the value from 'map2' will overwrite the value from 'map1',  the value from 'map3' will overwrite the value from 'map2',  the value from 'mapn' will overwrite the value from 'map(n-1)'. If any of maps is null, return null.

@snuyanzin support  support varargs now

@hanyuzheng7 could you please make ci for this PR green?
right now it is still failing

@flinkbot run azure

@flinkbot run azure

@snuyanzin It seem that e2e_1_ci has error, it report
Jul 20 23:47:21 * TCP_NODELAY set
Jul 20 23:47:21 * connect to ::1 port 8081 failed: Connection refused
Jul 20 23:47:21 *   Trying <IP_ADDRESS>:8081...
Jul 20 23:47:21 * TCP_NODELAY set
Jul 20 23:47:21 * connect to <IP_ADDRESS> port 8081 failed: Connection refused
Jul 20 23:47:21 * Failed to connect to localhost port 8081: Connection refused
Jul 20 23:47:21

I don't know how to solve it.

@flinkbot run azure

@snuyanzin ci test pass now

@snuyanzin can you help me do a code review again, Thank you!

I will try to have a look this week

@hanyuzheng7 could you please have at build failure? it seems it is related to the recent changes
https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=57976&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4

@snuyanzin Ci test pass now.

@hanyuzheng7 did you close it by mistake or there is a reason?

@snuyanzin by mistake.

Ok, Thank you @snuyanzin


Build a demo environment with a distributed Spring Boot app

To do:

[ ] build a docker compose that includes a Spring Boot application with at least two deployments (so that we can test tracing) and any required dependencies
[ ] build a docker compose that includes the Carbon-Aware SDK container

I've used @jeffellin's distributed petclinic app in the past, but we'd have to vendor these into this repo and make it easier to rebuild the stack of docker images along with metrics instrumentations and stuff.  It would be nice to reuse a well-known example rather than using up time to write our own, but it might not be worth the trouble.
https://github.com/jeffellin/spring-petclinic-microservices

Actually, this work is a mainline Spring community project and I only found out about it through Jeff :P  Either way, the challenge still remains: I want to be able to stand up a demo environment with some non-trivial Spring Boot microservices and then add carbon metrics to them.  This means I can't just use a bunch of docker containers published by an existing project, and instead I'd need to fork the project to add the new instrumentation.

Cleaning up our issues post hackathon, and marking this as completed with our initial proof of concept.


Feature: Layer - Host functions

Host functions as a part of layers.
Ideally these should be able to execute concurrently with agent functions in the same layer, though this would have to be clearly documented.
Not an urgent feature, complicates dependency analysis

This is being used within PRIMAGE too.

There will probably need to be a host version of the FLAMEGPU_API object (with a differnt name / rename the GPU version too).
We will need to be very careful with concurrency when implementing this.
If a host layer-function can be executed at the same time as device functions FLAME GPU API calls should be restricted to prevent race conditions.
I.e.
If a host layer functions access agent data for an agent which is executing an agent function, it shouldn't be able to write to or read from that agent (i.e. maintain the only one agent function per statelsit rule)
This will need dependency analysis to do upfront, otherwise some form of locking of various bits of the api subject to what is running.


[KYUUBI #1327] Fix socket timeout error when client sync execute statement cost time than engine.login.timeout

Why are the changes needed?
Fix #1327
Analysis
The typical error logs are
2021-11-01 11:27:54.018 INFO client.KyuubiSyncThriftClient: TCloseOperationReq(operationHandle:TOperationHandle(operationId:THandleIdentifier(guid:47 69 37 B3 13 38 48 DA 87 7A 8A B6 BD 22 FA 57, secret:C1 01 AE 0B 6F 5F 48 F1 9A F0 FD 84 E3 0F 2B 1E), operationType:EXECUTE_STATEMENT, hasResultSet:true)) succeed on engine side
2021-11-01 11:27:54.019 INFO operation.ExecuteStatement: Processing sy.yao's query[c581db45-67f2-4f15-ac0d-aaecdb713fe9]: INITIALIZED_STATE -> PENDING_STATE, statement: [...SQL]
2021-11-01 11:27:54.019 INFO operation.ExecuteStatement: Processing sy.yao's query[c581db45-67f2-4f15-ac0d-aaecdb713fe9]: PENDING_STATE -> RUNNING_STATE, statement: [...SQL]
2021-11-01 11:28:09.034 INFO operation.ExecuteStatement: Processing sy.yao's query[c581db45-67f2-4f15-ac0d-aaecdb713fe9]: RUNNING_STATE -> ERROR_STATE, statement: [...SQL], time taken: 15.015 seconds
2021-11-01 11:28:09.035 INFO operation.ExecuteStatement: Processing sy.yao's query[c581db45-67f2-4f15-ac0d-aaecdb713fe9]: ERROR_STATE -> CLOSED_STATE, statement: [...SQL]
2021-11-01 11:28:09.035 WARN server.KyuubiThriftBinaryFrontendService: Error executing statement:
org.apache.kyuubi.KyuubiSQLException: Error operating EXECUTE_STATEMENT: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
[...omit detail stacktrace here]

The key points here are:

client execute query in sync mode, Hive JDBC client use async mode since 2.1.0 HIVE-6535
query execute cost time great than kyuubi.session.engine.login.timeout, which default is 15s

Kyuubi server create Thrift clients use kyuubi.session.engine.login.timeout as both socket_timeout and connect_timeout, and there is no heartbeat/keepalive mechanism in Thrift Protocol layer, thus if engine does not send response to Kyuubi server in socket_timeout, the Thrift client(Kyuubi server) will fail with SocketTimeoutException: Read timed out.
In sync mode, when user send a execute statement request to Kyuubi server, Kyuubi server forword the request to the engine, engine return nothing until the execution finished or any other error happend.
In async mode, the query request passes in same way, but engine return will an op_handle immediately instead of waiting for query to finish, the client should use the op_handle to check query status periodically, in detail

Kyuubi server ask engine for query status, and keep the result in memory
User ask Kyuubi server for query status, Kyuubi server get result from memory

Solution
Option 1: change socket_timeout of Thrift clients created by Kyuubi server to infinite. This approach may cause another issue. if engine crash when executing the query, Kyuubi server will wait until the socket keepalive(controlled by OS) timeout, so the query status will always be running in Kyuubi server memory.
Option 2: always run a query in async mode, simulate sync mode in Server side.
This PR implement the option 2, also introduce a new conf kyuubi.session.engine.request.timeout
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

cc @jiaoqingbo

Codecov Report

Merging #1328 (70220ff) into master (1f87aec) will decrease coverage by 0.00%.
The diff coverage is 82.75%.

@@             Coverage Diff              @@
##             master    #1328      +/-   ##
============================================
- Coverage     78.53%   78.53%   -0.01%
  Complexity      110      110
============================================
  Files           178      178
  Lines          7245     7252       +7
  Branches        887      886       -1
============================================
+ Hits           5690     5695       +5
- Misses         1071     1072       +1
- Partials        484      485       +1

Impacted Files
Coverage Δ

.../org/apache/kyuubi/operation/KyuubiOperation.scala
56.25% <75.00%> (+2.15%)
:arrow_up:

...org/apache/kyuubi/operation/ExecuteStatement.scala
86.59% <77.77%> (-1.16%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
95.19% <100.00%> (+0.03%)
:arrow_up:

.../org/apache/kyuubi/session/KyuubiSessionImpl.scala
89.79% <100.00%> (+0.21%)
:arrow_up:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
89.89% <0.00%> (-1.02%)
:arrow_down:

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 1f87aec...70220ff. Read the comment docs.

LGTM

Thanks for review, merging to master


Adding Additional Namespace Internal

Based on the wonderful suggestion by @zverok.
I hope this works fine before merging.
It would be good if you can try this.

@Arafatk sure, what are the specifics we should look out for? Building the project from scratch or just test that specs still run?

@Arafatk I've

run the swig > make > make install commands
run rspec – all pass except, the spring spec (#17)
added a few comments, mostly regarding syntax.

Basically, the gem seems to still work like before!

@Arafatk when I make install on OSX I get:
install: /Users/<usr>/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/x86_64-darwin14/sciruby/tensorflow: No such file or directory

I have to manually create the folder sciruby and a folder inside that, tensorflow. After that make install runs fine and I have the file /sciruby/tensorflow/internal.bundle

@chrhansen I think there's a chance this would help:
cd ext/sciruby/tensorflow_c
rm *.time

I don't fully understand the behavior, but my experience with #22 was that those files being present seemed to mess up directory creation when running install.

@geoffreylitt I guess my point was more that this should be part of the build script.

@chrhansen Thanks a lot for pointing it out. I am getting
arafat@arafat-HP-450-Notebook-PC:~/Desktop/shop/name/tensorflow.rb/ext/sciruby/tensorflow_c$ ruby extconf.rb
creating Makefile
arafat@arafat-HP-450-Notebook-PC:~/Desktop/shop/name/tensorflow.rb/ext/sciruby/tensorflow_c$ make
compiling internal_wrap.cxx
linking shared-object sciruby/tensorflow/internal.so
arafat@arafat-HP-450-Notebook-PC:~/Desktop/shop/name/tensorflow.rb/ext/sciruby/tensorflow_c$ make install
/usr/bin/install -m 0755 internal.so /usr/share/rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/x86_64-linux/sciruby/tensorflow

Can you please point out a workaround for this ?

@Arafatk sorry for the late reply. If I'm the only one that gets the directory error on make install on a fresh install, then let's just leave that.
However, I just tried to replicate, i.e. removing all dirs inside .../2.2.0/x86_64-linux/ (../2.2.0/x86_64-darwin14/ for me), and then running ruby extconf.rb then make, and I'm actually getting another error in make now:
➜  tensorflow_c git:(master) ruby extconf.rb
creating Makefile
➜  tensorflow_c git:(master) make
compiling Tensorflow_wrap.cxx
linking shared-object sciruby/Tensorflow.bundle
duplicate symbol __ZN10tensorflow14TF_Run_wrapperEP10TF_SessionNSt3__16vectorINS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEENS7_IS9_EEEENS3_IP9TF_TensorNS7_ISD_EEEESB_RSF_SB_P9TF_Status in:
    Internal_wrap.o
    Tensorflow_wrap.o
duplicate symbol __ZN10tensorflow12print_tensorEP9TF_Tensor in:
    Internal_wrap.o
    Tensorflow_wrap.o
duplicate symbol __ZN10tensorflow14complex_readerEP9TF_Tensor in:
    Internal_wrap.o
    Tensorflow_wrap.o
...
...
duplicate symbol __ZN10tensorflow33complex_array_from_complex_vectorENSt3__16vectorINS0_7complexIdEENS0_9allocatorIS3_EEEE in:
    Internal_wrap.o
    Tensorflow_wrap.o
ld: 30 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Tensorflow.bundle] Error 1


Add "travis_retry" to our build to reduce transitory failures

I was about to commit this change to all our repos and figured I should probably test it on one first to make sure it's actually working properly. :innocent:

(Documentation is at https://docs.travis-ci.com/user/common-build-problems/#travis_retry)

Cool, it works. :smile:


Fix/transaction crashes 240

@hassanashraf92  will you convert this to a regular PR when you are comfortable?
Please invite me and @josikie to review.


Execute Rewrite op before shipping request to upstream service

Replaced RewriteFilter to rewriteReq method

Fixes #171

[Current coverage][cc-pull] is 97.28%

Merging [#172][cc-pull] into [master][cc-base-branch] will decrease coverage by <.01%

@@             master       #172   diff @@
==========================================
  Files            36         36
  Lines           959        956     -3
  Methods         941        939     -2
  Messages          0          0
  Branches         18         17     -1
==========================================
- Hits            933        930     -3
  Misses           26         26
  Partials          0          0

Powered by Codecov. Last updated by [9dee366...79fe5e5][cc-compare]
[cc-base-branch]: https://codecov.io/gh/lookout/borderpatrol/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/lookout/borderpatrol/compare/9dee366c458a8ebec966f884e89563086a992b18...79fe5e580bc95adca16b9d83b033ffeceb3e7a22?src=pr
[cc-pull]: https://codecov.io/gh/lookout/borderpatrol/pull/172?src=pr


Some sensors ignore sensor_tick attribute [0.9.10 / <IP_ADDRESS>]

Hi,
I use Carla to generate datasets for semantic segmentation and only need the sensor data of every xth tick. Thus i make use of the sensor attribute sensor_tick and set it to 1 or 2 (seconds).
The sensors camera.rgb, camera.semantic_segmentation and camera.depth seem to ignore the sensor_tick attribute and return data in every tick.
The sensors camera.dvs or lidar.ray_cast for example are behaving as expected.
I am using Carla 0.9.10[.1] on Windows.

Hi there,
I am experiencing the exact same issue with the SceneCaptureSensors. I've already contacted @marcgpuig and he told me the team (or he himself) is on it. :) Just wanted to bump this thread with this comment.
Best,
Gunther

Hi @jorothe @guntherkrehl! Sorry for the late response!
This should be fixed in dev branch since #3399, please, if you still can reproduce it, make sure to report it here #3400.
Thanks :)


[docker] Hue cannot start

docker version: gethue/hue:latest
Traceback (most recent call last):
File "/usr/share/hue/build/env/bin/hue", line 33, in
sys.exit(load_entry_point('desktop', 'console_scripts', 'hue')())
File "/usr/share/hue/desktop/core/src/desktop/manage_entry.py", line 225, in entry
execute_from_command_line(sys.argv)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/share/hue/build/env/lib/python3.6/site-packages/django/core/management/init.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/share/hue/build/env/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/usr/share/hue/desktop/core/src/desktop/management/commands/runcherrypyserver.py", line 69, in handle
runcpserver(args)
File "/usr/share/hue/desktop/core/src/desktop/management/commands/runcherrypyserver.py", line 131, in runcpserver
start_server(options)
File "/usr/share/hue/desktop/core/src/desktop/management/commands/runcherrypyserver.py", line 78, in start_server
from desktop.lib.wsgiserver import CherryPyWSGIServer as Server
File "/usr/share/hue/desktop/core/src/desktop/lib/wsgiserver.py", line 122, in
_fileobject_uses_str_type = isinstance(socket._fileobject(None)._rbuf, basestring)
AttributeError: module 'socket' has no attribute '_fileobject'

Thanks for the report!


Extension triggered quick open no longer focuses first item

This doesn't seem to apply to cmd/ctrl+p.
Repro:

Install git project manager https://marketplace.visualstudio.com/items?itemName=felipecaputo.git-project-manager

Configure paths:
"gitProjectManager.baseProjectsFolders": [
    "$HOME/dev",
    "%USERPROFILE%\\Documents\\dev"
],

Run GPM: Open Git Project command

Type "vscode"

1.28.0-insiders (not focused):

1.27.2 (focused):

@Tyriar Did you have Screen Reader mode enabled in 1.28-insiders?

@chrmarti yes. Why is there a difference in how quick open handles ctrl/cmd+p and extensions?

QuickPick does not focus the first item when in screen reader mode to let the screen readers first read the placeholder in the input field. QuickOpen should do the same.


Jupyter and image save in code

The out put my code would save a Jpg but it saves  a BMP and it does not save to the same working folder I am in but some place I can't find. Then img.show is not shown in Jupyter but in extern window. I don't know if the last thing is internal or it is just the packages pillow that forces that to happen because that is also what happen in a normal .py.

/question


Unit test support

Unit test support, each input argument is now testable

Ready for review @jkowalleck @CycloneDX/buildroot-maintainers


Running same query but got different result.

Hi everyone!
I just created a ClickHouse cluster with 3 nodes, 3 shards and replicated twice, following this tutorial: https://www.altinity.com/blog/2018/5/10/circular-replication-cluster-topology-in-clickhouse
After insert data from ontime dataset, I run a query:
SELECT
    Carrier,
    COUNT() AS c,
    round(quantileTDigest(0.99)(DepDelay), 2) AS q
FROM distributed
GROUP BY Carrier
ORDER BY q DESC
LIMIT 5

But I got a different result each time:
Query result:

What did I do wrong?
Thanks

Wouldn't it become stable if you wait for a while after the data is fully ingested?

Yep, it's supposed to be true if Distributed table is built on top of ReplicatedMergeTree. See https://clickhouse.yandex/docs/en/operations/table_engines/distributed/ for detailed explanation on this.
I agree that it'd be easier if it was just properly selected automatically by default.

Thank you so much, I will close this issue follow your help.
Thank you again, Ivan :+1:


THC/THC.h doesn't exist

Hi!
I'm trying to run a model on a Jetson Orin with CUDA 12.6 and PyTorch 2.5.0, but it seems like the THC library doesn't exist anymore. I really need to run the model with these versions because my Jetson doesn't support earlier versions.
If anyone is facing this problem, I would be very grateful for your help.

In later versions of PyTorch, the THC library has been replaced by ATen.
I've found the solution on the OpenPCDet official repository. Some of the pcdet/ops scripts have been updated in this repository, so you can download them directly from there.
According to this issue, for the remaining scripts, you can remove the following lines:
#include THC/THC.h
extern THCState *state;

It works fine for me.

After torch1.11, THC was removed


Prefer py on Windows when available

Did you know on Windows, the default installation options don't include installing Python on the PATH, but the default installation options do include installing the py launcher on the PATH? Perhaps pyo3 could be smarter and fall back to py -3 or simply py when no executable is specified.
I tried setting PYO3_PYTHON=py to see if a generic executable as found on the path could be supplied, so that I don't have to think about which Python executable to use, but that produced a different error:
Unable to create process using '"C:\Program Files\Python 3.11\py""': The system cannot find the file specified.

That error looks like it's revealing a couple of possible bugs:

The mis-matched double-quotes suggest that maybe quotes are being added incorrectly.
The routine seemingly inferred a Python installation at "C:\Program Files\Python 3.11", but then weirdly put $PYO3_PYTHON at the end of it, which isn't where the launcher is found. Why if the routine could find "C:\Program Files\Python 3.11" could it not find "python.exe" there?

Since the routine seemed to be able to infer the location of some Python executable, I tried setting PYO3_PYTHON=python, but that caused the Microsoft Store to launch, prompting install of Python 3.10, and pyo3 reported yet another error: error: Python script failed.
It would be nice if pyo3 could infer the location more consistently with what a user might expect on Windows, so that most users could rely on a default behavior, similar to how they can for launching Python interactively.
Originally posted by @jaraco in https://github.com/PyO3/pyo3/issues/1616#issuecomment-1305887742

I think the py launcher in Python 3.11 changed some behaviors, it used to work fine when invoking with Command::new("py") in Rust, but the 3.11 py doesn't work, I had to use cmd /c py to make it work in maturin.
https://github.com/PyO3/maturin/pull/1222/files#diff-0bc7e04e7e69533e27fda685be33f8f73aa05ba10cb84101d40fa88be716b951R555-R557

For completeness, I encountered the error when trying to build pyoxidizer with PYO3_PYTHON=py:

 pyoxidizer $ cargo build --release
   Compiling tempfile v3.3.0
   Compiling duct v0.13.5
   Compiling console v0.15.2
   Compiling dirs v4.0.0
   Compiling lzma-sys v0.1.19
   Compiling bzip2-sys v0.1.11+1.0.8
   Compiling libgit2-sys v0.14.0+1.5.0
   Compiling libz-sys v1.1.8
   Compiling zstd-sys v2.0.1+zstd.1.5.2
   Compiling zstd-safe v5.0.2+zstd.1.5.2
   Compiling pyo3-build-config v0.17.1
   Compiling dirs-next v2.0.0
   Compiling serde_derive v1.0.145
   Compiling synstructure v0.12.6
   Compiling futures-macro v0.3.24
   Compiling tracing-attributes v0.1.22
   Compiling thiserror-impl v1.0.37
   Compiling webpki v0.22.0
   Compiling sct v0.7.0
   Compiling sct v0.6.1
error: failed to run custom build command for `pyo3-build-config v0.17.1`

Caused by:
  process didn't exit successfully: `C:\Users\jaraco\code\fig-kokoro-dependencies\windows\pyoxidizer\target\release\build\pyo3-build-config-fd87f5bbfce9d065\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-env-changed=PYO3_CONFIG_FILE
  cargo:rerun-if-env-changed=PYO3_NO_PYTHON
  cargo:rerun-if-env-changed=PYO3_PYTHON

  --- stderr
  Unable to create process using '"C:\Program Files\Python 3.11\py""': The system cannot find the file specified.

  error: Python script failed

For what it's worth, on the same machine where Rust has trouble with the process, Python can launch it fine:
>>> subprocess.Popen(['py', '-V']).wait()
Python 3.11.0
0


Show the total number of available subjects and datasets

Similar to #265 we also want the global subject and dataset counter to show clearly how much data are in the current cohort selection vs the total available data.

[ ] when I run a cohort, the total subject counter shows both the #subs in the current cohort AND the total # subs if no constraints were added
[ ] decide whether we want to have total # subs reflect ALL subjects anywhere or just the sum of ANY datasets that still have something for the current cohort
[ ] also show the current number of datasets with data in the cohort vs the total number of known datasets

Not currently a priority


Allow passing extra query parameters to a bulk session

Especially useful when reducing response size by using the filter_path parameter

Opening following https://github.com/jillesvangurp/kt-search/pull/60


Instance subnet

How do I change the instance subnet? I've looked through the code and have no luck on where it is being set.
For example each session will generate a unique 10.0.... subnet when deployed on your own infrastructure. The PWD website has it so that it is  192.168....
On my own infrastructure it is 10.0 and in the test files they also use 10.0...
I've changed the bip on the docker host and on the franela/dind image, and they both don't address the issue.
It would also be great if it can be customized on the api.go cli

The PWD site is using an enterprise PWD version which is sold to customers which allows subnet change amongst other features. It's not possible to change the subnet in the OS version as-is today. PR's are welcome though.


Automatically generate UV/Texture coordinates when missing

Most connectors with send geometry with UV coordinates. But not all will (Revit, Autocad, Archicad 😢).
If there are no texture coordinates, we should try and generate some basic ones instead. Not a perfect solution, but better than nothing.
In Unity connector, we fallback to generating some very basic UVs . Perhaps we could do something similar here.

@jsammer-ode which connector are you using to send data to Speckle?


Dynamic Memory and Pointer Safety

Everything is here, just considering if there are any additional areas that should be brought up for this section.


Funnel chart labels get hidden when you hover on them

Description of the bug
When you configure a funnel chart and you let's say configure the Show relative value & Always show labels to be enabled, once you add the chart to a public page, the values are getting hidden when you hover on it. This doesn't happen on doughnut chart for example.
Reproduction steps

Create a funnel chart
Enable the Show relative value & Always show labels
Save the chart
Add it to a public page
Hover on it and notice that the values are hidden

Expected behavior
When you hover over the chart the values should be still shown as in any other chart.
Screenshot/Video
https://user-images.githubusercontent.com/53232926/233315216-dc4f8aba-0142-4b64-b247-59e60ba6d004.webm
Version
Branch: 2023.3.x

for today: make plan and start working on it

The plan:

[ ] Read documentation on funnel charts
[ ] Examine the different options in corteza-js  between the generic chart and funnel chart
[ ] Fix the issue

for today: get familiar with chart code and open PR by EOD

for today: resolve issue and resubmit for review

Tested and can confirm the labels appear on hover with the correct configuration.

Fixed:

{
      "what": [
        "funnel chart labels are hidden when you hover on them."
      ],
      "refs": [
        "https://github.com/cortezaproject/corteza/pull/1222"
      ]
    }


Documentation about AAD config is confusing

Section "(Optional) Enable backend authorization via Azure AD" of readme says "Ensure you created the required application registration mentioned in Start the WebApp FrontEnd application" and links to the #start-the-webapp-frontend-application anchor which doesn't exist.

@wasker thank you filing this issue!
@crickman would you mind taking a look at this?


Why is everything observable?

While inspecting the code I find many Properties whose value is actually immutable, and set only once on object creation. Why are these Properties instead of simple variables?

Hi @Xerus2000
Thanks for your comment! We tried to use observables wherever it makes sense. Could you please elaborate on which properties you mean exactly? I will then be able to tell you the reasons (if there are) and else we could discuss about changing them into simple variables, should it not make any sense.

For example a Change in the History should not be mutable and thus have no Properties. Of you ever use Kotlin you'll suddenly start adopting and appreciating immutability much more, I strongly suggest giving it a try ;)
Furthermore, I don't see a reason why a Change would have separate properties for Lists and Single Items. But I'm already working on a PR that addresses that.

The Change is immutable for the most part, you will notice that the only things that can be changed externally are the old and the new list / values.  The rest is only exposed as ReadOnly properties.
Actually, making them mutable in this regard was a tradeoff. The problem were the compounded changes - let's imagine you drag a slider from 1 to 42. As you do so, JavaFX will trigger hundreds if not thousands of change events. If Change were actually immutable, we would create hundreds of thousands of change objects during that which would become obsolete in microseconds. This is very wasteful and causes unnecessary garbage collection and pollution of the heap. This is why we decided to set the new value of the previous change in case of a compounded change to the changed value, to only have one object and that works very well.
Trying out Kotlin is also on my list, maybe I will appreciate them more then ;). I already learned to appreciate them in Haskell, but in this situation I found this to be the better tradeoff.
Considering the thing with lists and single items... If you manage to make it work without, I'll be very happy to merge it. We tried coming up with a solution that would work without it but didn't succeed. The problem here is that it could be that in one change there are a list of changes that happen (for example, if in the demo you select or deselect multiple favorite apps at one time). Saving every regular change in a list without mirroring that onto a regular ObjectProperty caused much more hassle than it was worth.

Since there was no response, I will close this issue. Feel free to open it up again or create another issue should you still run into issues.


No indication of minimum version for features

The documentation doesn't list a version that features were introduced in, so I'm not sure if I'm doing something wrong when using this, or if it just isn't supported on the old version of Power BI available at my workplace.

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

ID: 3af9ce3a-a3eb-8d57-55a7-66f04f46bbf7
Version Independent ID: 58e304ed-89d2-3c85-4428-acefedaef5c0
Content: Conditional table formatting in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-conditional-table-formatting.md
Service: powerbi
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi @tamasys ,
Thank you for your question.  I've forwarded this info to the document author and we'll get this addressed asap.  Thanks, Michele

Thanks for your comment @tamasys. You're right, we do not track minimum versions of Power BI Desktop on a feature level. We always suggest you download and use the most current version of Power BI Desktop to ensure the functionality is as up to date as possible.

@davidiseminger Unfortunately a) Power BI for Report Server is always a few versions behind, and b) most corporations control which version of a product is available. So using the latest version isn't actually an option for a lot of users.


[Feature]: Update rimraf to version 4

Feature description
The package we use rimraf has release a new major version 4.
It was rewritten in TypeScript so our internal types fail to comply and build fail  -> #9516.
Also now some methods are Promises rather then accepting callbacks.

Closed by #9775


Adding Support for Kodu

Adding Support for Kodu
cc: Discord Chat with Luke

Thanks @PierrunoYT
Ref for Kudo: https://marketplace.visualstudio.com/items?itemName=kodu-ai.kodu

I expect the work in https://github.com/stacklok/codegate/pull/463 will cover a lot of this.


fix scheduler when not supplied

What does this PR do ?
when user does not supply learning rate scheduler, nemo aligner will crash. but now we use a dummy scheduler object

Just some small suggestion to make everything consistent.
In addition to the comments below, we should also remove the if self.scheduler is not None: in supervised.py

done!


Error building: could not determine kind of name for C.ykpiv_attest

I think this may be a compatibility problem between libykpiv-dev and this package? I'm using version 1.4.2-2 on Ubuntu 18.04.
vendor/pault.ag/go/ykpiv/ykpiv.go:336:21: could not determine kind of name for C.ykpiv_attest

ykpiv_attest() was introduced in 1.5.0. Looks like you'll need a newer version of yubico-piv-tool, or get Ubuntu to update the package.

Okay, thanks for the quick response!


fix: Support Apollo caching for settings / Policies

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)- https://linear.app/acryl-data/issue/PRD-835/[datahub-oss]-support-apollo-caching-for-settings-policies
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

test are failing so creating new PR


[I18N] Create a name formatter module

Overview
This module will offer you a way to display user name regarding locale preferences.
Type

[x] New feature
[ ] Changes to existing features

Motivation
In country like 🇯🇵 for example, it's offensive to display first_name before last_name.
Area

[x] Add any relevant Area: <area> labels to this issue

Scope

Is this issue related to a specific package?

[x] Tag it with the Package: <package_name> label.

Is it related to a new package?

[ ] Tag it with the New package Label

Checklist

[x] Please delete the labels section before submitting your issue
[x] I have described this issue in a way that is actionable (if possible)

@goldenson do you know if the I18n team is looking towards adding something like this to Web? Based on this PR https://github.com/Shopify/shopify/pull/207667

@nimzco @adjnor do you know if somebody is working on that?

Not that I know of 🤔

That could be a good first task for Benoit maybe.
cc @trishrempel

Looking into it 👍


Modify instructions for testLocationInResults

This option can only be set as a CLI flag.  It is not a valid option in the configuration file and is silently ignored if set.

I'm closing this as it's based on an incorrect assumption from using an older version of Jest.


Error: eprotonosupport

Hello, I'm not sure if that is an error with the application or just a connection error. I see it says "eprotonosupport". Is this an m3ua connection problem or something that isn't well compiled?
Thanks
root@ubuntu:/opt/ss7MAPer/rel/ss7MAPer/bin# ./ss7MAPer console
Exec: /opt/ss7MAPer/rel/ss7MAPer/erts-7.3/bin/erlexec  -boot /opt/ss7MAPer/rel/ss7MAPer/releases/1/ss7MAPer -mode embedded -config /opt/ss7MAPer/rel/ss7MAPer/releases/1/sys.config -args_file /opt/ss7MAPer/rel/ss7MAPer/releases/1/vm.args -- console
Root: /opt/ss7MAPer/rel/ss7MAPer
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:40:40] [async-threads:10] [hipe] [kernel-poll:false]

terminating ss7_routes with reason {{badmatch,{error,eprotonosupport}},
                                    [{m3ua_core,init,1,
                                      [{file,"src/m3ua_core.erl"},{line,107}]},
                                     {gen_fsm,init_it,6,
                                      [{file,"gen_fsm.erl"},{line,378}]},
                                     {proc_lib,init_p_do_apply,3,
                                      [{file,"proc_lib.erl"},{line,240}]}]}terminating ss7_links with reason {{badmatch,{error,eprotonosupport}},
                                   [{m3ua_core,init,1,
                                     [{file,"src/m3ua_core.erl"},{line,107}]},
                                    {gen_fsm,init_it,6,
                                     [{file,"gen_fsm.erl"},{line,378}]},
                                    {proc_lib,init_p_do_apply,3,
                                     [{file,"proc_lib.erl"},{line,240}]}]}
=ERROR REPORT==== 24-Nov-2016::02:23:30 ===
** Generic server ss7_links terminating
** Last message in was {'EXIT',<0.878.0>,
                           {{badmatch,{error,eprotonosupport}},
                            [{m3ua_core,init,1,
                                 [{file,"src/m3ua_core.erl"},{line,107}]},
                             {gen_fsm,init_it,6,
                                 [{file,"gen_fsm.erl"},{line,378}]},
                             {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,240}]}]}}
** When Server state == {su_state,ss7_linksets,ss7_link_table,mtp3_services}
** Reason for termination ==
** {terminated,[{io,format,
                    [<0.875.0>,"terminating ~p with reason ~p",
                     [ss7_links,
                      {{badmatch,{error,eprotonosupport}},
                       [{m3ua_core,init,1,
                                   [{file,"src/m3ua_core.erl"},{line,107}]},
                        {gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,378}]},
                        {proc_lib,init_p_do_apply,3,
                                  [{file,"proc_lib.erl"},{line,240}]}]}]],
                    []},
                {ss7_links,terminate,2,
                           [{file,"src/ss7_links.erl"},{line,458}]},
                {gen_server,try_terminate,3,
                            [{file,"gen_server.erl"},{line,643}]},
                {gen_server,terminate,7,[{file,"gen_server.erl"},{line,809}]},
                {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,240}]}]}
Eshell V7.3  (abort with ^G)
(ss7MAPer@<IP_ADDRESS>)1>
=ERROR REPORT==== 24-Nov-2016::02:23:30 ===
** Generic server ss7_routes terminating
** Last message in was {'EXIT',<0.878.0>,
                           {{badmatch,{error,eprotonosupport}},
                            [{m3ua_core,init,1,
                                 [{file,"src/m3ua_core.erl"},{line,107}]},
                             {gen_fsm,init_it,6,
                                 [{file,"gen_fsm.erl"},{line,378}]},
                             {proc_lib,init_p_do_apply,3,
                                 [{file,"proc_lib.erl"},{line,240}]}]}}
** When Server state == {sr_state,ss7_routes}
** Reason for termination ==
** {terminated,[{io,format,
                    [<0.875.0>,"terminating ~p with reason ~p",
                     [ss7_routes,
                      {{badmatch,{error,eprotonosupport}},
                       [{m3ua_core,init,1,
                                   [{file,"src/m3ua_core.erl"},{line,107}]},
                        {gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,378}]},
                        {proc_lib,init_p_do_apply,3,
                                  [{file,"proc_lib.erl"},{line,240}]}]}]],
                    []},
                {ss7_routes,terminate,2,
                            [{file,"src/ss7_routes.erl"},{line,170}]},
                {gen_server,try_terminate,3,
                            [{file,"gen_server.erl"},{line,643}]},
                {gen_server,terminate,7,[{file,"gen_server.erl"},{line,809}]},
                {proc_lib,init_p_do_apply,3,
                          [{file,"proc_lib.erl"},{line,240}]}]}

=INFO REPORT==== 24-Nov-2016::02:23:30 ===
    application: ss7MAPer
    exited: {{shutdown,
                 {failed_to_start_child,ss7MAPer,
                     {{badmatch,{error,eprotonosupport}},
                      [{m3ua_core,init,1,
                           [{file,"src/m3ua_core.erl"},{line,107}]},
                       {gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,378}]},
                       {proc_lib,init_p_do_apply,3,
                           [{file,"proc_lib.erl"},{line,240}]}]}}},
             {ss7MAPer_app,start,[normal,["./config"]]}}
    type: permanent
{"Kernel pid terminated",application_controller,"{application_start_failure,ss7MAPer,{{shutdown,{failed_to_start_child,ss7MAPer,{{badmatch,{error,eprotonosupport}},[{m3ua_core,init,1,[{file,\"src/m3ua_core.erl\"},{line,107}]},{gen_fsm,init_it,6,[{file,\"gen_fsm.erl\"},{line,378}]},{proc_lib,init_p_do_apply,3,[{file,\"proc_lib.erl\"},{line,240}]}]}}},{ss7MAPer_app,start,[normal,[\"./config\"]]}}}"}

Crash dump is being written to: erl_crash.dump...done
Kernel pid terminated (application_controller) ({application_start_failure,ss7MAPer,{{shutdown,{failed_to_start_child,ss7MAPer,{{badmatch,{error,eprotonosupport}},[{m3ua_core,init,1,[{file,"src/m3ua

Hi,
you will need to build and/or load the sctp kernel module.
cheers

Hello,
thanks for your reply.
I already installed (https://github.com/sctp/lksctp-tools) and loaded the sctp module. I'm still getting the same problem.
root@ubuntu:/opt/ss7MAPer/rel/ss7MAPer/bin# lsmod | grep sctp
sctp                  258048  2
libcrc32c              16384  3 sctp,raid456,bnx2x

Hi,
then your erlang binary is build without SCTP support (i guess thats the default case on ubuntu).
Try building erlang from source (www.erlang.org) and make sure you enable SCTP while configuring.
cheers

Thank you. Resolved.
For people having the same problem add "--enable-sctp" when you compile Erlang.


Console not showing in 3.5/4.0 in Windows

Godot version
3.5.1 and 4.0 alpha 2
System information
Windows 10 960m
Issue description
I have just moved over to 3.5 from 3.4 and am not getting the console opening up any more. Has something changed recently? Are the official builds now built with the console option off?
This is happening in 4.0 alpha for me as well.
Steps to reproduce
Open a project in Godot. No console is present.
Minimal reproduction project
No response

This is intentional. Automatically starting a console is not compatible with Windows 11's new terminal.
Now Windows behaves like Linux and macOS builds, it prints output to the console if you run it from one. There's a .CMD script you can use that starts Godot from a console.

Thanks @akien-mga  got it working now!


Tag TaskInfo with app labels

Pending task labels support (scheduled for Mesos 0.22.0).  Task labels will be surfaced through the master's state.json.
See TaskInfo labels in mesos.proto.

@drexin Would love to see this in the next Marathon release.

See PR #1337


Dependency on validate_inventory prevents importing the setup_sushy_tools role from external project

Every role in this project sets a dependency on validate_inventory.
This is preventing us from importing the setup_sushy_tools role (or to be more precise, the setup_selfsigned_cert role) from the dci-openshift-agent project.
Please, consider removing this dependency in the setup_selfsigned_cert role.
Test-Hints: assisted-abi

@arjuhe, can you remove the "do-not-merge" label from this PR.
I'm looking for a way to do it myself, but it looks like I need permissions.
I started this PR just as a workaround to support some dependencies, but in the end I need it merged.

We will have to move the run of validate inventory into the play book instead of having it run automatically by the roles machinery. We're having a discussion about this tomorrow.


Fix(virtual-core): Wrap ResizeObserver callbacks in window.requestAnimationFrame to avoid error

This PR wraps the two ResizeObserver callbacks with a window.requestAnimationFrame so that the "ResizeObserver loop completed with undelivered notifications" error doesn't happen.
Problem: ResizeObserver callbacks throw errors if they aren't able to resolve fully when they are invoked. This can happen if the callbacks are called at an inopportune time for the main thread, resulting in callbacks being dropped and the "ResizeObserver loop completed with undelivered notifications" error. This varies depending on how and when the resizes happened, and what browser you're on. I've found that Firefox is particularly picky about this.
Solution: There are several suggested here. In my personal experience, window.requestAnimationFrame solves the problem pretty well. Wrapping the two callbacks in the ResizeObservers here resulted in the errors completely stopping for my use case.

@samstronghammer most cases this error has no real effect, other than log in console what is annoying. Wrapping it with requestAnimationFrame would creates it's own issues.

Thanks for sharing more details, and I totally understand the impact this has on your workflow. I’ll try to debug the issue further and see if I can provide a workaround to minimize the problem, or use requestAnimationFrame, let see. I’ll keep you updated once I have more insights or a better approach.


Update ADOPTERS.md to add WD Studios

Hey, I just made a Pull Request!
Add WD Studios L.L.C. to Adopters List with context on how we use it!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Strange E2E Linux failed? not sure if my addition is at fault here... 😆


Update gauge text styling in contributor confidence

          @zeucapua  styling wise, I'd love to see the number inside the gauge be bigger and placed higher. Could be a follow up PR too :)

Originally posted by @isabensusan in https://github.com/open-sauced/app/issues/3545#issuecomment-2161368933

a custom label can be applied for the text size changes @isabensusan requested. https://recharts.org/en-US/examples/PieChartWithCustomizedLabel


manytoone and other relations

how can I download related entities as fixture ?

I have the same problem, I can't export mapped entities

Digging a little, looks like the Annotations Reader is not working properly, or at least the command is unable to process the request.
Example:
https://github.com/jupeter/DoctrineDumpFixturesBundle/blob/master/Command/DoctrineDumpCommand.php#L137
If we dump the content of $fields we get an array of the properties we want to export, like this:
array:3 [
  "name" => []
  "description" => []
  "image" => array:1 [
    "targetEntity" => "Image"
  ]
]

However if we dump the content of $fieldName and $attributes then we get this:
"name"
[]
"description"
[]
"image"
[]

So $attributes is unable to return the targetEntity and because of this we get the
  [Exception]
  aaa

That I reported here: #4

@mehmetsoylucom looks like you need to add the Dump\Entity and Dump\Column annotations on both entities, the one that is mapping and the one that is mapped, even if the doctrine annotation is not for a bi-directional mapping


update data of West Bengal

New data available  from west bengat govt health department.

https://www.wbhealth.gov.in/pages/corona/bulletin
https://www.wbhealth.gov.in/uploaded_files/corona/Bulletin_West_Bengal_04.04_.pdf

Mohfw website also updated the data about west bengal. Please update here as well.
https://www.mohfw.gov.in/

https://github.com/covid19india/covid19india-react/issues/689#issuecomment-609425166

closing the issues as west bengal data is updated..


Cannot select 00:00 because of the range time, Can it be optional?

At the moment we cannot selecte 12:00, or 00:00 because of the range time and it will not allow the user to select 00:20 or any time because of the range interval:

rangeTime configuration it should be optional:
rangeTime: config.rangeTime || {start: '0:0', end: '24:0'},

You'll notice, you cannot select 12. (in your case the style override and you cannot see the disabled button) I will suggest to adjust style as well.
button {
       &:disabled {
            color: gray
        }
}

Hi @sergiujardan, I mainly updated this library so I can keep using it in newer angular versions.
From looking at the code, rangeTime is optional.

Hi @ndraiman, the issue is that the rangeTime is set with default values and that will cause the problem.

I fixed a bug in the original library:
Fixed TimePickerComponent.checkDisabled fn not converting string to number, resulting in user unable to pick the 12 hour.
See commit 7520ab6, fixed in v17.0.1

Thank you @ndraiman


test: pkg/cli EnvSettings.EnvVars()

In pkg/cli EnvSettings.EnvVars() does not have good unit test coverage.
It would be great to write a small test for this function.

ref #1489


Adjust font sizes of headings according to square roots to make them look better

Description
Adjust font sizes of headings according to this algorithm:
H1 = 2/sqrt1 = 2
H2 = 2/sqrt2 = 1.414
H3 = 2/sqrt3 = 1.155
H4 = 2/sqrt4 = 1
H5 = 2/sqrt5 = 0.894
H6 = 2/sqrt6 = 0.816

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How has this been tested

[ ] I have run bash ./tools/test (at the root of the project) locally and passed
[x] I have tested this feature in the browser

Test Configuration

Browser type & version:
Operating system:
Ruby version:
Bundler version:
Jekyll version:

Hi there, as this PR involves layout design (beyond the scope of the contribution guidelines), may I ask if there is any theoretical support for this algorithm? If so, please let me know.

No theoretical support. I just think the size of h3, h4, and h5 is too close according to current settings, it's hard to tell them apart by the naked eye. Then I want to use a specific rule to calculate the font size of headings, so as to avoid randomness. Of course, it does not have to use sqrt.

So I'm sorry, this modification will not be merged, but I will come up with a new way to make the size differences between headings more apparent.

So I'm sorry, this modification will not be merged, but I will come up with a new way to make the size differences between headings more apparent.

Cool. Looking forward to that.


Feature request: GUI ddev actions

Referring to https://github.com/php-perfect/ddev-intellij-plugin/discussions/21#discussioncomment-2591500 I would prefer the Actions take place in the footer section, where the ddev status is shown. In this case it would be more effective to use these actions fast.

DDEV is concidered as a development tool, same as vagrant for example. These are located in the tools action group. I think they make sense where they are.


Tabs width set on width of contents - truncating tabs

The second tab isn't visible because width is set based on row which seems to have scale_width by default.

As a work-around I set width on the pn.Rows

This should probably be raised in bokeh.

Raised on bokeh as https://github.com/bokeh/bokeh/issues/8726


Camel-12493: make HL7 converters and structure lib dependencies optional

Can you please rebase? And also, If you are submitting a camel-micrometer component (Great stuff!), please open another PR for that and split your work between CAMEL-11600 and CAMEL-12493 :-)
Thanks!

Dang. I do have separate branches, but at one point I seem to have committed to the wrong one... I'll clean up and rebase.

redoing in a different PR


add bp eosnineties

add bp eosnineties

Your node seemingly is down, and out of date. Our testnet has upgraded already. Please rebuild accoording to the latest README and resubmit when you are ready.


Error while getting access token

i thing i'am already correct with all env

i think, the session is incorrect. try to re-create session.

Already create but it’s the same i cant connect

Dupe:
1 https://github.com/shamhi/HamsterKombatBot/issues/38
2 https://github.com/shamhi/HamsterKombatBot/issues/58
3 https://github.com/shamhi/HamsterKombatBot/issues/86
4 https://github.com/shamhi/HamsterKombatBot/issues/137
5 https://github.com/shamhi/HamsterKombatBot/issues/263

Already create but it’s the same i cant connect
The problem is with your proxy, have you tried without?

See this:

https://github.com/shamhi/HamsterKombatBot/issues/309
https://github.com/shamhi/HamsterKombatBot/issues/38
https://github.com/shamhi/HamsterKombatBot/issues/58
https://github.com/shamhi/HamsterKombatBot/issues/86
https://github.com/shamhi/HamsterKombatBot/issues/137
https://github.com/shamhi/HamsterKombatBot/issues/263


Dead code in base64_encode?

Am i missing something or is anything below line 38 dead code?
https://github.com/kvz/locutus/blob/97d2da1ea3d5bfb969e3c3d08eeb6c8115eb8ab3/src/php/url/base64_encode.js#L38

No, it's not dead code. It's used only in browsers which don't have built-in window.btoa function.
In other words, this condition is true
if (typeof window !== 'undefined') {

and this is false
if (typeof window.btoa !== 'undefined') {

But both would then run into the else over here https://github.com/kvz/locutus/blob/97d2da1ea3d5bfb969e3c3d08eeb6c8115eb8ab3/src/php/url/base64_encode.js#L35-L37

Nope. The condition
if (typeof window !== 'undefined') {

is truthy, so we go inside the IF block. It has a nested IF, which - when falsy - doesn't do anything and the code continues below the IF...ELSE statement.


Autosave Not Working Properly

My Project Was Deleted
Because Autosave Isn't Autosaving
I Don't Know Why But It's Not Autosaving

please help


TFKUBE-308: Update documentation to take into account additional DC products

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

This we discussed after standup. We felt it better to have a separate diagram for each type of deployment because depending on the product there will be different resources (ES/NFS) deployed. It was also felt trying to depict everything in one diagram would make it too busy. @nghazali what you think?

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

This we discussed after standup. We felt it better to have a separate diagram for each type of deployment because depending on the product there will be different resources (ES/NFS) deployed. It was also felt trying to depict everything in one diagram would make it too busy. @nghazali what you think?

How do we say that all product use the same VPC and the same EKS then (in architectural point of view)?

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

As we can have all products in the same cluster, does it worth to have a single diagram to show all products live in the same VPC and EKS rather than having separated diagram for each product?

This we discussed after standup. We felt it better to have a separate diagram for each type of deployment because depending on the product there will be different resources (ES/NFS) deployed. It was also felt trying to depict everything in one diagram would make it too busy. @nghazali what you think?

How do we say that all product use the same VPC and the same EKS then (in architectural point of view)?

Ive added this...


fix graphs persistence

this is just a patch, but i observe that if there is a $value set in the recipe and the store is being persisted,
on reload the $value overrides the persistence. i think there were related recent changes, i'll take a look shortly, but FYI


SQL Database Projects: Unavailable in ADS

Mac:
The extension "Projects" viewlet is not visible in the sidebar of Azure Data Studio all of the sudden.

Reinstalled ADS.
Uninstalled and reinstalled SQL Database Projects extension.
Ran "> Projects: Open existing project" from  the command pallet and opened the SQL proj file. An error which claims the project is already open appeared. So essentially I'm stuck and cannot open or access my SQL proj files at this point.
The extension is grayed out in the @installed view of the extension explorer with no explanation and is not labeled either enabled or disabled within the view.

One last symptom:
The extension is grayed out in the @installed view of the extension explorer with no explanation and is not labeled either enabled or disabled within the view.

Is the version of the extension listed as 0.11.0? There was a publishing mistake earlier where an updated version of the extension was released early.
To fix this :

Run the Extensions: Open Extensions Folder command from the command palette
Delete the microsoft.sql-database-projects-0.11.0 folder
Restart ADS
Go to the gallery and download the extension again (it should be 0.10.0)

It is indeed, thank you for the quick response. I'll try this immediately and report back.

Steps I followed steps 1 through 3, however step 4 seems to not be possible at this moment.
The only version available in the extension explorer shows as 0.11.0

What version of ADS is this with (Insiders or Stable)?

I believe this is Stable

Apologies, it looks like there was a lingering issue there. If you restart ADS you should see the 0.10.0 version as expected.

Okay, I was able to get 0.10.0 installed and restarted ADS.
Unfortunately my symptoms persist.

And you still don't see the icon on the sidebar panel? If you right click on the sidebar do you see Projects listed there? If you do make sure it's checked.

Thats correct, still no icon - nor a Projects selection in the dropdown.

console.log
dev logs.zip

@kisantia @Benjin Any ideas? I'm not seeing anything indicating what the issue is.
@boylec Something else to try

Run the Developer: Open Logs Folder command
From there go up 3 directories to the folder  containing the azuredatastudio directory
Close ADS
Rename the azuredatastudio directory to something else (such as azuredatastudio_bak)
Start ADS

This will reset your user settings so we can see if it's something there that got messed up. You can then just delete the new azuredatastudio folder and rename the bak one to restore your settings.

Yep, that seems to have resolved the issue.
Even after I restored the original azuredatastudio things appear to remain restored.
Thanks for the quick response once again - not sure what the actual root cause was.


OCM-2408: Improve upgrade agreements acknowledgement process

Builds on #118

Changes the upgrade_admin_ack boolean to be a string upgrade_acknowledgements_for that should be set to the openshift major.minor (i.e., "4.12")
Adds acknowledgement for gates that don't need user intervention (i.e., STSOnly gates)

/lgtm
/approve


Increase timeout for qdstat in test

Attempt to prevent random failures, by giving qstat more time to complete.
Signed-off-by: Vanessa<EMAIL_ADDRESS>

@k-wall updated the patch to make the change in KubeCMDClient.


[Feature] About a subset of academic rankings

Describe the feature
Hello, author. Will a subset of the academic list be provided in the future?
Will you implement it?

[ ] I would like to implement this feature and create a PR!

Subset? You means a small split ?

Subset? You means a small split ?

yes

Thanks for your suggestion, we will take this idea into consideration.


KOGITO-8986: SWF Viewer - missing icon for parameters for Switch state

Hello @LuboTerifaj, @romartin,
there is an icon for the Switch State. Only one of Data or Event are allowed by the spec, so I show by default Data. See KOGITO-8986 for more details.

Changes are merged, thank you @LuboTerifaj !


TS not compiling and throwing TS2300 errors

Expected behavior:
All files are compiled correctly and no error is thrown
Actual behavior:
Many TS2300 are thrown like the following:
[gulp-typescript] E:\OpenAtlas\node_modules\typescript\lib\lib.webworker.d.ts(1869,5): error TS2300 Duplicate identifier 'XMLHttpRequestResponseType'.

Your gulpfile:
Include your gulpfile, or only the related task (with ts.createProject).
let typescript = require('gulp-typescript');
gulp.task('build-server', () => {
    let tsProject = typescript.createProject('tsconfig.json');
    let reporter = typescript.reporter.longReporter();
    let tsResult = gulp.src('./**/*.ts')
        .pipe(tsProject(reporter));
    return tsResult.js.pipe(gulp.dest('.'));
});

tsconfig.json
Include your tsconfig, if related to this issue.
{
    "compileOnSave": true,
    "compilerOptions": {
        "module": "commonjs",
        "target": "es2015",
        "inlineSourceMap": true,
        "removeComments": true,
        "pretty": true,
        "lib": [
            "es5",
            "es2015",
            "dom"
        ]
    }
}

With gulp.src('./**/*.ts'), you pass all TypeScript files, including those in node_modules. Because of this, some names are defined twice, as the standard library is added multiple times, since this is present in the TypeScript package in node_modules. You can fix this by using something like gulp.src('./src/**/*.ts') if your files are in the folder src.

Yeah, that helped. Thank you a lot.


map has no entry for key "fullnameOverride"

Output of helm version: v2.9.0
Output of kubectl version: v1.10.1
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
:> helm create test
Creating test
:> helm lint --strict test
==> Linting test
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: render error in "test/templates/service.yaml": template: test/templates/_helpers.tpl:15:14: executing "test.fullname" at <.Values.fullnameOver...>: map has no entry for key "fullnameOverride"

Error: 1 chart(s) linted, 1 chart(s) failed
:> helm version
Client: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.0", GitCommit:"f6025bb9ee7daf9fee0026541c90a6f557a3e0bc", GitTreeState:"clean"}

I have just upgraded my helm to v2.9.1 but still have the same error.

It only occurs if I use helm lint --strict. Without --strict flag it works fine.

Ok - will try without --strict then. But shouldn't it pass all the tests  even with --strict ;-)

If you use --strict flag it will fail on lint warnings. I assume that it is a warning.

I just ran into this as well with helm version 2.9.0.
The log line from przemolb's original report indicates that this is an error, not a warning.

Unless there's another way to check if a variable is defined, then this shouldn't fail lint with --strict IMO.

I can reproduce this with v2.9.1. I suggest to treat this as a bug rather than a support question, because the default chart created by helm should pass the strict linter.

helm 2.9.1/ kubectl v1.11.1
Helm lint is failing for the chart it just created as is: Error: 1 chart(s) linted, 1 chart(s) failed

Thanks for the feedback. The default example chart should definitely pass the linter spec. Promoting to a bug.

wasn't the default example chart fixed by https://github.com/helm/helm/pull/3824? I agree with @seglo - being able to check if a property is defined and set inside if statements is quite useful, it used to be allowed with older versions of Helm (e.g., 2.7.2). Is there another way of doing it now without having to explicitly define them with null defaults?

Confirm, I cannot reproduce this anymore with 2.10.0:
$ helm version --client
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}

$ helm create foo
Creating foo

$ helm lint --strict foo
==> Linting foo
[INFO] Chart.yaml: icon is recommended

1 chart(s) linted, no failures

get .mymap "mapkey1"

get .mymap "mapkey1"


Computation of conditional attributes

Dear Yuanshao,
I am currently reproducing your work with the goal of using DiffTraj as a baseline method in comparison with a novel approach. Therefore, we would like to run your model on our datasets to allow for a fair comparison. Could you give me some information on how the conditional information [depature, total_dis, total_time, total_len, avg_dis, avg_speed, sid, eid] can be computed for a new dataset?
Unfortunately, I could not find any respective information in the repository.
Based on the details found in the paper and this repo, I made the following assumptions:
For the numerical normalisation of attribute $attr$, you used the formula
$$
attr_{\text{norm}} = \frac{attr - \mu}{\sigma}
$$

Departure Time: Categorical Attribute of the time of day in 5-minute steps (see https://github.com/Yasoz/DiffTraj/issues/1). Not Normalised
Total Distance: Numerical Attribute normalised via mean and standard deviation (see above).
I assume this is the sum of the distances between all two consecutive points within the trajectory? Or is this just the distance between start and end point?
Total Duration: Numerical Attribute normalised via mean and standard deviation (see above).
This is total duration. But in what unit? Seconds? Minutes?
Total Length: Numerical Attribute normalised via mean and standard deviation (see above).
Number of points in the trajectory?
Avg Distance: Numerical Attribute normalised via mean and standard deviation (see above).
Average distance (in m) between 2 consecutive locations?
Average Speed: Numerical Attribute normalised via mean and standard deviation (see above).
Total Length / Total Duration
Start Grid ID: Categorical Attribute. Not Normalised Values from $0 - 140$
How did you compute the grid? I assume you used divide_grids from utils.py. But what did you use as the boundaries of the datasets? Just the maximal/minimal lat/lon values? What grid number did you use? How did you numerate the grid cells? From top left to bottom right?
End Grid ID: Categorical Attribute. Not Normalised
Same questions as for (7).

Could you confirm whether these assumptions are correct and fill the missing gaps?
Moreover, could you provide details on how to compute attributes 7 and 8?
Also, if you could share any code for the computation of these values, I would greatly appreciate it.
I appreciate your help. We would love to include your approach in our publication.
Best regards,
Erik

Dear Erik,
Thanks for your interest in our work. Your comprehension and calculation of these attributes are basically in line with the design of the paper. Here are some clarifications to some of your questions:

Departure Time, Start Grid ID, and End Grid ID do not need to be normalized.
The calculation of Total distance is the cumulative distance between all two consecutive points.
Total Duration is in seconds, but I don't think that will matter due to the normalization we use.
Total length is the number of points in the trajectory. Note that since we used linear interpolation to fix the trajectory length, here is the original number of trajectory points.
Average distance (in m) is the distance between 2 consecutive locations.
Average Speed is calculated by Total Distance / Total Duration.
For all normalized attributes, we use the z-score formula you pointed out. All distances should be calculated as geographic distances.

I hope the answers above are helpful and good luck with your work.
Yours,
Yuanshao

Dear Yuanshao,
Thanks a lot for the prompt response!
Just one follow-up question: Could you elaborate on how you derive the values for sid and eid?
I.e., how exactly do you determine the grid cell ids of the start and points? Do you build the grid and enumerate all cells, and then, check whether a certain location is contained within?
Best regards,
Erik

Sorry for the missing question. You can start by counting the overall trajectory's maximum/minimum latitude/longitude as a boundary value and then calculate the grid. It doesn't matter what the grid number is and in what order, just follow the same settings. In this paper, I have used both 1212 and 1616 grid numbers, which should be adjusted according to your data range. Once the boundaries are set, calculating the values of sid and eid is straightforward, just by determining the grid number where the start and end points are located.

Perfect, thank you so much!
One last question: If I would like to run the model without the conditional guidance, i.e., DiffTraj-wo/Con in your paper, I should use the Model instead of Guide_UNet and set the extra_embed to none when calling it. Is this correct? Or is there anything else that needs to be done? In the config, I could change 'attr_dim':  to 0 in this case?

So, what would the code for DiffTraj-wo/Con have to look like?
Like this?
class Uncond_UNet(nn.Module):
    """
    This is the model without conditional information: DiffTraj-wo/Con
    """
    def __init__(self, config):
        super(Uncond_UNet, self).__init__()
        self.config = config
        self.unet = Model(config)

    def forward(self, x, t):
        pred_noise = self.unet(x, t, extra_embed=None)
        return pred_noise

Or did you still include the place embedding as it does not actually make use of the attributes?
I.e., like this:
class Uncond_UNet(nn.Module):
    """
    This is the model without conditional information: DiffTraj-wo/Con
    """
    def __init__(self, config):
        super(Uncond_UNet, self).__init__()
        self.config = config
        self.ch = config.model.ch * 4
        self.attr_dim = config.model.attr_dim
        self.guidance_scale = config.model.guidance_scale
        self.unet = Model(config)

        # Remove guide embedding but keep place embedding
        # self.guide_emb = WideAndDeep(self.ch)
        self.place_emb = WideAndDeep(self.ch)

    def forward(self, x, t, attr=None):
        # Remove guide
        # guide_emb = self.guide_emb(attr)
        # Keep place embedding
        place_vector = torch.zeros((x.shape[0], 8), device=x.device)
        place_emb = self.place_emb(place_vector)

        # cond_noise needs to be removed b/c we don't have guide information
        # cond_noise = self.unet(x, t, guide_emb)
        uncond_noise = self.unet(x, t, place_emb)

        # Not sure how to define pred_noise
        # pred_noise = cond_noise + self.guidance_scale * (cond_noise -
                                                         uncond_noise)
        # Maybe like this?
        pred_noise = uncond_noise

        return pred_noise

Thanks a lot for your help!

I made my second question a separate issue as it has nothing to do with the original issue. I think this one can be closed.


README Enhancement - Canola Diseases Detection #487

Pull Request for DL-Simplified 💡
Issue Title :

Info about the related issue (Aim of the project) : The aim is to enhance the README file and make it eye pleasing, well documented using the given README template.
Name: Lingamuneni Santhosh Siddhardha
GitHub ID: Santhosh-Siddhardha
Email ID<EMAIL_ADDRESS>Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a JWOC 2022 participant it's, JWOC Participant) GSSOC`24 participant.

Closes: #487
Describe the add-ons or changes you've made 📃
Added project name
Added dataset section
Added description section
Added what i have done section
Added Models implemented section
Added Libraries needed section
Added Exploratory Data Analysis Results Section
Added Performance of the Models based on Accuracy Scores Section
Added Conclusion and Signature Sections
Added emojis and aligned images
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested? ⚙
To test changes made to README file, reviewed the content for accuracy, completeness, clarity, and consistency. Ensured proper formatting, visual appeal, and correct grammar. Validated relevance to the project's goals and context.
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

Thank you @abhisheks008


fix: stop reloading old image when rotating on EditProfileFragment

Details:
When the screen is rotated, if a new image is chosen, the URI of that image is saved on onSaveInstanceState and then reload when the view is created after rotating
Fixes #1016 (The part where EditText is not retained in 1016 issue is already resolved in other PR and merged)
Screenshots for the change:

Use view model. No need for saved instance state

@iamareebjamal  I have used the viewModel, please take a look


Integer polar Widgets are not visible

Integer polar Widgets are not visible in the renderer but only in the pin preview, they need at least a group or stack to be visible

This now seems to be fixed, please re-open if you still see that behavior x)