FG max - exceeded

Contact Details
No response
VRM portal ID
c0619ab2fbc1
Country / region
Germany (de)
B max
20.25
TB max
10.66
FB max
10.66
TG max
No response
FG max
6.5
Battery costs
0.05
Buy price
(p+0.0798+0.0133+0.0159+0.0215)*1.19+0.0205
Sell price
No response
feed-in possible
no
feed-in control
None
What happened?
Hi there,
I checked my installation today and the VRM portal dashboard showed that the import from the grid was over 11,000 W even though fg-max is set to 6.5 KW in the settings.
In the AC Input Power graphic you can see that all 3 phases have approx. 4000 W at the time of charging, as shown in the screenshot.

Could it be because the fg-max with decimal places doesn't work properly? Or does the value in the settings apply to a single phase and I would have to set the value to 2.15 KW.
When did it happen?
11/01/2024 10:00 to 14:00
Screenshots
![DESCRIPTION](LINK.png)

See https://www.victronenergy.com/live/drafts:dynamic_ess#qwhy_does_the_system_exceed_the_configured_power:

Q: Why does the system exceed the configured power?
During the configuration of the system, you are setting the capacity of the system, not the actual limits of the system. These capacities are used by the system to make its calculations, so it used as an average power the system can do in an hour.
If you want to limit the feed-in power to the system, you can do that. This is done via the ESS → Grid feed-in menu on the console. The system will not exceed this limit.
On the other side of limiting power (what gets pulled from the grid) is more tricky. If you have all of your loads behind the Victron system, you can use the AC input current limit. If you don't have all of your loads behind the Victron system, there is currently no configurable option to limit the total input of all of your loads. Especially when you have high loads (EV charger, heat pumps) before your Victron system, there is a chance of blowing your main fuse. We are working on a way to account for the loads that will limit the power the system can take. But at the moment that is not available yet.


Comments refactor

Refactor comments to achieve comments style consistency and fix grammar mistakes.
Also, I want to notice that deprecate and alias can not be called without function, although it is said that fn parameter is optional. Should I remove this comments or open new PR and fix this?

Landed in e75d985


[CLI] Verify network with provider

Checklist

[X] Relevant issue is linked
[X] Docs updated/issue for docs created
[X] Added relevant tests

Closes https://github.com/software-mansion/protostar/issues/2113

Convertged to draft, because this PR will change a lot https://github.com/software-mansion/protostar/issues/2113


Discovery Space - Visitor State

Create home page for not logged in users (use visitor view of discovery space)

[ ] re-use ideascale homepage

Discuss

[ ] Is this landing page about the catalyst app or is the landingpage about the specifc fund 14 (@mike-mcnulty)

@nielskijf confirming we'll take minimalist approach here for F14 as discussed; improve onboarding and education in F15 and beyond (mimic ideascale landing info, can keep F14 specific for now)


⚠ Spryr has degraded performance

In fa8000c, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 9186 ms

Resolved: Spryr performance has improved in 04b093a after 7 minutes.


Allow (JSON formatted) input strings to be dictionaries

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
When working with AWS resources you often have input parameters that are JSON formatted strings that contains the configuration for the resource. A typical example is the various IAM resources with roles and policies. Sometimes these even include Output from other resources.
In all cases, it can be nice - and a lot more readable - to inline the dictionary instead of having to use json.dumps(...), Output.apply(...) or even Output.all(...).apply(...)
A real world example
import json
from typing import Any, Mapping

import pulumi
import pulumi_random as random
from pulumi_aws import rds, ssm

def setup_rds_password_and_rotation(cluster: rds.Cluster, password: random.RandomPassword) -> None:
    def make_secret_string(data: Mapping[str, Any]) -> str:
        return json.dumps({
            'engine': 'mysql',
            'dbClusterIdentifier': 'rds-cluster',
            'host': data.get('endpoint'),
            'username': 'root',
            'password': data.get('password')
        })

    param = ssm.Parameter(
        '...',
        name='...',
        type='SecureString',
        data_type='text',
        value=pulumi.Output.all(endpoint=cluster.endpoint, password=password.result).apply(make_secret_string),
        description="Admin password used for RDS cluster",
    )

It would be so much nicer to be able to write this:
def setup_rds_password_and_rotation(cluster: rds.Cluster, password: random.RandomPassword) -> None:
    param = ssm.Parameter(
        '...',
        name='...',
        type='SecureString',
        data_type='text',
        value={
            'engine': 'mysql',
            'dbClusterIdentifier': 'rds-cluster',
            'host': cluster.endpoint,
            'username': 'root',
            'password': password.result
        },
        description="Admin password used for RDS cluster",
    )

As value is defined as a string, then Pulumi should automatically wait ion the result and jsonify the results..
Affected area/feature
Primarily in AWS, but something similar could also be useful in Kubernetes.

Hi @tma-unwire - as you noted in your AWS Native issue, this is behavior that could be great to implement elsewhere as well.
I would be curious to see if you had interest to bring this to pulumi/pulumi SDK generation implementation so it is available across all providers, provided the maintaining team is open to the idea.
cc @stack72 for thoughts on this?

I'll be happy to do that.
It misses some tests, but otherwise it works fine for me as is. So you're welcome to take the code, modify, include, delete, etc as you see fit...
The 'json.dump(...)' could be supplied as an argument and that way we could support YAML and other sorts of serializations.

@tma-unwire - we would love to see a PR wish suggested changes if you're up for it! :)

I found an error. New version below:
DATA_TYPE = Union[Sequence, Mapping]

def stringify_structure(data: DATA_TYPE, serializer: Callable[[DATA_TYPE], str] = json.dumps) -> Union[str, pulumi.Output[str]]:
    """Given a recursive list or map of data, returns a JSON formatted string.

    If the structure includes any Output elements, the returned string is packaged as an Object using
    Output.all(...).apply(...). """

    found_outputs: List[pulumi.Output] = []
    # pulumi.log.info(f"IN: {pprint.pformat(data)}")
    resulting_data = collect_outputs(found_outputs=found_outputs, data=data)
    # pulumi.log.info(f"OUT: {resulting_data}")

    if len(found_outputs) == 0:
        return serializer(data)

    fname = 'substitute_args'
    exec(f"""def {fname}(args): return {resulting_data}""", globals(), locals())
    f = locals().get(fname)

    return pulumi.Output.all(*found_outputs).apply(lambda args: serializer(f(args)))

def collect_outputs(*, data: DATA_TYPE, found_outputs: List[pulumi.Output]) -> str:
    """Given a data structure returns a string representation of this with where
    any references to found Output object is replaced with 'args[...]' and all of these accumulated in found_outputs."""
    # pulumi.log.info(f"IN: {pprint.pformat(data)}")
    if isinstance(data, dict):
        return '{' + ', '.join([collect_outputs(found_outputs=found_outputs, data=n) +
                                ': ' +
                                collect_outputs(found_outputs=found_outputs, data=v)
                                for n, v in data.items()]) + '}'
    if isinstance(data, list):
        return '[' + ', '.join([collect_outputs(found_outputs=found_outputs, data=i) for i in data]) + ']'
    if isinstance(data, pulumi.Output):
        if data not in found_outputs:
            found_outputs.append(data)
        return f'args[{found_outputs.index(data)}]'

    # constant - just passed through
    return repr(data)

This feature has been implemented in https://github.com/pulumi/pulumi/pull/11607.


Deleting files from the actor/out/temp directory

