Improve the props parameter in setup function

What problem does this feature solve?
import { defineComponent, toRefs, watch } from "vue";

export default defineComponent({
  props: {
    foo: Boolean
  },
  setup(props) {
    const { foo } = toRefs(props);

    // As `foo` might be undefined instead of a Ref
    // we cannot watch it directly like this
    watch(foo, () => { ... });
  }
});

Instead, we need to use:
watch(() => props.foo, () => { ... });

So we need to switch to props.foo whenever we need to watch it, which doesn't feel very natural to me.
What does the proposed API look like?
For all declared props, always provide { [propName]: undefined } in the props parameter of the setup function so that we can write:
setup(props) { // props being { foo: undefined }
  const { foo } = toRefs(props);

  // foo is Ref
  watch(foo, () => { ... });
}

How would you differentiate a prop passed as undefined from a missing prop?
Wouldn't make more sense to do:
const foo = toRef(props, 'foo')

If a prop is missed, it will not appear in props:
{
  props: {
    foo: {
      type: String
    }
  },
  setup(props) {
    console.log(Object.keys(props)) // []
    const { foo } = toRefs(props) // foo is `undefined`
  }
}

So I think it is as expected

How would you differentiate a prop passed as undefined from a missing prop?

@posva Hmmm this is a valid point. Maybe we do need to use toRef on individual prop instead as you suggested.
@HcySunYang I think @posva is right if we always provide undefined for missing prop there will be no way to tell if it comes from users.

So maybe we should only use toRefs to convert required props to refs. I'm closing this one 😄

How would you differentiate a prop passed as undefined from a missing prop?

What would be the use case for an optional prop that wasn't passed in to the component?
<my-comp/>
<my-comp :foo="undefined"/>

<script>
props : {
 foo: String
}
</script>

That code should behave the same.

This behaviour gets really inconsistent when you use a Boolean  instead of a String example

This behaviour is different from v2 options API with options API the properties will always be defined.
If this is intended it needs to be marked as breaking change from v2
// vue2
{
  props: {
    foo: String
  },

  data(){
    return {
      hasKey: 'foo' in this.$props // true
    }
  }
}

// vue3
{
  props: {
    foo: String
  },

  data(){
    return {
      hasKey: 'foo' in this.$props // false
    }
  }
}

Altho I still dont know the use case for handling an optional property without default (aka undefined) differently from undefined

After some discussion with @pikax I think this issue should be reopened. As with current implementation, we actually cannot reliably detect missing props with a simple key in props check, while improving the experience of toRefs may bring more benefits.


GD-154: Add new assert_func with a wait_until(<time>) to wait for a specific return value

Mhh, it sure works. But I think it doesn't really integrate well into the scene runner, which would allow you to run scenes at faster speeds. So now I need to decide if I want to have a timed assert or a faster run, I can't have both currently. If I use the scene runner, I need a signal or simulate a certain amount of frames, but cannot wait for a condition to be true. If I use the new assert, I can only run at normal speed. I think the separation of the scene runner and asserts doesn't help a lot with integration tests. In integration tests you very often have to wait on a certain thing to happen and this wait almost always also serves as an assert (because if the thing doesn't happen, the next thing usually makes no sense to run anyways).
I wonder if this could be solved by having two classes for two types of tests. I would argue that you will need the runner in integration tests, only but not in unit tests.  So you could have GdUnitTestSuite for unit tests and GdIntegrationTestSuite for integration test. The latter could replace GdUnitSceneRunner and  you could then write integration tests like this:
class_name SomeIntegrationTest
extends GdIntegrationTestSuite

var _scene
var _driver

func before_test():
        _scene = load(..).instance()
        _driver = GameDriver.new()
        # this would be the equivalent of creating a new scene runner
        # it would be a function of the new GdIntegrationTestSuite class
        attach_scene(scene)
        # run everything at 3x speed
        set_time_factor(3)
        # set a default timeout for all timed assertions
        set_default_assertion_timeout(3000)

func test_something():
        # when
        simulate_mouse_click(...)
        # then
        # wait until a dialog is shown
        yield(assert_func(_driver.some_dialog, "is_present").is_true())

         # abort test if an error occurred
         if has_error():
             return

          # when
         _driver.car.move()
         # then
         # wait until the car sends the "crashed" signal.
         yield(assert_signal(_driver.car.get(), "crashed").is_sent())

Of course this is a breaking change 😢

Mhh, it sure works. But I think it doesn't really integrate well into the scene runner, which would allow you to run scenes at faster speeds. So now I need to decide if I want to have a timed assert or a faster run, I can't have both currently. If I use the scene runner, I need a signal or simulate a certain amount of frames, but cannot wait for a condition to be true. If I use the new assert, I can only run at normal speed. I think the separation of the scene runner and asserts doesn't help a lot with integration tests. In integration tests you very often have to wait on a certain thing to happen and this wait almost always also serves as an assert (because if the thing doesn't happen, the next thing usually makes no sense to run anyways).
I wonder if this could be solved by having two classes for two types of tests. I would argue that you will need the runner in integration tests, only but not in unit tests. So you could have GdUnitTestSuite for unit tests and GdIntegrationTestSuite for integration test. The latter could replace GdUnitSceneRunner and you could then write integration tests like this:
class_name SomeIntegrationTest
extends GdIntegrationTestSuite

var _scene
var _driver

func before_test():
        _scene = load(..).instance()
        _driver = GameDriver.new()
        # this would be the equivalent of creating a new scene runner
        # it would be a function of the new GdIntegrationTestSuite class
        attach_scene(scene)
        # run everything at 3x speed
        set_time_factor(3)
        # set a default timeout for all timed assertions
        set_default_assertion_timeout(3000)

func after_test():
       # would free the scene node so next test starts with a fresh one
       free_scene()

func test_something():
        # when
        simulate_mouse_click(...)
        # then
        # wait until a dialog is shown
        yield(assert_func(_driver.some_dialog, "is_present").is_true())

         # abort test if an error occurred
         if has_error():
             return

          # when
         _driver.car.move()
         # then
         # wait until the car sends the "crashed" signal.
         yield(assert_signal(_driver.car.get(), "crashed").is_sent())

Of course this is a breaking change 😢 I'm sorry I didn't think of this earlier.

Thanks for your feedback.
Yes the assert_func not respects the time factor, good catch +1
I love the idea to have a extra GdUnitIntegrationTestSuite, in general i agree we should think in category unit and integration tests.
So to have two test-suites types, unit and integration makes totally sense, i love this suggestion.
The new assert_func will respect time factor if set on next iteration.
For integrate integration tests stuff i will create a new feature request.
Very good feedback, Thanks so much

to continue i will provide a function on the SceneRunner where at least wraps around the assert_func to respect the time factor.


k3s cluster and nat gateway

I am currently using nat gateway in my project, I need k3s and I want to communicate my cluster only with private ip without any public ip address. I am using debian-12 image in the cluster.
As a result of this configuration, I expect the machines to go to the internet and at the same time the pods to stand up. However, during the installation, it makes an output like the following, I think the installation is not completed in a healthy way.

Hi, do you see the server(s) attached to the main-vpc-network network in the Hetzner Console? If yes do they get an IP in that network?

Yes, I see that you are getting an ip address, there doesn't seem to be any problem.

My gut feeling is that there is something wrong with your post_create_commands.
Attach a temp server to the same network, then SSH into it and with /bin/sh, not bash (since Cloud Init  script must work in regular sh shell) try running your post create commands and see if all of them work just fine.

Please SSH into one of the servers attached to the network and run
SUBNET="<IP_ADDRESS>/16"
SUBNET_PREFIX=$(echo $SUBNET | cut -d'/' -f1 | sed 's/\./\\./g' | sed 's/0$//')

echo $SUBNET_PREFIX

Does it return the correct prefix?
Then run
ip -4 addr show | grep -q "inet $SUBNET_PREFIX"

What does it return?

What do you get with ip -4 addr show?

Can you try ip -4 addr show | grep "inet $SUBNET_PREFIX"  without -q? Trying to replicate what happens during the installation.

@vitobotta
I changed the subnet and the problem disappeared(I don't know if it has something to do with the subnets I've split.), of course I haven't included post_create_commands yet, but I get a situation like the following, is this coming from ssh?
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker3] Waiting for successful ssh connectivity with instance blackhole-k3s-cluster-pool-small-static-pool-worker3...
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker2] Waiting for successful ssh connectivity with instance blackhole-k3s-cluster-pool-small-static-pool-worker2...
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker1] ...instance blackhole-k3s-cluster-pool-small-static-pool-worker1 is now up.
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker1] ...instance blackhole-k3s-cluster-pool-small-static-pool-worker1 created
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker3] ...instance blackhole-k3s-cluster-pool-small-static-pool-worker3 is now up.
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker3] ...instance blackhole-k3s-cluster-pool-small-static-pool-worker3 created
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker2] ...instance blackhole-k3s-cluster-pool-small-static-pool-worker2 is now up.
[Instance blackhole-k3s-cluster-pool-small-static-pool-worker2] ...instance blackhole-k3s-cluster-pool-small-static-pool-worker2 created
Unhandled exception in spawn: timeout after 00:00:30 (Tasker::Timeout)
  from /opt/homebrew/Cellar/hetzner_k3s/2.0.8/bin/hetzner-k3s in 'raise<Tasker::Timeout>:NoReturn'
  from /opt/homebrew/Cellar/hetzner_k3s/2.0.8/bin/hetzner-k3s in 'Tasker@Tasker::Methods::timeout<Time::Span, &Proc(Nil)>:Nil'
  from /opt/homebrew/Cellar/hetzner_k3s/2.0.8/bin/hetzner-k3s in '~procProc(Nil)@src/cluster/create.cr:75'
  from /opt/homebrew/Cellar/hetzner_k3s/2.0.8/bin/hetzner-k3s in 'Fiber#run:(IO::FileDescriptor | Nil)'

Yeah that may be a problem with SSH, perhaps with the key. Can you try enabling the agent?

Yeah that may be a problem with SSH, perhaps with the key. Can you try enabling the agent?

Are you talking about the use_agent setting? But there is no password in the key I created.

Another possibility may be some issue with Debian due to some recent changes made to address the new way of handling custom ssh ports in newer versions of Ubuntu. Can you try with Ubuntu but with the same configuration to see if that's the problem?

Thank you very much for your help, I have one last question. all of the machines have internet access, my configurations are correct, but the following warning comes, is this normal for autoscale

