TypeError: parentTracer.getSpanLimits is not a function

ERR TypeError: parentTracer.getSpanLimits is not a function
    at new Span (/Users/danielstarns/code/test/node_modules/@opentelemetry/sdk-trace-base/src/Span.ts:121:37)
    at runInSpan (/Users/danielstarns/code/test/node_modules/@graphql-debugger/opentelemetry/build/run-in-span.js:11:22)
    at resolve (/Users/danielstarns/code/test/node_modules/@graphql-debugger/trace-directive/build/trace-directive.js:55:80)
    at executeField (/Users/danielstarns/code/test/node_modules/@graphql-tools/executor/cjs/execution/execute.js:331:24)
    at executeFields (/Users/danielstarns/code/test/node_modules/@graphql-tools/executor/cjs/execution/execute.js:271:28)
    at collectAndExecuteSubfields<EMAIL_ADDRESS>

Fixed in: https://github.com/rocket-connect/graphql-debugger/commit/6030f9baea0aaa6b71b4f6a3fec8513d4c87254e


Add form_builder replacement / smart input components

A one size fits all form builder is hard. The Rails form_builder isn't flexible enough to work with frameworks like Bootstrap, so then there was simple_form but that's nowhere near simple. But we might be able to at least provide some smart form field components that are easily customisable.
Customisation could be via passing in custom INPUT and LABEL equivalent components, or by inheriting from the field component and changing the render method to suit your UI framework's HTML structure.
This is an example implementation simplified from work app. You simply pass in a model and specify the attribute. The input then can automatically:

Assign useful unique ID to input name and label from (see https://github.com/ruby-hyperloop/hyper-mesh/issues/62 for more)
Display current value of the attribute.
Update internal value state of the input on keypress.
Assign to record's attribute on blur (prevents special types like date from erring).
Update internal value state if the record attribute changes (see Watch below).
Display's errors.
With validation metadata it could also display requirements (see https://github.com/ruby-hyperloop/hyper-mesh/issues/65)

The HTML structure isn't customisable though.
module Form
  class Input < Hyperloop::Component
    param :type, default: :text, type: Symbol
    param :placeholder, default: "", type: String
    param :className, default: "", type: String
    param :id, default: nil, type: String, allow_nil: true
    param :name, default: nil, type: String, allow_nil: true
    param :label, default: nil, type: String, allow_nil: true
    param :label_class, default: "", type: String
    param :onChange, default: -> {}
    param :style, default: {}, type: Hash

    param :record
    param :attribute

    state value: ""

    after_mount do
      record.load(attribute).then do |value|
        mutate.value value
      end
    end

    render(DIV) do
      Watch(attribute: record[attribute]).on(:trigger) do
        mutate.value record[attribute]
      end
      LABEL(
        class: "#{params.label_class} #{'error' if error?}",
        for: attr_name
      ) do
        label_with_error_message
      end
      INPUT(
        type: type,
        class: "#{params.className} #{'error' if error?}"
        id: attr_id,
        name: attr_name,
        placeholder: params.placeholder,
        value: state.value,
        **(type == :checkbox ? { checked: !!state.value } : {})
      ).on(:change) do |e|
        if type == :checkbox
          mutate.value !state.value
        else
          mutate.value e.target.value
        end
      end.on(:blur) do |e|
        begin
          record[attribute] = state.value
        rescue ArgumentError => e
          # happens if you type invalid data for the field format AKA date.
          record.errors.messages[attribute] ||= []
          record.errors.messages[attribute].unshift e.message
          force_update! # Needed
        end
      end
    end

    private

    def record
      params.record
    end

    def attribute
      params.attribute.to_s
    end

    def relation
      attribute.sub(/_id$/, "")
    end

    def attr_id
      params.id ||
        "#{record.class.name}#{record.backing_record.object_id}-#{attribute}"
    end

    def attr_name
      params.name || params_id
    end

    def label_with_error_message
      label = params.label || relation.capitalize.tr("_", " ")
      SPAN do
        SPAN { "#{label}" }
        EM(class: "error") { error_message } if error?
      end
    end

    def error?
      record.errors[relation].try(:any?)
    end

    def error_message
      error? ? record.errors[relation].first.to_s : ""
    end
  end
end

You also need this "Watch" fake component. It lets you trigger a callback when a record attribute changes. In the Input component it is used to update the internal value state if the record attribute changes externally, e.g. by server push. So:

The input receives and assigns the initial value of the record attribute param to internal state.
As you type it's the internal state being updated.
On blur it actually assigns the internal state back to the record attribute (prevents types like Date coercing while you type and/or raising errors).
If the record attribute changes externally it updates the value.

AKA, the input always shows the current "real" value of the record attribute. While you're typing it uses internal state until you're done (blur) then it assigns it back to the attribute.
class Watch < Hyperloop::Component
  param :attribute
  param :on_trigger, default: -> {}, type: Proc
  param :className, default: "", type: String

  state attribute: nil

  before_receive_props do |new|
    next if new[:attribute] == state.attribute
    mutate.attribute new[:attribute]
    params.on_trigger
  end

  render {}
end

This is beautifully done.
I think your need for Watch is very closely related to https://github.com/ruby-hyperloop/hyper-mesh/issues/47
Watch here is solving the problem of letting you manipulate a copy of the content of an AR attribute (or really any other global state variable)  while keeping the copy in sync with master, but only writing back to the master at specific point (i.e. on-blur)

Thanks.
It's a related kind of issue, but I'm not doing this to solve render performance, I didn't have any problem theme. The 2 separate issues I'm solving here:
First is to workaround special attribute types, namely Date. If you link a text input directly to a record attribute of type Date then it is impossible to type anything in it—because the field is strictly typed so the date is invalid until you've finished typing the whole thing, but you can't because every character you type causes an error and the input reverts to being empty. The only way to type a date is thus to copy paste in a full valid date. So that's the reason I use an intermediate state value; to let you finish typing the whole thing before assigning the attribute on blur, and Watch allows external attribute changes to update the input too. It works great.
The second issue is only being able to type at then end. I thought my intermediate state also fixed that, but it seems not. Could've sworn it did though, so maybe a recent lap has changed state handling and broken this, I suspect so. Anyway, your funky workaround fixes that, so I have updated my example to use said technique too, within the Watch callback.

Understand that while they are "related" they are not for the same underlying reason.  Just thinking we might be able to kill two birds with one stone in solving ruby-hyperloop/hyper-mesh#47


dahua.light.DahuaInfraredLight need attention

Is your feature request related to a problem? Please describe.
After HA Core upgrade to 2024.5.3 following appears in log:
Logger: homeassistant.components.light
Source: components/light/__init__.py:1267
integration: Light (documentation, issues)
First occurred: 11:34:49 (1 occurrences)
Last logged: 11:34:49

None (<class 'custom_components.dahua.light.DahuaInfraredLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/rroller/dahua/issues

Logger: homeassistant.components.light
Source: components/light/__init__.py:1320
integration: Light (documentation, issues)
First occurred: 11:34:49 (1 occurrences)
Last logged: 11:34:49

Entity None (<class 'custom_components.dahua.light.DahuaInfraredLight'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature: 1> and color modes, please create a bug report at https://github.com/rroller/dahua/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

I'm also getting this for AmcrestRingLight
[homeassistant.components.light] None (<class 'custom_components.dahua.light.AmcrestRingLight'>) does not set supported color modes, this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/rroller/dahua/issues

I know updates to this were discussed in #328 and an update was pushed for the camera constants, was anything ever done for lights?

Fixed in https://github.com/rroller/dahua/releases/tag/0.9.56
Please reopen if this is still an issue. Thanks!


Built-in issue reporter not working

Does this issue occur when all extensions are disabled?: Yes

Version: 1.75.1 (Universal)
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Date: 2023-02-08T21:34:59.000Z
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.3.0
Sandboxed: Yes
Ironically, when reporting https://github.com/microsoft/vscode/issues/175107, I was trying to issue the built-in "Report issue" functionality but it did not work.
Steps to Reproduce:

Help > Report Issue
Fill out the form
Click "Create on GitHub" button
Nothing happens

I'm not able to repro (created this)
While you have the issue reporter open, can you open the dev tools (cmd+alt+i) and tell me if there's anything interesting in there.

I had checked the dev tools when this happened and hadn't noticed anything interesting.
Seems like this is indeed working now though, not sure what was up. Still, thanks for taking the time to look into it!


changes

fixes #70

Hey Aman there is still a issue in the headline that for is coming 2 times
so I need to fix it can I?
On Sat, Oct 22, 2022, 15:01 Aman Kumar Sarraf @.***>
wrote:

fixes #70 https://github.com/AmanSarraf/Opensource-Buddy/issues/70
—
Reply to this email directly, view it on GitHub
https://github.com/AmanSarraf/Opensource-Buddy/pull/75#issuecomment-1287694015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXHL5TQTAP7VEKLRADXYYNLWEOX5LANCNFSM6AAAAAARLYL464
.
You are receiving this because you were assigned.Message ID:
@.***>


Frame size

Hello everyone,
I'm not sure where to ask the question , so I post it both on google group and here.
I've just build a new non linear estimator on the basis of the module attitude_estimator_efk. But I obtain this at the end :
error: the frame size of 1312 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]
Is there anyway to make a larger frame, or do i have to improve to code to spare memory ? maybe as class rather than an application it cause problems ? I use many matrix calculus and i'm not sure I can improve a lot my code.
Any advice would be nice !
Thanks in advance and best regards,
CP

You can do that in the module.mk, and you can look at other apps (look at estimators) to see how to do that. When you do, evaluate the stack size your app is using and increase it in the task_spawn command.

Thank you a lot ! I just found it btw ^^


🐛 BUG: Pages Function Compilation Error Crashes Servers, Leaves Ports Listening

Which Cloudflare product(s) does this pertain to?
Pages, Wrangler
What version of Wrangler are you using?
3.0.1
What operating system are you using?
Linux -- Fedora 37 & 38
Describe the Bug
Exact replica of #94, which is strange as that issue was patched 1.5 years ago.
When using Wrangler (local development, so Miniflare included) and editing a Page function, the server crashes on compilation errors instead of showing an error message as @GregBrimble configured. The server's listener on port 8788 is left running and has to be manually killed before restarting the server. This behavior is not apparently in Wrangler when developer a Worker.
Reproduction Steps -- and minimal reproducible example:

Use pnpm create cloudflare to create a new Pages application (used Astro, framework shouldn't matter)
Add a functions directory with helloworld.js, which has working onRequest function
Start server with pnpm pages:dev, visit http://<IP_ADDRESS>:8788/helloworld
Change helloworld.js to throw compliation error, such as removing an ending parenthesis

I've been experiencing the same. Adding a few additional details here:

I'm running macOS 13.4 (Ventura) with Node v20.2.0
The process that gets left behind is workerd
When running a dev server (e.g. wrangler pages dev -- npm run dev-next) several Node processes are also left behind which cause issues with the proxy or spin the CPU at 100%.

Mmm thanks for the additional context @baer, forgot to add that it's the workerd process which doesn't close!
As Node v20 isn't LTS quite yet, I'll add that I'm on Node v18.16.0, so it impacts both versions

Actually, I have a bit more detail. The command above almost always leaves node processes around, even if wrangler exists properly.

Update:

On the node side, it looks like Wrangler is orphaning a single process (the npm run dev-next command), but that Next's dev server has three child processes.
Wrangler will orphan these node processes every time, even if it is terminated properly using the x keyboard input

I wrote a script to help manage the issue while this is being fixed.
⚠  To anybody who runs scripts from the Internet without reading/understanding them ⚠
This script kills ALL node and workerd processes, not just the ones that are orphaned. That means that if you're running other processes/servers for other projects at the same time, it'll nuke those too.

#!/bin/bash

# ANSI color codes
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[1;34m'
NC='\033[0m' # No color

# Time in seconds given for processes to gracefully exit
sleep_time=5

# Function to kill process with graceful fallback
kill_process() {
    process_name=$1

    # Find the PID of matching processes
    pids=($(pgrep "$process_name"))

    # Count the number of found processes
    num_processes=${#pids[@]}

    # Exit if there are no processes found
    if [ $num_processes -eq 0 ]; then
        echo -e "${GREEN}🔍 No processes found for $process_name${NC}"
        return
    fi

    # Try to terminate processes gracefully
    echo -e "${GREEN}🔍 Found $num_processes $process_name processes${NC}"
    for pid in "${pids[@]}"; do
        echo -e "\t${YELLOW}✋ Sending SIGTERM to $process_name process with PID: $pid${NC}"
        kill -15 $pid
    done

    # Wait a bit to allow processes to terminate
    echo -e "${GREEN}⏳ Waiting $sleep_time seconds for $process_name processes to terminate...${NC}"
    sleep $sleep_time

    # Forcefully kill if still running
    for pid in "${pids[@]}"; do
        if kill -0 $pid 2>/dev/null; then
            echo -e "\t${RED}💥 $process_name process with PID $pid did not terminate, sending SIGKILL${NC}"
            kill -9 $pid
        fi
    done
}

# =============================================================================
# =============================================================================

echo -e "\n${BLUE}🧟 Starting the Zombie Slayer! 🧟${NC}\n"

kill_process "workerd"
kill_process "node"

echo -e "\n${BLUE}🧹 Zombies have been eliminated! Keeping it clean. Keep it classy. 🧹${NC}"


Update field constraints in governance proposals

In order to update the field constraints in governance proposals we need to agree on what the changes should be:

https://github.com/vegaprotocol/vega/issues/5752

We need to understand:

[ ] limitations on storage etc.. on the chain (@ze97286 / @jeremyletang)
[ ] what the FE requirements look like (@campbellssource)
[ ] What the community / builders club would deem as a good UX experience (@cdm / @daunatv)

@barnabee also raised the idea that we could add a title field, that would help when listing proposals.
We should decide on if we want that and how long it should be.

Agreed on Slack to the following updates:

the spec should be updated to say that the description character limit is 20k
there should be a new field: title (limited to 100)
the URL field should be removed
the has field should be removed

PR for spec change here: https://github.com/vegaprotocol/specs/pull/1186


How do I get more details about an error?

Hi, In a project I am only interested in two errors.

unexpected EOF during the initial TLS connection setup(with rustls backend)
(when using openssl backend) Error code 5? (which is also basically the same thing as 1. i.e. connection reset during initial tls handshake)

Examples of these errors,
With rustls backend,
Custom {
    kind: Other,
    error: Custom {
        kind: UnexpectedEof,
        error: "tls handshake eof",
    },
}

With openssl backend,
Ssl(
    Error {
        code: ErrorCode(
            5,
        ),
        cause: None,
    },
    X509VerifyResult {
        code: 0,
        error: "ok",
    },
)

I understand I have to downcast these traits into structs to be able to read them but I just can't figure out how or what type to down cast it to?
The Custom struct in rustls error is a private struct in std::io so I can't downcast it to that and there is no way to read the error without it.
The Ssl struct/object in openssl error is openssl::ssl::Error.
reqwest doesn't re-export openssl so I installed openssl = 0.10.41 but down casting it to this type just yields None.
Then, Some one pointed out that reqwest uses native-tls = 0.2.8 which uses, openssl = 0.10.29 so I tried this version but it doesn't build anymore.

I am not sure if this is correct place to put this issue? I have tried my best to figure this out, also asked about it in some places and still no where close to solving this problem. It's just really frustrating and overly difficult to read the actual error.
Example code,
use std::error::Error;
use reqwest::Client;

#[tokio::main]
async fn main() -> Result<(), std::io::Error> {
    let client = Client::new();

    match client.get("https://google.com").send().await {
        Ok(v) => {
            println!("{:?}", v.status());

            println!("{:?}", v.text().await);
        }
        Err(e) => {
            if !e.is_connect() {
                return Ok(())
            }

            let herror = e.source().unwrap().downcast_ref::<hyper::Error>().unwrap();

            println!("{:?}", e.to_string());
            let serror = herror.source().unwrap();
            println!("{:#?} ", serror,);
        }
    }

    Ok(())
}

Playground Link

For the Custom errors, you can probably try downcasting to std::io::Error, since Custom is an internal variant of it.
Backing up, though, what do you hope to do after having downcast to the correct error type? Is there extra information in them that isn't printed with {:?}? Do you hope to retry the request when it's exactly those kinds of errors? That strategy can be fairly fragile...

I'm in a similar bind: I'd like to be able to tell if a request failed because the server reset the connection so that I can retry appropriately. I set up a test where I have a server accepting TCP connections and then immediately dropping them. The error I see in the client is like this:
reqwest::Error {
  kind: Request,
  url: Url { /*snip*/ },
  source: hyper::Error(Io, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }) }

Without downcasting the source, all I can do is call the various reqwest::Error:is_* methods. The only one that returns true on this error is reqwest::Error::is_request, and I'm not sure I would want to use that as an indication of the server closing a connection.

You could walk down the source chain with something like this:
fn find_source<E: std::error::Error + 'static>(orig: &dyn std::error::Error) -> Option<&E> {
    let mut cause = orig.source();
    while let Some(err) = cause {
        if let Some(ref typed) = err.downcast_ref() {
            return Some(typed);
        }
        cause = err.source();
    }

    // else
    None
}

Then you can use it like so:
let io = find_source::<std::io::Error>(&err);

You could walk down the source chain with something like this:
fn find_source<E: std::error::Error + 'static>(orig: &dyn std::error::Error) -> Option<&E> {
    let mut cause = orig.source();
    while let Some(err) = cause {
        if let Some(ref typed) = err.downcast_ref() {
            return Some(typed);
        }
        cause = err.source();
    }

    // else
    None
}

Then you can use it like so:
let io = find_source::<std::io::Error>(&err);

That works nicely, thank you for the code! I think what I really want is something like either #799 or #316, but I don't want to dilute the focus of this issue, so please feel free to delete my comments if you feel they're noisy.

I think this issue is wrapped up.

Hey @seanmonstar
I was trying to check some sites and see where I get connection reset errors at the TLS handshake. I started off with reqwest but just ended up using rustls. The suggestion solution is quite nice and will work well enough for me. Thank you!


Why both Nexus and Docker-Registry?

Is there a reason that both Nexus and Docker-Registry are deployed?
Nexus supports docker artifacts.

Primarily because nexus comes with auth and we need to setup image pull secrets on pod definitions and when pushing to the registry.  We did a poc that proves we can use it but there's a fair bit more work needed so easiest option is to use the current Docker-Registry.

That's not to say we don't want to use the nexus docker registry as we also want auth, it's just a matter of switching over.


Failed to compile

Bug, feature request, or proposal:
The master branch was Failed to compile,when I use command gulp serve:devapp
What is the expected behavior?
What is the current behavior?
here are the Error Code Stack:
Error: Error: /Users/ydy/Code/WorkSpace/WebstormProjects/material2/src/lib/input/input.ts:48:1: Error encountered in metadata generated for exported symbol 'MatInput':
 /Users/ydy/Code/WorkSpace/WebstormProjects/material2/src/lib/input/input.ts:165:48: Metadata collected contains an error that will be reported at runtime: Expression form not supported.
  {"__symbolic":"error","message":"Expression form not supported","line":164,"character":47}
    at /Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/metadata/collector.js:663:27
    at Array.forEach (<anonymous>)
    at validateMetadata (/Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/metadata/collector.js:651:42)
    at MetadataCollector.getMetadata (/Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/metadata/collector.js:508:17)
    at LowerMetadataCache.getMetadataAndRequests (/Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/transformers/lower_expressions.js:263:39)
    at LowerMetadataCache.ensureMetadataAndRequests (/Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/transformers/lower_expressions.js:209:27)
    at LowerMetadataCache.getRequests (/Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/transformers/lower_expressions.js:204:21)
    at /Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/@angular/compiler-cli/src/transformers/lower_expressions.js:146:36
    at /Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/typescript/lib/typescript.js:2492:86
    at reduceLeft (/Users/ydy/Code/WorkSpace/WebstormProjects/material2/node_modules/typescript/lib/typescript.js:2188:30)

Failed to compile  using /Users/ydy/Code/WorkSpace/WebstormProjects/material2/src/lib/tsconfig-tests.json

adapter/moment-date-adapter.ts(10,44): error TS2307: Cannot find module '@angular/material'.
adapter/moment-date-adapter.ts(118,37): error TS2339: Property 'locale' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.ts(132,58): error TS2339: Property 'locale' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.ts(143,33): error TS2339: Property 'locale' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.ts(148,46): error TS2339: Property 'locale' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.ts(150,46): error TS2339: Property 'locale' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.ts(191,57): error TS2339: Property 'locale' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-formats.ts(9,30): error TS2307: Cannot find module '@angular/material'.
adapter/index.ts(15,8): error TS2307: Cannot find module '@angular/material'.
adapter/moment-date-adapter.spec.ts(11,64): error TS2307: Cannot find module '@angular/material/core'.
adapter/moment-date-adapter.spec.ts(168,20): error TS2339: Property 'sameDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(267,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(268,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(269,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(270,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(271,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(272,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(273,20): error TS2339: Property 'compareDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(277,20): error TS2339: Property 'clampDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(283,20): error TS2339: Property 'clampDate' does not exist on type 'MomentDateAdapter'.
adapter/moment-date-adapter.spec.ts(289,20): error TS2339: Property 'clampDate' does not exist on type 'MomentDateAdapter'.

What are the steps to reproduce?
Here are some commands I've used as follows:

git clone
npm install -g glup
cd material2
npm install
gulp serve:devapp

and then compiling failed
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Mac OS
Is there anything else we should know?
I was just beginning to learn about the Angular,maybe this is a easy question, I'll appreciate for any help

Closing as a duplicate of https://github.com/angular/material2/issues/8380.


Project Status

Is this now a dead project?

No ;)

I'll probably release them with the next update, but for now try out https://github.com/EmulatorJS/EmulatorJS


[SPARK-18049][MLLIB][TEST] Add missing tests for truePositiveRate and weightedTruePositiveRate

What changes were proposed in this pull request?
Add missing tests for truePositiveRate and weightedTruePositiveRate in MulticlassMetricsSuite
How was this patch tested?
added testing

Test build #67338 has started for PR 15585 at commit c11ba29.

Test build #67338 has finished for PR 15585 at commit c11ba29.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67338/
Test PASSed.

Test build #67369 has started for PR 15585 at commit 5b1bc5f.

Test build #67372 has started for PR 15585 at commit 9abd9ae.

Test build #67369 has finished for PR 15585 at commit 5b1bc5f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67369/
Test PASSed.

Test build #67372 has finished for PR 15585 at commit 9abd9ae.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/67372/
Test PASSed.

Merged to master


VueSelect coudn't show multiple column value as label

This is  a feature request.

First Step
Second Step
and so on...
-->

I need server side select component label contain multiple column value. such as code with name
Expected behavior

show multiple column value
Actual behavior

:label attribute get only 1 column name

You can already achieve this.
When you use the vue select in server side mode, what you get in the FE as optionList is an array of objects from the query result on the main model.
For instance, in you look at how we handle the owner roles with serverside, this controller is returning an array of objects of the following form:

This means that you can easily compute your label by adding an accessor to the model, let's say getLabelAttribute, and then set protected $appends = ['label'], and after, in the FE just set the label prop of the VueSelect label="label".

thank you it works


Semantic Versioning of pre-release tags

Proposal:
Switch to dot separator for pre-release version numbers. (e.g. alpha.11.2 instead of alpha.11-2)
What is the expected behavior?
Expected behavior would be that "@angular/material": "^2.0.0-alpha.11-2" does not install alpha.9-3, but alpha.11-2 (at the time of this writing).
According to http://semver.org/ §11:
"Precedence for two pre-release versions with the same major, minor, and patch version MUST be determined by comparing each dot separated identifier from left to right until a difference is found as follows: identifiers consisting of only digits are compared numerically and identifiers with letters or hyphens are compared lexically in ASCII sort order. Numeric identifiers always have lower precedence than non-numeric identifiers. A larger set of pre-release fields has a higher precedence than a smaller set, if all of the preceding identifiers are equal."
What is the current behavior?
Updating from one alpha to another fails, because the pre-release tag uses a scheme like
alpha.9-1 alpha.9-2 etc.
alpha.11 alpha.11-1 alpha.11-2
in packageJson, "@angular/material" : "^2.0.0-alpha.9-3" is stuck at alpha.9-3 because "alpha.11-1" is compared alpha-numerically, and is therefore smaller than "alpha.9-3".
What are the steps to reproduce?
create new project with a package json, add a dependency to "@angular/material" : "^2.0.0-alpha.11-2", call npm install. It will install alpha.9-3 instead.
What is the use-case or motivation for changing an existing behavior?
Easier upgradabiltiy.
Which versions of Angular, Material, OS, browsers are affected?
anything after angular material 9-3.
Is there anything else we should know?
I know this will be hard to change while in alpha, as alpha.9-3 is out there and numeric identifiers always have lower precedence than non-numeric identifiers, but it can be changed when switching to beta.
So i think, beta versioning should be, e.g.,
2.0.0-beta.1.1 < 2.0.0-beta.1.2 < 2.0.0-beta.2.1 < ... < 2.0.0-beta.9 < 2.0.0-beta.11 < 2.0.0-beta.11.2
notice: dots instead of hyphens to make sure they are compared numeric.

Moving forward we won't be releasing any more dashed versions (it will always be beta.3, beta.4, etc.).


Accessing Data with MongoDB article needs improvements

The startup guide at Accessing Data with MongoDB requires some improvements. For example, there is no place for this paragraph in the write-up:

Normally you would add @EnableWebMvc for a Spring MVC app, but Spring Boot adds it automatically when it sees spring-webmvc on the classpath. This flags the application as a web application and activates key behaviors such as setting up a DispatcherServlet.

This is because that write-up is not about serving HTTP requests. It has nothing to do with serving content to the user. And there is no Spring boot starter web dependency on the classpath of the article.
Instead, it should be replaced with something like this:

Spring boot application will automatically enable @EnableMongoRepositories if it finds spring-boot-starter-data-mongodb on the classpath.

Something like that.

Fixed here: https://github.com/spring-guides/getting-started-macros/commit/5034bdddd8fb73b87ca7dea0d77dd2d921762ab6. Actually there is no content specifically on @EnableMongoRepositories, but please raise issues directly in the Mongo guide repo if you think there should be.

How can I do that? Where is Mongo guide repo?

https://github.com/spring-guides/gs-accessing-data-mongodb

Thank you @dsyer
Issue raised.


Gnome Keybinds

Currently gnome keybinds using dconf isn't working. This is low priority because I'm going to move to hyprland anyway, and keybinds there are really easy.

Should be fixed now


Moving WorkspaceType and UserType to types/

I wil re-test the runtime before merging it because I can't remember how much I tested it yesterday.


Adding a new model using the API

In https://github.com/UKP-SQuARE/square-core/tree/master/square-model-inference-api#adding-new-models-using-api
the links to upload new models use localhost. How to do it in the public app? The port seems to be different

Thanks!

Hey, for the public access, you just replace the ### https:.//localhost:8443 with ### https://square.ukp-lab.de


Save plot to disk

For my project I'm using Feliz and Plotly to generate nice plots for display in the GUI.

Now we want to save the plots to a location on the disk. We can use the 'save to png' button, but that is just 1 plot. We want to generate and save the plots to disk on one click, or even without user interaction. How can we achieve this?
I noticed a 'callback event' onBeforeExport in the code. Is this the event that is used to handle the 'save to png' button?

Hi @Gilotto,
I just added support to programmatically download images, you can see an example here.
Unfortunately, plotly.js doesn't have a headless mode, so bulk downloading is only possible if the graphs are mounted in the DOM.
If your data is static, you could automate creating the images using something like puppeteer.

Hey @Shmew,
thanks for your quick reply!
Looks good tot me. I'll test it next week, after the holidays here.

Hey @Shmew,
Thanks for the inclusion of the download function!
It it possible to include the path to download the file to in the downloadImage function as a parameter? e.g. path = C:/Users/#Name/Documents
Or alternatively, can the downloadImage function return a link to the plot image?

I can only expose what plotly.js has, so what you see is what you get with the downloadImage function unfortunately. If this is helpful I can certainly add it as well.

I didn't know about the  toImage function. Looks like the thing I can use. Can you please expose this function too? Thanks!

I just published 1.1.0 which adds the Plotly.toImage function. That same example above was update to show how it can be used.

Thanks for the update and the example. I got the toImage function working now!


Improve how component value clamping is represented in the "latest at" dataframe

After #6894, components which have a lower-than-max instance count have their last value "duplicated" with a dimmer style, to represent the clamplng:

It is not entirely clear that this is a good design:

For starters, we're displaying data where there is none, which may contrary to the basic idea of the data table.
The actual clamping behaviour is very much visualiser dependant. It's often done against some primary/required component (e.g. Positions3D), and not "whichever component happens to have the most instances". In some case (e.g. mesh), clamping makes no sense whatsoever. There exists other cases with different behaviour. So any clamping behaviour shown in the dataframe view has high chances of not being actually representative of what happens elsewhere.

For example, see here Position3D being clamped against TriangleIndices, which makes no sense:

Possible avenues

Have some archetype-level metadata to specify the actual clamping behaviour, and the possibility to somehow choose an archetype "point of view" for the dataframe (which, as data filtering UI goes, would be pretty interesting beyond the mere question of clamping display).
Have some heuristics to, e.g., only clamp component with length = 1 (aka "splat), as opposed to clamping component with different, >1 lengths as for meshes.

Design
Design proposal by @gavrelina to improve how clamped value are represented:
https://github.com/user-attachments/assets/4b63aaaa-bd99-4de0-84c7-86344e68b223

Superseded by  #7066


pinpoint use hbase cluster can not work

pinpoint user hbase cluster can not work. the hbase.client.host =ip1,ip2,ip3

Hi xlingit
I have tried connecting the hbase cluster to my test environment and confirmed that this format(ip1,ip2,ip3) is no problem at all.
The pinpoint hbase.client.host configuration is passed value to hbase.zookeeper.quorum without any changes.
If you continue to have problems, we recommend that you use HBaseClient directly to connect and debug your hbase cluster.
Additionally, please ask questions according to the format of the guidelines.
Thanks

my hbase  cluster installed  with hdp ,get the error is follow:
org.springframework.data.hadoop.hbase.HbaseSystemException: Failed 1 action: Unable to find region for #xuser20170316\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01Z\xEFK\x98\xE1\x00\x00\x00\x00\x00\x00\x00\x0D in Traces after 35 tries.: 1 time, ; nested exception is org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: Failed 1 action: Unable to find region for #xuser20170316\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01Z\xEFK\x98\xE1\x00\x00\x00\x00\x00\x00\x00\x0D in Traces after 35 tries.: 1 time,
at org.springframework.data.hadoop.hbase.HbaseUtils.convertHbaseException(HbaseUtils.java:42)
at org.springframework.data.hadoop.hbase.HbaseTemplate.convertHbaseAccessException(HbaseTemplate.java:107)
at org.springframework.data.hadoop.hbase.HbaseTemplate.execute(HbaseTemplate.java:68)
at com.navercorp.pinpoint.common.hbase.HbaseTemplate2.put(HbaseTemplate2.java:296)
at com.navercorp.pinpoint.collector.dao.hbase.HbaseTraceDao.insert(HbaseTraceDao.java:99)
at com.navercorp.pinpoint.collector.handler.SpanHandler.handleSimple(SpanHandler.java:75)
at com.navercorp.pinpoint.collector.receiver.AbstractDispatchHandler.dispatchSendMessage(AbstractDispatchHandler.java:56)
at com.navercorp.pinpoint.collector.receiver.DispatchHandlerWrapper.dispatchSendMessage(DispatchHandlerWrapper.java:49)
at com.navercorp.pinpoint.collector.receiver.udp.BaseUDPHandlerFactory$DispatchPacket.receive(BaseUDPHandlerFactory.java:121)
at com.navercorp.pinpoint.collector.receiver.udp.BaseUDPHandlerFactory$DispatchPacket.receive(BaseUDPHandlerFactory.java:100)
at com.navercorp.pinpoint.collector.receiver.udp.PooledPacketWrap.run(PooledPacketWrap.java:45)
at com.navercorp.pinpoint.collector.receiver.udp.TimingWrap.run(TimingWrap.java:43)
at com.navercorp.pinpoint.collector.receiver.udp.UDPReceiver$1.run(UDPReceiver.java:183)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

I don't have minimal information such as which pinpoint version you are using, which hbase version you are using, how the table was created, how the zookeeper cluster was configured, and so on.
We have been testing for a long time and have confirmed that it works well with the version we currently recommend.
If you want help without giving me enough information, there is nothing I can do for you.
If you need help, let me know how to reproduce this issue. So I will help you as much as possible.

pinpoint1.5.2  hbase1.1.2(HDP)   hbase is a cluster(zookeeper)
in the hbase master server ,hbase shell create the table

hbsae ui look as:

The name of the table is used to find the RegionServer
It is recommended that you re-create the TABLE again if can access to the tables except Traces TABLE .
(If you can not connect to all the TABLE, you need to check the relationship between HBase and Zookeeper.)
If you are still having problems, I recommend using the Pinpoint Hbase version we recommend.
(If possible, use the latest Stable version of Pinpoint, 1.6.0.)
Your current Pinpoint, Hbase version combination is an environment we have not tested.
Please refer to the HBase compatibility table on the README page.

the tables is reloaded to  HBase cluster on the master node with shell.
The related configuration like as:
1)hbase.properties (in the war collector/web,  collector/web/agent/zookeeper on one machine <IP_ADDRESS>; HBase cluster on the other machines)
`hbase.client.host=<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>
hbase.client.port=2181
hbase timeout option================
hbase default:true
hbase.ipc.client.tcpnodelay=true
hbase default:60000
hbase.rpc.timeout=10000
hbase default:Integer.MAX_VALUE
hbase.client.operation.timeout=10000
hbase socket read timeout. default: 200000
hbase.ipc.client.socket.timeout.read=20000
socket write timeout. hbase default: 600000
hbase.ipc.client.socket.timeout.write=60000
==================
hbase client thread pool option
hbase.client.thread.max=128
hbase.client.threadPool.queueSize=5120
prestartAllCoreThreads
hbase.client.threadPool.prestart=false`
2)pinpoint-collector.properties (in the war collector)
`# tcp listen ip and port
collector.tcpListenIp=<IP_ADDRESS>
collector.tcpListenPort=9994
number of tcp worker threads
collector.tcpWorkerThread=8
capacity of tcp worker queue
collector.tcpWorkerQueueSize=1024
udp listen ip and port
collector.udpStatListenIp=<IP_ADDRESS>
collector.udpStatListenPort=9995
collector.l4.ip=
number of udp statworker threads
collector.udpStatWorkerThread=16
capacity of udp statworker queue
collector.udpStatWorkerQueueSize=512
collector.udpStatSocketReceiveBufferSize=4194304
span listen port ---------------------------------------------------------------------
collector.udpSpanListenIp=<IP_ADDRESS>
collector.udpSpanListenPort=9996
number of udp spanworker threads
collector.udpSpanWorkerThread=32
capacity of udp spanworker queue
collector.udpSpanWorkerQueueSize=1024
collector.udpSpanSocketReceiveBufferSize=4194304
number of agent event worker threads
collector.agentEventWorker.threadSize=8
capacity of agent event worker queue
collector.agentEventWorker.queueSize=1024
statistics.flushPeriod=1000
enable cluster in socket manager.
cluster.enable=false
cluster.zookeeper.address=localhost
cluster.zookeeper.sessiontimeout=30000
cluster.listen.ip=
cluster.listen.port=
#collector.admin.password=
#collector.admin.api.rest.active=
#collector.admin.api.jmx.active=
collector.spanEvent.sequence.limit=10000`
3)pinpoint-web.properties(in the war web)
`#local
cluster.enable=false
cluster.web.tcp.port=9997
cluster.zookeeper.address=localhost
cluster.zookeeper.sessiontimeout=30000
cluster.zookeeper.retry.interval=60000
cluster.connect.address=
FIXME - should be removed for proper authentication
admin.password=admin
#log site link (guide url : https://github.com/naver/pinpoint/blob/master/doc/per-request_feature_guide.md)
#log.enable=false
#log.page.url=
#log.button.name=
Configuration
config.sendUsage=true
config.editUserInfo=true
web.hbase.selectSpans.limit=500
web.hbase.selectAllSpans.limit=500
web.activethread.activeAgent.duration.days=7`