Hi, @adrianth
Is there a way to clear the actor/out/temp directory during the test (or during the start of the test or at the end, it doesn't matter)
Or maybe there is a way to clear downloaded files on remote selenium chrome node?
I searched a lot of things, but I could not find a solution, it seems like downloaded files should be deleted automatically at the end of the session, but this does not happen

ok, i found solution...
There is an undocumented file deletion function - org.getopentest.actions.files.DeleteFiles - link to source
3 arguments are accepted for input - 1 required (directory) and 2 more optional, but at least one of them must be present!

Argument
Description

directory
The directory where you want to delete files

fileName
The name of the file to delete

pattern
Pattern of files to delete

If the fileName argument is specified, the pattern argument will be ignored
Example: Delete all files, like run-config, main-config and etc., inside  /opt/opentest/actor/out/temp/downloads folder.
- description: Other - Delete all *-config from Downloads
  action: org.getopentest.actions.files.DeleteFiles
  args:
    directory: $tempDir + "/downloads"
    pattern: "*-config"


Fatal protobuf exception for sat.CpSolver

I have a cpsat.solver model which fails to solve by given this error for a given instance on a server, the model is develop in python and works on my local machine. Both server and local machines runs using a pipenv enviroment. Both server and local machine is windows 10 any idea for such an error can occur? Thanks for your help.
[libprotobuf FATAL /Users/corentinl/work/master/dependencies/sources/protobuf-3.6.1/src/google/protobuf/message_lite.cc:71] CHECK failed: (bytes_produced_by_serialization) == (byte_size_before_serialization): Byte size calculation and serialization were inconsistent.  This may indicate a bug in protocol buffers or it may be caused by concurrent modification of operations_research.sat.CpSolverResponse.
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: (bytes_produced_by_serialization) == (byte_size_before_serialization): Byte size calculation and serialization were inconsistent.  This may indicate a bug in protocol buffers or it may be caused by concurrent modification of operations_research.sat.CpSolverResponse.

our ortools python package  is based on protobuf 3.6.1. Since it is a native library iguess you need to verify that protobuf on server is also the version 3.6.1.
note: Protobuf just release the 3.7.0 https://pypi.org/project/protobuf/#history
python -m pip show ortools
python -m pip show protobuf

I'll try to generate a version with protobuf 3.7.0 soon

The pipenv environment is specificed to ortools 6.9 and the protobuf is version 3.6.1. But the problem is that this error is fatal and leads to an entire application break down. So do you have any idea how I with Python googleortools can generate generate: "concurrent modification of operations_research.sat.CpSolverRespons".
This discussion https://groups.google.com/forum/#!msg/protobuf/8urLQSXwzOI/jh1ot0M8gSIJ points at potential courses. Where one is that the use of uninitialized booleans can lead to memory corruption. So do you think this can be posible that google ORtools generates these?

in v6.9 we have proto file with boolean:
e.g.
https://github.com/google/or-tools/blob/fbd78928deecbcf13b7da3286f2c60eb568dc62d/ortools/constraint_solver/routing_parameters.proto#L213
they have been replaced by an OptionalBoolean
https://github.com/google/or-tools/blob/e7a9bbfae8bc57de414814553f82a9d01722d295/ortools/constraint_solver/routing_parameters.proto#L292
on the last v7.0 release
Don't know if it may fix your issue....

Potentially. I have difficulty recreating the problem. I think it is very difficult to develop a fix with the current knowledge. I suggest closing the issue until another person encounters this problem. Because it might be an error with the google protocol buffer or a C-compiler vs hardware problem as stated by Niklas Hambüchen in https://groups.google.com/forum/#!msg/protobuf/8urLQSXwzOI/jh1ot0M8gSIJ . So I'm not sure it is a googleORtools bug.

I agree with you, so i'll close this bug. But feel free to re-open it if you want.
note: In the link you pass there are saying to use -march=haswell -mno-lzcnt instead of -march=haswell BUT since on windows we are compiling/providing OR-Tools using VS 2017 compiler, don't know if it's still relevant and/how we can pass this flag
note2: AFAIK on the Makefile based-build (used to generate archives) we are NOT passing any -march option...
BTW thanks a lot for the investigation !

I encountered this issue with macOS High Sierra, Python 3.7.3, ortools 6.10.6025 and protobuf 3.7.0.
Downgrading protobuf to 3.6.1 fixed the issue. Thanks!

I'm having the same issue running this simple code:
def SolveTest():
    model = cp_model.CpModel()

    x = model.NewIntVar(-1000, 1000, 'x')
    y = model.NewIntVar(-1000, 1000, 'y')
    model.Add(x + y == 1000)

    solver = cp_model.CpSolver()
    status = solver.Solve(model)

[libprotobuf FATAL /Users/corentinl/work/master/dependencies/sources/protobuf-3.6.1/src/google/protobuf/message_lite.cc:71] CHECK failed: (bytes_produced_by_serialization) == (byte_size_before_serialization): Byte size calculation and serialization were inconsistent.  This may indicate a bug in protocol buffers or it may be caused by concurrent modification of operations_research.sat.CpSolverResponse.
libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: (bytes_produced_by_serialization) == (byte_size_before_serialization): Byte size calculation and serialization were inconsistent.  This may indicate a bug in protocol buffers or it may be caused by concurrent modification of operations_research.sat.CpSolverResponse.
Abort trap: 6

Here are my versions:
~/python/constraints python -m pip show ortools
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Name: ortools
Version: 7.0.6546
Summary: Google OR-Tools python libraries and modules
Home-page: https://developers.google.com/optimization/
Author: Google Inc
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /Users/andyk/Library/Python/2.7/lib/python/site-packages
Requires: protobuf, six
Required-by:
~/python/constraints python -m pip show protobuf
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Name: protobuf
Version: 3.7.1
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author: None
Author-email: None
License: 3-Clause BSD License
Location: /Users/andyk/Library/Python/2.7/lib/python/site-packages
Requires: setuptools, six
Required-by: ortools

my bad fron stable:
https://github.com/google/or-tools/blob/39f44709bba203f5ff3bc18fab8098739f189a6d/makefiles/Makefile.third_party.unix.mk#L24
but master:
https://github.com/google/or-tools/blob/3bc57f1aec91a31cb9c34c7a7a6d7a69986225d6/makefiles/Makefile.third_party.unix.mk#L24
Hope to release the 3.7.1 soon.....

@ppallesen why did you reopen this issue ?
note: Protobuf 3.8.0 is still not released (only in preview/RC currently)
see: https://pypi.org/project/protobuf/#history

Because of the original argument for closing it was that I could not replicate it. So I reopened it to ensure that it was either closed with a proper solution or stayed reopened until it was proper solution was in place. Sorry for not commenting on this. But feel free to close it again.

Protobuf mismath between pypi protobuf package and ortools package.
Should be fixed now (v7.1/May 2019) until the next Protobuf release....
For the record:
v6.10:
https://github.com/google/or-tools/blob/554cbccaa95b4c11eced13f145de1bf468e1f919/makefiles/Makefile.third_party.unix.mk#L23
v7.0-beta
https://github.com/google/or-tools/blob/769d9d3ff4773869c3420029d0109c0f0e3936b1/makefiles/Makefile.third_party.unix.mk#L24
v7.0
https://github.com/google/or-tools/blob/39f44709bba203f5ff3bc18fab8098739f189a6d/makefiles/Makefile.third_party.unix.mk#L24
v7.1
https://github.com/google/or-tools/blob/f3fd201e68cf75b7720ff5c3cadc599a1d02b54b/makefiles/Makefile.third_party.unix.mk#L24


⚠ ESPN has degraded performance

In 6741652, ESPN (https://espn.com) experienced degraded performance:

HTTP code: 200
Response time: 2267 ms

Resolved: ESPN performance has improved in 70d808e.


Mac OSX custom about file.

When adding a custom credits file to be displayed when you click App -> About requires 2 click for it to display.
Also the version does not populate.
Any help would be appreciated.

I'm having the same problems with the About Panel & version.

never mind, seems to be fixed by: https://github.com/mllrsohn/node-webkit-builder/pull/155

v1.0.7 should be live now with the fix.

Nice work!

thanks!


Added Hebrew localization

Duplicate of https://github.com/FinalForEach/Cosmic-Reach-Localization/pull/75 ?

Damn I didn't know someone already did it, I only checked the files to see if Hebrew was added. I have seen now that right-to-left languages are problematic to implement at the moment. Should I close this pull request?

Posting this here for future reference, the unicode Unicode Bidirectional Algorithm to support right-to-left text: https://unicode.org/reports/tr9/


package_filter parameter on ResolvedContext class shows incorrect expected type

In rez.resolved_context for the ResolvedContext class, the expected type of the package_filter parameter in the documentation seems to be incorrect compared to what is actually expected by the code.
The expected type according to the documentation is PackageFilterBase which should mean that I can pass a PackageFilter object for this parameter, however, when I pass a PackageFilter class, I get the following error:
11:44:55 ERROR    ResolvedContextError: Failed to load context from C:\Users\MY_USER\AppData\Local\Temp\rez_context_ta9orw0v\context.rxt: AttributeError: 'str' object has no attribute 'get'

From what I can tell, you must pass a PackageFilterList object instead. If you pass a PackageFilterList instead, then the resolved context works as intended.
Environment

Windows 10
Rez 2.112
Python 3.7

To Reproduce

Ensure the Rez Python API is in your PYTHONPATH
Run a Python interpreter and the following commands:

from rez.package_filter import PackageFilter, Rule
from rez.resolved_context import ResolvedContext

pkg_filter = PackageFilter()
rule = Rule.parse_rule('*-beta')
pkg_filter.add_exclusion(rule)
rez_ctx = ResolvedContext(['MY_PKG'], package_filter=pkg_filter)
rez_ctx.execute_shell()

Expected behavior
A successful resolve, with no errors.
Actual behavior
A corrupt context was created. I am placed inside the shell, but I cannot run rez context as I usually can, as running rez context prints out the same error and does not give me any information about the current Rez context.
Running the following commands in the interpreter works as expected. Note that I am using the PackageFilterList class instead of PackageFilter class.
from rez.package_filter import PackageFilterList, Rule
from rez.resolved_context import ResolvedContext

pkg_filter = PackageFilterList()
rule = Rule.parse_rule('*-beta')
pkg_filter.add_exclusion(rule)
rez_ctx = ResolvedContext(['MY_PKG'], package_filter=pkg_filter)
rez_ctx.execute_shell()

Looks like the issue stems from line 1695 in ResolvedContext.
The code is assuming that you are passing a PackageFilterList and doesn't seem handle to decoding a PackageFilter.


Add list of Fleets to Dashboard

For each fleet show:

name
namespace

Details pane containing 3 tabs:

the CRD for the fleet
a list of APIs associated with the fleet
a list of StaticRoutes associates with the fleet

PR - https://github.com/kubeshop/kusk-gateway-dashboard/pull/19


Partition autogrowing is not functioning on Alpine ARM images

Image:  kairos-alpine-arm-rpi-v1.1.4-k3sv1.25.2+k3s1.img.xz
Hardware: Raspberry Pi 4 model B  with 64Gb SD card
cloud-config:
#cloud-config

users:
- name: "kairos"
  passwd: "kairos"
  lock_passwd: true
  groups: "admins"
  ssh_authorized_keys:
  - github:devopsfu

stages:
  initramfs:
    - name: "Set hostname"
      hostname: kairos
    - name: "Set up Ethernet interface"
      files:
        - path: /var/lib/connman/default.config
          permission: 0644
          content: |
            [service_eth0]
            Type = ethernet
            IPv4 = <IP_ADDRESS>/24/<IP_ADDRESS>
            IPv6 = off
            Nameservers = <IP_ADDRESS>
            Timeservers = uk.pool.ntp.org

k3s:
  enabled: true

The k3s service appears to start, but if I do a k3s kubectl get nodes I see the following:
INFO[0000] Acquiring lock file /var/lib/rancher/k3s/data/.lock
INFO[0001] Preparing data dir /var/lib/rancher/k3s/data/a6de074690df59f81a5341041635a72720bd8ab6f08a15e362dfe33b896b4de9
INFO[0002] error extracting tarball into /var/lib/rancher/k3s/data/a6de074690df59f81a5341041635a72720bd8ab6f08a15e362dfe33b896b4de9-tmp after 14 files, 2 dirs, 1.589860258s: error writing to /var/lib/rancher/k3s/data/a6de074690df59f81a5341041635a72720bd8ab6f08a15e362dfe33b896b4de9-tmp/bin/k3s: write /var/lib/rancher/k3s/data/a6de074690df59f81a5341041635a72720bd8ab6f08a15e362dfe33b896b4de9-tmp/bin/k3s: no space left on device
FATA[0003] extracting data: error writing to /var/lib/rancher/k3s/data/a6de074690df59f81a5341041635a72720bd8ab6f08a15e362dfe33b896b4de9-tmp/bin/k3s: write /var/lib/rancher/k3s/data/a6de074690df59f81a5341041635a72720bd8ab6f08a15e362dfe33b896b4de9-tmp/bin/k3s: no space left on device

Output of df -h:
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         10M     0   10M   0% /dev
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           764M  8.4M  756M   2% /run
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
/dev/mmcblk0p2  5.9G  2.1G  3.5G  38% /run/initramfs/cos-state
/dev/loop0      2.0G  1.1G  816M  57% /
tmpfs           955M  136K  955M   1% /run/overlay
overlay         955M  136K  955M   1% /etc
overlay         955M  136K  955M   1% /srv
/dev/mmcblk0p4   55M  1.3M   50M   3% /usr/local
overlay         955M  136K  955M   1% /var
tmpfs           1.9G     0  1.9G   0% /tmp

Hi @DevOpsFu ! thanks for opening the issue.
I think the automatic grow partitioning isn't functioning correctly - however it should be enough to grow the partition labeled "COS_PERSISTENT" and the underlying fs after flashing the image. I'll update the docs with a workaround until this is fixed

Thanks @mudler  - resizing the partition did indeed resolve the issue!
I now have a separate issue which is that DNS resolution isn't working for some reason despite specifying a nameserver in my connman config. I will dig into that next.
I think the quickstart documentation, particularly around the cloud-config and yip vs cloud-init syntax could do with some improvement, as it has taken a lot of time for me to understand what's going on, mostly by piecing together information from various search results. I would be happy to help if the project is open to documentation contributions.

Thanks @mudler - resizing the partition did indeed resolve the issue!

Awesome, glad to hear that!

I now have a separate issue which is that DNS resolution isn't working for some reason despite specifying a nameserver in my connman config. I will dig into that next.

Did you tried the DNS setting from cloud config?

I think the quickstart documentation, particularly around the cloud-config and yip vs cloud-init syntax could do with some improvement, as it has taken a lot of time for me to understand what's going on, mostly by piecing together information from various search results. I would be happy to help if the project is open to documentation contributions.

Definitely it does, docs needs some love, please feel free to open up a PR, thanks :bow: !

I now have a separate issue which is that DNS resolution isn't working for some reason despite specifying a nameserver in my connman config. I will dig into that next.

Did you tried the DNS setting from cloud config?

I've tried that just now, and it doesn't seem to work (I'm probably doing something wrong here though!) I removed the Nameservers from the connman config and added a dns key. Here's the complete networking config:
stages:
  initramfs:
    - name: "Set hostname"
      hostname: kairos
    - name: "Set up Ethernet interface"
      files:
        - path: /var/lib/connman/default.config
          permission: 0644
          content: |
            [service_eth0]
            Type = ethernet
            IPv4 = <IP_ADDRESS>/24/<IP_ADDRESS>
            IPv6 = off
            Timeservers = uk.pool.ntp.org
    - name: "Set DNS servers"
      dns:
        nameservers:
        - <IP_ADDRESS>
        - <IP_ADDRESS>

This had no effect. I also added path: "/etc/resolv.conf" to the dns section, but that did not write any changes to the file. My head is spinning!
While I'm here, can I ask if the OpenSUSE image has been switched to systemd-networkd or if it still uses wicked? I would, overall, prefer a systemd based distribution (maybe that will also work better with cloud-init's native config rather than having to write out config files directly?

I think the quickstart documentation, particularly around the cloud-config and yip vs cloud-init syntax could do with some improvement, as it has taken a lot of time for me to understand what's going on, mostly by piecing together information from various search results. I would be happy to help if the project is open to documentation contributions.

Definitely it does, docs needs some love, please feel free to open up a PR, thanks 🙇 !

I'll see if I can do something to help on this! My journey into kairos has been a little tricky to say the least, and making the path easier for new users will definitely help.
Sorry for dragging this thread on with issues unrelated to the original report - let me know if you'd prefer me to file a separate issue for the DNS problem.

I now have a separate issue which is that DNS resolution isn't working for some reason despite specifying a nameserver in my connman config. I will dig into that next.

Did you tried the DNS setting from cloud config?

I've tried that just now, and it doesn't seem to work (I'm probably doing something wrong here though!) I removed the Nameservers from the connman config and added a dns key. Here's the complete networking config:
stages:
  initramfs:
    - name: "Set hostname"
      hostname: kairos
    - name: "Set up Ethernet interface"
      files:
        - path: /var/lib/connman/default.config
          permission: 0644
          content: |
            [service_eth0]
            Type = ethernet
            IPv4 = <IP_ADDRESS>/24/<IP_ADDRESS>
            IPv6 = off
            Timeservers = uk.pool.ntp.org
    - name: "Set DNS servers"
      dns:
        nameservers:
        - <IP_ADDRESS>
        - <IP_ADDRESS>

This had no effect. I also added path: "/etc/resolv.conf" to the dns section, but that did not write any changes to the file. My head is spinning!

This sounds smelly. It should just work - however, can you try to use the boot stage instead of the initramfs one?

While I'm here, can I ask if the OpenSUSE image has been switched to systemd-networkd or if it still uses wicked? I would, overall, prefer a systemd based distribution (maybe that will also work better with cloud-init's native config rather than having to write out config files directly?

systemd based images are now using systemd-networkd by default, wicked is not around anymore :)

I think the quickstart documentation, particularly around the cloud-config and yip vs cloud-init syntax could do with some improvement, as it has taken a lot of time for me to understand what's going on, mostly by piecing together information from various search results. I would be happy to help if the project is open to documentation contributions.

Definitely it does, docs needs some love, please feel free to open up a PR, thanks bow !

I'll see if I can do something to help on this! My journey into kairos has been a little tricky to say the least, and making the path easier for new users will definitely help.

Please feel free! this is a community driven project, so any help is really appreciated!

Sorry for dragging this thread on with issues unrelated to the original report - let me know if you'd prefer me to file a separate issue for the DNS problem.

No worries - however please create a separate issue so I can track it and have proper visibility during our dev cycles

FYI the autogrow issue only seems to affect the Alpine image - the OpenSUSE image works fine. Same with DNS. I will open a new issue for that and put as much info in as I can remember - I have since rebuilt my Pi with the OpenSUSE image and it's working great (I initially avoided it because the docs still say that it uses wicked)

FYI the autogrow issue only seems to affect the Alpine image - the OpenSUSE image works fine. Same with DNS. I will open a new issue for that and put as much info in as I can remember - I have since rebuilt my Pi with the OpenSUSE image and it's working great (I initially avoided it because the docs still say that it uses wicked)

Awesome!
alright, that might explain things then - my first guess would be to check if we have all the partitioning tools in the arm initramfs image, like sgdisk and so on - my guess is we don't

A potential fix for this issue is on master - needs just QA at this point

I can confirm that now this is working on master. Will be part of #355

release 1.1.6 contains the fix and verified locally, thanks for your contribution!


Failures on [dds/dap] Handle Sentinels in invoke toString()/getObject and return error to clients

The tests
pkg/dds/test/dap/integration/debug_variables_test RuntimeError (expected Pass)

are failing on configurations
unittest-asserts-debug-linux-x64

02:22 +57 -1: debug mode variables value formats supports format.hex in variables arguments

Request "terminate" has taken longer than 10s

02:23 +58 -1: Some tests failed.

Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.

stderr:
STDERR output collected before app terminated:
../../runtime/vm/json_stream.h: 146: error: expected: value > 0
version=3.5.0-edge (main) (Unknown timestamp) on "linux_x64"
pid=186974, thread=187008, isolate_group=main(0x55b0d787ece0), isolate=main(0x55b0d7883a10)
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=55b0d69beac0, vm_instructions=55b0d69beac0
fp=7f4435c7c210, sp=7f4435c7c0e0, pc=55b0d6dc18cc
  pc 0x000055b0d6dc18cc fp 0x00007f4435c7c210 dart::Profiler::DumpStackTrace+0x7c
  pc 0x000055b0d69becb4 fp 0x00007f4435c7c2f0 dart::Assert::Fail+0x84
  pc 0x000055b0d6e50e90 fp 0x00007f4435c7c340 dart::GetObject+0x2a0
  pc 0x000055b0d6e48b79 fp 0x00007f4435c7cb40 dart::Service::InvokeMethod+0x649
  pc 0x000055b0d6e4946a fp 0x00007f4435c7cb70 dart::Service::HandleIsolateMessage+0x1a
  pc 0x000055b0d6c52033 fp 0x00007f4435c7d300 dart::IsolateMessageHandler::HandleMessage+0x273
  pc 0x000055b0d6c904a5 fp 0x00007f4435c7d390 dart::MessageHandler::HandleMessages+0x1d5
  pc 0x000055b0d6c90b49 fp 0x00007f4435c7d3f0 dart::MessageHandler::HandleOOBMessages+0x99
  pc 0x000055b0d7366c5c fp 0x00007f4435c7d480 Dart_HandleServiceMessages+0x13c
  pc 0x000055b0d6c5905d fp 0x00007f4435c7d4d0 dart::Isolate::PauseEventHandler+0xad
  pc 0x000055b0d6c1d90a fp 0x00007f4435c7d680 dart::Debugger::Pause+0xaa
  pc 0x000055b0d6c2b8a3 fp 0x00007f4435c7d7f0 dart::Debugger::SignalPausedEvent+0x1c3
  pc 0x000055b0d6c2c183 fp 0x00007f4435c7d890 dart::Debugger::PauseBreakpoint+0x2f3
  pc 0x000055b0d6e31ce8 fp 0x00007f4435c7e090 dart::DRT_BreakpointRuntimeHandler+0x208
  pc 0x00007f444f503552 fp 0x00007f4435c7e0d0 Unknown symbol
  pc 0x00007f444f504401 fp 0x00007f4435c7e100 Unknown symbol
  pc 0x00007f444e3a22f4 fp 0x00007f4435c7e138 Unknown symbol
  pc 0x00007f444e3a2231 fp 0x00007f4435c7e168 Unknown symbol
  pc 0x00007f444e3a1303 fp 0x00007f4435c7e1d0 Unknown symbol
  pc 0x00007f444e3a159c fp 0x00007f4435c7e218 Unknown symbol
  pc 0x00007f444e3a1303 fp 0x00007f4435c7e280 Unknown symbol
  pc 0x00007f444e3a0329 fp 0x00007f4435c7e2d8 Unknown symbol
  pc 0x00007f444f5039d4 fp 0x00007f4435c7e350 Unknown symbol
  pc 0x000055b0d6c17e5f fp 0x00007f4435c7e3c0 dart::DartEntry::InvokeFunction+0x12f
  pc 0x000055b0d6c1aa45 fp 0x00007f4435c7e420 dart::DartLibraryCalls::HandleMessage+0xf5
  pc 0x000055b0d6c5213d fp 0x00007f4435c7ebb0 dart::IsolateMessageHandler::HandleMessage+0x37d
  pc 0x000055b0d6c904a5 fp 0x00007f4435c7ec40 dart::MessageHandler::HandleMessages+0x1d5
  pc 0x000055b0d6c91147 fp 0x00007f4435c7ecc0 dart::MessageHandler::TaskCallback+0x307
  pc 0x000055b0d6e8a3f8 fp 0x00007f4435c7ed50 dart::ThreadPool::WorkerLoop+0x188
  pc 0x000055b0d6e8ad1b fp 0x00007f4435c7eda0 dart::ThreadPool::Worker::Main+0x12b
  pc 0x000055b0d6dbaa53 fp 0x00007f4435c7eef0 dart::ThreadStart+0x103
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x00007f4435c7e0d0 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00007f444f504401 fp 0x00007f4435c7e100 sp 0x00007f4435c7e0e0 [Stub] UnoptStaticCallBreakpoint
  pc 0x00007f444e3a22f4 fp 0x00007f4435c7e138 sp 0x00007f4435c7e110 [Unoptimized] main
  pc 0x00007f444e3a2231 fp 0x00007f4435c7e168 sp 0x00007f4435c7e148 [Unoptimized] main
  pc 0x00007f444e3a1303 fp 0x00007f4435c7e1d0 sp 0x00007f4435c7e178 [Unoptimized] _Closure@0150898.dyn:call
  pc 0x00007f444e3a159c fp 0x00007f4435c7e218 sp 0x00007f4435c7e1e0 [Unoptimized]<EMAIL_ADDRESS>closure>
  pc 0x00007f444e3a1303 fp 0x00007f4435c7e280 sp 0x00007f4435c7e228 [Unoptimized] _Closure@0150898.dyn:call
  pc 0x00007f444e3a0329 fp 0x00007f4435c7e2d8 sp 0x00007f4435c7e290 [Unoptimized] _RawReceivePort@1026248._handleMessage@1026248
  pc 0x00007f444f5039d4 fp 0x00007f4435c7e350 sp 0x00007f4435c7e2e8 [Stub] InvokeDartCode
Unhandled exception:
Dummy exception to set exit code.

--- Re-run this test:
python3 tools/test.py -n unittest-asserts-debug-linux-x64 pkg/dds/test/dap/integration/debug_variables_test

https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/pkg-linux-debug/20177/overview

@DanTup and @bkonyi can you please take a look?

I'll see if I can reproduce.

I can reproduce and the assert is failing with offset == 0. I'm not sure the assert we're hitting is quite right. We check to see if offset < 0 in GetObject and then immediately assert that offset > 0.

@bkonyi is this something wrong in the VM, or in DAP? The noted change did add a new test that will trigger a bunch of getObject() calls for items in a large list (and will deliberately exhaust the ring buffer to test handling of expired references).

Yeah, this is a VM issue. We just had a bad assertion in the C++ code that fails if you try and provide an offset or count of 0 to the getObject call.

We just had a bad assertion in the C++ code that fails if you try and provide an offset or count of 0 to the getObject call.

I presume this didn't show up for me because I was using a bleeding-edge SDK build (which I think doesn't include asserts)? But why didn't it show up on the trybots?
(I'm also surprised we've never sent an offset of 0 in any of the other tests! Was there some other condition, or should offset=0 have failed consistently? 🤔)

We just had a bad assertion in the C++ code that fails if you try and provide an offset or count of 0 to the getObject call.

I presume this didn't show up for me because I was using a bleeding-edge SDK build (which I think doesn't include asserts)? But why didn't it show up on the trybots?

Correct, this assertion would only be hit in VMs built in DEBUG mode. It looks like there's a slight hole in the CQ configuration selection. I think we only run analysis and the pkg bots for pkg/dds CQ runs, which don't include any debug configurations.

(I'm also surprised we've never sent an offset of 0 in any of the other tests! Was there some other condition, or should offset=0 have failed consistently? 🤔)

Apparently not! It should have failed consistently in DEBUG builds.


[PLAT-108854] Add Thanos query bytes fetched in query frontend

forward additional query information added in https://github.com/databricks/thanos/pull/39, so that user can access this information directly
tested in integration test shard
instant query body

instant query header

range query body

range query header

generally lgtm, want to get @jnyi 's opinion on if we should set up a separate header name to compare with m3 performance.

generally lgtm, want to get @jnyi 's opinion on if we should set up a separate header name to compare with m3 performance.

it looks good to me, i don't think it is performance related so no need to complicate this


Sometimes jumplist is not updated when moving with open

It seems to happen when the jumps stay within the same buffer.
I think you should put 'normal! m`' somewhere.

I have added the cursor save.


Add links to image assets in Catalogue API

Add locations to Items in the API.
Initially for Miro data, we will have a single locationType of iiif-image, but this will be extended in the future to include other location types for the other data sources, including physical shelf locations.
Locations also have license info, which should be set for Miro data to the same license as the thumbnail on the associated work.
See: https://github.com/wellcometrust/platform-api/blob/master/ontologies/Examples/MIRO_sample_image_of_artwork_v2.json

The items in the API have a locations field with a locationType of iiif-image. What else are we doing on this (in the immediate future, at least)?
https://api.wellcomecollection.org/catalogue/v0/works?includes=items

Last piece to do here is tracked by #467.


Navbar active item [v3-alpha2]

Environment:

AdminLTE Version:  3.0.0-alpha-2
Operating System:  OSX
Browser (Version):  Chrome 69

Description:
When using the navbar (https://getbootstrap.com/docs/4.1/components/navbar/),
the active item doesn't have a differente color like shown in the example page.

We need to implement both hover effects and active styling.
Thanks for reporting @tradingstratagem !

I can work on this issue. But the problem is  how can i run the AdminLTE Version: 3.0.0-alpha-2 in my machine. Please can you help me

Is this still an issue?
I downloaded yesterday the alpha-2 version and I could see the different styling when active applied...
@shiri1248 to run it, just go to Releases and download AdminLTE 3 Alpha-2


Transclusions/Note embeddings cause hydration errors

Currently, if a markdown file contains an Obsidian-style transclusion like ![[my-other-note.md]] you get an error in dev mode
Error message

and nothing happens in export mode.
I understand that that is a pretty big feature, but I have found very litte (up to date) information on whether and when support for transclusions is planned.
In the meantime, it might make sense to transform transclusions into normal links, so that not all functionality is lost and the site is not unusable in dev mode

@Mr-Pine thank you for submitting the issue! I totally agree, Obsidian note embeds shouldn't throw an error and at least temporarily should be converted to links. I'll take care of it!

@Mr-Pine  This has just been fixed. Thanks again for reporting this issue! 🌷

Awesome!


submit midterm GSoC evaluation

submit midterm GSoC evaluation due July 29

Submitted!  (yes, you passed @peterm790 !)   😄
Keep up the good work!

Thanks @rsignell-usgs !


Upgrading to the latest stable version

According to the README.md, it seems that it uses the quay.io/keycloak/keycloak:12.0.1. But the current latest released is 25.0.2.
Is there any plan to upgrade the Keycloak to the current latest released version?

@peter279k I have just updated the action to allow the Keycloak version client to be customizable. The code in master branch should allow this:
steps:
- uses: actions/checkout@v2
- name: Keycloak Admin CLI
  uses: carlosthe19916/keycloak-action@master
  with:
## Set Keycloak version here
    version: latest
    server: http://keycloak:8080/auth
    username: admin
    password: admin
    kcadm: create realms -f openubl-realm.json

Here is an example:
https://github.com/carlosthe19916/keycloak-action/blob/master/.github/workflows/ci.yaml
I won't release it until 2 weeks from now. I need to test the action against the latest version of keycloak and I won't be in my laptop for 2 weeks

@carlosthe19916, thanks for your reply. I'll check that with the master branch in my project :).

Unfortunately, it seems that the Keycloak server cannot be run and I always get the Max attempts reached message.
Here is my Workflow log and workflow YAML file.

You are using a version of keycloak that require a command to start the server. So unfortunately we cannot use the image: quay.io/keycloak/keycloak:25.0.2 on the "services" section of GH actions as we cannot pass a command. Ok the other hand starting Docker with a plain docker command will make it start with a separate network and the action will not be able to reach it.... This is something I wanted to test... replying from my phone so I don't have a computer to check it now but I'll do it on the weekend.

You are using a version of keycloak that require a command to start the server. So unfortunately we cannot use the image: quay.io/keycloak/keycloak:25.0.2 on the "services" section of GH actions as we cannot pass a command. Ok the other hand starting Docker with a plain docker command will make it start with a separate network and the action will not be able to reach it.... This is something I wanted to test... replying from my phone so I don't have a computer to check it now but I'll do it on the weekend.
This one works     strategy:
matrix:
version: ["12.0.2", "19.0.3-legacy"]
fail-fast: false
services:
keycloak:
image: quay.io/keycloak/keycloak:${{ matrix.version }}
But I need to find a way to test higher versions of keycloak

@peter279k I have just released a new version of this action
I added tests to this repository to verify it works with multiple versions of Keycloak. You can check the gh workflow this repository uses for testing here https://github.com/carlosthe19916/keycloak-action/blob/master/.github/workflows/ci.yaml
Long story short you can do something like:
 steps:
      - name: Init Keycloak
        run: |
          docker run -d --name keycloak -p 8080:8080 \
          -e KEYCLOAK_ADMIN=admin \
          -e KEYCLOAK_ADMIN_PASSWORD=password \
          quay.io/keycloak/keycloak:latest start-dev
      - name: Keycloak Admin CLI
        uses<EMAIL_ADDRESS>        with:
          version: latest
          server: http://localhost:8080
          username: admin
          password: password
          kcadm: get realms

After using the new released version, it's worked now.
Please check this. Thanks for your help :).


WebXR: Finish article "Inputs and input sources" [MVP] -> Finished but awaiting final artwork

A guide to using input controllers with the WebXR world. In addition to the specification, consider content from the WebXR input explainer document.
Content needed

[x] Lead-in (before first heading) (What inputs are used for, why dedicated API, what types of inputs are there, etc)
[x] Input sources
[x] Targeting and tracking
[x] Actions
[x] Handling WebXR inputs
[x] Using Gamepads
[x] Applying non-WebXR inputs to WebXR contexts

Input sources

Intro

Position
Orientation
Degrees of freedom

Input device types
Input sources

Enumeration
Detecting input source addition/removal
Transient input sources (concepts; usage follows below)

Facing and targeting

Directionality (vectors in WebXR)
Representing facing direction
Targeting in 3D space
The targeting ray

Target ray space
Target ray mode

Actions

Intro (what are they, why are they separate from other inputs, etc)
Concepts and terms
Primary (select) actions

Input device types (button presses, etc)
The events and firing order

Primary squeeze actions

What they are and are used for typically
Events and event firing order

Handling WebXR inputs

Summary
Enumerating input sources (xrSession.inputSources etc)
Finding targeted objects (hit testing?)
Handling select events
Handling squeezes
Transient input sources

Reasons for inputs to be transient
Handling transient inputs

Using Gamepads

The Gamepad API
Updating the scene using gamepad inputs

Applying non-WebXR inputs to WebXR contexts

Collecting data
Applying inputs to the scene

Finished though awaiting some final artwork resources from contributor.

@a2sheppy, is this now completed?


[BUG] Error 500 when creating a new issue

Description
When creating a new issue on my Gitea instance for my astronvim_config repository I get Error 500 related to issue forms even though they are not used by this repository. There was a .github directory with issue templates accidentally uploaded as I was copying workflows from another repository but the issue templates were deleted and the .github directory was renamed to .gitea.
Gitea Version
1.22.0+dev-98-ge94f9fcaf (docker image: nightly)
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/jiriks74/dd104f92600c10b7bf9b103501ee35fc
Screenshots

Git Version
No response
Operating System
Docker on Raspberry Pi OS
How are you running Gitea?
I use the official  gitea/gitea:nightly Docker image
Database
MySQL/MariaDB

Redirecting after issue creation is also broken:

This got fixed by adding a new template.
However I still think that this should be investigated.

Still happens after adding issue templates to the repository:


Feature Request: Current favorite/sound mode in state

I recently purchased a Hatch Rest+ Gen 2 and it's been a huge help in my household, thanks in large part to this integration. Thank you for writing and maintaining it!
I'm working on setting up template switches in Home Assistant for each of the "favorites" (which show as "sound modes" in the media_player entity), so I can activate each mode with a single button/action. An example switch looks like this:
---
switch:
  - platform: template
    switches:
      hatch_rest_gentle_awakening:
        friendly_name: "Hatch Rest Gentle Awakening"
        icon_template: mdi:bird
        value_template: "{{ is_state('media_player.hatch_rest',
                                     'playing') }}"
        turn_on:
          - service: media_player.select_sound_mode
            data:
              sound_mode: "Gentle Awakening-00000000"
            target:
              entity_id: media_player.hatch_rest
          - service: media_player.media_play
            data:
              entity_id: media_player.hatch_rest
        turn_off:
          service: media_player.media_stop
          data:
            entity_id: media_player.hatch_rest