apart from this I get the following warning yes it is set so that pods cannot be opened on the master node but hetzner did not create pods on other nodes for csi-controller etc. but opened 3 machines
Is this a normal process

It's not a warning :) It's just telling you that some ponds were probably pending due to lack of resources so the cluster had to scale up. Did it add a new node?

Can you share the solution for posterity?
Can you also clarify the question? :p

autoscaler stopped working even though I made no changes,
1- turning on the machine I see from the hetzner cloud panel
2- I see it getting the private ip address via dhcp.
3- It seems to be starting to make installations
There's nothing after that, I'm tied up because I don't have ssh access. I can't see the logs. It's like it's not doing calm installations. clustera doesn't even include the node.
The machine has only private ip address behind NAT gateway. Routing is full there is no problem there either. I organised it according to the documentation.
How can I debug this situation?

I finally managed to solve the problem, due to the lack of public ip, the installations started to be incomplete due to both route and dns problems.
I don't know how this happened, but I solved the situation by manually intervening in the cloud-init config.
On machines with NAT gateway, the route and dns configuration needs to be run before all processes. Even if we add post_create_commands to the top, it runs at the bottom. https://github.com/vitobotta/hetzner-k3s/blob/60b862b3105d6a7362f5754ee83b5f91a2014984/templates/cloud_init.yaml#L35 I noticed that the configuration we added here was not added to the top.

I am sorry, but I am not following. Can you clarify what exactly fixed your problem and what changes you needed to make to hetzner-k3s to to solve it? I could make a new release with your fixes or you could make a PR if you are up to it. :)

In a k8s structure where there is no public network, the following should be implemented.
1-network settings should be made and nat gateway should be configured.
  # Add network interface to route nat gateway
  - |
    cat <<'EOF' >> /etc/systemd/network/10-enp7s0.network
    [Match]
    Name=enp7s0

    [Network]
    DHCP=yes
    Gateway=<IP_ADDRESS>
    EOF
  # reload networkd
  - systemctl restart systemd-networkd
  # Configure systemd-resolved
  - systemctl enable systemd-resolved
  - systemctl start systemd-resolved
  # Set DNS
  - |
    cat <<'EOF' >> /etc/systemd/resolved.conf
    [Resolve]
    Cache=yes
    DNS=<IP_ADDRESS> <IP_ADDRESS>
    FallbackDNS=<IP_ADDRESS>
    EOF
  - systemctl daemon-reload
  - systemctl restart systemd-resolved

2- packages should not be installed with packages: command (Packages should be included in the system immediately after cloud-init network settings.)
so the cloud-init file has to be like this. If ipv4 and ipv6 are completely off
#cloud-config
preserve_hostname: true

write_files:

- path: /etc/systemd/system/ssh.socket.d/listen.conf
  content: |
    [Socket]
    ListenStream=
    ListenStream=22

- path: /etc/configure-ssh.sh
  permissions: '0755'
  content: |
    if systemctl is-active ssh.socket > /dev/null 2>&1
    then
      # OpenSSH is using socket activation
      systemctl disable ssh
      systemctl daemon-reload
      systemctl restart ssh.socket
      systemctl stop ssh
    else
      # OpenSSH is not using socket activation
      sed -i 's/^#*Port .*/Port 22/' /etc/ssh/sshd_config
    fi
    systemctl restart ssh

runcmd:
- hostnamectl set-hostname $(curl http://<IP_ADDRESS>/hetzner/v1/metadata/hostname)
- update-crypto-policies --set DEFAULT:SHA1 || true
- /etc/configure-ssh.sh
- |
  cat <<'EOF' >> /etc/systemd/network/10-enp7s0.network
  [Match]
  Name=enp7s0

  [Network]
  DHCP=yes
  Gateway=<IP_ADDRESS>
  EOF
# reload networkd
- systemctl restart systemd-networkd
# Configure systemd-resolved
- systemctl enable systemd-resolved
- systemctl start systemd-resolved
# Set DNS
- |
  cat <<'EOF' >> /etc/systemd/resolved.conf
  [Resolve]
  Cache=yes
  DNS=<IP_ADDRESS> <IP_ADDRESS>
  FallbackDNS=<IP_ADDRESS>
  EOF
- systemctl daemon-reload
- systemctl restart systemd-resolved
- apt update & apt-get install -y ifupdown net-tools
- echo "nameserver <IP_ADDRESS>" > /etc/k8s-resolv.conf
- |
    touch /etc/initialized

    HOSTNAME=$(hostname -f)
    PUBLIC_IP=$(hostname -I | awk '{print $1}')

    if [ "true" = "true" ]; then
      echo "Using private network " > /var/log/hetzner-k3s.log
      SUBNET="<IP_ADDRESS>/24"
      SUBNET_PREFIX=$(echo $SUBNET | cut -d'/' -f1 | sed 's/\./\\./g' | sed 's/0$//')
      MAX_ATTEMPTS=30
      DELAY=10
      UP="false"

      for i in $(seq 1 $MAX_ATTEMPTS); do
        if ip -4 addr show | grep -q "inet $SUBNET_PREFIX"; then
          echo "Private network IP in subnet $SUBNET is up" 2>&1 | tee -a /var/log/hetzner-k3s.log
          UP="true"
          break
        fi
        echo "Waiting for private network IP in subnet $SUBNET to be available... (Attempt $i/$MAX_ATTEMPTS)" 2>&1 | tee -a /var/log/hetzner-k3s.log
        sleep $DELAY
      done

      if [ "$UP" = "false" ]; then
        echo "Timeout waiting for private network IP in subnet $SUBNET" 2>&1 | tee -a /var/log/hetzner-k3s.log
      fi

      PRIVATE_IP=$(ip route get <IP_ADDRESS> | awk -F"src " 'NR==1{split($2,a," ");print a[1]}')
      NETWORK_INTERFACE=" --flannel-iface=$(ip route get <IP_ADDRESS> | awk -F"dev " 'NR==1{split($2,a," ");print a[1]}') "
    else
      echo "Using public network " > /var/log/hetzner-k3s.log
      PRIVATE_IP="${PUBLIC_IP}"
      NETWORK_INTERFACE=" "
    fi

    mkdir -p /etc/rancher/k3s

    cat > /etc/rancher/k3s/registries.yaml <<EOF
    mirrors:
      "*":
    EOF

    curl -sfL https://get.k3s.io | K3S_TOKEN="REDACTED" INSTALL_K3S_VERSION="v1.31.1+k3s1" K3S_URL=https://<IP_ADDRESS>:6443 INSTALL_K3S_EXEC="agent \
    --node-name=$HOSTNAME  --kubelet-arg "cloud-provider=external"  --kubelet-arg "resolv-conf=/etc/k8s-resolv.conf"  \
    --node-ip=$PRIVATE_IP \
    --node-external-ip=$PUBLIC_IP \
    $NETWORK_INTERFACE " sh -

    echo true > /etc/initialized

Unfortunately, I cannot support the project because I do not know the software language in which the project is developed :)

Thanks for clarifying! I see what you mean now. I will do some testing and see if I can release some changes that might help with this kind of setup in the next release.

I would like to confirm whether the solution functions correctly when public IP addresses are completely disabled. While the process is slow, taking around 6-7 minutes to create a small cluster, it still works as expected. I tested this without modifying the cloud-init configuration, using only the post-commands.
Thanks you @mertcangokgoz

In the cloud-init configuration, I moved the nat-gateway rules to the front and the download processes to the end, so that the machine can run without further delay.
I use it in a project where I have 132 cloud servers. With such an arrangement, I reduced the machine startup process to 3 minutes.
I am closing this issuance to avoid misunderstanding.


test(g-code-testing): Add more GCode testing protocols to 4.7.0 release

Overview

Add more protocols to g-code testing coverage
Pull in changes from https://github.com/Opentrons/opentrons/pull/8778 that help with testing

Changelog

Added the following protocols:

Beckman
Cherrypicking
Customizable Serial Dilution OT-2
Illumina
Opentrons Logo
PCR Prep Part 1
PCR Prep Part 2
set_max_speed
Omega

Reorganized protocols
Pulled in Amit's fix for exception thrown at end of protocol

Review requests

Validate Amit's PR was pulled in correctly

Risk assessment

Low, running in CI should validate that everything is working correctly

Due to changes after my last commit, I reran tests to confirm that they still work. Everything worked fine. Merging


Additional System Support?

Would it be possible to add support for Savage Worlds (swade), Old School Essentials (ose), and Worlds Without Number (wwn) game systems?

old school essentials seem to not enrich their descriptions - which might make it a bit of a moot point to include. see issue #1
i can take a look at the other two - will have to wait until at least next weekend though.

i have added all 3 systems with v0.2.0. version is up on the package repository (https://foundryvtt.com/packages/actor-attribute-list) and tested with v11 and v12 (where applicable - ose and swade are not on v12 yet)
though for old school essentials and worlds without number the enrichments are missing. so while the module will show attributes they won't be usable for inline rolls in descriptions.

systems added. issue closed


bump ember-composable-helpers - array helper conflict

ember-composable-helpers < 3.x defines a custom array helpers. Since ember version 3.8.0, ember provides this helper out of the box. Upgrading our project's ember version from 3.16.4 to 3.17.1 somehow brings up this conflict.
Error: Assertion Failed: You attempted to overwrite the built-in helper "array" which is not allowed. Please rename the helper.

Bumping ember-composable-helpers  to a version that no longer contains this helper, solves the issue.
References:

PR removing array helper
recent Stackoverflow issue

We can't actually do this as the latest composable helpers only supports ember 3.13+. What I would prefer to do is remove the dependency entirely as we pull it in for one use of the compute helper.

Oh, I see ... hadn't taken that in to account. I'm still not sure though why we ran in to this only this recently. Could this happen to anyone on 3.8+, or is there a specific reason for this only occurring on upgrade to 3.17?
Will try to look in to refactoring it out one of the coming weeks then :-) ...


Add Reasoning tasks to the evaluation

In recent times, Code generation models have shown to be good at solving Natural language and/or math reasoning tasks (1 and 2). So, it would be good to evaluate the Bigcode models on these tasks.
As discussed, in the evaluation meeting - We could explore the options of adding PAL-datasets and/or reasoning tasks from HELM
PAL Datasets:

[ ] GSM8K
[ ] ASDIV
[ ] MAWPS
[ ] SVAMP
[ ] Bigbench - Penguins in a table
[ ] Bigbench - Reasoning about colored objects
[ ] Bigbench - Date Understanding