pinpoint.config(agent)
`# Collector server  #
###############################
profiler.collector.ip=<IP_ADDRESS>

placeHolder support "${key}"
profiler.collector.span.ip=${profiler.collector.ip}
profiler.collector.span.port=9996
placeHolder support "${key}"
profiler.collector.stat.ip=${profiler.collector.ip}
profiler.collector.stat.port=9995
placeHolder support "${key}"
profiler.collector.tcp.ip=${profiler.collector.ip}
profiler.collector.tcp.port=9994
......`
5)catalina.sh
Control Script for the CATALINA Server
CATALINA_OPTS="$CATALINA_OPTS -javaagent:/pp/pp-agent/pinpoint-bootstrap-1.5.2.jar"
CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.agentId=ppid"
CATALINA_OPTS="$CATALINA_OPTS -Dpinpoint.applicationName=ppname"

please set you're zookeeper address to hbase.client.host.
and, we do not provide technical support.
all of issue except pinpoint bug is yours.

my zookeeper address to hbase.client.host= hostname1,hostname2,hostname3;
my hbase cluster bulid with apache Ambari(HDP).
1)the hbase cluster bulid with apache Ambari(HDP) ,the pinpoint work can not work ;
2)Yesterday,i try to bulid a new hbase cluster not with  apache Ambari ,the pinpoint work.
3)are you try the  hbase cluster bulid with apache Ambari(HDP)?
thanks!