One small issue I've encountered is how to render the value_template. In the example above I'm just using the state of the media_player entity. Unfortunately that turns all switches on when the media_player state is playing, regardless of what favorite is active, which prevents me from switching between favorites.
Ideally I could show the current state of each favorite separately, but that requires knowing which favorite is currently active on the Hatch Rest+. The iOS app seems to have the information about what favorite is active, so it should be possible to receive this info, but as far as I can tell the HA integration does not expose it.
Would it be possible to add the active favorite to the state of the media_player entity in Home Assistant so that I can use it to set the state of template switches? Or if this information is already available, please let me know where I can find it.
Thanks!

I have a rest+ gen1 but the sound mode should be an attribute on the media player like rain in this screenshot

Maybe this is an issue with the Gen 2 then? Note the missing attributes in my equivalent screenshot.

@w1ll1am23 @brentdur it looks like RestoreIot never sets the audio_track field in https://github.com/dahlb/hatch_rest_api/blob/main/src/hatch_rest_api/restoreiot.py is that something either of you can help with populating?

I have a rest+ gen2 and I do not see a sound mode attribute in the media player entity state, so I don't see how I can even set which sound to play
volume_level: 0.95
media_content_type: music
device_class: speaker
friendly_name: My Rest+ Media Player
supported_features: 87044