Here is the list of scenarios/tasks we used to evaluate code models in HELM: https://github.com/stanford-crfm/helm/blob/main/src/helm/benchmark/presentation/run_specs_bigcode.conf#L1. I created a separate conf file for the BigCode project.
The scenarios are in the scenarios folder: https://github.com/stanford-crfm/helm/tree/main/src/helm/benchmark/scenarios
For example, GSM8K is at src/helm/benchmark/scenarios/gsm_scenario.py: https://github.com/stanford-crfm/helm/blob/main/src/helm/benchmark/scenarios/gsm_scenario.py.

Thank you @teetone , the conf file gives a good list of the tasks that can be covered.


What is AppDelegate / SceneDelegate under the 'Controllers' folder?

Relates to MVC model?

Too complicated for me to get into right now. I need to focus on the basics.
To read later: https://manasaprema04.medium.com/application-life-cycle-in-ios-f7365d8c1636

See also "What is a delegate? (in general) #11"


added ability to dynamically add subclass hierarchy & docs

I started this work just doing the doc side of things, then wanted to show an example of how this could be done by using dynamic type discovery as you suggested here.
This turned out a bit messy and I decided to add this to the framework while adding intelliSense comments that advise users to beware of using this feature willy-nilly. The sample in the docs also gives out this warning.
If you're not happy with this feature, I can easily remove it; the docs should be in there though I believe.

Got it w/ a rebase.


parties api code

Signed-off-by: Kial Jinnah<EMAIL_ADDRESS>Issue #: /bcgov/entity#12385
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).

/gcbrun


1.16 version?

1.17 brought us:

Java 16
CyclingButtonWidget (net.minecraft.client.gui.widget)
Screen#addDrawableChild

After replacing the usages of those (and being thankful for their existence in the new version), the port was fairly straightforward.
The JAR only works on Minecraft 1.16.2+, however, due to fabric-resource-loader-v0. If you need one for 1.16 or 1.16.1, tell me.


Animated webp images unsupported

OpenImageIO does not support Animated webp images. Not only does it not support the Animation, not even the first frame is read. Instead, there is an error about the image not being valid GIF.
Single image webp images work fine.
Are there plans to add support for animated wbp images?

Nobody had really noticed or complained before, so in that sense there were no plans prior to your filing this issue.
It would be great for somebody to take this on and make a PR that fixes it. I can't imagine that it is especially difficult technically. If somebody were to step forward and volunteer to do that, then there would (by definition) be a plan.

I'm working on this!  Have made some progress, will report back shortly, hopefully with a PR.

Please try #2730 for the fix for reading animated webp. This doesn't include the ability to write animated webp; one thing at a time.

@MickeyKnox Are you able to try out the proposed #2730 fix and verify that it is an improvement for you?


JDBC Driver preventing elasticsearch service from restarting

Hi Jörg,
i've faced issue when trying to restart Elasticsearch service in Windows 7 (x64) machine. Everything works fine if there are no plugins, however with JDBC plugin I'm unable to restart service and this needs to be done manually (kill process, start service)
This is the error I'm getting after trying to restart service.

I've set service logging to Debug level, however it doesn't produce any errors at all.
[2015-02-25 09:49:07,831][INFO ][node                     ] [Derrick Slegers Speed] stopping ...
[2015-02-25 09:49:07,838][INFO ][river.jdbc.JDBCRiver     ] river closed [jdbc/products]
[2015-02-25 09:49:07,868][INFO ][node                     ] [Derrick Slegers Speed] stopped
[2015-02-25 09:49:07,868][INFO ][node                     ] [Derrick Slegers Speed] closing ...
[2015-02-25 09:49:07,872][INFO ][node                     ] [Derrick Slegers Speed] closed
That's it. Seem this is similar issue:
https://groups.google.com/forum/#!msg/elasticsearch/nzf4sUcf7n0/k5Bb9JkNLDYJ
Tried both jTDS and Propiertary MS Driver.
Thanks,
Evaldas.

Which JDBC plugin version is this?

Hi,
I'm using <IP_ADDRESS> version.

I can not check proprietary JDBC drivers, or Windows service, for bugs.
Maybe the JDBC drivers have issues, I don't know.

I've seen similar behavior on Linux. Elasticsearch 1.4.4, elasticsearch-river-jdbc-<IP_ADDRESS>.jar, sqljdbc41.jar.
Rivers stop running on one of my four nodes. Removing and adding the river again will produce a _meta document but the _status document is missing. Restarting Elasticsearch fails on multiple attempts. I have to stop the process then start it separately. Once I've done this everything runs fine for a period of time. Days or weeks but eventually I end back up in this weird state. I can't find anything at all in the logs to note.

@loganbhardy please open a new issue and do not capture existing issues. This is a Windows issue I can not resolve.


Increase redis chart dependency

increase to bitnami redis chart 17.1.2; addresses helxplatform/development#940

what's that again, helm doc or something?

what's that again, helm doc or something?

helm-docs

fixes #940


[Do not review] Custom client ID

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Do not review

We have no plan to change Azure CLI's client ID. This PR is not valid.


Exclude custom builds from being included in node_modules

In https://github.com/Stride-Labs/stridejs/pull/9, we had to use custom builds of cosmos and stride. We should consider excluding them (unless they're built pre-install) so node_modules aren't so heavy.

Assaf's work fixes this https://github.com/Stride-Labs/stridejs/pull/15


Create ability to customize avatar name. Display name above avatar

We are saving this for after our store Beta release

Pushed to v0.02


ConfigurableSwatches() - Undefined is not a function

I get an error for this line
var swatchesConfig = new Product.ConfigurableSwatches(spConfig);
"Uncaught TypeError: undefined is not a function"
I'm testing Switcher on a clean install of Magento 1.9.1, the built-in "Configurable Swatches"-Feature is turned off (as a test: turning it on didn't resolve the error). I manually uploaded every file in it's corresponding folder and doublechecked everything.
You can live-debug it in the test-store which is throwing the error (link to config test product)
http://dev.abutments4life.de/magento/index.php/test-kat/astratech-osseospeed-klebebasis-lts-baser-anguliert.html
Thanks for any hints :)

I wasn't able to reproduce this. Make sure the file that contains ConfigurableSwatches function is included in your DOM.

I have the same error, but I see no lack of functionality. Just the error being displayed in Chrome's console as:
Uncaught TypeError: Product.ConfigurableSwatches is not a function(anonymous function) @ bikini-cruzado-doblable-damasco:1033
You can see it here http://www.lemps.cl/bikinis/bikini-cruzado-doblable-damasco
I would really appreciate if you briefly point me on how to include the file that contains ConfigurableSwatches function into my DOM.
:+1:

Hei!
I am using
Magento 1.9.1 and having the same error.
And I can't get the main image to change.
I actually would like to use only the feature that adds the default option and displays it as first in dropdown, it it better than some of the hacks I have tried for the same functionality. So maybe You can have extra small plugin made from the original for that, it would be lovely. Is it OK for me to try to get this part separated for using?
Thanks You for this great plugin!

@Tilogorn @ignaciomella @kaiakonsap
I was able to resolved this issue by disabling the core module Mage_ConfigurableSwatches.xml under /app/etc/modules. Change active to false.


docs(readme): add installation steps for container image for cosign binary

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>
Summary

Adding installation steps for container image for cosign binary
Ticket Link

Fixes #1985
Release Note

docs(readme): add installation steps for container image for cosign binary

Codecov Report

Merging #1986 (acd342e) into main (68e8d93) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1986      +/-   ##
==========================================
- Coverage   28.71%   28.67%   -0.04%
==========================================
  Files         132      132
  Lines        8087     8087
==========================================
- Hits         2322     2319       -3
- Misses       5458     5460       +2
- Partials      307      308       +1

Impacted Files
Coverage Δ

pkg/cosign/tuf/client.go
63.34% <0.00%> (-0.73%)
: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 68e8d93...acd342e. Read the comment docs.


Instructions and tests mismatch in "Understanding Uninitialized Variables" Challenge

Hello,
I've noticed a tiny mistake in the "Understanding Uninitialized Variables" task.
There are two sets of variables are given in the task. One set is in the instructions block and the other one is under actual assignment. The assignment variables don't work though.
Sorry for disturbing J
Cheers,
Max
Screenshot
https://nimbus.everhelper.me/client/notes/share/407837/eh52zqirhouiknknifin

Thanks @maxplakhuta
For anyone looking into this check below:

@maxplakhuta Ignore previous comment. This is correct behavior.
The value is incremented by the code in the editor window which is not supposed to be changed.