I didn't have experience that building HBASE cluster using apache ambari.
We configured the cluster according to the recommendation of the CDH and confirmed that it worked well,
thanks.


Kivy 1.9.1 issue with bind to on_keyboard of Window object for keyboard shortcuts

I switch from kivy 1.9.0 to 1.9.1 and my keyboard shortcut routine no longer behaves the same. I have a class CompUI which a kivy.uix.screenmanager.Screen.
I use the following code in the init for the CompUI to bind to the keyboard:
Window.bind(on_keyboard=self.KeyboardShortcut)
I have a KeyboardShortcut method as follows:
def KeyboardShortcut(self, window, key, *args):
try:
# d key moves focus to tiwireDiam
if key == 100:
self.ids.tiwireDiam.focus = True
return True
except:
return False
When using kivy 1.9.0 all of the keyboard shortcuts located in the KeyboardShortcut method moved the focus to different TextInput objects but did not actually put the keyboard shortcut character into the TextInput that was in focus. My understanding was that the "return True" in the KeyboardShortcut method caused the character to not be used by the system so it would not be placed as text in the TextInput.
In 1.9.1, this behavior has gone away and the shortcut character is being entered into the TextInput that gains focus.
Do I need to change the code for 1.9.1 to handle this differently? Also, I want to avoid using a filter on the TextInputs to look for these shortcuts. I want to handle this at the keyboard listener stage.
I’ve been on sdl2 as the backend from the beginning of development.
I am using
Windows 7 sp1, 64-bit
Python 3.4.3 (64-bit)
Kivy 1.9.1 (installed following the direction on https://kivy.org/docs/installation/installation-windows.html)

I'm not clearly understand your need, I think you want to press your custom KeyboardShortcut in the focus TextInput, but, it's necessary to do it, any TextInput can not allow you to press KeyboardShortcut instead of the character.

I want to be able to bind to the keyboard and write a method that looks for certain keys which I want to use to move focus from one textinput to another so the user can navigate by these keyboard shortcuts. If the key pressed is a shortcut key, I do not want the textinput that gains focus to use the character as typed input.
Thanks,
Kyle
From: haofly<EMAIL_ADDRESS>Sent: Thursday, January 28, 2016 8:51 AM
To: kivy/kivy<EMAIL_ADDRESS>Cc: Kyle Hardin<EMAIL_ADDRESS>Subject: Re: [kivy] Kivy 1.9.1 issue with bind to on_keyboard of Window object for keyboard shortcuts (#3943)
I'm not clearly understand your need, I think you want to press your custom KeyboardShortcut in the focus TextInput, but, it's necessary to do it, any TextInput can not �allow you to press KeyboardShortcut instead of the character.
—
Reply to this email directly or view it on GitHubhttps://github.com/kivy/kivy/issues/3943#issuecomment-176193210.

I think you can set the TextInput's focus from True to False when you press your shortcut key. And after you finish your searching, the TextInput get focus again.

The issue is that it puts the character in the text of the textinput that I am moving focus to (not the one I am taking focus from)
Thanks,
Kyle Hardin
W.B. Jones Spring Co., Inc.
140 South Street
Wilder, KY 41071
P:<PHONE_NUMBER>
F:<PHONE_NUMBER>
E: kyleh<EMAIL_ADDRESS>These prices are for immediate acceptance and may be affected by conditions beyond our control. All goods are FOB our plant in Wilder, Kentucky with payment terms of net 30 days. We do not assume any responsibility for plating since this is not done in our plant. Block tolerances on prints do not apply as all tolerances are to Spring Manufacturers Institute specifications. The quantities for custom made springs can vary +/- 10%. We have a $10 handling fee for direct shipments and for carriers other than UPS or LTL truck line.
From: haofly<EMAIL_ADDRESS>Sent: Thursday, January 28, 2016 9:17 AM
To: kivy/kivy<EMAIL_ADDRESS>Cc: Kyle Hardin<EMAIL_ADDRESS>Subject: Re: [kivy] Kivy 1.9.1 issue with bind to on_keyboard of Window object for keyboard shortcuts (#3943)
I think you can set the TextInput's focus from True to False when you press your shortcut key. And after you finish your searching, the TextInput get focus again.
—
Reply to this email directly or view it on GitHubhttps://github.com/kivy/kivy/issues/3943#issuecomment-176203340.

Could you put your code snippet to the Gist?

Here is a Gist that isolates the issue
https://gist.github.com/hardinkm/aaff021a5a78b6c76581
There are some defined characters (s, y, q, w) that should cause the application to print a message and return True on the keyboard binding function, which used to cause this character to not be inserted into the TextInput object that has focus.
Thanks,
Kyle
From: haofly<EMAIL_ADDRESS>Sent: Thursday, January 28, 2016 9:30 PM
To: kivy/kivy<EMAIL_ADDRESS>Cc: Kyle Hardin<EMAIL_ADDRESS>Subject: Re: [kivy] Kivy 1.9.1 issue with bind to on_keyboard of Window object for keyboard shortcuts (#3943)
Could you put your code snippet to the Gist?
—
Reply to this email directly or view it on GitHubhttps://github.com/kivy/kivy/issues/3943#issuecomment-176530960.


Paginate shows duplicate numbers

Laravel Version: 5.8.19
PHP Version:7.1.23
Database Driver & Version:

Description:Paginate show duplicate numbers
Steps To Reproduce:View paginate with more than 10 numbers.

Please post your paginated query.

{!! $products->setPath(url("store/$category->slug"))->onEachSide(1)->links() !!}

onEachSide() only works properly with numbers > 2.

is there a way to get 1 on each side?

Not that I know of.

onEachSide() only works properly with numbers > 2.

Should we throw an error or something if 1 is given?

#25580
#27352

Same issue here. It is better we have a proper solution from next version update.

It's not feasible to allow numbers lower than two. This has been brought up quite a bit in the past. Please refer to the issues above.

Offered here is a hack that will fix the problem of:

php artisan vendor:publish --tag=laravel-pagination
Insert at the beginning of the document  resources/views/vendor/pagination/bootstrap-4.blade.php
this code
<?php if(isset($paginator->onEachSide) && $paginator->onEachSide === 1 && $paginator->currentPage() === 3) {  unset($elements[1]);  unset($elements[2][2]); } ?>

If there are not enough digits, specify onEachSide(2) or onEachSide(3)and change the output values as you like. For small and middle projects this can be used.

I've handled all the exceptions, I'll use that in production.
Link on Gist


An error occurred executing Command: obfuscate. Please try again later. #1

The bot not working for me it keeps giving me this error it's just a simple print("HELLO") script

Could you show the error?

It's not in VS code it's the bot sending it
Execution Error
An error occurred executing Command: obfuscate. Please try again later.
Today at 2:45 PM

Hmm I'll look into the issue when I get time.


ci: update python versions

Remove Python 3.6, 3.7  and add 3.10,3.11 to versions to use for static analysis.

Signed-off-by: lab<EMAIL_ADDRESS>

Thanks @anandaravuri!
What is the reasoning behind supporting these particular versions? Is it simply to support the latest 4 major versions at any point?
According to the Status of Python Versions, 3.7, 3.8, and 3.9 are currently receiving security updates, while 3.10 and 3.11 are also receiving bug fixes.

@pcolberg
Fedora37/38 python default version  are 3.10 and 3.11 , make sure OPAE SW  builds on latest fedora python versions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 66.05%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
13064

Relevant Lines:
19779

💛  - Coveralls


⚠ Bofrost.be has degraded performance

In 7a93c0c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1388 ms

Resolved: Bofrost.be performance has improved in 649d53d after 43 minutes.


Configure azurerm_security_center_storage_defender resource

Description of your changes
This PR includes configuring the azurerm_security_center_storage_defender resource and adds the example manifest.
Tested it locally and works.
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested
I built the provider locally and tested it with a local KIND cluster.

Hey @patst,
Thanks a lot for this PR; we appreciate your contributions 🙌
Could you also add the example manifest of the resource under the examples folder?
=> examples/storage/v1beta1/securitycenterstoragedefender.yaml

Hey @patst,
Thanks a lot for this PR; we appreciate your contributions 🙌
Could you also add the example manifest of the resource under the examples folder?
=> examples/storage/v1beta1/securitycenterstoragedefender.yaml

@turkenf  thanks for the fast feedback.
I added the example.
I see the error related to the git diff after running the linters. I am not sure why it is there.
If I run make reviewable locally it removes the redundant aliasses which seem to lead to the diff in the pipeline.
Do you have an idea why?

/test-examples="examples/storage/v1beta1/securitycenterstoragedefender.yaml"

Please also sign the commit: https://github.com/crossplane-contrib/provider-upjet-azure/pull/782/checks?check_run_id=27361327990

Hey @patst, I left a few comments for you to consider. Also please pay attention to my comment below.
Since the azurerm_security_center_storage_defender resource is a resource from the security group, it would be better to create it in the security group instead of the storage group. I think StorageDefender is more meaningful and sufficient, considering the kind of resource. To do the above, you can add a configuration to the config/security/config.go file as follows:
	p.AddResourceConfigurator("azurerm_security_center_storage_defender", func(r *config.Resource) {
		r.Kind = "StorageDefender"
		r.ShortGroup = "security"
	})

Please do not forget to move the example under the security group after making these changes.

@turkenf thanks for the review!
I moved the resource to the security group and renamed it. I had to start from a fresh branch and force push, because the resource was not removed from the storage code after running make generate
Hope everything looks fine now, otherwise feel free to comment

/test-examples="examples/security/v1beta1/storagedefender.yaml"

/test-examples="examples/security/v1beta1/storagedefender.yaml"


Can't use library for arm architecture

Hello!
I'm using a library that is using this library, and when I run the code I get this error:
[warning] The on_load function for module Elixir.ExKeccak returned:
{:error,
 {:load_failed,
  'Failed to load NIF library: \'dlopen(/Users/julesguesnon/Dev/Tinybones/tinybones-game-server/_build/dev/lib/ex_keccak/priv/native/libexkeccak.so, 0x0002): tried: \'/Users/julesguesnon/Dev/Tinybones/tinybones-game-server/_build/dev/lib/ex_keccak/priv/native/libexkeccak.so\' (mach-o file, but is an incompatible architecture (have \'x86_64\', need \'arm64e\')), \'/usr/local/lib/libexkeccak.so\' (no such file), \'/usr/lib/libexkeccak.so\' (no such file), \'/Users/julesguesnon/Dev/Tinybones/tinybones-game-server/deps/ex_keccak/priv/native/libexkeccak.so\' (mach-o file, but is an incompatible architecture (have \'x86_64\', need \'arm64e\')), \'/usr/local/lib/libexkeccak.so\' (no such file), \'/usr/lib/libexkeccak.so\' (no such file)\''}}

And IMO the most important part is this one: (mach-o file, but is an incompatible architecture (have \'x86_64\', need \'arm64e\')). It's probably happening because I'm running the code on the Mac M1.
Would it be possible to ship an arm compatible version as well?

Actually I tried creating a new rustler nif from scratch and I got the same error, so I'll open an issue on the rustler repo and make a PR if something needs to be updated later

Hey @JulesGuesnon, my guess is that we probably need another entry similar to this one here for arm ?
https://github.com/tzumby/ex_keccak/blob/master/native/exkeccak/.cargo/config

aarch64 is arm, it's just another name for it (The naming scheme is confusion, ARM64, ARM64e, AARCH64, Apple Silicon..)
You could also add the following for all Macs:
[target.'cfg(target_os = "macos")']

that's right, i keep forgetting the m1 is arm. in that case this is odd, i can definitely compile this on my m1.

As mentioned in this issue, my toolchain was an x86_64 one, so I changed it to aarch64 and now it's good, thanks for your help!


HrefAsync is confusing

https://github.com/hlaueriksson/playwright-dotnet-contrib/blob/f5ed96003f4612c85ec61d854152a975569fc109/src/Playwright.Contrib.Extensions/ElementHandleAttributeExtensions.cs#L35-L36
there is a different when calling a.href and a.getAttribute('href').
a.href returns the full URL including the domain
a.getAttribute('href') returns the value of the attribute which can be relative too

@Meir017 Thanks for spotting this!
Using a.href and getting the absolute URL sounds like a better implementation.

@Meir017 what do you think about PR #3?

LGTM


Websocket Auto-Reconnect After Code Changes

Absolutely loving JustPy!!! About to go live with my first justpy application using apache and gunicorn and I'm curious if you know of a way where I can update my application without my clients losing the websocket connection?

Thank you again!
Unfortunately, I don't think there is a way to keep websockets alive between restarts of the server.
I will look into this further.

Would it be possible to fire a QDialog prompting the user the refresh if the websocket is broken because of a code change?

Thank you for this suggestion. This would be a great idea to implement.
I'll try getting it into the next version.
As a first stab at this, would it be ok just to display a message asking the user to reload the page?

Absolutely!

This worked perfectly with the 0.1.1 version, thank you! The only thing that would set it over the top is having the ability to customize the reload alert to match the theme of the website, but not sure if this is even possible.

It is possible, and will be in one of the next versions.
Thanks again for the great suggestion.


Question About Dialogs.Debugging.SourceMap: SourceMap is taking too much memory when chatbot loading

I'm using Composer Runtime in one of the bots I working on, the bot have multiple service and we have multiple dialogs (50 dialogs) to handle these services. when bot it loading it consuming too much memory, after investigation I found that SourceMap is consuming most of the memory and below simple explanation to what I did:
I tried to load the Bot without doing any change on SourceMap and here is the memory usage screenshot (3 GB):

then I tried to Load the Bot without using SourceMap by commenting the Add method as shown below (using latest Packages 4.12.2):

and the memory after loading the bot (660 MB)

Can you please advise,

Can you please explain the purpose of SourceMap ?
Can I keep this line commented and how could this affect my Bot ? are there any better way to not use SourceMap if it does not affect the Bot ?

Please note that we face the same memory consumption issue when we deploy it to azure.


Not able to fetch location

Hi,
Thanks for the great lib. I'm facing an issue. I'm not able to fetch the user location.
Code : https://gist.github.com/ShivamDev31/891737d11258931be01463322cdfb133
Using the lib for rx location : https://github.com/mrmans0n/smart-location-lib
and tried another lib but same issue.
So basically when I try smart loc lib without maps libs it works fine but not able to set the location when I try it with maps lib.
Can you please look into the source gist above and let me know where I'm doing wrong?
Trying to make it work since hours but it didn't work out.

This lib doesn't retrieve locations so I can't image it is an issue with this library. I can't see where the problem is at a glance but there is some odd usage of RxJava in there so that might be an issue. I would spend some time looking into the combine operators http://reactivex.io/documentation/operators.html
FlatMap is your friend :)


Create a DP for has-soma-location pattern

So far we have a DP documented for cells part of anatomy:
https://obophenotype.github.io/cell-ontology/patterns/cellPartOfAnatomicalEntity/
But none for has-soma-location(HSL)
We need to add these, and make the ontology consistent (which @shawntanzk has been doing -see #1337)
We need to document whether

We only use HSL for neurons->uberon
We use a mixture of part-of and HSL as appropriate

typically use HSL for equivalence axioms (principle: weaker properties in EC -> stronger inferences)
add supplemental part-of hidden GCIs if we know the neuron is not projecting outside the anatomical area

While 1 is both safer and easier to implement, I worry we will lose crucial inferences in CL
In particular I worry about loss in:

gene expression queries that propagate over part-of
entailments in ontologies that use CL for logical definitions

To restore these inferences we will need to add a lot of hidden GCIs
Alternative proposal: radical mereological inclusivity
We abandon HSL, we go back to using simple powerful part-of relations.
We conceive of uberon brain regions such as hippocampus as having 'classic boundaries' at one level of granularity, but when zoomed in to the subcellular level the hippocampus itself has synaptic parts that interleave with other brain regions. These could be described using simple projects-into relationships.
This would require some minor changes in uberon: the existing adjacency relations (not that useful IMO) would need to be changed to something like 'grossly adjacent to'.
Gene expression queries would be more inclusive but arguably more correct since expression is in the soma.

tagging @dosumis here

are there any further thoughts on this?
My big worry with ditching HSL for part_of is that there will probably be quite a bit of unsats generated by it, and im not sure how to handle those unsats.

Happy to make a pattern, but one with an EquivalentClass axiom would only be useful for the rare neuron classes we want to define by location.  For everything else we have:
https://obophenotype.github.io/cell-ontology/relations_guide/#recording-location
The vast majority of neuron types need to be defined with some heterogenous mix of relations - as applicable to specific use-cases. Training-wise, a well written piece of text just works better than trying to document with patterns.  I think worthwhile despite the danger of duplication and stale docs.  We are working on a similar doc for Uberon.

Alternative proposal: radical mereological inclusivity
We abandon HSL, we go back to using simple powerful part-of relations.

This would create a mess as we have a bunch of other subproperties of overlaps that are used for the location of other parts of neurons (synapses, projections).  Also, we already have massive usage of these relations in DAO & VFB.

gene expression queries that propagate over part-of
entailments in ontologies that use CL for logical definitions

I would like to document examples of these so that we can think about how to work with them.  VFB deals with expression on the query side.  I guess the other cases you are thinking about are Mondo & phenotype/trait ontologies.  I wonder whether property chains might be sufficient to deal with these.

Closing as I think documentation of any inferences missing due to has_soma_location use + proposed remedies should go on a new ticket.


Reduce typing of element file names

In GitLab by @ptomato on Aug 23, 2017, 23:08
It would be nice if the element's .bst extension were implicit in commands like bst build or bst track. (If you use element-path in project.conf, then you can't do tab-completion from the current path, so you have to type out the whole thing.

In GitLab by @tristanvb on Aug 23, 2017, 23:15
Not sure about doing this one...
I have a click branch where i've improved the automated bash completions significantly enough to handle buildstream's CLI well but it was not merged there (think its a case of overworked maintainers).
With the above it will be trivial enough to check if a -C option was specified and do a shallow parse of project.conf to get the element-path, and just use that to complete bst files (also the rest of the completion mechanics are also very luxurious).
Instead i may just port that code directly into buildstream and i think that may obviate the need for this... Right ?

In GitLab by @ptomato on Aug 24, 2017, 00:41
I think that would work.

In GitLab by @tristanvb on Aug 28, 2017, 18:09
Completions are now implemented in master.
Unfortunately integration is not completely automated with an installation of buildstream from git using pip but should be automated with distro packages in some future.
Instructions have been added to the documentation and these are visible from the main docs page and table of contents.

In GitLab by @tristanvb on Aug 28, 2017, 18:09
closed

In GitLab by @samthursfield on Sep 20, 2017, 15:21
mentioned in commit ddcff898aac546a7b85e62eea0552f4166076f20

In GitLab by @samthursfield on Sep 20, 2017, 16:16
mentioned in commit 9c83378250ecc6c62b5c32909640d64fd6888d3f

In GitLab by @samthursfield on Sep 27, 2017, 12:21
mentioned in commit bf0f2863e8cea73e41d5d9efca3126e4075fc3ae


Release of version <IP_ADDRESS> of xFirefox

Releasing version <IP_ADDRESS>

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@74ad679). Click here to learn what that means.
The diff coverage is 96.29%.

@@            Coverage Diff            @@
##             master      #15   +/-   ##
=========================================
  Coverage          ?   93.52%
=========================================
  Files             ?        3
  Lines             ?      139
  Branches          ?        0
=========================================
  Hits              ?      130
  Misses            ?        9
  Partials          ?        0

Impacted Files
Coverage Δ

...CResources/MSFT_xFirefox/MSFT_xFirefox.schema.psm1
0% <0%> (ø)

...FT_xFirefoxPreference/MSFT_xFirefoxPreference.psm1
96.42% <96.42%> (ø)

DSCResources/FirefoxPreferenceHelper.psm1
97.16% <97.16%> (ø)

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 74ad679...5e5a402. Read the comment docs.


Tunnelmole showing opened multiple connections but there is no open connection

I am trying to open a tunneling url I have no opened ports but it is showing that I have already opened one port. I have also checked if tunnelmole process is running or not.

What I would try here is killall tunnelmole, that should remove any redundant tunnels. If it does not work immediately try again in an hour or so for all the connection handles to clean themselves up.

Please check the above screenshot. I already have tried what you said.

I don't have windows so might be hard to test this.
Next time it happens can either of you run tasklist in a terminal then paste the output here? Just to make sure there are no zombie processes running.

My problem fixed on its own after 3/4 days on ubuntu.


Fixed error when there are no modules.

Closes #1
Added unit test.
For simple go.mod file and main.go without modules lichen fails.
It returns status error code 1 which error message:
failed to evaluate licenses: failed to fetch: exit status 1 (output: go mod download: no modules specified (see 'go help mod download')
)
It should return status success code 0 without any error messages.

Many thanks for the comprehensive bug report and fix :+1:


Updated app to rails 7

Updated app to Rails 7.1

Regarding some of the failing checks:

Tests - MySQL / mysql (pull_request):

DMPRoadmap has transitioned to PostgreSQL and this workflow should be disabled

Tests - PostgreSQL / postgresql (pull_request):

These errors are unrelated to this PR
The following PR addresses/fixes these errors: https://github.com/DMPRoadmap/roadmap/pull/3451


test(integration-ui): add browser log

Description
Temporarily adds browser's debug log in UI integration test, given we still have noticable failure rate. Though the failures won't block our CI, the high failure rate has made us ignore true positives that the test has captured. Good to have the test report only the true positives so it's obvious that we should act on.
Changelog
Changed

A change to emit browser debug log in UI integration test.

Withdrawing - Unfortunately the debug setting itself causes test failures... 😢


Build fails with -flto

The build fails when the -flto build flag is passed. This is annoying to build RPM packages as that flag is included in default Fedora flags.
$ make CFLAGS="-O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION" LDFLAGS="-shared"
cc -o build/libblastrampoline.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c libblastrampoline.c
cc -o build/dl_utils.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c dl_utils.c
cc -o build/config.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c config.c
cc -o build/autodetection.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c autodetection.c
cc -o build/threading.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c threading.c
cc -o build/deepbindless_surrogates.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c deepbindless_surrogates.c
cc -o build/trampolines/trampolines_x86_64.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c trampolines/trampolines_x86_64.S
cc -o build/f2c_adapters.o -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION -c f2c_adapters.c
cc -o build/libblastrampoline.so -O2 -flto -fPIC -DLIBRARY_EXPORTS -DF2C_AUTODETECTION build/libblastrampoline.o build/dl_utils.o build/config.o build/autodetection.o build/threading.o build/deepbindless_surrogates.o build/trampolines/trampolines_x86_64.o build/f2c_adapters.o -shared
libblastrampoline_f2cdata.h:31:1: error: function 'f2c_zdotc_' redeclared as variable
   31 | COMPLEX128_FUNCS(XX)
      | ^
f2c_adapters.c:198:27: note: previously declared here
  198 | LBT_HIDDEN double complex f2c_zdotc_(const int32_t *n, const double complex *x, const int32_t * ix, const double complex *y, const int32_t *iy) {
      |                           ^
libblastrampoline_f2cdata.h:31:1: error: function 'f2c_zdotu_' redeclared as variable
   31 | COMPLEX128_FUNCS(XX)
      | ^
f2c_adapters.c:212:16: note: previously declared here
  212 | double complex f2c_zdotu_(const int32_t* n, const double complex* x, const int32_t* ix, const double complex *y, const int32_t *iy)
      |                ^
libblastrampoline_f2cdata.h:29:1: error: function 'f2c_cdotc_' redeclared as variable
   29 | COMPLEX64_FUNCS(XX)
      | ^
f2c_adapters.c:168:26: note: previously declared here
  168 | LBT_HIDDEN float complex f2c_cdotc_(const int32_t *n, const float complex *x, const int32_t * ix, const float complex *y, const int32_t *iy) {
      |                          ^
libblastrampoline_f2cdata.h:29:1: error: function 'f2c_cdotu_' redeclared as variable
   29 | COMPLEX64_FUNCS(XX)
      | ^
f2c_adapters.c:182:15: note: previously declared here
  182 | float complex f2c_cdotu_(const int32_t* n, const float complex* x, const int32_t* ix, const float complex *y, const int32_t *iy)
      |               ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_slamc3_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:157:18: note: previously declared here
  157 | LBT_HIDDEN float f2c_slamc3_(const float * x, const float * y) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_slamch_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:147:18: note: previously declared here
  147 | LBT_HIDDEN float f2c_slamch_(const char * input) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_scnrm2_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:137:18: note: previously declared here
  137 | LBT_HIDDEN float f2c_scnrm2_(const int32_t* n, const float complex* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_snrm2_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:127:18: note: previously declared here
  127 | LBT_HIDDEN float f2c_snrm2_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_smin_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:17:18: note: previously declared here
   17 | LBT_HIDDEN float f2c_smin_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_smax_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:7:18: note: previously declared here
    7 | LBT_HIDDEN float f2c_smax_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_scamin_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:57:18: note: previously declared here
   57 | LBT_HIDDEN float f2c_scamin_(const int32_t* n, const float complex* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_samin_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:37:18: note: previously declared here
   37 | LBT_HIDDEN float f2c_samin_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_scamax_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:47:18: note: previously declared here
   47 | LBT_HIDDEN float f2c_scamax_(const int32_t* n, const float complex* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_samax_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:27:18: note: previously declared here
   27 | LBT_HIDDEN float f2c_samax_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_scsum_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:107:18: note: previously declared here
  107 | LBT_HIDDEN float f2c_scsum_(const int32_t* n, const float complex* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_ssum_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:87:18: note: previously declared here
   87 | LBT_HIDDEN float f2c_ssum_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_scasum_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:117:18: note: previously declared here
  117 | LBT_HIDDEN float f2c_scasum_(const int32_t* n, const float complex* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_sasum_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:97:18: note: previously declared here
   97 | LBT_HIDDEN float f2c_sasum_(const int32_t* n, const float* x, const int32_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_sdsdot_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:77:18: note: previously declared here
   77 | LBT_HIDDEN float f2c_sdsdot_(const int32_t* n, const float* a, const float* x, const int32_t* ix, const float *y, const int32_t* iy) {
      |                  ^
libblastrampoline_f2cdata.h:27:1: error: function 'f2c_sdot_' redeclared as variable
   27 | FLOAT32_FUNCS(XX)
      | ^
f2c_adapters.c:67:18: note: previously declared here
   67 | LBT_HIDDEN float f2c_sdot_(const int32_t* n, const float* x, const int32_t* ix, const float *y, const int32_t* iy) {
      |                  ^
libblastrampoline_f2cdata.h:32:1: error: function 'f2c_zdotc_64_' redeclared as variable
   32 | COMPLEX128_FUNCS(XX_64)
      | ^
f2c_adapters.c:204:27: note: previously declared here
  204 | LBT_HIDDEN double complex f2c_zdotc_64_(const int64_t *n, const double complex *x, const int64_t * ix, const double complex *y, const int64_t *iy) {
      |                           ^
libblastrampoline_f2cdata.h:32:1: error: function 'f2c_zdotu_64_' redeclared as variable
   32 | COMPLEX128_FUNCS(XX_64)
      | ^
f2c_adapters.c:219:16: note: previously declared here
  219 | double complex f2c_zdotu_64_(const int64_t* n, const double complex* x, const int64_t* ix, const double complex *y, const int64_t *iy)
      |                ^
libblastrampoline_f2cdata.h:30:1: error: function 'f2c_cdotc_64_' redeclared as variable
   30 | COMPLEX64_FUNCS(XX_64)
      | ^
f2c_adapters.c:174:26: note: previously declared here
  174 | LBT_HIDDEN float complex f2c_cdotc_64_(const int64_t *n, const float complex *x, const int64_t * ix, const float complex *y, const int64_t *iy) {
      |                          ^
libblastrampoline_f2cdata.h:30:1: error: function 'f2c_cdotu_64_' redeclared as variable
   30 | COMPLEX64_FUNCS(XX_64)
      | ^
f2c_adapters.c:189:15: note: previously declared here
  189 | float complex f2c_cdotu_64_(const int64_t* n, const float complex* x, const int64_t* ix, const float complex *y, const int64_t *iy)
      |               ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_slamc3_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:161:18: note: previously declared here
  161 | LBT_HIDDEN float f2c_slamc3_64_(const float * x, const float * y) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_slamch_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:151:18: note: previously declared here
  151 | LBT_HIDDEN float f2c_slamch_64_(const char * input) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_scnrm2_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:141:18: note: previously declared here
  141 | LBT_HIDDEN float f2c_scnrm2_64_(const int64_t* n, const float complex* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_snrm2_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:131:18: note: previously declared here
  131 | LBT_HIDDEN float f2c_snrm2_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_smin_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:21:18: note: previously declared here
   21 | LBT_HIDDEN float f2c_smin_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_smax_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:11:18: note: previously declared here
   11 | LBT_HIDDEN float f2c_smax_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_scamin_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:61:18: note: previously declared here
   61 | LBT_HIDDEN float f2c_scamin_64_(const int64_t* n, const float complex* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_samin_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:41:18: note: previously declared here
   41 | LBT_HIDDEN float f2c_samin_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_scamax_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:51:18: note: previously declared here
   51 | LBT_HIDDEN float f2c_scamax_64_(const int64_t* n, const float complex* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_samax_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:31:18: note: previously declared here
   31 | LBT_HIDDEN float f2c_samax_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_scsum_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:111:18: note: previously declared here
  111 | LBT_HIDDEN float f2c_scsum_64_(const int64_t* n, const float complex* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_ssum_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:91:18: note: previously declared here
   91 | LBT_HIDDEN float f2c_ssum_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_scasum_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:121:18: note: previously declared here
  121 | LBT_HIDDEN float f2c_scasum_64_(const int64_t* n, const float complex* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_sasum_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:101:18: note: previously declared here
  101 | LBT_HIDDEN float f2c_sasum_64_(const int64_t* n, const float* x, const int64_t* ix) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_sdsdot_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:81:18: note: previously declared here
   81 | LBT_HIDDEN float f2c_sdsdot_64_(const int64_t* n, const float* a, const float* x, const int64_t* ix, const float *y, const int64_t* iy) {
      |                  ^
libblastrampoline_f2cdata.h:28:1: error: function 'f2c_sdot_64_' redeclared as variable
   28 | FLOAT32_FUNCS(XX_64)
      | ^
f2c_adapters.c:71:18: note: previously declared here
   71 | LBT_HIDDEN float f2c_sdot_64_(const int64_t* n, const float* x, const int64_t* ix, const float *y, const int64_t* iy) {
      |                  ^
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: /usr/bin/cc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:35 : build/libblastrampoline.so] Erreur 1

This is happening because we forward-declare functions as a const void *, and that's fine because the ABI interface for a void * and a function are the same once you're merging translation units, but with LTO, the compiler wants the types to match, so it gets mad at us.
We could fix that by forward-declaring the functions "properly", e.g. instead of auto-generating the list of function names, we could write out all the function prototypes from this file.  I don't think this would have have any real benefit except that the LTO flag might work.


Rule blocked: CORERULES-9695 - validation now fails when using empty/non_empty with missing variable

A .txt file with the JSON containing the full request: Request.txt

Links to related JIRA Tickets

https://jira.cdisc.org/projects/CORERULES/issues/CORERULES-9695
https://jira.cdisc.org/projects/CORERULES/issues/CORERULES-9569

Rule Information

Standard: USDM
Rule ID: DDF00152
Rule Description: An activity must only reference timelines that are specified within the same study design.

Describe the bug
Since the implementation of advanced error handling (main branch commit c5273ea1774c83cafe7d3ba6224cba1e283c6a26), execution of any validation containing the empty and non_empty operators fails with several errors when the checked variable does not exist in the dataset.  Previously, the resultant KeyError exception would have halted validation and been picked up by the handle_validation_exceptions method. The absence of the variable would just be reported as "Column not found in data", which would be interpreted and reported by the Rules Editor as one of the "Absent-Variable Skips".  Now, the error is reported via the terminal (with a traceback), but validation does not halt, so subsequent errors occur due to the missing result for empty/non_empty.  The last error is then returned and reported by the Rules Editor.
This bug is likely to affect a LOT of rules
Error returned from Rule Engine
This message is the result of the last exception, when the None result of the failed empty/non_empty operator is merged with results from other operators.
{
    ...,
    "SCHEDULETIMELINE": [
        {
            "executionStatus": "execution_error",
            "dataset": "ScheduleTimeline.xpt",
            "domain": "SCHEDULETIMELINE",
            "variables": [],
            "message": "rule execution error",
            "errors": [
                {
                    "dataset": "ScheduleTimeline.xpt",
                    "error": "An unknown exception has occurred",
                    "message": "Cannot perform 'and_' with a dtyped [bool] array and scalar of type [NoneType]"
                }
            ]
        }
    ]
}

Expected behavior
As described in the Boolean Logic section of the Reference, the empty and non_empty operators should result in an absent variable skip when the checked variable does not exist in the dataset.

@nickdedonder This is likely to affect lots of rules which have already passed QC (not just for DDF/USDM), so may need to be a high priority.

For lots of rules where we're now getting error messages instead of "Absent-Variable Skip" messages, the absent variables are a result of running the rule against unintended datasets.  If/when issue #681 is resolved, USDM rules will only be executed for intended datasets, so the "Absent-Variable Skip" (and now error) messages won't occur so often.


fix: force app icon 100% size in connect modal, fixes #455

@kyranjamie @aulneau ping on review here 🐝


Expose reference count increment

Original message from Xuezhao:

Just to discuss with you about one small issue about HG internal refcount.
Now HG_Get_input implemented as  calling hg_core_incr_ref, HG_Core_get_input and some other core APIs.
As in Cart we added an internal header above HG and we want to unpack the RPC request header first and then unpack the boy when serving a RPC request, so we use the HG_Core_ APIs.
One problem is that the HG_Core_get_input does not take refcount, so we will meet a problem later when calling HG_Free_input/HG_Destroy as it will cause refcount issue.
We could have some hacking in CaRT to avoid the refcount issue, at the other hand do you think does it reasonable to move the calling of hg_core_incr_ref to be inside HG_Core_get_input?
(one related change is adding a hg_core_destroy to hg_set_input, it seems reasonable as it can protect the handle be valid during hg_set_input).

It seems that exposing the reference count increment function would just solve the issue.

@liuxuezhao Let me know if you have any more problems.

@soumagne thanks very much, it looks good, I'll make some change to cart to use it.


Name all container by default

This (one line!) change will cause all containers to be deployed with a name that matches the name of the project as passed on the command line. You can still override the name yourself in your config if you want to use something else. The impact of this is that all containers will have a Centurion-created name rather than a Docker default name like "angry_torvalds".
So if we have an application where the config file is config/centurion/awesome_project.rake and the deployment is triggered like:
$ bin/centurion -p awesome_project -e staging -a rolling_deploy

Then the container will end up being named awesome-project-bae45efa2f78d5, with that last bit being a random 14 digits of hex, per the normal behavior for a Centurion container name.
cc @didip @actaeon @wulczer @amjith @toffer

LGTM :shipit:


As a user I want to view all the capital cities in the world, continent and region organised by largest population to smallest.

Finished first part.

Function finished.