this should all be working in version 1.18.0
sound mode allows you to pick which sound is playing and reflects the currently playing sound
use select source to activate favorites, ie:
service: media_player.select_source
target:
entity_id: media_player.sage_reading_light_media_player
data:
source: Sleep
list of favorites are available on media player entity, ie:
sources:

Sleep-71564417
Kid Routine-71563479
Reading-71563479
select_source can be passed the favorite's name, or id, or first step's name, or the full name-id as available in sources list of entity

@dahlb Thank you so much! I can confirm that this now works perfectly for me. Here's an updated example template switch that also takes advantage of the new auto-created scenes in 1.20.0:
---
switch:
  - platform: template
    switches:
      hatch_rest_gentle_awakening:
        friendly_name: "Hatch Rest Gentle Awakening"
        icon_template: mdi:bird
        value_template: "{{ is_state('media_player.hatch_rest',
                                     'playing') and
                            is_state_attr('media_player.hatch_rest',
                                          'sound_mode',
                                          'Birds') }}"
        turn_on:
          - service: scene.turn_on
            target:
              entity_id: scene.hatch_rest_gentle_awakening
        turn_off:
          service: media_player.media_stop
          data:
            entity_id: media_player.hatch_rest


Prevent backend from overwriting orders, customers and articles that have been modified in the meantime