(Issue was closed before I finished this message but I'll post it anyways)
The tests and the instructions are correct. You initialize the variables with the values in the instructions
// Initialize these three variables
var a; //initial value should be assigned
var b; //initial value should be assigned
var c; //initial value should be assigned

Then the second block of code is run
a = a + 1;
b = b + 5;
c = c + " String!";

which would modify the variable values to match what the tests expect.

@sludge realized it late. Hadn't noticed it in the editor area. Sorry my bad.


Unclear about "Gateway subnet address range"

Hi, it is unclear in the 2nd section about "Gateway subnet address range". I cannot find such setting in the Azure dashboard in Virtual network pane. The Virtual network gateway IP is blank and the subnet is "GatewaySubnet" - there are no numerical expression, so how can we choose its range? Maybe this is deprecated? Thanks!
https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal#VNetGateway

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

ID: 57cbce6b-e48b-c199-7071-865a2a6422f0
Version Independent ID: 06320049-4747-cd1f-564a-36f3a6f5b004
Content: Connect your on-premises network to an Azure virtual network: Site-to-Site VPN: Portal
Content Source: articles/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@sssseossss a VPN Gateway has to be deployed in a subnet named "GatewaySubnet". This must be a subnet in your Virtual Network, and the "Gateway Subnet Address Range" is the range of this subnet. You can find more information about the GatewaySubnet Here.
To get a GatewaySubnet's existing address range, navigate to your VNET in the Azure Portal, select "Subnets" from the "Setttings" menu on the left, and look for the subnet named "GatewaySubnet".
Let me know if you have any additional questions.

@sssseossss Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Tensorflow optimizers approach NaN

This model/training loop approaches an error of NaN after a couple of iterations:
import tensorflow as tf
import numpy as np
from tensorflow import keras
import matplotlib.pyplot as plt
import time
from datetime import timedelta

def fn(x):
    return tf.sin(x)

seq_length = 200
x = tf.linspace(tf.constant(0, dtype=tf.float32), 50, seq_length)
y = fn(x)

n_outputs = 50
model = keras.layers.LSTM(n_outputs, return_sequences=True)
optimizer = keras.optimizers.Adam(learning_rate=1e-3)
loss_fn = keras.losses.MSE

loss_history = []
epochs = 2_000
out_epochs = 10
start = time.time()
for epoch in range(epochs):
    with tf.GradientTape() as tape:
        y_pred = model(tf.zeros(shape=(1, seq_length, 1)))
        y_pred_data = y_pred[0, :, 0]
        loss = loss_fn(y, y_pred_data)
    loss_history.append(loss.numpy())
    grads = tape.gradient(loss, model.trainable_variables)
    optimizer.apply_gradients(zip(grads, model.trainable_variables))
    if epoch % out_epochs == 0:
        print(f"Epoch {epoch}: Loss = {loss} ({timedelta(seconds=time.time()-start)})")

After a couple of training loops, the loss is NaN instead of a float
System: Intel i5-7200U with Intel HD Graphics 620

Thank you for reporting this @phgilde , we'll look into it.

same issue.

It looks like the issue has already been addressed internally. I can repro the NaN convergence on the latest pypi build, but not with our latest internal build.
I'll let you know once we release a new wheel so you can try it out!

Is there any ETA for the new wheel?
Thank you very much.

We just released tensorflow-directml 1.15.3.dev200911, which should contain the fixes for the NaN errors that you were seeing. You can try it out and tell us how it goes!
Also, since we have now open-sourced our fork, new tensorflow-directml issues should be opened over here.


Suggestion: Add 'read this'  or FAQ page

After browsing a few pages at Bioforge, a number of questions that feel like FAQ questions pop up in my mind.
It may be useful to add a page where that kind of information is provided, or a visitor is pointed to other, already existing pages.
Here are my questions as possible input:

How was this information collected? If it comes from multiple sources, how are they merged?
Why is information about volcanism missing?  (This one popped up when I read the brain tree pages, but may be relevant for others. I was very interested to see that brain trees may apper on planets with atmosphere, so the question if that was true also for volcanism was farly obvious.)
Is the raw data available?
Why are some vertical bars coloured?
How are the criteria established (e.g. for 'Tussock Albata Orange' it looks very much like there is only one or two observations reported, which can't be used to establish anything useful. So the 'G3', 'HA' and 'GW' criteria must have established in some other way? (I'm confused by the multiple bars in the Gravity, Temperature, Distance etc diagrams, but those may be bugs?)

Thank for the comments, issues raised and suggestions.
I had intended to revist this. I just want you to know that I will get round to it but it wont be at least until November because I have very little free time currently.


Parser strip comments

Resolve #156 - remove all comments from parsed output except:

;redcode-94
;name
;author
;strategy

Apparently!?  It shouldn't have removed anything much, just some comments from the .ld files in the integration tests.  git had a freakout about Windows case insensitive filenames at one point so I had to move a bunch of stuff and then move it back, maybe it's fallout from that?


Perform Accessibility Audit

Feature Request
As a FLIP Team member
I would like to know how the PeopleMover site is doing in regards to meeting WCAG 2.0 guidelines
so that I know what parts of the app I need to adjust to meet accessibility standards & everyone can use our app easily
Acceptance Criteria
Set of tools identified to perform the accessibility audit
Results from accessibility audit (what needs to be addressed)
Notes
Web Content Accessibility Guidelines:
https://www.w3.org/TR/WCAG21/
Ford Accessibility Intro & Testing Deck
https://azureford-my.sharepoint.com/:p:/r/personal/mrygiel_ford_com/_layouts/15/doc2.aspx?sourcedoc={AA18902E-94E1-4BFB-A4DB-CAE1D38D4619}&file=Accessibility Intro and Testing - 2020-02-14.pptx&action=edit&mobileredirect=true&cid=e4903ce1-e084-4de6-9a44-7ce1185d37cb
(Ask Mike Rygiel for access if needed)

General:

Account dropdown shows ? button on top banner in screen reader, needs aria label
Cannot use keyboard to sign out from account dropdown menu
Hotjar exists in links screen reader menu, try to remove it
PeopleMover logo says 'not available' in links screen reader menu, remove that
From axe, Element's background color could not be determined due to a background gradient for PEOPLEMOVER
From axe, ensure all page content is contained by landmarks (main, header, footer, etc)
From axe, document must have one main landmark

Space Dashboard:

Space buttons do not exists in screen readers currently, need role set on them (role should be button) and aria label
Ellipsis on space shows ? button for screen reader, need to add aria label
Cannot enter 'edit space modal' using keyboard

Space:

From axe, the branding message at the bottom of the page must have sufficient color contrast,

Powered by and FordLabs
2. From axe, Document has multiple elements referenced with ARIA with the same id attribute: sortby-dropdown
3. In edit product modal, hidden element must not contain focusable element,
4. Cannot see on screen reader button menu or tab to new product button
5. Cannot see on screen reader button menu or tab to edit product button
6. Cannot see on screen reader button menu or tab to add person button on product
7. Cannot see on screen reader button menu or tab to edit person button on product
8. Cannot see on the calendar date button on screen reader button menu or tab to open calendar
9. React Date Picker has ? button for switching months, non viewable buttons for selecting dates. Although, it is keyboard accessible
10. Revert button in reassignment drawer does not describe what is being reverted, just says 'Revert Button'. Add aria label for what assignment is being reverted
11. Add keyboard accessibility to all of space, which includes highlighting of buttons and inclusion of all buttons/links on page


Show hour on Total time and Session Time even when it is 0

Hi, this is just something that used to be configurable but I think it got removed. I lock my grinding stats in the right corner of the screen and since the hours don't show up when it is under 00 I can't fit it correctly to the edge of the screen because the witdh is lower than is usually is when the hours is >= 1.
As another alternative you could also provide ways for us to manually configure the width and height of the window but since I believe that's more complicated I would be grateful if the "Show hour when 0" made its way back into the plugin (which is a great one btw!)
Regarding whether you choose to update it or not thanks for you time and work! 🙌

weird, I'll take a look at that. I don't remember removing anything...

Thanks for the fast response!
I took a peak into the code and in the last commit I believe you may accidentally left that logic out.

fixed in 0407a13
I still don't remember removing this, maybe I was half asleep.
it'll be on the plugin manager soon

Thanks, appreciate it a lot!

up on the manager!


Edit webpack.config.js

Have to change webpack.config.js according the official  docs:
https://vue-loader.vuejs.org/migrating.html#a-plugin-is-now-required
npm run build does not work without this changes

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


K8SPXC-1109 start to use dependabot for PXC operator

add CODEOWNERS file
add CVE check for each PR

Test name
Status

We run 0 out of 36

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1209/commits/c59ad35851ff3e43396e4f8794603fdc5a0baf68
image: perconalab/percona-xtradb-cluster-operator:PR-1209-c59ad358

Test name
Status

upgrade-haproxy
passed

scheduled-backup
failed

storage
passed

big-data
passed

recreate
passed

scaling
passed

cross-site
passed

haproxy
passed

self-healing
passed

self-healing-chaos
failed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

self-healing-advanced
passed

self-healing-advanced-chaos
failed

init-deploy
passed

smart-update
failed

operator-self-healing
passed

limits
passed

operator-self-healing-chaos
failed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

demand-backup
passed

upgrade-consistency
passed

proxysql-sidecar-res-limits
passed

users
passed

pitr
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

proxy-protocol
passed

demand-backup-encrypted-with-tls
passed

We run 36 out of 36

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1209/commits/29671d830a580f4fe43cbe488a9b5e67b3692835
image: perconalab/percona-xtradb-cluster-operator:PR-1209-29671d83

Test name
Status

storage
passed

cross-site
passed

self-healing
passed

self-healing-chaos
failed

haproxy
passed

scheduled-backup
passed

upgrade-haproxy
passed

init-deploy
passed

big-data
passed

limits
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

recreate
passed

restore-to-encrypted-cluster
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

demand-backup
passed

scaling
passed

users
passed

pitr
passed

scaling-proxysql
passed

tls-issue-self
passed

demand-backup-encrypted-with-tls
passed

security-context
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

proxy-protocol
passed

upgrade-proxysql
passed

smart-update
passed

self-healing-advanced
passed

self-healing-advanced-chaos
failed

operator-self-healing
passed

operator-self-healing-chaos
failed

upgrade-consistency
passed

We run 36 out of 36

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1209/commits/29671d830a580f4fe43cbe488a9b5e67b3692835
image: perconalab/percona-xtradb-cluster-operator:PR-1209-29671d83


Support publish report to annotation ?

Would you please support publish report to action annotation ? Thanks.

Thank you for your issue! I will add annotations as soon as possible


Feat: Added ETW logging support for CNS.

[x] uses conventional commit messages

[x] includes documentation
[ ] adds unit tests
[x] relevant PR labels added

Notes:

/azp run Azure Container Networking PR


Add Config Flow for UI configuration

Lovely integration! It seems that the core HA trend is to use UIs for configuration instead of yaml files. Thus it would be nice to add a config flow to this integration.

Sounds like a good next step. I do not have time in the moment but i'll work on it as soon as i find the time.


Make use of enums for the validateBrowserAttribute method

The proposal
Make the SHAFT_Engine more user friendly with it's validations methods.
Make use of the enums in the validateBrowserAttribute method

Closed by #300


DetailScreen shouldn't take entire width

Readability issues due to DetailScreen taking entire browser width.

Fixed.


Add a pausetimes tool

This commit introduce eventlog_pausetimes.
This tool is based on the existing script within sandmark.
It is a straightforward re-implementation of it:

It takes for input one, several, of a directory of eventlog files (to align with Multicore's current CTF emitter emitting one file per domain.)
It computes the mean, max pause times, as well a the distribution up to the 99.9th percentiles.

Example run:
●●● ocaml-eventlog-pausetimes /home/engil/dev/ocaml-multicore/trace3/caml-426094-* name
{
  "name": "name",
  "mean_latency": 718617,
  "max_latency": 33839379,
  "distr_latency": [191,250,707,16886,55829,105386,249272,552640,1325621,13312993,26227671]
}⏎

A review of the said script would be appreciated.
Several implementation details to keep in mind:

The flush events (flushing overhead) time is removed from the current event scope. I think this may be enough to remove overhead but let me know if I missed something.
Error handling is a bit wonky. Some non-dramatic errors outputs to stderr (but do not fail the program), some others do hard fail (phase mismatch which implies a potential skew in calculation). Some suggestions on how we want error handling to behave would be appreciated.

See as well ocaml-bench/sandmark#218

I pushed more things.
This PR also now addresses keeping compatibility between trunk and Multicore traces, this way we should be able to merge it to master as well and release it fully on opam.
I can split both components of this PR to two separate one, although I'm fairly confident in the cleaning/parser refactoring.
The pausetimes script is still the important part of this PR. (and was slightly improved in the last few commits)

Thanks for the review, merging this in.


Add chinese translations

Add Simpllified - zh-CN.json
Traditional - zh-TW.json

Added both Simplified and Traditional!


Fixing naming style for constant expressions

As discussed in #2213, fixing the naming style for a few constants.

Thanks!


docker-compose: reach a stable version for v0.5.0

Please do not merge this PR until v0.5.0 release!!!!!!
This PR helps to give fixed versions for componants for KBS cluster.
Now they are all rc- versions, when the v0.5.0 is released, we will rebuild all the images and make a stable v0.5.0 version to replace all the rc- versions.
cc @fidencio

@Xynnn007 Maybe you should tag this PR as a Draft to prevent an accidental merge?

covered by https://github.com/confidential-containers/kbs/pull/72/commits/99d5ba3135f59f2e763802e1b398b8aa294352f0


⚠ Bofrost.at has degraded performance

In ccabe26, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2641 ms

Resolved: Bofrost.at performance has improved in abebaef.


groupsettings.groups.get is returning xml

I don't know why but groupssettings.group.get is returning an xml instead of json :
 <?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:apps="http://schemas.google.com/apps/2006" xmlns:gd="http://schemas.google.com/g/2005">
 <id>tag:googleapis.com,2010:apps:groupssettings:GROUP:......................</id>
 <title>Groups Resource Entry</title>
 <content type="text">......................</content>
 <author>
  <name>Google</name>
 </author>
 <apps:email>..................................</apps:email>
 <apps:name>Milan Team</apps:name>
 <apps:description/>
 <apps:whoCanJoin>CAN_REQUEST_TO_JOIN</apps:whoCanJoin>
 <apps:whoCanViewMembership>ALL_IN_DOMAIN_CAN_VIEW</apps:whoCanViewMembership>
 <apps:whoCanViewGroup>ALL_IN_DOMAIN_CAN_VIEW</apps:whoCanViewGroup>
 <apps:whoCanInvite>ALL_MEMBERS_CAN_INVITE</apps:whoCanInvite>
 <apps:allowExternalMembers>false</apps:allowExternalMembers>
 <apps:whoCanPostMessage>ALL_IN_DOMAIN_CAN_POST</apps:whoCanPostMessage>
 <apps:allowWebPosting>true</apps:allowWebPosting>
 <apps:maxMessageBytes>5242880</apps:maxMessageBytes>
 <apps:isArchived>true</apps:isArchived>
 <apps:archiveOnly>false</apps:archiveOnly>
 <apps:messageModerationLevel>MODERATE_NONE</apps:messageModerationLevel>
 <apps:spamModerationLevel>MODERATE</apps:spamModerationLevel>
 <apps:replyTo>REPLY_TO_IGNORE</apps:replyTo>
 <apps:customReplyTo/>
 <apps:sendMessageDenyNotification>false</apps:sendMessageDenyNotification>
 <apps:defaultMessageDenyNotificationText/>
 <apps:showInGroupDirectory>false</apps:showInGroupDirectory>
 <apps:allowGoogleCommunication>false</apps:allowGoogleCommunication>
 <apps:membersCanPostAsTheGroup>false</apps:membersCanPostAsTheGroup>
 <apps:messageDisplayFont>DEFAULT_FONT</apps:messageDisplayFont>
 <apps:includeInGlobalAddressList>true</apps:includeInGlobalAddressList>
 <apps:whoCanLeaveGroup>ALL_MEMBERS_CAN_LEAVE</apps:whoCanLeaveGroup>
 <apps:whoCanContactOwner>ANYONE_CAN_CONTACT</apps:whoCanContactOwner>
</entry>

Based on the discovery doc for that endpoint, it looks like you can send a querystring parameter alt set to json to get a JSON response. Something like:
groupssettings.group.get({
  groupUniqueId: 'groupId',
  alt: 'json'
}, function (err, response) {
  // ...
});

Closing as this does not appear to be an issue. If you are convinced that this is really a bug, please feel free to re-open the issue and add more information such as:

Expected behavior
Actual behavior
Code samples
Version numbers
References docs or other links

Or, consider opening a Pull Request.
Otherwise, support questions are handled on Stack Overflow.


InfluxDB 2.0: GetRuns and GetLog of Task API return Internal Server Error (500) instead Not Found (404)

The Internal Server Error (500) is returned when I trying get the run logs of a Run that does not exist:
-> GET
-> http://<IP_ADDRESS>:9999/api/v2/tasks/036bd89c5121d000/runs/020f755c3c082000/logs?orgID=036bd507cb84c000

<- 500
<- Internal Server Error
<- {"code":"internal error","message":"failed to find task logs","error":"no matching runs found"}

The Internal Server Error (500) is returned when I trying get a task's runs that couldn't exist. The beforeTime is set to time before create a Task.
-> GET
-> http://<IP_ADDRESS>:9999/api/v2/tasks/036bd93ef021d000/runs?beforeTime=2019-02-18T07%3A00%3A05.609Z&orgID=036bd507cb84c000

<- 500
<- Internal Server Error
<- {"code":"internal error","message":"failed to find runs","error":"no matching runs found"}

It's related to #11958.

@mark-rushakoff Thanks for fix. It works perfectly


Update catalog docs of missing variable types and broken link

https://github.com/rancher/charts/pull/343
https://github.com/rancher/charts/issues/334

Add the missing variable types of questions.yml
fix broken helm developer guide link

link PR to https://github.com/rancher/docs/pull/2046

Closing this issue because https://github.com/rancher/docs/pull/2046 was merged


[test-triage,spi_device] spi_device_stress_all

Hierarchy of regression failure
Block level
Failure Description
  UVM_ERROR @<PHONE_NUMBER>2 ps: (mem_model.sv:48) [exp_mem_spi_device_reg_block] Check failed act_data === system_memory[addr] (0x93 [10010011] vs 0x1 [1]) addr 0x2da07308 read out mismatch
  UVM_ERROR @<PHONE_NUMBER>2 ps: (mem_model.sv:48) [exp_mem_spi_device_reg_block] Check failed act_data === system_memory[addr] (0x50 [1010000] vs 0x3b [111011]) addr 0x2da07309 read out mismatch
  UVM_ERROR @<PHONE_NUMBER>2 ps: (mem_model.sv:48) [exp_mem_spi_device_reg_block] Check failed act_data === system_memory[addr] (0xf5 [11110101] vs 0x7c [1111100]) addr 0x2da0730a read out mismatch
  UVM_ERROR @<PHONE_NUMBER>2 ps: (mem_model.sv:48) [exp_mem_spi_device_reg_block] Check failed act_data === system_memory[addr] (0xcb [11001011] vs 0x93 [10010011]) addr 0x2da0730b read out mismatch
  UVM_ERROR @<PHONE_NUMBER>5 ps: (mem_model.sv:48) [exp_mem_spi_device_reg_block] Check failed act_data === system_memory[addr] (0xcd [11001101] vs 0xb8 [10111000]) addr 0x2da0730c read out mismatch

Steps to Reproduce

GitHub Revision: e3fb01b5e
dvsim invocation command to reproduce the failure, inclusive of build and run seeds:
./util/dvsim/dvsim.py hw/top_earlgrey/dv/chip_sim_cfg.hjson -i spi_device_stress_all --build-seed<PHONE_NUMBER> --fixed-seed<PHONE_NUMBER> --waves fsdb

Tests with similar or related failures

[ ] stress_all

The mentioned Git hash (e3fb01b5e) is from before https://github.com/lowRISC/opentitan/pull/18678 and https://github.com/lowRISC/opentitan/pull/18695 were merged. Yesterday's nightlies for instance (for 83db9403d1afe66e09cd9bc979c994fce6ca640a), don't show a single occurrence of this problem.


Discarding request body without needing a temporary buffer

How can I efficiently discard a request body without needing to use a temporary string_body or vector_body?
My use case is an HTTP REST server using a configurable map of request-target strings to handler functions. When a request-target is not found in the map, the server should flush the request body and send a 404 response back to the client, while maintaining the persistent (Keep-Alive) HTTP connection. I can flush the request body easily enough via a string_body or vector_body, but I was wondering how to flush the body bytes without dynamically allocating memory, or using a dedicated static "flush buffer".
I thought of using empty_body, but the documentation says:

... the parser will fail with the error http::unexpected_body

Is my best bet to write a custom Body class for this purpose?

I just realized after asking that I'm using a http::request_parser<http::string_body> to perform the initial http::async_read_header. I probably can't just use a different http::request_parser<flush_body> to read the remainder of the request because there's presumably no way to transfer the parsing state from one parser to another.
I'm also incurring the cost of dynamic allocations via http::request_parser<http::string_body> for legitimate request-targets anyway. There's probably no point in avoiding that cost when the request-target is not found.

You can utilize a http::buffer_body that points to a static buffer for that purpose, these examples might help:
https://www.boost.org/doc/libs/1_84_0/libs/beast/doc/html/beast/more_examples/http_relay.html
https://www.boost.org/doc/libs/1_84_0/libs/beast/doc/html/beast/using_http/parser_stream_operations/incremental_read.html

You can utilize a http::buffer_body

Yes, I know. I just have to decide if it's better to use one large (1MiB by default) http::buffer_body per client session, or use a string_body with the assumption that most request bodies will be small. The server is not intended to be used in a large-scale manner, and I don't have much time to perform stress tests, so I have to pick a reasonable approach and live with it.

I just have to decide if it's better to use one large (1MiB by default) http::buffer_body per client session

No, that's not scalable at all, even at the smallish scale I intent to use the server on a Raspberry Pi-like device. Probably better to use string_body, watch for bad_alloc failures, and do graceful degradation when needed.

I've studied the incremental reading example more closely, and I think I understand things better now. I think what I need is a parser<basic_dynamic_body<static_buffer>>, which I can use to incrementally append data to a std::string to obtain a contiguous request body. In my use case where the request-target is not found, I still do the incremental reading, but simply ignore the intermediate data.


Improve Easy Auth Docs

Hey, I just made a Pull Request!
(Take two at #17661 as I left it too long and it's got closed due to inactivity.  Fixed the last comment from @Rugvip so hopefully this is ready to go.)
Incorperated feedback from issues around setting up easy auth

Added missing configuration (See #17645)
Added a note around configuring the sign in page locally

: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)

Ih hey, DCO :p

Gah.  One day I'll learn and sign my commits off first time.

@afscrome I use the following .husky/prepare-commit-msg + global .gitignore of that file:
#!/bin/sh
NAME=$(git config user.name)
EMAIL=$(git config user.email)
if [ -z "$NAME" ]; then
    echo "empty git config user.name"
    exit 1
fi
if [ -z "$EMAIL" ]; then
    echo "empty git config user.email"
    exit 1
fi
git interpret-trailers --if-exists doNothing --trailer \
    "Signed-off-by: $NAME <$EMAIL>" \
    --in-place "$1"

We ofc can't ship that by default as it needs to be an opt-in process


Speedment failing to UPDATE rows

JAVA
manager.stream()
    .filter(GroupRules.GROUP_ID.equal(group))
    .filter(GroupRules.GROUP_RULE_ID.equal(groupRuleId))
    .map(GroupRules.SRC_NOT.setTo("X"))
    .forEach(manager.updater());

DEBUG
UPDATE "public"."group_rules" SET "group_id" = ?,"group_rule_id" = ?,"src_id" = ?,"src_not" = ?,"dst_id" = ?,"dst_not" = ?,"rule_id" = ?,"active" = ?,"class" = ?,"comment" = ?,"order_id" = ? WHERE "group_id" = ? AND "src_id" = ? AND "src_not" = ? AND "dst_id" = ? AND "dst_not" = ? AND "rule_id" = ?, values:[8, 1, 5, X, 3, N, 18, Y, null, General Rules, 1, 8, 5, X, 3, N, 18]
ISSUE
Speedment is generating this statement, when I am trying to change value "src_not" to "X". It is including the "src_not" column in the WHERE clause, when that's the column I'm actually trying to change.
Speedment version = 3.0.16
Postgresql runtime = 42.0.0
PSQL Version = PostgreSQL 9.5.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
Hope this helps. Cheers.

It is a semantic definition if this is an error or not. In Speedment, an entity is the same if its primary keys are the same. It appears like the class GroupRules does not have any primary keys so Speedment will fall back to using all columns. This works well for DELETE but not for UPDATE as you rightfully point out.
As a work around, you could remove the old GroupRules and insert the new GroupRules.
It would be possible to change this behavior once #257 is fixed.

Thanks for getting back to me.
Using your advice this is how I worked around the bug (In case anyone else is interested)
manager.stream()
    .filter(GroupRules.GROUP_ID.equal(group))
    .filter(GroupRules.GROUP_RULE_ID.equal(groupRuleId))
    .forEach(g -> {
        manager.remove(g); // REMOVE

        g.setSrcNot("X"); // MAKE CHANGE

        manager.persist(g); // ADD IT BACK
    });

@Nazaire Thank you for sharing. We will revisit this issue once #257 is fixed.


[QUESTION] question about FixedBatchNormalization layer

in this repository,
resnet layer use custom FixedBatchNormalization layer instead of keras official batchnormalization layer.
why do you use FixedBatchNormalization layer?

there are some bug in official batchnormalization layer?

I'm just following what is described in the original resnet paper:

For the usage of BN layers, after pre-training, we com-
pute the BN statistics (means and variances) for each layer
on the ImageNet training set. Then the BN layers are fixed
during  fine-tuning  for  object  detection.   As  such,  the  BN
layers become linear activations with constant offsets and
scales, and BN statistics are not updated by fine-tuning. We
fix the BN layers mainly for reducing memory consumption
in Faster R-CNN training.

@yhenon BN is fixed in the caffe implementation of Resnet50 for faster rcnn? or just for reducing memory?
When applying in our detection task, it is easy to overfit, I wonder whether it comes from the Fixed BN layer.

Can you point out where it's initialized with statistics from pretrained network?
https://github.com/yhenon/keras-frcnn/blob/0c5caf02550e92e333409685ae9e4a3afc4104aa/keras_frcnn/FixedBatchNormalization.py


mantl.io website is down

Not sure where to log this, but the website is down.  Is mantl still being actively developed?

Its been down since June 4 from what I can tell. It was hosted by Cisco I believe. I pulled a copy off the internet Wayback machine and am going to move it to GitHub pages.

Interesting.  I'm actually a Cisco employee and I've been trying to track down who is still working on Mantl internally or if it was abandoned.  :)

Brian, I have tried to reach out to Cisco internal resources and haven’t
been successful. From what I understand funding was cut internally and the
team laid off about six months ago. A couple of us are working on a revamp.
But we have questions about trademarks , and copyright.
On August 3, 2017 at 2:09:15 PM, Brian Long<EMAIL_ADDRESS>wrote:
Interesting. I'm actually a Cisco employee and I've been trying to track
down who is still working on Mantl internally or if it was abandoned. :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mantl/mantl/issues/2019#issuecomment-320090885, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAU0vUaow2RnBY4WwaPKMd9qilP6Ocrmks5sUjb5gaJpZM4Os_Hw
.

I'm starting to ask around internally and I'll get back to you if I hear anything.  I believe the trademark and copyright issue needs to be addressed by Cisco Legal.

Are we bringing the website online at http://mantl.github.io/ ?
Any possibility we can buy the domain mantl.io or would that depend if we need to rename the project after addressing with Cisco Legal?

@stevendborrelli Is it possible to get the DNS changed for Mantl.io?

I'm asking one of the folks I knew involved with the project.

I've identified the person who owns the domain. They need to check with their employer.

I've also sent out emails to a bunch of Cisco folks tied to the Mantl project to see if anyone knows how to get trademarks and copyright info transferred.

Thanks @brilong and @stevendborrelli !

The website appears to be online right now, hot diggity

I am hitting cloudflare - <IP_ADDRESS> . This is still Cisco hosting the website, correct?


add metrics

Signed-off-by: Qi Xu<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close #xxx
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
Please add a release note.

Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with None.
If this PR will be picked to release branch, then a release note is probably required.

/run-build-amd64

/run-build

/run-build

/review default


handle logout also if server logoutUrl fails

I sort of meant with our guidelines in mind. But I can do that for you if you want

I did my best, but eslint fails on my commit on code which is not my.

@k2s I don't know how you did that... It works for me: https://github.com/SpoonX/aurelia-authentication/pull/324

@k2s Mind if I merge mine instead? Or care to try again?

@RWOverdijk pls. merge it :-) thank you.


Bug: Litestar instance or factory not found

Hi, every time I try to run litestar from vscode I get a "Could not find Litestar instance or factory"

[!NOTE]
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard

If you would like to see an issue prioritized, make a pledge towards it!
We receive the pledge once the issue is completed & verified
This, along with engagement in the community, helps us know which features are a priority to our users.

Can you provide an MCVE of your project structure? You can see how Litestar discovers things in https://docs.litestar.dev/latest/usage/cli.html#autodiscovery, and you error indicates those criteria are not met.


Change keyboard brightness on Android based on the app's theme

Steps to reproduce
This is mostly a re-open of #75521
Dismissing it as invalid is wrong based on the fact that for example .NET MAUI is able to do it just fine. Therefore there is in fact a way to control it. even if it may be indirect.
Another fact that makes me think that Flutter already does somehow alter the keyboard brightness on Android, is that when I set my phone to Night mode, the keyboard I use changes in other applications to respect that. But in Flutter the keyboard stays bright. As if Flutter was forcing it to that state.
Expected results
Brightness.dark should change the keyboard's appearance to dark (given that the keyboard is reasonably smart about it)
Actual results
The keyboard is bright no matter the app theme, the phone's theme/night mode being enabled
Code sample
flutter create --empty and add a TextField
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
fvm flutter doctor -v
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.3 23D56 darwin-arm64, locale en-CZ)
    • Flutter version 3.24.3 on channel stable at /Users/michalhazdra/fvm/versions/3.24.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/xx/Library/Android/sdk
    • Platform android-35, build-tools 34.0.0
    • ANDROID_HOME = /Users/xx/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] Connected device (4 available)

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