This is a new version of the closed PR #1468, which includes the requested improvements as well as tests.
1. Why is this change necessary?
When a backend user saves an entity like Article, Order or Customer, any changes that may have happened concurrently after the entity was opened in the backend up to the point in time where the user presses the "Save" button are overwritten.
Some users tend to open multiple orders, leave them open to do something else and then come back to edit them later. In these cases, write conflicts can and do happen. This may be the case when another backend user has modified the order in the meantime. However, something that we've seen quite often is that orders are modified over the API (e.g. when the order is being picked or shipped using Pickware Mobile), but these changes are then overwritten by another user saving a stale representation of the order from the backend. This causes problems which are very hard to debug and hard to recover without a lot of manual steps.
Because of this, getting this PR merged is a top priority for us (Pickware).
2. What does this change do, exactly?
This is PR uses the known pattern of Optimistic Locking. See: https://en.wikipedia.org/wiki/Optimistic_concurrency_control
Blocks saving an order, article (item) or customer if the respective entity was modified by someone else after the entity was loaded by the backend. The user gets a message instructing them to close and re-open the entity in question and try again:

3. Describe each step to reproduce the issue or behaviour.
Open two orders at the same time in the backend, change something, save both. The second save of the changes will completely revert the first changes.
4. Please link to the relevant issues (if any).
None.
5. Which documentation changes (if any) need to be made because of this PR?
None.
6. Checklist

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

thanks for your contribution @windaishi  +1 :tada: :blue_heart:.
Your PR has been merged with https://github.com/shopware/shopware/commit/369aa7f7afa9c8b7f2bead27bc8765fa0d61e53c


[11.x] remove temporary variables

removal of some simple temporary variables.
some of these were most likely originally written this way due to binding of $this prior to arrow functions.

failure seems unrelated to changes. PHP setup was halted.


Makefile based build orchestrator for development.

This is draft idea, how we can ease pre-checks before stuff is pushed to review.
Our development pipeline is getting bigger and bigger there are like 8 tasks executed for each build in CI, which are hard-coded in .travis.yml and thus not available directly for developer before he pushes to review.
This makefile, does the same with

simple usage: make -j4
hides output of successful steps (outputs is dumped only in case of failure)
parallel build support
basic dependency resolution - will not rebuild examples, if you play with tests and vice versa

This "old-fashioned" can run CI" tasks in on developer machine in around 1 minute, thanks to fact that is is parallelizable (yes, make -j4 works).
Yes, make is not available on windows - but there is no proper build orchestrator that can do proper dependency resolution for out-of-box parallel build support.

I'm giving a big -1 to this - make and shell are two more technologies that come with their own baggage of pain and that we would have to learn, understand and maintain.
Yes, the current system is not optimal, but I don't see enough pain to warrant introduction of make.

Or though as the discussion above shows that this isn't a perfect solution, this seems like a good starting point to have developers be able to run the CI locally at least in mac / linux. I would like to very much be able to use this to run locally, because it is annoying to have to wait for the CI to give feedback, when I can do it locally (if I so choose to).
I think we should submit this and wait until the community cries loud enough to introduce windows support.


Docs: autodoc init functions

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

Project coverage is 68.32%.  Consider uploading reports for the commit 80cf2b8 to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #460      +/-   ##
==========================================
- Coverage   71.78%   68.32%   -3.47%
==========================================
  Files          45       45
  Lines        2715     2715
  Branches      587      587
==========================================
- Hits         1949     1855      -94
- Misses        582      668      +86
- Partials      184      192       +8

Flag
Coverage Δ