@Michal-MK
I think even if you set theme: ThemeData.dark(), in your code but if the device's theme is set to light, then the keyboard will be shown in light mode and vice-versa when you set it to light. This is what I observed upon running a sample code using latest stable version on S10+ device.
Per https://github.com/flutter/flutter/issues/75521#issuecomment-781887807, it doesn't seem to be specific to Flutter and hence it was closed as out of scope. Also read https://www.reddit.com/r/GooglePixel/comments/u9c7cz/keyboard_not_following_system_theme/?rdt=64138 for further reference and it seems to be Android native discussion more than Flutter's.

Yes but when I set my phone to dark mode, and run a Flutter app, the keyboard is light, however, when I for example click on the google search box on the home screen the keyboard is correctly shown as dark.
It is an LG G8s running Android 11. I will try in an emulator and let you know.

Well now I tried a new project on the LG, and using ThemeData.light() and having the system be in light mode, the keyboard is dark...

However I found out that calling this:
  SystemChrome.setSystemUIOverlayStyle(
    const SystemUiOverlayStyle(
      statusBarColor: Colors.transparent,
      statusBarIconBrightness: Brightness.dark,
      systemNavigationBarColor: Colors.white,
    ),
  );

Specifically the systemNavigationBarColor, when I set it to white, the keyboard is white, and when I set it to black, the keyboard is dark.
So what are the defaults here, because when I was not calling it it was black? And t herefore the keyboard was dark even though the phone was in light mode and the app was in light mode...

And when I uninstall the app completely, and comment out the SystemChrome call the keyboard reverts to dark theme again...
So I clicked though all the apps I have installed on the phone and majority were in the light theme (as the system is) and majority had white (or bright) navigation bar color. So something in Flutter, or the native project Flutter creates is wrong or not set.

Thanks for the update. I will keep the issue open based on the behavior reported and for team's tracking on expected behavior although a similar issue was closed https://github.com/flutter/flutter/issues/75521

@Michal-MK from triage: I see you reference the phones global light/dark mode state in a couple of comments, but also reference app themes. Is this issue proposing that the keyboard respond to the global phone state, or the state of a particular app theme?

Hi, I would expect to at least respect the device theme, respecting the app theme would be a nice thing to have.


BSO nightmare

🐛 Bug Report
Bot never returns from nightmare trip or give any loot

https://cdn.discordapp.com/attachments/809567397216256050/823382006208397362/image0.png
Another example of the bug. If you could fix asap it would be great as a lot of are playing a bingo :)


Version 1.0 roadmap

Hi guys,
Just opening this ticket to track what we need to release 1.0
Are we going to wait for Ember and Ember data 2.0 to come out or do you prefer to do a release before that?
The adapter is quite stable now so I think is time for a release.
Any big issues we need to address before that? We have 4 issues opened, do we need to close them all before 1.0?