unittests
68.32% <ø> (-2.95%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 5 files with indirect coverage changes


Make Registrar's methods use resultify

Previously, they were not inverting the error code.

I'll block this on #3.


Add new option to control menu animation direction

Add dropdownTransitionType setting for initializing menus.
The values available are: "default", "vertical", and "horizontal".
NOTE: Transitions will be re-factored and enhanced in Webui v6.0.0.

Completed.


CountedMap isn't updating the count on set.

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
Currently, when doing CountedMap::set it does not update the count, either on value removal or insertion. It should be consistent with StorageMap::set that simply delegates to either StorageMap::insert or StorageMap::remove.
We should make sure CountedMap::set delegates to CountedMap::insert or CountedMap::remove.
Steps to reproduce
Create a CountedMap, try to set a value and then check CountedMap::count() to verify that it returns 0.

This issue has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-38/2122/1


Feat/dashboard

Implemented the Profile Page on the Dashboard

A few notes.

when updating password, behind the scenes the employer profile keeps on updating (unprovoked)
After clicking on a link in the side bar, it doesn't close after clicking on it


How to set the bing api for the newest Argon theme?

Hello. How to set the bing api for the newest Argon theme? I liked the bing picture in the login background before?

Left MENU > System > Argon config > Wallpaper source > Bing wallpaper

thanks


Add Python 3.12 to CI

I don't think we have any plans to use Python 3.12 soon, but 3.12 seems to be surprisingly breaking so I'd like to start testing on it early.

LGTM


Fix Photos that doesn't fill the view

#35  Photos with lower-res doesn't fill view on iPhone 6 Plus

What is the status of that merge request ?
I also have an empty space on some images.


Release 20220727.1

Codecov Report

:exclamation: No coverage uploaded for pull request base (release@4b0e162). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             release    #1376   +/-   ##
==========================================
  Coverage           ?   26.15%
==========================================
  Files              ?      200
  Lines              ?    15371
  Branches           ?       99
==========================================
  Hits               ?     4021
  Misses             ?    11079
  Partials           ?      271

Flag
Coverage Δ

be_integration_test_nightly
8.86% <0.00%> (?)

be_unit_test
27.59% <0.00%> (?)

e2e_test
62.98% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Set default user agent

Description
Sets a default user agent that identifies network requests from this SPM
Type of Change

[ ] Bug Fix
[x] New Feature
[ ] Documentation

Checklist:

[x] My code follows the ATProtoKit API Design Guidelines as well as the Swift API Design Guidelines.
[x] I have performed a self-review of my own code and commented it, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings or errors in the compiler or runtime.
[x] My code is able to build and run on my machine.

Screenshots (if applicable)
Attach any screenshots or GIFs showcasing the changes effect.
Additional Notes
We could add a method for users to update with their own custom user agent down the line, but they can update the ['User-Agent'] header currently if they so desire.
Credits
If you want to be credited in the CONTRIBUTORS file, you can fill out the form below. Please don't remove the square brackets.

Name: [Adam Rowe]
GitHub: [airowe]
Bluesky<EMAIL_ADDRESS>Email<EMAIL_ADDRESS>

I'm approving this, but I'm going to push it to 0.21.0.

Sounds good. I’ll update the UA to reflect that version number. Is thereA central place you’re referencing that?


Animation not shown when using Expo 50 with lottie-react-native 6.5.1

Description
I've recently upgraded to Expo 50 with lottie-react-native version 6.5.1 but haven't had any success yet. The issue is that the animation is simply not showing - can’t really tell why since the implementation is fairly simple and no warnings/errors are shown.
When I revert back to lottie-react-native version 5.1.6, everything works as expected.
Steps to Reproduce
"react-native": "0.73.2",
"expo": "^50.0.0"
"lottie-react-native": "6.5.1",

<LottieView
    autoPlay={true}
    style={{ width: '100%', height: '100%' }}
    loop={true}
    speed={2.2}
    source={require('../assets/lottie/animation.json')}
/>

Expected behavior: Should show animation as expected
Actual behavior: Does not show the animation
React Native Environment
Using iPhone SE 3rd gen simulator.
Using dev client & the hermes engine.

Hi @eljubec. Can we have the lottie file in question so we can check things out?

Sure! Following animation is in use:
animation.json

Alrighty. We will take a look and see what we find

Hi @eljubec,
I created a repo with the latest Expo SDK and configured it with a dev client.
Here is the screenshot of the result:

Same issue as well with lottie-react-native v6.5.1 with Expo SDK 50. But when reverted to v5.1.6, some animations do not fully animate and will be slow.

Same issue as well with lottie-react-native v6.5.1 with Expo SDK 50. But when reverted to v5.1.6, some animations do not fully animate and will be slow.

@JoelNgiamKeeYong Please provide a reproducible. @eljubec Any updates on your side?

Any updates?

I had the same problem, but for it to work you have to define the size in pixels instead of in percentage.

@Rolls98
Relative values shouldn't be a problem as you can see in the example repo I created. Can you please give us a reproducible where relative width and height is not working?
https://github.com/matinzd/lottie-react-native-expo

@matinzd
What I had as a problem was that I had to define a height without the width,
and on version 5.1.4 I have no problem, but with version 6.5.1 the animation only works when I specify the height and width.

@matinzd
What I had as a problem was that I had to define a height without the width,
and on version 5.1.4 I have no problem, but with version 6.5.1 the animation only works when I specify the height and width.
exemple code work on 5.1.4 but not on 6.5.1
`
const CartAnimation = () => {
return (
<LottieView

  style={{ height: hp('6%')}}

  source={require('./cart.json')}

  autoPlay

  loop={false}

/>

);
};
`
when i specify width on 6.5.1 it's work
`const CartAnimation = () => {
return (
<LottieView

  style={{ height: hp('6%'), width: hp('6%') }}

  source={require('./cart.json')}

  autoPlay

  loop={false}

/>

);
};
`

https://github.com/lottie-react-native/lottie-react-native/blob/master/MIGRATION-5-TO-6.md

@eljubec Any updates?

@eljubec Any updates?

The problem was fixed for me at least when the width and height are defined in the Lottie animation, just like in the Migration link (from v5 to v6) you provided.
Did not work (old code, notice the style definition missing from Lottie!)
< CustomContainerView style={{width: 100, height: 100}}>
    <Lottie source={{...etc}}/>
< CustomContainerView >

Started working after defining the styles directly to Lottie:
< CustomContainerView style={{width: 100, height: 100}}>
    <Lottie source={{...etc}} style={{width: 100, height: 100}} />
< CustomContainerView >

What caused this issue was probably that the Expo did not clearly state that the Lottie animations would break with the Expo SDK update (or I and others missed it :D).

What caused this issue was probably that the Expo did not clearly state that the Lottie animations would break with the Expo SDK update (or I and others missed it :D).

Glad it's working for you. I am unaware of Expo's explicit recommendation regarding setting up dependencies, but I always got the impression that it recommends that you install the dependencies yourself, even if it is included with the Expo SDK out of the box (https://docs.expo.dev/versions/latest/sdk/lottie/). Otherwise maintaining and handling breaking changes between so many different third-party SDKs would become unreasonable on their side. I could be wrong though.

If you don't want to set specific width/height values, you can also use:
<LottieView           style={{ flex: 1, pointerEvents: 'none' }}           resizeMode="cover"           source={getLottie()}           loop           autoPlay         />
Flex: 1 seems to be working fine with lottie-react-native version 6.5.1

If you don't want to set specific width/height values, you can also use: <LottieView style={{ flex: 1, pointerEvents: 'none' }} resizeMode="cover" source={getLottie()} loop autoPlay />
Flex: 1 seems to be working fine with lottie-react-native version 6.5.1

Had same issue after upgrade to SDK50
This worked for me with no updates needed.
Wild that the layout behavior is incompatible cross SDK versions

I have the same problems. I created a package where i want to store all of my lottie animations etc. however the animation isn't shown when the screen is visible.
OS:

Android

Packages:

react: 18.2.0
react-native: 0.73.6
lottie-react-native: 6.7.0

My Code:
import SpinnerLottie from './assets/spinner.json';

export const Spinner = memo(
  forwardRef<LottieView, SpinnerProps>(function Spinner(
    {color = Colors.RED, height = 100, width = 100, style},
    ref,
  ) {
    return (
      <LottieView
        ref={ref}
        style={[
          {
            width,
            height,
          },
          style,
        ]}
        testID="lottie:spinner"
        colorFilters={[
          {
            keypath: 'Shape Layer 1',
            color,
          },
        ]}
        source={SpinnerLottie}
        autoPlay={true}
        loop={true}
      />
    );
  }),
);

Can someone help?

I found a solution. Please remove the height and width point values.
Before
"h": 121.07,
"w": 153.26,
After
"h": 121,
"w": 153,

I experienced the same issue on my end but i solved it by adding width on the lottie style,, previously i had only defined the height

https://github.com/user-attachments/assets/2bf0f33f-cf86-41da-8796-08b2f8ccc2ed
am having a funny behavior here on iOS, I don't know where the black object on the left is coming from. The android works just fine.


Subscription & events for Commonalities 0.5.0

What type of PR is this?
Add one of the following kinds:

documentation

What this PR does / why we need it:
This PR covers update to subscriptions & events part for Commonalities 0.5.0

[x] https://github.com/camaraproject/Commonalities/issues/304
Resolution: covered in this PR. Make a proposal in new part 11.7
[x] https://github.com/camaraproject/Commonalities/issues/303
Resolution: covered in this PR
[x] https://github.com/camaraproject/Commonalities/issues/300
Resolution: To be done - seems we have an alignement to make device optional. Direct impact with #259 - Need to be sync with @eric-murray  - aligned with Eric PR #324
[x] https://github.com/camaraproject/Commonalities/issues/299
Resolution: covered in this PR. Added a sentence in the yaml and in the DG to clarify us of initialEvent vs subscriptionMaxEvents counting.
[x] https://github.com/camaraproject/Commonalities/issues/295
Resolution: Discussion still open in the issue - Adding a section on this topic in the DG document - Check for additional content with @shilpa-padgaonkar. Request with a larger scope than subscriptions
[x] https://github.com/camaraproject/Commonalities/issues/291
Resolution: Waiting for https://github.com/camaraproject/Commonalities/issues/308 resolution - This one followed by @PedroDiez - Will apply on notification/subscriptions when 308 solved. 504 is not part of the event-subscriptions-template.yaml. From same discussion 415, 500 & 503 removed
[x] https://github.com/camaraproject/Commonalities/issues/290
Resolution: Very simple one but need to be done once we split the document. Probably to be removed from this PR as we'll merge this one before the splitting (@rartych - removed from this PR )
[x] https://github.com/camaraproject/Commonalities/issues/289
Resolution: covered in this PR
[x] https://github.com/camaraproject/Commonalities/issues/276
Resolution: covered in this PR
[x] https://github.com/camaraproject/Commonalities/issues/243
Resolution: covered in this PR
[x] https://github.com/camaraproject/Commonalities/issues/326

Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:
Not ready for review
Changelog input
 release-note

Additional documentation
This section can be blank.
docs

18/OCT:
Fine to me so far. Editorial suggestions only

Thanks you Pedro !
Everything considered !!

@rartych Points to be discussed in Oct 28th call - given our planning I hope to have resolution quickly to close on this PR:

Do we remove from the event-subscriptions-template the error 500, 503 and 504? (see discussion https://github.com/camaraproject/Commonalities/issues/321). I tend to think yes given the discussion. It solves #291.
Do we remove 415 (405 & 406 already removed) ?  From the same thread I tend to think yes
Do we add also in this template the 422 error related to identifier issue?  I tend to think yes but indicated in the yaml documentation part that this error are relevant only if an identifier provided by an access token is part of the subscriptions.
Data minimization (#295) - We have triggered a discussion in Device Location (https://github.com/camaraproject/DeviceLocation/issues/270) - Could we add more in design guideline than a sentence like: Application of data minimization design must be considered by the API working group for event structure definition.

cc: @PedroDiez @shilpa-padgaonkar

@rartych Points to be discussed in Oct 28th call - given our planning I hope to have resolution quickly to close on this PR:

Do we remove from the event-subscriptions-template the error 500, 503 and 504? (see discussion Enhancements and Alignments in Errors #321). I tend to think yes given the discussion. It solves Support of 504 Exception in Cloud Events Model #291.
Do we remove 415 (405 & 406 already removed) ?  From the same thread I tend to think yes
Do we add also in this template the 422 error related to identifier issue?  I tend to think yes but indicated in the yaml documentation part that this error are relevant only if an identifier provided by an access token is part of the subscriptions.
Data minimization (Follow the principle of data minimization for events based on explicit subscriptions #295) - We have triggered a discussion in Device Location (Discuss data minimization for geofencing event DeviceLocation#270) - Could we add more in design guideline than a sentence like: Application of data minimization design must be considered by the API working group for event structure definition.

cc: @PedroDiez @shilpa-padgaonkar

My two cents:

OK with the first two bullets. With first bullet it is solved #291 and #308
OK with the third bullet. It is fine to add 422 UNNECESSARY_IDENTIFIER for POST /susbcription.
For Follow the principle of data minimization for events based on explicit subscriptions #295 I think we have not reached conclusion so far. I would propose to review this PR without considering it and once a conclusion reached about #295 cover it in a separate PR

I agree with @PedroDiez proposals
#295 needs to be resolved separately as it can cover not only subscriptions.

Hello team (in particular @PedroDiez @rartych @shilpa-padgaonkar )
PR ready for a first review - Thank you for your help

We have :
       types:
          description: |
            Camara Event types eligible to be delivered by this subscription.
            Note: for the Commonalities meta-release v0.4 we enforce to have only event type per subscription then for following meta-release use of array MUST be decided
             at API project level.
          type: array

I propose to change the note to:
            Note: for the current Commonalities version (v0.5) only one event type per subscription is allowed, yet in the following releases use of array of event types SHALL be specified without changing this definition
I am also thinking  about including in the template the pattern for event types: org.camaraproject.<api-name>.<api-version>.<event-name>
In Geofencing API we have  "#/components/schemas/SubscriptionEventType" and "#/components/schemas/NotificationEventType" used to enumerate event types. But I am not sure if this way should be mandated in the template.
WYDT?

We have:
      discriminator:
        propertyName: "type"
        mapping:
          org.camaraproject.api-name.v0.event-type: "#/components/schemas/Event-typeEvent"
          org.camaraproject.api-name.v0.subscription-ends: "#/components/schemas/EventSubscriptionEnds"

and
    Event-typeEvent:
      description: event structure for event-type event
      allOf:
        - $ref: "#/components/schemas/CloudEvent"
        - type: object

Event-typeEvent is not pure camelCase, so I propose to change it to something like ApiSpecificEvent or EventApiSpecific (compatible with EventSubscriptionEnds) or similar.
Then in mapping we would have something like:
        mapping:
          org.camaraproject.api-name.v0.api-event: "#/components/schemas/EventApiSpecific"

I would be good to indicate that multiple API specific event types can be used.

Thanks @rartych for your review.
I've took all you comments:

Add 2 exemples of event type instead of 1 to explicit that an API can manage several event type
Add a note for event type name convention
Aligned event type example name
Event type in subscription managed in an enumeration

NOTES:

Pending to remove 415, 500, 503 Errors

Done ! 415, 500 & 503 removed.

@rartych @PedroDiez  Not sur what I did previously but seem fix for https://github.com/camaraproject/Commonalities/issues/326 was not correctly done. I've done it again and this time look good.

Hello @PedroDiez @shilpa-padgaonkar @rartych
May I ask you (final) review? It could be good to merge this one and then we can begin the work in subgroup.
From you last review Pedro I've applied #326 .
Thanks :)


More comprehensive testing

Codecov Report

Merging #1 (f08cca3) into main (842f343) will increase coverage by 19.21%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main       #1       +/-   ##
===========================================
+ Coverage   42.85%   62.06%   +19.21%
===========================================
  Files           1        1
  Lines          56       58        +2
===========================================
+ Hits           24       36       +12
+ Misses         32       22       -10

Impacted Files
Coverage Δ

src/LuxCore.jl
62.06% <100.00%> (+19.21%)
:arrow_up:

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


Release 0.3.1

Closes/fixes/resolves issue(s)?
What was added/changed/fixed?
Related issue(s)? [Optional]
Others [Optional]
Checklist (after created PR)

[ ] Added reviewers
[ ] Added assignee(s)
[ ] Added label(s)
[ ] Added to project
[ ] Added to milestone

This PR will not succeed because of #62
https://github.com/fredrikhgrelland/terraform-nomad-hive/runs/1429889659?check_suite_focus=true

@zhenik @dangernil @claesgill could you review this so we can test the release? :) Everything should be working as it should now!

Note: ``release`-branches should not be deleted


Determine correct release tag

Make use of https://github.com/NEXFI-KK/release-name-action to generate a nice readable release name

Codecov Report
Base: 43.96% // Head: 43.96% // No change to project coverage :thumbsup:

Coverage data is based on head (24ae2a8) compared to base (6e38637).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   43.96%   43.96%
=======================================
  Files           5        5
  Lines         414      414
  Branches       26       26
=======================================
  Hits          182      182
  Misses        229      229
  Partials        3        3

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[tool_crash] FileSystemException: Failed to decode data using encoding utf-8 null

%23%

Closing this as a duplicate of https://github.com/flutter/flutter/issues/65021.
In the future, please provide all the information from the crash log.
Thank you


check bytes of repr(C) enums

any way to do it? I guess repr(C) is not defined on enums, although I'd hope it would generate something like this:
#[repr(C)]
struct {
    discriminant: u8,
    variant: #[repr(C)] union,
}

repr(C) is actually well-defined for enums, and it lays them out as you described. Is the issue that only repr(Int) is supported? That has a slightly more efficient layout while still being C-compatible.

I'm trying to send archived data structures over a network and use bytecheck to verify the bytes. I didn't realize that I only need to #[archive_attr(derive(CheckBytes))] and that that always seems to work.

Awesome! I'll add an enum example to the book to make it clearer.

so reopening. it's still a problem when using archive(as = "Self"). although it can be worked around by not using that.

When using #[archive(as = "Self")], you may need to use #[derive(CheckBytes)] on the enum itself instead of in an #[archive_attr(...)]. I think that as long as you have the enum set to a compatible repr, it should work. If it doesn't, I can take a closer look at it.

Well it's set to repr(C) but it claims it isn't

Hmm, this might be really dumb but do you have the #[repr(C)] before the #[derive(CheckBytes)]? The ordering can matter for determining whether some attributes get picked up.

Maybe I'm doing something wrong...
use bytecheck::CheckBytes;

#[derive(CheckBytes)]
#[repr(C)]
pub enum AnEnum {
    Var(u8),
    Other(u16),
}

fn main() {
    println!("Hello, world!");
}

error: archive self enums must be repr(C) or repr(Int)
 --> src/main.rs:4:8
  |
4 | #[repr(C)]
  |        ^

error: aborting due to previous error

Okay, I have located the issue. Thanks for your patience.
That error is outdated and inaccurate. Right now bytecheck only has support for deriving validation on repr(Int) enums, but repr(C) enums could feasibly be supported. That error message will be updated as soon as possible and I'll file an issue for adding repr(C) enum support.

if that's the case I'm a bit confused why this works:
use bytecheck::CheckBytes;
use rkyv::Archive;

#[derive(Archive)]
#[archive_attr(derive(CheckBytes))]
#[repr(C)]
pub enum AnEnum {
    Var(u8),
    Other(u16),
}

fn main() {
    println!("Hello, world!");
}

is ArchiveAnEnum always a repr(Int) enum?

Yes, rkyv will always generate archived enums that are repr(Int).

As an update, I'm no longer planning on adding this myself since I have no need for repr(C) enums. I would not turn down a PR though!


Rename existing endpoints/APIs/Schema

Background
We want to use the breaking change that comes with v1 to clean up some stuff that will be breaking. The motivations for the changes in this issue have varying causes, but none are related to the removal of things and actions which are all grouped into #1336
The motivation behind this issue was to group all renaming that have no logical changes, but only name changes.
Goals

[ ] /v1/batching is renamed to /v1/batch as outlined in Point 9
[ ] The current explore sorter in GraphQL get is renamed to nearText to indicate it depends on the text media type as outlined in Point 15
[ ] The current contextual classification is renamed to text2vec-contextionary-classification as outlined in Point 22
[ ] In a data object (not in a schema class!) the property schema is renamed to properties as outlined in Point 24

Notes

Look at the issue number 😆

In a data object (not in a schema class!) the property schema is renamed to properties

What do you mean with 'not in schema class'?
Additionally, I just noticed 'properties' is used a lot in the api specs to indicate properties of API definitions (https://github.com/semi-technologies/weaviate/blob/master/openapi-specs/schema.json), I hope this won't cause any issues.

In a data object (not in a schema class!) the property schema is renamed to properties

What do you mean with 'not in schema class'?

My intention was to convey that this affects this object, but not this one where the equivalent field is already called properties.

Additionally, I just noticed 'properties' is used a lot in the api specs to indicate properties of API definitions (https://github.com/semi-technologies/weaviate/blob/master/openapi-specs/schema.json), I hope this won't cause any issues.

I think this won't be an issue as we were already able to use properties in here.


fix: add default client to default realm

Description
This PR fixes a bug that was previously thought fixed in the default helm-chart. There's an error in the default realm that is imported into keycloak.
closes #361
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

LGTM
@arnoweiss  Could you please fix the merge conflicts.


Not allowed to edit cluster as an added cluster owner (who does not have access to  cluster template)

Rancher server version - Build from master - 622f66e4
Steps to reproduce the problem:
Create a cluster with template revision - R1 which has K8s version as a question.
Create a user - test1 and assign this user as cluster owner to this cluster.
Log in as test1 and try to edit the cluster.
User is brought back to the log in page.
Following list calls made to clusterTemplate and clusterTemplateRevision fails with 403 error:

{baseType: "error", code: "Forbidden",…}
baseType: "error"
code: "Forbidden"
message: "clustertemplaterevisions.management.cattle.io "revision-iaoeisuo" is forbidden: User "u-9wzjq" cannot get resource "clustertemplaterevisions" in API group "management.cattle.io" in the namespace "cattle-global-data""
status: 403
type: "error"

{baseType: "error", code: "Forbidden",…}
baseType: "error"
code: "Forbidden"
message: "clustertemplates.management.cattle.io "ct-m75z4" is forbidden: User "u-9wzjq" cannot get resource "clustertemplates" in API group "management.cattle.io" in the namespace "cattle-global-data""
status: 403
type: "error"

To be able to edit cluster that is created via template, the user that has been granted the cluster access should also have permissions to the clustertemplate. The original cluster-owner should be explicitly granting atleast a "read-only" permissions on the clustertemplate to the other user.

For UI to be able to let the added cluster owner edit the cluster and change answers even if he/she does not have access to the template: Backend will be storing the Questions[] from the templateRevision on the clusterSpec.

@westlywright / @vincent99 assigning for UI changes - TemplateRevision Questions[] are now saved on Cluster spec by API- this is for the case where cluster-owner cannot see the template

Per offline with @westlywright and @vincent99 , minimum we should do is we to allow cluster edits w/o actual templates update. That is to support the case of changing answers to the questions. In order to  support it, we have to:

[x] Store questions as the cluster field - backend changes
[ ] In UI, on template edit do the permission check for the corresponding template object. If you get an Unauthorized error, pull the questions from the cluster questions field - UI changes

Version: master-head (8/8/19)
This is now working.

Create a cluster with template revision - R1 which has K8s version as a question.
Create a user - test1 and assign this user as cluster owner to this cluster.
Log in as test1 and try to edit the cluster.

"test1" user is now allowed to edit the cluster and has access to the template so they can edit it.
We do run into a SEPARATE issue now though. Reference https://github.com/rancher/rancher/issues/12038#issuecomment-519661876 for this.


[FEATURE REQ] Automatically creating Version Set by Publisher based on API Version in OpenAPI specs

Please describe the feature.
API Version can be specified in "version" field of Info Object in OpenAPI specification document. When creating an API using publisher by importing OpenAPI specification document, it would be very useful to automatically create Version Set based on version field value.

Sorry, this is out of scope for us. APIM doesn't use the version field in the OpenAPI specification that way. We'd run into conflicts between APIM's definition of a version set and what's defined in the OpenAPI spec.

If you can convince the APIM team to do this (automatically create a version set when importing a spec from the portal), then we'd be happy to add their implementation to ApiOps.


New FRITZ!Dect integration have no current consuption

The problem
New FRITZ!Dect integration of home assistant 0.106 have no attribute "current_consumption"
Environment

Home Assistant release with the issue: 0.106
Last working Home Assistant release (if known): 0.105.X
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Integration causing this issue: AVM FRITZ!Box Platform
Link to integration documentation on our website: -

Problem-relevant configuration.yaml
n/a
Traceback/Error logs
n/a
Additional information
I used this for extract the active power of my socket.

nothing?
i read:
FRITZ!Dect is being removed and you should use the FRITZ!Box integration instead, which offers more features.
but here i have lesse fatures :(
please re-add it !! i'm using it for automations!!

how it works now? fritzbox integration works , but no dect devices

On changelog you can see what modify

Could it be currently hidden due to #32326?

yes, i now see "current power w"
anyway i think is better have as total conspution:
"current power"
and
"current power unit"

I got this, too, current_consumption is missing
fritzdect integration gives  me
current_consumption: 0.0
current_consumption_unit: W
total_consumption: 1.397
total_consumption_unit: kWh
temperature: 11.0
temperature_unit: °C
friendly_name: FRITZ!DECT 210 #1

new fritzbox integration gives me:
device_locked: true
locked: true
total_consumption: 139.744
total_consumption_unit: kWh
temperature: 11.0
temperature_unit: °C
friendly_name: FRITZ!DECT 210 #1

It's also funny what happens to total_consumption. Fritz-Box Gui shows 139,744kwh is the right value. One bug fixed, one introduced ;-)

Closing this in favor of #32326, please comment there if you have further information.
Thanks for understanding :)


Failing with a more descriptive error message in infer_shape.

Given this example:
import mxnet as mx
data = mx.sym.Variable('data')
prev = mx.sym.Variable('prev')
fc1  = mx.sym.FullyConnected(data=data, name='fc1', num_hidden=128)
fc2  = mx.sym.FullyConnected(data=prev, name='fc2', num_hidden=128)
out  = mx.sym.Activation(data=mx.sym.elemwise_add(fc1, fc2), act_type='relu')

The following mistake (user wants to pass tuple, but leaves out the comma for the 1-element tuple):
out.infer_shape((10))

Would fail with the message:
TypeError: Arguments must be shapes (tuple)

After the change we get:
TypeError: Arguments need to be shapes (tuple), but argument 0 is <class 'int'>.

Even worse when using keyword arguments before this change we would just not print an
error message and just silently fail:
out.infer_shape(data=(10))

lead to:
symboltestkvarg.py:7: UserWarning: Cannot decide shape for the following arguments (0s in shape means unknown dimensions). Consider providing them as input:
	data: ()
	fc1_weight: ()
	fc1_bias: ()
	prev: ()
	fc2_weight: ()
	fc2_bias: ()
  out.infer_shape(data=(10))

Now we get a more user friendly error message:
TypeError: Arguments need to be shapes (tuple), but 'data' is <class 'int'>.

any comments on this?


acfproject template suggests editing Default.acf.config

The How_to_deploy.txt file that is included with the acfproject template suggests editing the file /opt/plcnext/projects/Default/Default.acf.config.
It is not recommended to edit any files that are installed with the firmware. Instead, a new .acf.config file should be placed in the /opt/plcnext/projects/Default directory.

Fixed in version 2021.6.1


Xhamster - ERROR: Unable to extract title

youtube-dl --version
2015.09.22
youtube-dl --verbose "http://xhamster.com/movies/4851516/premiere_sextape_en_camera_cachee_avec_ma_copine.html"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'http://xhamster.com/movies/4851516/premiere_sextape_en_camera_cachee_avec_ma_copine.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.22
[debug] Python version 2.7.3 - Linux-3.14.32-xxxx-grs-ipv6-64-x86_64-with-Ubuntu-12.04-precise
[debug] exe versions: avconv 0.8.16-4, avprobe 0.8.16-4, ffmpeg 2.5.git, ffprobe 0.8.16-4
[debug] Proxy map: {}
[XHamster] 4851516: Downloading webpage
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and incl
ude its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 660, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 287, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/xhamster.py", line 66, in _real_extract
title = self._html_search_regex(r'(?P.+?) - xHamster.com', webpage, 'title')
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 590, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags, group)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 581, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose
flag and include its complete output.
Thanks

Duplicate of #6944. It's fixed in git but not included in the latest release yet.


Add roles to Ghost Warp Menu

About the PR
Appends the starting role of a player to the Ghost Warp menu, allowing for observers to know who's what in the station.
Currently, it only shows the STARTING role of the player. I wanted to show the current ID in a player instead of their starting role, but didn't find a way (probably also because we don't have identity still?).
Also, I've opted to remove the listing for players who are dead, but now I see this is entirely opinion-based and some people probably like/need that functionality. If that's the case, at least, it's simple to bring it back.
I also resized the window so most names stay inside the buttons without clipping. If it still does go overbounds, it just cuts it as needed. I tried making the window automatically resize based on the biggest name, but gosh darnit UI code is CBT in hell.
FAIR WARNING: Shitcode ahead. I'm pretty new at C# or any language this complex for that matter, but I did my best. I've been told that using Linq is rather slow but is "possibly" acceptable due to the fact that it's only used once on every menu open, so...
Anyways, feel free to be as critical as you need to.
Thanks!
Screenshots

Changelog

:cl:

add: Added roles to Player's names in the Ghost Warp menu!

I wanted to show the current ID in a player instead of their starting role, but didn't find a way

Entity name?


Extracting Lane Markings from OpenDRIVE to CityGML

Lane marking export works for CityGML3.

As this feature was also requested for CityGML2 in #20, I implemented it in https://github.com/tum-gis/rtron/commit/fe43ed1e5999b8cbcf61a3dfb24a6d7f7aa8bef3.


feat(pmp): add login page

resolve #30

Login page should look like this, instead of standard login/password page


Update LEARN.md

What is the purpose of this pull request? (put an "X" next to the item)

[ ] Documentation update
[ ] Bug fix
[ ] New feature
[x] Other, please explain:

What changes did you make? (Give an overview)
Which issue (if any) does this pull request address?
Is there anything you'd like reviewers to focus on?

Hi @Uniquearjav,
Thank you for submitting this pull request. It appears that there has been no substantial modification to the learn.md file. I would gladly merge that pull request if you consider adding some extra explanations in learn.md such as which technology was used in the project, how anybody may adapt this template, and any other ideas you think are worth mentioning.


Where to apply custom filter on pagination?

Hello, I'm trying to apply new filter to a grid while doing pagination.
Situation is like this:

Modal dialog appears where are filter fields.
User fills these fields.
After clicking the search button which is also located at modal dialog form, I catch event and do the following:

var onGridSearchFilterForm = function () {
    var formData = $('#gridSearchFilterForm').serialize();
    var grid = $('#itemsGrid').data('JSGrid');

    formData += ("&pageSize=" + grid.pageSize);
    formData += ("&pageIndex=" + grid.pageIndex);

    grid.search(formData).done(function (result) {
        if (result != null && result.success) {
            $('#gridSearchFilterModal').modal('hide');
        }
    });
};

But, of course I understand that this is just a 'temporary' filter. How can I apply this filter to grid so when user clicks {next page} it will display information provided by this filter?
Thanks!

Each time grid requests the data (including you open a page when pageLoading: true) the controller.loadData method is called with the filter as a parameter.
So you can provide your custom filter parameters just inside the loadData function as follows:
  $("#jsGrid").jsGrid({
    ...,
    controller: {
      loadData: function(filter) {
         return $.ajax({
            data: {
               myOutOfGridFilterField: $("#externalField").val() // or get the value from anywhere else
               pageSize: filter.pageSize,
               pageIndex: filter.pageIndex,
               myField: filter.myField
            },
            ...
         });
      }
    }
  });


About Reader Mode

关于在idea中开启reader mode或是点击小图标只渲染一个的情况下，minimap不能够好好显示，因为idea中的reader mode是通过html渲染，我无法去还原在minimap中，所以你可以看到当你开启这，并在项目中打开library中的文件，minimap会显示错误，相应的快速浏览等功能将不会启用(项目中的不受影响)，vcs，selection，caret的显示不受影响(已修复).在CodeGlance其他版本中默认是不会渲染出来的，所以会出现大量空白，我选择把他展开是为了更好的显示，但可能会出现一些不必要的错误，谢谢大家

With regard to the case where Reader Mode in Idea or click on the small icon only, Minimap can't display it, because the Reader Mode in Idea is rendered by html, I can't restore in Minimap, so you can seeYou open this, and open the file in the library in the project, MiniMap will display an error, and the corresponding quick browsing and other functions will not be enabled (unaffected in the project), VCS, Selection, Caret display is not affected (alreadyFix). The default is not rendered in the other version of Codeglance, so there will be a lot of blank, I choose to launch him for better display, but there may be some unnecessary errors, thank you


Add travis support.

Circle-ci does not work with forks.
Add travis support.

build project
run tests (ctest)

Build example can be found in circle.yml

Does not required any more, it was circle-ci option. Now forked pull requests build.


Improve carousel

@nobuti could you take a look?

Fix https://github.com/CartoDB/cartodb/issues/10549
cc/ @saleiva @urbanphes

You are including a submodule's update, please remove it.


Not Showing Ad On First Attempt

Plugin Version

Details

Hi @excelhelp13
When opening an issue, please try to provide all or some of the information indicated in the template so that we can address this issue properly.

Issue Template

Plugin Version

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Closing. Once you update the issue, please write in the comments and I will reopen it.
Thank you!


Google Drive Upload not possible

Originally reported on Google Code with ID 251
What steps will reproduce the problem?
1. Created a new POST-request against my http service
2. Saved this request
3. I want to upload my created request to share and pressed the button "Save to Google
Drive"

What is the expected output? What do you see instead?
- A dialog with question: "Where do you want to save your requests in your Google Drive
Account (FolderTree ...) ?"
But instead the App hangs.

On what operating system, browser and browser version?
MacOs 10.9.2, Chrome, Version 34.0.1847.116

Reported by<EMAIL_ADDRESS>on 2014-04-28 14:03:03

It was fixed in latest release