For me #113 should be done and if possible #116. I'd like to stick with our original plan of releasing 1.0 for Ember 1.13. We can bump to 2.0 for incompatible changes that land in Ember Data 2.

Agree with @benkonrath.  I want to release 1.0 asap; but the 2 issues mentioned need to be resolved first.

@benkonrath @dustinfarris went ahead and tried progressing both those issues with #123 and #124.

Version 1.0.0 released in https://github.com/dustinfarris/ember-django-adapter/commit/db320476e7af8c01ac274d79b80c53005ab39e33
Really great work everyone!
/thanks @benkonrath @holandes22 @jpadilla @gone @citmusa and everyone else who contributed.  You guys rock!

@dustinfarris Thanks to you too! :+1:


Add preview support for CSV, Parquet and Avro

### Tasks
- [ ] https://github.com/microsoft/AzureStorageExplorer/issues/6519
- [ ] https://github.com/microsoft/AzureStorageExplorer/issues/6520
- [ ] https://github.com/microsoft/AzureStorageExplorer/issues/6844

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Problem
Utilising the new preview feature on my data lake
Desired Solution
As per your request for other file types to support in the preview feature, anyone running a data lake would like to see support for CSV, Parquet and Avro
Alternatives and Workarounds
No response
Additional Context
No response

@JoeEdwardsGitHub When you say Data Lake, do you mean Azure Data Lake Gen2 (ADLS Gen2) or Data Lake Store Gen1? We are planning to retire Data Lake Store Gen1 in a few milestones so the preview feature won't be added there.
If you are using ADLS Gen2 and your blobs have file extensions indicating what they are (e.g. .csv, .pqt, etc.), you can add them to the setting to allow previewing them.

Thank you for your response. Yes I am using ADLS Gen2 with hierarchical namespace enabled. Your suggestion works well for CSV, although it would be helpful firstly to let people know this setting exists, secondly to pre-populate it with the 4 default values above, rather than having to re-type them when you want to add a fifth value, and thirdly to add ".csv" as a default, as this seems a non-controversial example of a text file.
However for both ".parquet" (https://parquet.apache.org/) and ".avro" (https://avro.apache.org/) these are not text files, they are column and row based (respectively) data storage formats containing schema metadata, so reading them as plain text does not help. What would be ideal is for the data within them to be rendered as a structured table. Given how much ADLS Gen2 is used for data lakes, and how extremely common these formats are, these would be very helpful features.

I am going to repurpose the issue as a feature request for previewing table-like structured data.

For anyone interested in this feature, do you know what encoding scheme does your parquet file use? We are evaluating if we want to implement our own decoder for the rle/bit-pack hybrid scheme since the available library doesn't support it right now.

How do you feel about parsing the parquet data and display the data as a JSON document? Like in this screenshot (the data is fake data, not PII)

@JasonYeMSFT that sounds like a great idea. For the purposes of a preview it's the data you are interested in rather than the layout. JSON can accommodate the same objects and arrays as appear in parquet structs, so that seems very suitable.
Thanks, Joe

I have one more question before diving into the details. Could anyone share the average size of parquet file you would like to preview? I need to consider the memory consumption before deciding how to present the data.

@JasonYeMSFT in our data lake we have millions of parquet files that are no more than a few kB, however as with any data file they can be any size you like. Most sources recommend they are no larger than 1GB before you split over multiple files.
I think in the scenario of previewing in ASE it is entirely reasonable to set at arbitrary upper limit of file size that can be previewed to a value that would not cause serious performance problems on an average machine. Preview is not suitable for reading massive files, it's for a quick lookup of small to medium-sized files.

I like the idea of being able to preview .parquet files, however json might only be suitable for files less than a specific size (or number of rows). As identified by Jason Ye MSFT, for a large parquet file, I'm not sure JSON is the right preview type.
I realise that json grants the capability of displaying associated metadata (when included in the file).  However, given the request is for a preview, I wouldn't expect this level of detail.

I would certainly be happy with @SqlAndWood 's suggestion of the top N rows, so long as it was clearly stated when the rows had been truncated. Choose a value of N that is suitable for an average computer. Metadata at the start would be a useful addition.
The issue with say a tabular (e.g. CSV) format would be structs (nested arrays/objects), which JSON can render easily.

For 1.29 we will be starting with CSV.

Implementation for all three formats is now complete.


Where is v4.4? (IDFGH-6228)

I see lots of references to a v4.4 of the idf, but I don't see it on the release page. Arduino as a component requires v4.4 or greater for use, yet it's apparently not available.

Hi @olsonap, apologies for the confusion. Arduino-esp32 project is currently using release/v4.4 branch of ESP-IDF. v4.4 release hasn't been made yet. At this time we are working on fixing the issues found by QA in release/v4.4 branch and preparing v4.4-beta1 pre-release. That will be followed by -rc and eventually the final release.
We'll look into making Arduino-esp32 documentation more clear about this.

That was an incredibly fast response at this hour. Thanks!


Some default values in schemas are incorrect

The schema says the default for the lambda parameter of the CEA projection is zero, but FITS-WCS paper 2 says the default should be 1.0.
The mu and lambda parameters for CYP should have default 1.0 but the schema gives a default of zero for both.
The theta1 parameter of the BON projection has no default in the paper but has default zero in the schema.
FITS-WCS paper 2 says that the first parameter for a conic (theta_A or sigma) has no default, but the schema gives it a default of zero.
A fairly minor point but the names used in the schemas for the parameters of the conic projections
(sigma and delta) do not match the names used in FITS-WCS paper 2 (theta_A and eta).

Fixed in #17


Warning "deprecated directive" by bison-3.4.1

I am using bison-3.4.1 on FreeBSD.
I get a warning that it is deprecated when converting parse.y.
% LC_ALL=C bison --version
bison (GNU Bison) 3.4.1
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% LC_ALL=C ./minirake -v `pwd`/build/host/mrbgems/mruby-compiler/core/y.tab.c
(in /tmp/mruby)
bison -o /tmp/mruby/build/host/mrbgems/mruby-compiler/core/y.tab.c /tmp/mruby/mrbgems/mruby-compiler/core/parse.y
/tmp/mruby/mrbgems/mruby-compiler/core/parse.y:1283.1-12: warning: deprecated directive, use '%define api.pure' [-Wdeprecated]
 1283 | %pure-parser
      | ^~~~~~~~~~~~
/tmp/mruby/mrbgems/mruby-compiler/core/parse.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]

If you use bison --update as shown, the directive will be replaced and no warning will be issued after that.
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y
index d26a29a2..d2fac7ee 100644
--- a/mrbgems/mruby-compiler/core/parse.y
+++ b/mrbgems/mruby-compiler/core/parse.y
@@ -1280,7 +1280,7 @@ heredoc_end(parser_state *p)

 %}

-%pure-parser
+%define api.pure
 %parse-param {parser_state *p}
 %lex-param {parser_state *p}

This change makes yacc return a "syntax error". However, bintest originally failed.

It hasn't been working for yacc. I will update parse.y.


Revert gemma flash attention as its not fully enabled in OH

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a Github issue or the forum? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines, and
here are tips on formatting docstrings.
[ ] Did you write any new necessary tests?

Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@regisss , please review and merge if ok for you. The reason why we have to revert is: flash_atten is not enabled/supported for gemma in OH although the params were passed.


qdrouter - "amqp:connection:framing-error No valid protocol header found" in log

This messages is wrote into the log of qdouter periodically:  Connection from <IP_ADDRESS>:51714 (to <IP_ADDRESS>:5672) failed: amqp:connection:framing-error No valid protocol header found
Liveness probe doesn't present valid credentials, probably.

Actually, its not even sending AMQP frames, it's just opening a TCP socket.

@tkratky @lulf - is the reported issue actually a defect?

@k-wall I argue that it is not a defect, but I think the plan is to provide a better liveness/readiness probe for the router that does some more thorough checking rather than just opening a tcp connection.


Update processing_history_table

Merging this so it's merged alongside the other code from #208 . Neither add code that's called from the workflow so okay to merge as partially complete


Realtime C# winform + RethinkDB

Can you help me write 1 project demo function: add-new; edit; save; remove...   use windows form + rethink DB ?
Thanks so much!

We dont provide any examples of usage of listed projects. Please, use projects' documentation pages and StackOverflow


multiligual and german voices

When i use the multiligual and german voices it works but there is a slight crackling in the voice sometime and also when i use my systems screen reader programm and select some of the voices they just sound better than the ones in game.
And last thing , sometimes it reads words in the wrong language and does not stay in german.
Can any of these issues be fixed ?

 example of the crackling

Example of the crackling in german languague https://youtu.be/n8k4Lo-7eOc?si=tyq8neyla8Z9i077


Awesome project. Why not continued?

Thanks for your question. I'd love to see it continue but just too busy with other work to make that happen right now.


Penetration Testing Approval from Microsoft?

Hi @davidokeyode ,
May I ask about if we go through the Demo, we require to get the Approval from Microsoft?
https://docs.microsoft.com/en-us/azure/security/fundamentals/pen-testing
Thank you.

Thank you @davidokeyode replied in the email.


Image problem

I have implemented the storyboard example but when I run the app, the image doesn't stay in the background it becomes a white background

Just put this on MenuViewController in ViewDidLoad Method self.view.backgroundColor = [UIColor clearColor];


Use --all-targets with Clippy

cargo clippy only checks the binary or library portion of your project.  In order to check the tests too, you should run cargo clippy --all-targets.
https://github.com/riscygeek/fuse-ufs/blob/9af5f59b5e9c4827ec46d2fb276b154142eee222/Makefile#L15

Done, thanks


Handle qiskit state preperation circuits in qiskit_to_tk converter

Often if we try to convert qiskit circuits which use state preperation gadgets (i.e using QuantumCircuit.initialize) we will need to use QuantumCircuit.decompose() repeatedly in order to avoid a key error in the conversion. This is because the state preperation uses higher level circuit operations which are not supported by the  qiskit_to_tk converter.
We now have the StatePreparationBox implemented in TKET as well as multiplexor operations. So we should in theory be able to handle the operations used in state prep directly in the converter without decomposing first.

Added support for this in https://github.com/CQCL/pytket-qiskit/pull/109 .


Issue creating CloudTrail

Describe the bug
Trying to deploy the module following the organization example but running into an issue with CloudTrail. I've delegated cloudtrail to my LogArchive account and trying to set that as account_type = "master"
When deployed, it creates everything but fails to start the Cloudtrail logging.
Error: Error starting logging on CloudTrail (cloudtrail-multi-region): TrailNotFoundException: Unknown trail: arn:aws:cloudtrail:us-east-1:920543562103:trail/cloudtrail-multi-region for the user: <log_archive_account_id>

The trail seems to exist but it shows under the mgmt account id rather than the delegated adminstrators account.
$ aws cloudtrail list-trails
{
    "Trails": [
        {
            "TrailARN": "arn:aws:cloudtrail:us-east-1:<mgmt_account_id>:trail/cloudtrail-multi-region",
            "Name": "cloudtrail-multi-region",
            "HomeRegion": "us-east-1"
        }
    ]
}```

When I re-run Terraform, it states that it already exists;

│ Error: Error creating CloudTrail: TrailAlreadyExistsException: Trail cloudtrail-multi-region already exists for customer: <mgmt_account_id> (Service: AWSCloudTrail; Status Code: 400; Error Code: TrailAlreadyExistsException; Request ID: a895136c-3390-4a0e-b270-2aee05c0f931; Proxy: null)

So I'm a bit confused as to how it should be deployed in an organisation. It seems as though CloudTrail has to be created only in the Management account and not a delegated adminstrator account? How are people then deploying the bucket for cloudtrail? Is that in there Logging or Management account?

## Versions

- Terraform: 1.1.7
- Provider: 4.37.0
- Module: v2.0.0

## Expected behavior

Cloudtrail is created in the delegated administrator account along with the audit bucket.

## Actual behavior

Cloudtrail is created in management account

@andy-townsend
Currently master account type is supposed to be uased only for the management account in your organization.
If you'd like to store log data outside of your management account, you can configure CloudTrail to export all events to your desired bucket by passing var.audit_log_bucket_name.  In this case, you create the organization trail in your management account while keeping the log data in the log archive account. This is similar to the setup when you use AWS Control Tower.
Please let me know if you have any particular reason to setup CloudTrail outside of your management account, thanks!

Closing as info provided. Cheers


Add measure_gas_usage cheatcode

As a StarkNet developer, I want to optimize my contract and create tests that checks gas usage, so that my project is optimized and the feedback loop is short.
Suggestion:
%{ stop = measure_gas_usage() %}
ContractA.call(...)
ContractB.call(...)
%{
   (total_gas_usage, report) = stop()
   print(report)

# {
#     "ContractA": {
#         "function": "calls",
#         "gas": 58,
#         "calls": [
#             {
#                 "function": "foo",
#                 "gas": 21,
#                 "calls": []
#             },
#             {
#                 "function": "bar",
#                 "gas": 37,
#                 "calls": []
#             }
#         ]
#     }
# }

   assert total_gas_usage < 60
%}

Convert built-ins to gas.
Spike measuring usage for any code — not only calls.

Closing in favour of #273


HDDS-6627. Intermittent failure in TestGetCommittedBlockLengthAndPutKey#tesGetCommittedBlockLength

What changes were proposed in this pull request?
This PR is to fix the flakiness in TestGetCommittedBlockLengthAndPutKey#tesGetCommittedBlockLength. Here the test case doing writeChunks call and then putBlock which should save the blockId in BlockData table of container DB, but this persistence of blockdata seems taking time by fraction of second due to which immediate GetCommittedBlockLength call by test client sometime fail and throws exception below:
org.apache.hadoop.hdds.scm.container.common.helpers.StorageContainerException: Unable to find the block. BlockID : conID: 1 locID:<PHONE_NUMBER>82745345 bcsId: 0
	at org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl.getBlockByID(BlockManagerImpl.java:359)
	at org.apache.hadoop.ozone.container.keyvalue.impl.BlockManagerImpl.getCommittedBlockLength(BlockManagerImpl.java:284)
	at org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler.handleGetCommittedBlockLength(KeyValueHandler.java:622)

This PR changes tries to fix the flakiness by adding waitFor GetCommittedBlockLength call till the response provides blockId successfully.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6627
How was this patch tested?
This patch was tested using repeated CI run with 500 iterations. Here is the green CI link.

@sumitagrawl Pls review

HDDS-9705

Thanks @adoroszlai , I am analyzing both again.

@ayushtkn @adoroszlai , I have fixed it now. Here is the green CI link.
There were actually 2 issues:

Timeout issue HDDS-9705 where sendCommand of writeChunk fails.
And another one when chunk was failed to write, GetCommittedBlockLength command fails to get block due to unsuccessful chunk write in tesGetCommittedBlockLength.

I just realized that line L173 change in TestGetCommittedBlockLengthAndPutKey which I did in my local code to fix the flakyness, but was somehow reverted and was not pushed in this PR, now I have fixed that. Above green CI link shows no falkiness now.

Sorry, I just noticed: can you please fix nextInt(0, 1024) in line 108, too?
https://github.com/apache/ozone/blob/8ca699d11bede96e619990e73e428a791bc2ad2e/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/scm/TestGetCommittedBlockLengthAndPutKey.java#L107-L108

Thanks @adoroszlai for pointing out. I just fixed it at line 108 as well.


Proto codec support for deferred files

Testing this also required supporting deserializing deferredFiles in the
json encoding. I've also added an example info.json for a deferred application.

You also need to update the version

Updated version, just bumped the revision number, let me know if you would prefer a minor version change.


Silence ws4py even more

So it doesn't log the exceptions from PyLXD connections anymore on the console.

Codecov Report

Merging #52 (8936b59) into master (721afcc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #52   +/-   ##
=======================================
  Coverage   96.98%   96.98%
=======================================
  Files          23       23
  Lines        1196     1196
=======================================
  Hits         1160     1160
  Misses         36       36

Impacted Files
Coverage Δ

vnet_manager/settings/base.py
100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


removed duplicates

perl -i -lne 'print unless $seen{$_}++' .

 This awesome command was from a random stackoverflow forum


Fixed minor typo.

Hi @memowe
Please review the PR.
Many Thanks.
Best Regards,
Mohammad S Anwar

Pull Request Test Coverage Report for Build 257

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 100.0%

Totals

Change from base Build 254:
0.0%

Covered Lines:
172

Relevant Lines:
172

💛  - Coveralls

So good to see you again! Thanks for your contribution, @manwar! :heart:


feat(Routes): add route for oauth2 application assets

Please describe the changes this PR makes and why it should be merged:
Adds a new route for application assets. I'm actually not sure where this is documented but discord.js uses it so it should exist.
Reference Discord API Docs PRs or commits:
https://github.com/discordjs/discord.js/blob/main/packages/discord.js/src/structures/interfaces/Application.js#L108

Please also add the respective results from the API calls


Unable to parse log line [BUG]

Describe the bug
Good Day, i have installed and configure your exported. when i run the tool i get Unable to parse log line command that runs continually
To Reproduce
Steps to reproduce the behavior:

installed the .exe on my c:\ drive
opened the command prompt in admin mode.
navigated the to the location were the .exe is located.
ran this line to start :   blueiris_exporter-amd64.exe --logpath=C:\BlueIris\log
confirmed log is writing to /metric directory

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

Windows Server 2019 - HP Gen10 Proliant
Blue Iris Version <IP_ADDRESS> (2023/11/01)
blueiris_exporter Version [e.g. 1.2.0 latest]

Additional context
Even though there is the parse error, the data still writes to my influxdb until the exporter tool times out.

Hi @denzelm5 thank you for the report! Would you mind sharing a copy of your latest log file in C:\BlueIris\log? I'll dig in and try and get a fix pushed up this week.

Hi @denzelm5 thank you for the report! Would you mind sharing a copy of your latest log file in C:\BlueIris\log? I'll dig in and try and get a fix pushed up this week.

Hi ,
Thanks for your reply. please see log file below.
Regards
202311.zip

Thanks for the log, it will make things much easier. At initial glance, it looks like Blue Iris has added some additional logging that the exporter doesn't know how to parse. I've been running mine as a Windows service, so I haven't noticed, but now that I look, it's doing the same thing for me. Feel free to install it as a service if you want to ignore it now as well.
Good news is, it should be a somewhat easy fix. I'll work on it a bit this week and should have something for you soon!

Testing a fix, if all goes well, I'll push it up tomorrow!

Hi,
Thank you very much. I have updated the collector, I dont get the error anymore . As this is the first time running the collector , was it suppose to like the below ? I also need to ask, In the grafana server import dashboard, i see the connection requires a Prometheus datasource ? How do you get this working as im writing the data to a bucket....

@denzelm5 Looking at the output of the command prompt window on the right, that is what it's supposed to look like. As for the powershell script, I'm guessing you are converting the prometheus metrics to influxdb? Unfortunately, I don't use influxdb, so I can't tell you if that's correct.
As for the Grafana dashboard, the one I have included in this repo and the one I maintain is for the Prometheus data source as that was the intended use for this exporter. However, I did have one other person who used influxdb and I did create this dashboard as well:
https://grafana.com/grafana/dashboards/17456-blueiris-influx/
It's out dated, and I don't currently have plans on setting up an influxdb to update it, but it could help as a starting point?

@denzelm5 Hey, just wanted to check in and make sure everything is working for you?

Hi Garret,
Sorry for not providing feedback sooner. The new version worked from BI to Influx, however the Grafana Dashboard for some reason didn't populate all values.
Regards
Denzel

From: Garret Wyman @.>
Sent: Monday, December 4, 2023 11:12 PM
To: wymangr/blueiris_exporter @.>
Cc: Denzel Marimuthu @.>; Mention @.>
Subject: Re: [wymangr/blueiris_exporter] Unable to parse log line [BUG] (Issue #5)
@denzelm5https://github.com/denzelm5 Hey, just wanted to check in and make sure everything is working for you?
—
Reply to this email directly, view it on GitHubhttps://github.com/wymangr/blueiris_exporter/issues/5#issuecomment-1839484548, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANWEXBET7NNL4EXAY557F5LYHY4DNAVCNFSM6AAAAAA7MRMGKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZZGQ4DINJUHA.
You are receiving this because you were mentioned.Message ID: @.***>