make SuiExecuteTransactionResponse struct but not neum

as title, this is to clean up the leftover  from the Quorum Driver refactor

Just want to point out that this may become an enum again, latter. Right now there is one time of finalized transaction, which is a certified effects. But latter down the road, we may want to return effects along with epoch/checkpoint number to indicate that this tx was finalized at a specific epoch/checkpoint. What do you think?

good point. Do you prefer to leave this as-is or convert it as an enum in the future (another breaking change)? I have no strong opinions but if we plan to do that relatively soon (e.g. before wave3) then we probably can close this PR

Sounds like it will still be a struct, with potentially an enum proof in it. So this change is on the right direction.

Can we not make SDK backward compatible right now? There are quite a few changes coming to this interface, and I think it would be a huge burden to try to keep it backward compatible.
Specifically, we will need to remove the Certificate from the response, and also make the effects raw effects instead of effects cert

Before merging, could you

run pnpm changeset in the root directory?
double check if the wallet is working properly(I am a bit surprised that I did not see wallet related changes here)

@666lcz  wallet works


Error reporting when a main method is missing is poor

The error should appear in the console rather than 'Uncaught', which results in users thinking the compiler has failed, e.g. in https://github.com/dart-lang/dart-pad/issues/754

Fixed in #826.


Delegated Admin doesn't need to be reseller...

On this page is this sentence:
Delegated administrators from reselling partners

But it is false. Any delegated admin with min. D365 Admin role could do that. Not only the reselling partners. Reseller relation is not connected with GDAP relation.
Reseller relationship is about selling licenses etc., GDAP is about administering. The sentence is mixing these two things together with no purpose.

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

ID: 260c1dbe-5f81-7fc3-e0d1-a4cb0df4a962
Version Independent ID: e74367de-e724-9ac9-5e61-0c176d217bcf
Content: Restoring an Environment in the Admin Center - Business Central
Content Source: dev-itpro/administration/tenant-admin-center-backup-restore.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Thanks for the feedback! We've fixed the article, An update will be published soon.


Updating migrations in supabase (hosted)

Running supabase db push returns “Remote Database is up to date” even when I have made changes to the migration SQL… is there any way to reapply all migrations or something?

When you run supabase db push and it returns "Remote Database is up to date," it usually means Supabase has detected no new migrations to apply, even though you've modified the migration SQL. This could be due to Supabase not recognizing the changes as a new migration or a problem with the migration tracking.


feat: add variable show and set statement and other docs bug fix

add set statement
add show statement
fix window example
fix some links

the README also needs to update for new sections


Expose up=1 metric

There are a lot of great metrics but one that is common for prometheus is a simple up metric which equals one.  With this we can write a simpler promql query to know if a node is active, ie up != 1 on a metric that we know should not change. This isn't as far as convention to have this metric but it is pretty standard.
We can PR this if you agreed on.

Not needed. Solved other way.


Divide Plugin into three constructors: content & text

Divide Plugin into three constructors: content & text
Remove meta modification (not used at the moment, can be brought back when needed)

https://github.com/rabbitonweb/frost/pull/21


How to change day letter headers

Is there a way to change the letters from the days of the week to other languages?
(ps: great work! You have done this by yourself? it's amazing!)

Got it


Interpreter::exitSmalltalk fails to dump counters

In the Debug configuration Dolphin attempts to provide information on the following:

primitiveCounters
byteCodeCounters
byteCodePairs
And finds that they are unresolved externals. Note decode.cpp from 1654 to the end.

These arrays of counters are defined in the assembly code, which needs to assembled with _DEBUG defined for a debug build. E.g. primitiveCounters is defined as _primitiveCounters in primasm.asm line 548

There is a fix for this as part of my VS2015 standup in the branch blairmc/vs2015vm

Fixed as of fadbbe7

It appears to me that primitiveCounters is still not being printed. See decode.cpp(1690).

Yeah, missed those. Thanks


Device Code expires much quicker than before, error AADSTS70020.

We use device code when we are debugging in Unity, and it has worked great. But we just noticed that the device code expires after 5-10 seconds, and we don't get enought time to authenticate with device code on the web before it expires.
Is there something tha might have happended to it? we haven't done anything to out code. We do get this error:
Error acquiring token with device code flow. AADSTS70020: The provided value for the input parameter 'device_code' is not valid. This device code has expired.

Hello @MartinHelvig Please provide us the exact document link to which you are referring?

More info is needed on the respective document!
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Please also do visit Microsoft Q&A the home for technical questions and answers at Microsoft.


Port not Open

Hello,
thanks for this Add-On!
Unfortunately, I cannot get it to work:
I cannot get a connection to the proxy.
nmap shows me, that on the host, port 502 is not open.
docker ps shows me, that port 502 is mapped to the host though...
This is the log:
devices:
  - modbus:
      url: <IP_ADDRESS>:6607 # device url (mandatory)
      timeout: 10 # communication timeout (s) (optional, default: 10)
      connection_time: 0.1 # delay after connection (s) (optional, default: 0)
    listen:
      bind: 0:502 # listening address (mandatory)
logging:
  version: 1
  formatters:
    standard:
      format: "%(asctime)s %(levelname)8s %(name)s: %(message)s"
  handlers:
    console:
      class: logging.StreamHandler
      formatter: standard
  root:
    handlers: ['console']
    level: DEBUG
2023-05-26 17:04:51,292     INFO modbus-proxy: Starting...
2023-05-26 17:04:51,297     INFO modbus-proxy.ModBus(<IP_ADDRESS>:6607): Ready to accept requests on 0:502

What am I doing wrong?

have the same problem.
The IP of the inverter is put in line for "url:"
And port 502 i guess is for the client services?


Accumulating io.grpc.netty....MpscArrayQueue objects using google-cloud-monitoring 0.40/0.41

I'm not sure if this is a bug or not, but the behavior is strange and I'm not sure if it's me misusing a library but I have a Spring scheduled task that runs periodically on a GCE instance.
When google-cloud-monitoring was added (version 0.40.0-beta initially but later 0.41.0-beta) we began making calls to write timeseries data.
This results in a large pile up over time of io.grpc.netty.shaded.io.netty.util.internal.shaded.org.jctools.queues.MpscArrayQueue objects and then eventually to an out of memory exception.

These objects also increase the presence/footprint of generic java.lang.Object instances which point to these queue objects.

We also use Datastore in this project, but these objects do not show up if I remove the monitoring piece (even though I thought Datastore also used netty/grpc for communication.)
The relevant pom.xml is:
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-tomcat</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-jetty</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>

        <dependency>
            <groupId>org.apache.thrift</groupId>
            <artifactId>libthrift</artifactId>
            <version>0.11.0</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-configuration-processor</artifactId>
            <optional>true</optional>
        </dependency>

        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>23.6-jre</version>
        </dependency>

        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-handler</artifactId>
            <version>4.1.17.Final</version>
        </dependency>

        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-tcnative-boringssl-static</artifactId>
            <version>2.0.7.Final</version>
        </dependency>

        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.5</version>
        </dependency>

        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.5</version>
        </dependency>

        <dependency>
            <groupId>com.akamai</groupId>
            <artifactId>NetStorageKit</artifactId>
            <version>3.6.6</version>
        </dependency>

        <dependency>
            <groupId>org.jsoup</groupId>
            <artifactId>jsoup</artifactId>
            <version>1.11.2</version>
        </dependency>

        <!-- google cloud -->
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>23.6-jre</version>
        </dependency>

        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-datastore</artifactId>
            <version>1.16.0</version>
        </dependency>

        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-monitoring</artifactId>
            <version>0.41.0-beta</version>
        </dependency>

        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-logging</artifactId>
            <version>1.17.0</version>
        </dependency>

        <dependency>
            <groupId>com.google.apis</groupId>
            <artifactId>google-api-services-cloudkms</artifactId>
            <version>v1-rev26-1.23.0</version>
            <exclusions>
                <exclusion>
                    <artifactId>guava-jdk5</artifactId>
                    <groupId>com.google.guava</groupId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-storage</artifactId>
            <version>1.14.0</version>
        </dependency>

        <!-- end: google cloud -->

        <!-- test dependencies -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-core</artifactId>
            <version>2.15.0</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.google.truth</groupId>
            <artifactId>truth</artifactId>
            <version>0.39</version>
            <scope>test</scope>
        </dependency>

        <!-- end test dependencies -->

    </dependencies>

We are using java-1.8.0-openjdk.x86_64 on a Centos 7 build, deployed in GCE as a Docker container. (With yum-plugin-ovl installed to get around another Google monitoring issue.)
The code to write the timeseries data is:
    /**
     * Method to write a IMetricPoint to Stackdriver, does most of the driving for the class.
     *
     * @param metricPoint a metric type to write, defined as a constant on this class.
     * @param labels a string map of metric labels
     */
    public void writePoint(IMetricPoint metricPoint, Map<String, String> labels) {
        Metric metric = Metric.newBuilder()
                .setType(String.format("custom.googleapis.com/%s", metricPoint.getKey()))
                .putAllLabels(labels)
                .putLabels(ENVIRONMENT_LABEL, config.getEnvironment())
                .build();

        // Google recommends only one point per timeseries, or limiting writing more
        // than one to only once a minute.
        // https://cloud.google.com/monitoring/custom-metrics/creating-metrics#writing-ts
        ArrayList<Point> pts = new ArrayList<>();
        pts.add(metricPoint.getPoint());

        MonitoredResource resource = getMonitoredResource();

        // by default, a GAUGE metric.
        TimeSeries timeSeries = TimeSeries.newBuilder()
                .setMetric(metric)
                .addAllPoints(pts)
                .setResource(resource)
                .build();

        // We could accumulate these and just have a batch job send them, eventually.
        ArrayList<TimeSeries> tsList = new ArrayList<>();
        tsList.add(timeSeries);

        CreateTimeSeriesRequest request = CreateTimeSeriesRequest.newBuilder()
                .setName(String.format("projects/%s", config.getProjectId()))
                .addAllTimeSeries(tsList)
                .build();

        try {
            MetricServiceClient client = MetricServiceClient.create();
            client.createTimeSeries(request);

        } catch (IOException | ApiException e) {
            logError("Unable to write Stackdriver metric "
                    + metricPoint.getKey()
                    + e.getMessage());
        }
    }

    /**
     * Creates a resource type indicating where this metric was recorded.
     *
     * When deployed, a start up script should pull the GCE metadata and provide
     * the zone and instance_id as environmental variables. Otherwise, we just put
     * the metrics in the global zone (e.g. when running from a development box.)
     *
     * We cannot say our resource is a "laptop" but note that when we write a point out,
     * we add the label "environment" in `writePoint` which is gotten from config and
     * will read "dev" so we won't just have global metrics floating about we can't find
     * the origin for.
     *
     * @return a resource
     */
    private MonitoredResource getMonitoredResource() {
        String instanceId = this.systemConfig.getenv(SystemConfig.ENV_GCE_INSTANCE_ID).orElse("");
        String zone = this.systemConfig.getenv(SystemConfig.ENV_GCE_ZONE).orElse("");

        if (!instanceId.isEmpty() && !zone.isEmpty()) {
            return MonitoredResource.newBuilder()
                    .setType(GCE_RESOURCE_TYPE)
                    .putLabels(INSTANCE_ID_LABEL, instanceId)
                    .putLabels(ZONE_LABEL, zone)
                    .build();
        } else {
            return MonitoredResource.newBuilder()
                    .setType(GLOBAL_RESOURCE_TYPE)
                    .build();
        }
    }

In this case config is simply a Spring component that can be auto wired in with some environmental config data and systemConfig is just a functional wrapper around System.getenv.
I have also called this code without the auto-wiring and I still see these objects created.
Any pointers would be great, hoping this is just misuse of the library somehow.

Hi @Dan-Ostrowski-CK . I think there are a couple of things you can change.

You seem to not be closing out the clients. We tear down gRPC connections and things like that when you call client.close() so not calling it is probably the cause of the memory consumption. I recommend

        try (MetricServiceClient client = MetricServiceClient.create()) {
            client.createTimeSeries(request);
        } catch (IOException | ApiException e) {
            logError("Unable to write Stackdriver metric "
                    + metricPoint.getKey()
                    + e.getMessage());
        }

The client is safe for concurrent use, so maybe a more effective way is to create the client only once and use it across many calls to writePoint. This will probably also make your client faster, since setting up network connections and auth can be amortized over many calls.

I'm pretty sure that doing the above should fix the problem, so I'll close the issue. If it doesn't, please feel free to reopen.


zeek: 4.0.1 -> 4.0.2

Motivation for this change
https://github.com/zeek/zeek/releases/tag/v4.0.2
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 125443 at 0734f44a run on x86_64-linux 1

2 packages built successfully:

zeek (python38Packages.zeek)
python39Packages.zeek

1 suggestion:

warning: build-tools-in-build-inputs
swig is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/applications/networking/ids/zeek/default.nix:32:3:
   |
32 |   buildInputs = [ openssl libpcap zlib curl libmaxminddb gperftools python3 swig ncurses ]
   |   ^

Result of nixpkgs-review pr 125443 run on x86_64-linux 1

2 packages built:

zeek (python38Packages.zeek)
python39Packages.zeek


Get build.sh's Swift targets working with Swift 2.3

This gets REALM_SWIFT_VERSION=2.3 sh build.sh ios-swift and friends working. REALM_SWIFT_VERSION must be explicitly set to 2.3 for it to be used as Xcode 8 defaults to Swift 3.0.

It looks good to me. Have you tried it with both Xcode 7 and 8?

Yes.

also looks good to me


Install to specific namespace but monitor all ns

Hello!
Can't install operator to kube-system. We use kube-system ns only for infra(k8s specific) apps.
Is it possible to install operator to custom namespace (for ex clickhouse-operator), but monitor ClickHouseInstallation in all namepaces?

Yes. it is possible
change ConfigMap 'etc-clickhouse-operator-files>config.yaml` key and section
watch:
  namespaces: [ "" ]

clickhouse-operator installed into test-clickhouse-operator namespace.
default etc-clickhouse-operator-files > config.yaml:
# IMPORTANT
# This file is auto-generated
# Do not edit this file - all changes would be lost
# Edit appropriate template in the following folder:
# deploy/builder/templates-config
# IMPORTANT
#
# Template parameters available:
#   WATCH_NAMESPACES=
#   CH_USERNAME_PLAIN=
#   CH_PASSWORD_PLAIN=
#   CH_CREDENTIALS_SECRET_NAMESPACE=
#   CH_CREDENTIALS_SECRET_NAME=clickhouse-operator

################################################
##
## Watch Section
##
################################################
watch:
  # List of namespaces where clickhouse-operator watches for events.
  # Concurrently running operators should watch on different namespaces.
  #namespaces: ["dev", "test"]
  namespaces: []

clickhouse:
  configuration:
    ################################################
    ##
    ## Configuration Files Section
    ##
    ################################################
    file:
      path:
        # Path to the folder where ClickHouse configuration files common for all instances within a CHI are located.
        common: config.d
        # Path to the folder where ClickHouse configuration files unique for each instance (host) within a CHI are located.
        host: conf.d
        # Path to the folder where ClickHouse configuration files with users' settings are located.
        # Files are common for all instances within a CHI.
        user: users.d
    ################################################
    ##
    ## Configuration Users Section
    ##
    ################################################
    user:
      default:
        # Default values for ClickHouse user configuration
        # 1. user/profile - string
        # 2. user/quota - string
        # 3. user/networks/ip - multiple strings
        # 4. user/password - string
        profile: default
        quota: default
        networksIP:
          - "::1"
          - "<IP_ADDRESS>"
        password: "default"
    ################################################
    ##
    ## Configuration Network Section
    ##
    ################################################
    network:
      # Default host_regexp to limit network connectivity from outside
      hostRegexpTemplate: "(chi-{chi}-[^.]+\\d+-\\d+|clickhouse\\-{chi})\\.{namespace}\\.svc\\.cluster\\.local$"
  ################################################
  ##
  ## Access to ClickHouse instances
  ##
  ################################################
  access:
    # Possible values for `scheme` are:
    # 1. http
    # 2. https
    scheme: ""
    # ClickHouse credentials (username, password and port) to be used by the operator to connect to ClickHouse instances.
    # Used for:
    # 1. Metrics requests
    # 2. Schema maintenance
    # 3. DROP DNS CACHE
    # User with these credentials can be specified in additional ClickHouse .xml config files,
    # located in `clickhouse.configuration.file.path.user` folder
    username: ""
    password: ""
    rootCA: ""

    # Location of the k8s Secret with username and password to be used by the operator to connect to ClickHouse instances.
    # Can be used instead of explicitly specified username and password which are:
    # clickhouse.access.username
    # clickhouse.access.password
    # Secret should have two keys:
    # 1. username
    # 2. password
    secret:
      # Empty `namespace` means that k8s secret would be looked in the same namespace where operator's pod is running.
      namespace: ""
      # Empty `name` means no k8s Secret would be looked for
      name: "clickhouse-operator"
    # Port where to connect to ClickHouse instances to
    port: 8123

    # Timeouts used to limit connection and queries from the operator to ClickHouse instances
    # Specified in seconds.
    timeouts:
      connect: 2
      query: 5

################################################
##
## Templates Section
##
################################################
template:
  chi:
    # Path to the folder where ClickHouseInstallation .yaml manifests are located.
    # Manifests are applied in sorted alpha-numeric order.
    path: templates.d

################################################
##
## Reconcile Section
##
################################################
reconcile:
  runtime:
    # Max number of concurrent reconciles in progress
    threadsNumber: 10

  statefulSet:
    create:
      # What to do in case created StatefulSet is not in 'Ready' after `reconcile.statefulSet.update.timeout` seconds
      # Possible options:
      # 1. abort - do nothing, just break the process and wait for an admin to assist
      # 2. delete - delete newly created problematic StatefulSet
      # 3. ignore - ignore an error, pretend nothing happened and move on to the next StatefulSet
      onFailure: ignore

    update:
      # How many seconds to wait for created/updated StatefulSet to be 'Ready'
      timeout: 300
      # How many seconds to wait between checks/polls for created/updated StatefulSet status
      pollInterval: 5
      # What to do in case updated StatefulSet is not in 'Ready' after `reconcile.statefulSet.update.timeout` seconds
      # Possible options:
      # 1. abort - do nothing, just break the process and wait for an admin to assist
      # 2. rollback - delete Pod and rollback StatefulSet to previous Generation.
      # Pod would be recreated by StatefulSet based on rollback-ed configuration
      # 3. ignore - ignore an error, pretend nothing happened and move on to the next StatefulSet
      onFailure: rollback

  host:
    # Whether reconciler should wait for a host:
    # - to be excluded from a cluster
    # OR
    # - to be included into a cluster
    # respectfully
    wait:
      exclude: true
      include: false

################################################
##
## Annotations management
##
################################################
annotation:
  # Applied when:
  #  1. Propagating annotations from the CHI's `metadata.annotations` to child objects' `metadata.annotations`,
  #  2. Propagating annotations from the CHI Template's `metadata.annotations` to CHI's `metadata.annotations`,
  # Include annotations from the following list:
  # Applied only when not empty. Empty list means "include all, no selection"
  include: []
  # Exclude annotations from the following list:
  exclude: []

################################################
##
## Labels management
##
################################################
label:
  # Applied when:
  #  1. Propagating labels from the CHI's `metadata.labels` to child objects' `metadata.labels`,
  #  2. Propagating labels from the CHI Template's `metadata.labels` to CHI's `metadata.labels`,
  # Include labels from the following list:
  # Applied only when not empty. Empty list means "include all, no selection"
  include: []
  # Exclude labels from the following list:
  # Applied only when not empty. Empty list means "nothing to exclude, no selection"
  exclude: []
  # Whether to append *Scope* labels to StatefulSet and Pod.
  # Full list of available *scope* labels check in 'labeler.go'
  #  LabelShardScopeIndex
  #  LabelReplicaScopeIndex
  #  LabelCHIScopeIndex
  #  LabelCHIScopeCycleSize
  #  LabelCHIScopeCycleIndex
  #  LabelCHIScopeCycleOffset
  #  LabelClusterScopeIndex
  #  LabelClusterScopeCycleSize
  #  LabelClusterScopeCycleIndex
  #  LabelClusterScopeCycleOffset
  appendScope: "no"

################################################
##
## StatefulSet management
##
################################################
statefulSet:
  revisionHistoryLimit: 0

################################################
##
## Pod management
##
################################################
pod:
  # Grace period for Pod termination.
  # How many seconds to wait between sending
  # SIGTERM and SIGKILL during Pod termination process.
  # Increase this number is case of slow shutdown.
  terminationGracePeriod: 30

################################################
##
## Log parameters
##
################################################
logger:
  logtostderr: "true"
  alsologtostderr: "false"
  v: "1"
  stderrthreshold: ""
  vmodule: ""
  log_backtrace_at: ""

Create simple cluster in default namespace:
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
  name: demo-01
  namespace: default
spec:
  configuration:
    clusters:
      - layout:
          replicasCount: 1
          shardsCount: 1
        name: demo-01

But nothing happen. No logs about it in operator logs. Not pods created in default.

as i said here https://github.com/Altinity/clickhouse-operator/issues/1064#issuecomment-1360930379
change in confirmap
watch:
  namespaces: [] #empty arrray

to
watch:
  namespaces: [ "" ] # array with one element with empty value

@Slach Running into the same issue here. I'm deploying the operator using the Helm chart. Is there a way to configure this when deploying the Helm chart? Would like to avoid manually updating the ConfigMap afterwards...

@itssimon feel free to make pull request for Helm chart generation


Pass raw values as well as or instead of formatted value

I was wondering if it would be possible topass the raw arguments or at least the raw value for the userFormat so that the user can calculate there own format based on the raw value rather than the stringified one.
https://github.com/tannerlinsley/react-charts/blob/e99e9686b20c42965c007dd63f85e68d3953f259/src/utils/buildAxis.linear.js#L263

@samjbmason you should be able to use the format param on an axis config to customize the expression of the ticks on your axis
https://github.com/tannerlinsley/react-charts/blob/e99e9686b20c42965c007dd63f85e68d3953f259/src/utils/buildAxis.linear.js#L51
Does this resolve the issue for you?

I actually ended up using another library in the end


Question in the paper

I have a question in Table1 in this paper.
In the table1, the cases of eta=1 and hat{sigma} are the case of DDPM.
However, the performances of these cases are different.
What are the differences between those cases?

)
Thank you :

These are the two variances considered in the DDPM paper. The bottom row corresponds to the larger variance used (which is the one used in the DDPM CIFAR10 results, hence the lower FID).


Improve performance, a lot of malloc is being used

Describe the bug
Currently, some basic functionality such as snake case formatting uses a lot of memory allocation (up to 70 malloc/op).
It is really a let down having that kind of performance for a helper library.
To Reproduce
Steps to reproduce the behavior:

Call function 'SnakeCase().String()' using go's benchmark.

Expected behavior
Reduce mallocs.

@maestre3d I will surely work to optimize it but if you have any better solution you're welcome to create PR.


Aligned the encoding API with the specification

Fixed https://github.com/google/closure-compiler/issues/1311.

LGTM. Thanks!

@blickly Might want to test this out internally?

Can you change the file name from w3c_encoding.js to whatwg_encoding.js (or just encoding.js)?
Remember to include it in the directive that exposes files to the open source repository. :))


ll.midi_in & ll.midi_out -- clean and test

these do not always work in<EMAIL_ADDRESS>something to do with flushing notes...
maybe we should also add different options for the types of midi.
& wondering if ll.midi (internal ppooll midi routing) is a more stable solution than say IAC Bus in Mac OSX Audio & MIDI settings

fixed & added an [r ll_midi_flush] to flush ll.midi-in for hanging notes


Line breaks can't be quoted on Windows

Not possible to install swiper from v5.3.0 on windows got the following error:
9030 info run<EMAIL_ADDRESS>postinstall node_modules/swiper echo "Love Swiper? Support Vladimir's work by donating or pledging on patreon:
9030 info run  > https://patreon.com/vladimirkharlampidi
9030 info run "
9031 info run<EMAIL_ADDRESS>postinstall { code: undefined, signal: undefined }
9032 timing reify:rollback:createSparse Completed in 0ms
9033 timing reify:rollback:retireShallow Completed in 0ms
9034 timing command:install Completed in 29181ms
9035 verbose stack Error: Line breaks can't be quoted on Windows
Node version: v.15

Solved by using yarn.


OUSD vault upgrade script

Upgrades the OUSD Vault to the latest VaultCore and VaultAdmin contracts.
This includes cached decimals and collateral swaps.

Tagging one relevant issue here, so that we don't miss it: #1368

@sparrowDom Did we have an old deploy file that did this? If so, we should check for any differences, and then remove the old file?

@sparrowDom Did we have an old deploy file that did this? If so, we should check for any differences, and then remove the old file?

@DanielVF It looks like 052_decimal_cache which doesn't have a block number in the migration file.
#52 also deploys a new OracleRouter and Harvester.
It also caches COMP, Aave, CRV and CRV.
I'd suggest we stick to deploy #52 and just close this PR

Setting the swapper config will have to be added to the 52 deploy script. I can do that once collateral swaps is finalised.

Yes I agree @naddison36 we can add the Swapper deployment to the 052 script and also the setOracleSlippage on the Vault.
just FYI You've cached all the required assets on the Vault in this PR. The 052 also caches all the assets and reward tokens on the Oraclerouter. If the reward tokens wouldn't be cached on the OracleRouter the Harvester would fail when it would try to harvest the rewards ( see this line )

I've changed this PR to update the existing #52 deploy script to include the swap config


Kubernetes Control Plane apiserver never reaches consensus between enlisted endpoints and num_masters config setting

Tectonic Version
v1.6.8-tectonic.1
Environment
AWS
What hardware/cloud provider/hypervisor is being used with Tectonic? AWS / t2.medium (master nodes)
Expected Behavior
Apiserver pods should update the endpoint list without clobbering previous entries, causing false positives and weird 'round robin' routing via incorrect endpoint assignment.
Actual Behavior
Reproduction Steps

Deploy tectonic using the terraform for aws sets eg: terraform apply
Once the cluster spin-up has completed start monitoring the controlplane elements
Kick/delete one of the apiserver pods to trigger master election between the number of apiserver pods. (or just halt a master unit allowing the ASG to recreate)
Observe scrolling logs near the following where the apiserver endpoint is getting updated but has nil pointers in the list (so the master_count never reaches the diff of ip's in EP and num_count of master_count)

Listing of pods:  (kubectl get po -n kube-system -l k8s-app=kube-apiserver)
$ kubectl get po -n kube-system -l k8s-app=kube-apiserver -o wide
NAME                   READY     STATUS    RESTARTS   AGE       IP             NODE
kube-apiserver-7mjqd   1/1       Running   0          7d        <IP_ADDRESS>    ip-10-36-17-12.us-west-1.compute.internal
kube-apiserver-qx9lh   1/1       Running   0          12m       <IP_ADDRESS>   ip-10-36-45-224.us-west-1.compute.internal
kube-apiserver-z9wcg   1/1       Running   1          7d        <IP_ADDRESS>   ip-10-36-52-196.us-west-1.compute.internal

Log output segment from kube-apiserver (kubetail -n kube-system -l k8s-app=kube-apiserver)
[kube-apiserver-qx9lh] W0907 18:30:33.364484       5 controller.go:386] Resetting endpoints for master service "kubernetes" to &{{ } {kubernetes  default /api/v1/namespaces/default/endpoints/kubernetes c10e6d9b-8dc3-11e7-8266-02c0d0e35e30 16136346 0 2017-08-30 20:42:35.517684959 +0000 UTC <nil> <nil> map[] map[] [] [] } [{[{<IP_ADDRESS>  <nil> <nil>}] [] [{https 443 TCP}]}]}
[kube-apiserver-z9wcg] W0907 18:30:39.195234       5 controller.go:386] Resetting endpoints for master service "kubernetes" to &{{ } {kubernetes  default /api/v1/namespaces/default/endpoints/kubernetes c10e6d9b-8dc3-11e7-8266-02c0d0e35e30 16136433 0 2017-08-30 20:42:35.517684959 +0000 UTC <nil> <nil> map[] map[] [] [] } [{[{<IP_ADDRESS>  <nil> <nil>}] [] [{https 443 TCP}]}]}
[kube-apiserver-7mjqd] W0907 18:30:39.756276       7 controller.go:386] Resetting endpoints for master service "kubernetes" to &{{ } {kubernetes  default /api/v1/namespaces/default/endpoints/kubernetes c10e6d9b-8dc3-11e7-8266-02c0d0e35e30 16136573 0 2017-08-30 20:42:35.517684959 +0000 UTC <nil> <nil> map[] map[] [] [] } [{[{<IP_ADDRESS>  <nil> <nil>}] [] [{https 443 TCP}]}]}
[kube-apiserver-qx9lh] W0907 18:30:43.373751       5 controller.go:386] Resetting endpoints for master service "kubernetes" to &{{ } {kubernetes  default /api/v1/namespaces/default/endpoints/kubernetes c10e6d9b-8dc3-11e7-8266-02c0d0e35e30 16136587 0 2017-08-30 20:42:35.517684959 +0000 UTC <nil> <nil> map[] map[] [] [] } [{[{<IP_ADDRESS>  <nil> <nil>}] [] [{https 443 TCP}]}]}

Notice the nil's in the update map?  This has some implications and i believe is triggering false positives in alert manager resulting in pages for responsive services.
This looks strikingly similar to: https://github.com/kubernetes/kubernetes/issues/38082
as well as an openshift issue here: https://github.com/openshift/origin/issues/6073

Update:
Following along with the projected kops fix of just editing the endpoint and it normalized out, it seems like the apiservers dont really care what was there first and are instead overwriting with their own endpoint data regardless
apiVersion: v1
kind: Endpoints
metadata:
  name: kubernetes
  namespace: default
subsets:
- addresses:
  - ip: <IP_ADDRESS>
  - ip: <IP_ADDRESS>
  - ip: <IP_ADDRESS>
  ports:
  - name: https
    port: 443
    protocol: TCP

was applied, and the apiserver is continuing to spam updates:
[kube-apiserver-qx9lh] W0907 18:50:27.854009       5 controller.go:386] Resetting endpoints for master service "kubernetes" to &{{ } {kubernetes  default /api/v1/namespaces/default/endpoints/kubernetes c10e6d9b-8dc3-11e7-8266-02c0d0e35e30 16165039 0 2017-08-30 20:42:35.517684959 +0000 UTC <nil> <nil> map[] map[kubectl.kubernetes.io/last-applied-configuration:{"apiVersion":"v1","kind":"Endpoints","metadata":{"annotations":{},"name":"kubernetes","namespace":"default"},"subsets":[{"addresses":[{"ip":"<IP_ADDRESS>"},{"ip":"<IP_ADDRESS>"},{"ip":"<IP_ADDRESS>"}],"ports":[{"name":"https","port":443,"protocol":"TCP"}]}]}
[kube-apiserver-qx9lh] ] [] [] } [{[{<IP_ADDRESS>  <nil> <nil>}] [] [{https 443 TCP}]}]}

Notice that it still has nil's in the endpoint listing, despite the prior annotation having the full ip address listing.

Also should this be filed against the upstream kubernetes project, the tectonic-installer, or here? I had some confusion on where things like this should go overall as it looks config related, not necessarily a bug in the apiserver code.

This is ultimately a Kubernetes problem, but we have the CoreOS upstream team working on a fix as we speak. I believe a proposal has already been accepted upstream. Will update here when I confirm that.

This behavior did persist into the 1.7.3-tectonic.1 release. I can confirm as of today, its existed since 1.6.4 forward and possibly before.

This is also happening on a cluster launched onto bare metal

I believe this was resolved upstream in https://github.com/kubernetes/kubernetes/pull/51698 and should be released in the 1.9 time-frame.

Good to close.


add monthly storage use metric

Added new federation rules and ran make manifests. Output:
[peter@fedora configuration]$ make manifests
>>>>> Running format
/home/peter/go/bin/jsonnetfmt-v0.18.0 -n 2 --max-blank-lines 2 --string-style s --comment-style s -i ./configuration/observatorium/queries.libsonnet ./configuration/observatorium/ruler-remote-write.libsonnet ./configuration/observatorium/tenants.libsonnet ./configuration/observatorium/metric-federation-rules.libsonnet ./configuration/observatorium/rbac.libsonnet ./observability/config.libsonnet ./observability/dashboards/observatorium-api-logs.libsonnet ./observability/dashboards/observatorium-api.libsonnet ./observability/dashboards/slo.libsonnet ./observability/dashboards/telemeter-canary.libsonnet ./observability/dashboards/telemeter.libsonnet ./observability/grafana-obs-logs.jsonnet ./observability/grafana.jsonnet ./observability/observatorium-logs/loki-overview.libsonnet ./observability/observatorium-logs/loki-tenant-alerts.libsonnet ./observability/prometheusrules.jsonnet ./services/components/jaeger-collector.libsonnet ./services/components/loki-caches.libsonnet ./services/dex-template.jsonnet ./services/jaeger-template.jsonnet ./services/metric-federation-rule-template.jsonnet ./services/minio-template.jsonnet ./services/observatorium-logs-template-overwrites.libsonnet ./services/observatorium-logs-template.jsonnet ./services/observatorium-logs.libsonnet ./services/observatorium-metrics-template-overwrites.libsonnet ./services/observatorium-metrics-template.jsonnet ./services/observatorium-metrics.libsonnet ./services/parca-template.jsonnet ./services/prometheus/remote-write-proxy.libsonnet ./services/sidecars/jaeger-agent.libsonnet ./services/sidecars/oauth-proxy.libsonnet ./services/sidecars/opa-ams.libsonnet ./services/sidecars/thanos-rule-syncer.libsonnet ./services/telemeter-template.jsonnet ./services/telemeter.libsonnet ./services/observatorium-template.jsonnet ./services/observatorium-traces-template.jsonnet ./services/observatorium-traces.libsonnet ./services/observatorium.libsonnet
make clean
make[1]: Verzeichnis „/home/peter/WebstormProjects/configuration“ wird betreten
find resources/services -type f ! -name '*.yaml' -delete
find resources/observability/prometheusrules -type f ! -name '*.yaml' -delete
find resources/observability/grafana/observatorium -type f ! -name '*.yaml' -delete
find resources/observability/grafana/observatorium-logs -type f ! -name '*.yaml' -delete
find resources/services/telemeter-template.yaml -type f ! -name '*.yaml' -delete

No additional changes after running the make target.

Pushed the fix. The problem was that makefile was not catching the fact that you changed one of the source files for YAML to generate. Adding directive, but our tooling is poor here- there will be more cases like this ):
We are thinking about switching to pure Go, for now you can always unblocked yourself, by manually removing YAML that CI is complaining about and doing make manifest - I did that for you in this PR


stable-baselines3 ValueError when creating DummyVecEnv

When running:
df_summary = ensemble_agent.run_ensemble_strategy(A2C_model_kwargs,
                                             PPO_model_kwargs,
                                             DDPG_model_kwargs,
                                             timesteps_dict)

I run into this issue:
https://github.com/DLR-RM/stable-baselines3/issues/1151
"You tried to create multiple environments, but the function to create them returned the same instance "
            "instead of creating different objects. "
            "You are probably using `make_vec_env(lambda: env)` or `DummyVecEnv([lambda: env] * n_envs)`. "
            "You should replace `lambda: env` by a `make_env` function that "
            "creates a new instance of the environment at every call "
            "(using `gym.make()` for instance). You can take a look at the documentation for an example. "
            "Please read https://github.com/DLR-RM/stable-baselines3/issues/1151 for more information."

in this spot:
https://github.com/AI4Finance-Foundation/FinRL/blob/7414adb012b554f7c684d4615830dc5c31a094d1/finrl/agents/stablebaselines3/models.py#L287-L310

I tried downgrading to stable-baselines3==1.7.0 before the check, that had some other consequences:
!pip3 install setuptools==65.5.0 # https://github.com/openai/gym/issues/3176
!pip install git+https://github.com/openai/gym.git@9180d12e1b66e7e2a1a622614f787a6ec147ac40 # https://github.com/openai/gym/issues/3202
!pip install stable_baselines3==1.7.0
But now training wont work at all, because there is a mismatch between gym==0.17 and gymnasium. Absolute bottom less pit, machine learning broke python, this feels like javascript.
FinRL is using gymnsium and the elegantrl dependency is using gym.
It might be helpful to just dockerize the application with fixed requirements, as the different versions break the code all the time.

See https://github.com/AI4Finance-Foundation/FinRL/issues/1002#issuecomment-1542871478

See https://github.com/DLR-RM/stable-baselines3/issues/1151#issuecomment-1542132238


Missing switch menu if no switch settings

The Switch menu is missing if there is no switch settings.
Impossible to manage VLANs...
Can you resolve this bug?
I create this ticket because it is requested by @CodeFetch @adrianschmutzler: It is a LuCI problem, not OpenWrt.
cc @jow-.

@Neustradamus It's not a Luci issue in this case. Luci does not show a switch setting, because you do not have one. The problem is that your device uses the default case here https://github.com/openwrt/openwrt/blob/e1dcfe02b2af0eea1654e491f62049e479978951/target/linux/ath79/base-files/etc/board.d/02_network#L302
And there is no switch-setting created. The question is whether it makes sense to create a switch-config for two-port ath79 devices, too and what the correct way is/whether it must be decided on a per-device basis.

@CodeFetch I would argue against that this is to be solved on a device basis.
It is also a general question whether you want to be able to define VLANs on a one-port or two-port, e.g. when you want to connect to a network with VLANs enabled directly.
I would not call this a bug in luci, but still it is a general question how to deal with that.
If we solve this on a device-basis, it will just be anyone doing anything arbitrary, depending on his taste or use-case.

@adrianschmutzler I agree with that. My point (which is wasn't aware of, because I don't use Luci regularly) is that the Luci section is called "Switch configuration" and not "VLAN configuration", isn't it?
Maybe the correct way to define VLAN networks in Luci is to create a network in "Network configuration" e.g. with the device eth0.X where X is the VLAN ID, but maybe I'm missing something here... I'm really unsure about the correct way to handle this.
On the other hand when we have a switch already, even if it only has one port, the correct way might be to define a single-port-switch, because it could cause configuration issues to use VLANs without defining them on the switch.

"Switch" in "Network" menu
Example, in the page:

Switch "switch0" (AR934X built-in switch)
-- Enable VLAN functionality
-- Enable mirroring of incoming packets
-- Enable mirroring of outgoing packets

VLANs on "switch0" (AR934X built-in switch)
-- VLAN ID ...
-- Port status: ...

LuCI relies on proper default configuration to decide whether to display a switch menu or not. If the default config of the device ships without switch setting despite there being swconfig support, then it needs to be fixed in OpenWrt.

@jow-: How to manage VLANs if there is no switch?

By specifying custom ethX.Y in the physical interface settings.

Any news on this missing part?
How we can create a ticket for OpenWrt?

I think it would be best to write to the OpenWrt mailing list and present the problem there. You never know whether you will get a response there, but I think we should at least try to get this solved in a general manner.
If there is no response and I do not have a striking inspiration until then, we can still change single or all devices to switch-based setup (which will be painful, too.).


Update code styling and fix BlogPostCard on mobile

Updates to the code styling, including using a new code font and a nicer code block theme. Also fixes an issue with the BlogPostCard component on small widths.

Before:

After:


Latest ionic-app-scripts build includes source map in production build

Running ionic-app-scripts build produces a source map file. Also ionic build android includes this source map file in the apk. This has been resolved in the past for rollup by https://github.com/driftyco/ionic-app-scripts/pull/63, but I am guessing not for the new process using webpack.

@masimakopoulos,
This is the expected behavior for now. We're going to be re-visiting this in the coming days.
We're thinking we'll want source maps when running ionic run android/ios. We want to have a notion of a production/release build the is minified. Right now it is too hard to run and debug on a device.
Thanks,
Dan

I understand being able to debug on the device is a higher priority so what you are saying makes sense. I see your latest commits are related to that so I will just hang in there until this gets done. Once you get there please make sure you shout about it so we know to make use of it in our production builds.
Thanks for the great work.

@danbucholtz  ionic run android/ios (debugging on a device) is of high importance especially when you have to test camera etc....
Please do let us know when this is fixed.
Thanks

@pantonis, right, that's why we are including the source map :-). We will add a --release flag or something to build and utilize minification and skip the source map. For general device usage, we want the source map since that is the best way to test cordova stuff.
Thanks,
Dan

@danbucholtz so getting source maps when debugging on a device was fixed with the 0.0.42 release?

@pantonis, no, I don't think it has ever worked. Uglifyjs is messing with the source map and not working correctly. This is something we need to address.
Thanks,
Dan

I remember one of the beta versions it worked.
On Thu, 10 Nov 2016, 08:28 Dan Bucholtz<EMAIL_ADDRESS>wrote:

@pantonis https://github.com/pantonis, no, I don't think it has ever
worked. Uglifyjs is messing with the source map and not working correctly.
This is something we need to address.
Thanks,
Dan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic-app-scripts/issues/322#issuecomment-259611885,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADJHbnNqAknzTEGABYHYjSKEEVT0QwNRks5q8rmYgaJpZM4KruKc
.

Confirmed

@danbucholtz I see this issue has been closed, but how do I build a release apk without the source map?  When I build with ionic build android --release --prod I still see the source map in the resulting apk.
$ ionic info
******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`

******************************************************

Your system information:

 You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.4.0

Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.0.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 8.1
Node Version: v6.9.2
Xcode version: Not installed

******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Please install your Cordova CLI to version  >=4.2.0 `npm install -g cordova`

******************************************************

@moldstadt,
That is not the expected behavior so please file a different issue with instructions on how to recreate.
Thanks,
Dan


dartnissanconnect at rasberry pi >>> Unhandled exception

Hi Tobias,
First of all: Thank you for you great work! You seem to me the only one to communicate with Nissan Leafs produced after May 2019.
After struggling around with pycarwings2 see: pycarwings2 - v2.13 - INVALID PARAMS #39
I installed your dartnissanconnect and I was very glad when the first run showed my nissans battery SOC:
Modell:     Leaf
Ladezustand der Batterie: 85.0%
But after that it runs mostly in ever the same unhadled exception:
pi@solaranzeige:~ $ dart /home/pi/dartnissanconnect/example/nissanconnect_soc.dart
null
Unhandled exception:
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("realm")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:191:67)
<asynchronous suspension>
#2      main (file:///home/pi/dartnissanconnect/example/nissanconnect_soc.dart:8:8)
#3      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:19)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

The same behavior also does your nissanconnect_example.dart
Do you have an idea what goes wrong here?
In any case, your app My Leaf always runs perfectly...

I cannot reproduce this myself. Can you show me the example you are running?
Den 11. februar 2022 02.20.14 CET, Heiner3 @.***> skrev:

Hi Tobias,
First of all: Thank you for you great work! You seem to me the only one to communicate with Nissan Leafs produced after May 2019.
After struggling around with pycarwings2 see: pycarwings2 - v2.13 - INVALID PARAMS #39
I installed your dartnissanconnect and I was very glad when the first run showed my nissans battery SOC:
Modell:     Leaf
Ladezustand der Batterie: 85.0%
But after that it runs mostly in ever the same unhadled exception:

@.***:~ $ dart /home/pi/dartnissanconnect/example/nissanconnect_soc.dart

null
Unhandled exception:
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:191:67)

#2      main (file:///home/pi/dartnissanconnect/example/nissanconnect_soc.dart:8:8)
#3      _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:19)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
The same behavior also does your **_nissanconnect_example.dart_**
**Do you have an idea what goes wrong here?**
In any case, your app **_My Leaf_** always runs perfectly...

--
Reply to this email directly or view it on GitHub:
https://github.com/Tobiaswk/dartnissanconnect/issues/4
You are receiving this because you are subscribed to this thread.

Message ID<EMAIL_ADDRESS>

My example nissanconnect_soc.dart:
import 'package:dartnissanconnect/dartnissanconnect.dart';
import 'package:intl/intl.dart';

main() {
  NissanConnectSession session = new NissanConnectSession(debug: false);

  session.login(username: "user", password: "passwort").then((vehicle) {
               print("Modell:     ${vehicle.modelName}");
               vehicle.requestBatteryStatus().then((battery) {
               print("Ladezustand der Batterie: ${battery.batteryPercentage}");
    			});
  		});
}

and your example nissanconnect_example.dart:
import 'package:dartnissanconnect/dartnissanconnect.dart';

main() {
  NissanConnectSession session = new NissanConnectSession(debug: true);

  session.login(username: "username", password: "password").then((vehicle) {
    print(vehicle.nickname);
    print(vehicle.modelName);
    print(vehicle.vin);
  });
}

And as I wrote: Both scripts have the same behavior regarding the unhadled exception

I cannot reproduce your issue.
Are you using the correct library? If your vehicle was produced prior to May 2019 you need to use my other library called dartcarwings.
Den 11. februar 2022 13.30.02 CET, Heiner3 @.***> skrev:

My example nissanconnect_soc.dart:
import 'package:dartnissanconnect/dartnissanconnect.dart';
import 'package:intl/intl.dart';

main() {
 NissanConnectSession session = new NissanConnectSession(debug: false);

 session.login(username: "user", password: "passwort").then((vehicle) {
              print("Modell:     ${vehicle.modelName}");
              vehicle.requestBatteryStatus().then((battery) {
              print("Ladezustand der Batterie: ${battery.batteryPercentage}");
   			});
 		});
}

and your example nissanconnect_example.dart:
import 'package:dartnissanconnect/dartnissanconnect.dart';

main() {
 NissanConnectSession session = new NissanConnectSession(debug: true);

 session.login(username: "username", password: "password").then((vehicle) {
   print(vehicle.nickname);
   print(vehicle.modelName);
   print(vehicle.vin);
 });
}

And as I wrote: Both scripts have the same behavior regarding the unhadled exception
--
Reply to this email directly or view it on GitHub:
https://github.com/Tobiaswk/dartnissanconnect/issues/4#issuecomment-1036164771
You are receiving this because you commented.
Message ID: @.***>

Hello Tobias,
if you would only read this thread from the beginning...
The title is dartnissanconnect because I own a Nissan Leaf produced in 2021.
You don't even think about clicking the two times given link:  pycarwings2 - v2.13 - INVALID PARAMS #39
And: I wrote it runs, but not always --> this could not happen with pycarwings in my case!**
Sorry, in my feeling you do not read what I write at all...
Next I will install dartnissanconnect on a different Raspberry Pi from scratch and maybe at an old Linux-Notebook.
After that I will report here what happened....

No luck at all. On all devices it's the same...


Golang support for OSCAL models

OSCALkit is the current available project for pulling the types/models from. There has been great work done here - with some dependency updates done - but largely has sat unmaintained/unreleased since Nov 2020.
Need to decide on a path forward for maintaining the schemas/types as applicable. Optimally we can find paths forward for the existing project, as even with major updates, there is a lot of good work done.
Need to evaluate the path forward and decide on this as a pre-cursor to future core-logic implementation.

Closing this with the current intent to use go-oscal for oscal model types.
Will continue to evaluate other options going forward.


Any plans of adding sizing feature

I am using form-control-sm in all my forms but for files i am unable to set the size. Can you add this feature or guide me what i can do? I am using bootstrap.
Update:
I am using following styles to accomplish this. Hope it is the right approach for now.

    Facility Image

            <input type="file" id="facilityimage" name="facilityimage" class="custom-file-input" >
            Facility Image

and adding following css
.custom-file-sm, .custom-file-sm .custom-file-input, .custom-file-sm .custom-file-label
{
    height: calc(1.8125rem + 2px);
    font-size: 0.875rem;
}
.custom-file-sm .custom-file-input, .custom-file-sm .custom-file-label, .custom-file-sm .custom-file-label:after
{
    padding: 0.25rem 0.5rem;
}
.custom-file-sm .custom-file-label
{
    color: #939ba2;           /*  Just matching Placeholder Color   */
}
.custom-file-sm .custom-file-label:after
{
    height: 1.8125rem;
}

I @assadnazar,
bs-custom-file-input just add JavaScript to the Bootstrap component, if you have questions or need any help you'll want to ask around in the official Bootstrap Slack team or Stack Overflow. See their readme for more details.


Minimum DFL is 2008

It isn't true that there is no minimum DFL. DCs need to be using DFS-R for SYSVOL replication, according to https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-password-ban-bad-on-premises-deploy
"Any Active Directory domain that runs the Azure AD Password Protection DC agent service must use Distributed File System Replication (DFSR) for sysvol replication."
In order to use DFSR for SYSVOL replication, you need to be at DFL 2008 or higher. Therefore, DFL of 2008 is REQUIRED.

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

ID: 53684ada-fb90-0497-30d2-8c8c5d3a39ec
Version Independent ID: f6b5da43-1f40-3bdf-58cd-037632680668
Content: Azure AD Password Protection - Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/authentication/concept-password-ban-bad-on-premises.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@sysadmin47 Thanks for catching this error! Since 2008 release is so old now, I changed it to say any supported DFL/FFL can be used. The main point is no change to DFL/FFL should be required.
#please-close


Fix missing character in comment, which breaks the code block

This is still an issue, as the formatting of the docs is wrong.

🫠


Selector no cancel listener

I can just set (title,items,onClick) three params,I need to know the callback when the selector is canceled,what should I do without implement alertBuildFactory?

Exactly the same question here. I want to make the selector to be not cancelable.


[CS2103-F10-1] CanoE-COACH

Codecov Report

Merging #22 into master will increase coverage by 0.69%.
The diff coverage is 79.58%.

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

Codecov Report

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

@@            Coverage Diff            @@
##             master      #22   +/-   ##
=========================================
  Coverage          ?   71.21%
  Complexity        ?      504
=========================================
  Files             ?       87
  Lines             ?     1546
  Branches          ?      179
=========================================
  Hits              ?     1101
  Misses            ?      379
  Partials          ?       66

Impacted Files
Coverage Δ
Complexity Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)
0.00 <0.00> (?)

...in/java/seedu/address/commons/util/StringUtil.java
94.73% <ø> (ø)
7.00 <0.00> (?)

...c/main/java/seedu/address/model/student/Email.java
80.00% <ø> (ø)
6.00 <0.00> (?)

...rc/main/java/seedu/address/model/student/Name.java
80.00% <ø> (ø)
6.00 <0.00> (?)

...c/main/java/seedu/address/model/student/Phone.java
80.00% <ø> (ø)
6.00 <0.00> (?)

.../java/seedu/address/model/util/SampleDataUtil.java
20.00% <0.00%> (ø)
1.00 <0.00> (?)

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)
0.00 <0.00> (?)

src/main/java/seedu/address/ui/MainWindow.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

src/main/java/seedu/address/ui/StudentCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

...c/main/java/seedu/address/ui/StudentListPanel.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

... and 39 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 6389d85...6b75cd2. Read the comment docs.


Merge dev-v2.7-2023-06-patches into dev-v2.7

RKE1 June KDM patches are tested and ready for the release.
This ticket is to track the merging of dev-v2.7-2023-06-patches into the dev-v2.7 branch.

/backport dev-v2.6-2023-06-patches

https://github.com/rancher/kontainer-driver-metadata/pull/1182 is merged so this is done.


Add generated Batch AI SDK

This adds a generated service client, manager, and POM for the Batch AI service.

@RikkiGibson pls move this PR to the new repo: https://github.com/azure/azure-libraries-for-java.


Added function to get all drug formulations (name/dose/dosage form)

Prints in an indented list.

Hey @jtags8  - No need to print. Just return the values from the function, whoever uses this code can print it if they want. I fixed some minor stuff and add the read me. Merging.


Can't build SDK on Lin as Release

Run:
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_STORAGE_SAMPLES=ON -DBUILD_SAMPLES=ON ..

error:

/home/vivazqu/workspace/azure-sdk-for-cpp/sdk/core/azure-core/src/datetime.cpp: In member function ‘std::__cxx11::string Azure::Core::DateTime::GetString(Azure::Core::DateTime::DateFormat, Azure::Core::DateTime::TimeFractionFormat) const’:
/home/vivazqu/workspace/azure-sdk-for-cpp/sdk/core/azure-core/src/datetime.cpp:742:10: error: ‘month’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   int8_t month;
          ^~~~~
/home/vivazqu/workspace/azure-sdk-for-cpp/sdk/core/azure-core/src/datetime.cpp:99:27: error: ‘day’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
   return daysInPrevMonths + day;
          ~~~~~~~~~~~~~~~~~^~~~~
/home/vivazqu/workspace/azure-sdk-for-cpp/sdk/core/azure-core/src/datetime.cpp:743:10: note: ‘day’ was declared here
   int8_t day;
          ^~~
cc1plus: all warnings being treated as errors
sdk/core/azure-core/CMakeFiles/azure-core.dir/build.make:257: recipe for target 'sdk/core/azure-core/CMakeFiles/azure-core.dir/src/datetime.cpp.o' failed
make[2]: *** [sdk/core/azure-core/CMakeFiles/azure-core.dir/src/datetime.cpp.o] Error 1
CMakeFiles/Makefile2:373: recipe for target 'sdk/core/azure-core/CMakeFiles/azure-core.dir/all' failed
make[1]: *** [sdk/core/azure-core/CMakeFiles/azure-core.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 15%] Linking CXX static library ../../../lib/libgtest.a
[ 15%] Built target gtest
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Fixed in https://github.com/Azure/azure-sdk-for-cpp/pull/1560 (and https://github.com/Azure/azure-sdk-for-cpp/pull/1563). Thanks @antkmsft  and @vhvb1989


Wifi on Lenovo Thinkpad T14s Gen 1 doesn't work

I'm planning on making an MR to fix the wifi of the Lenovo Thinkpad T14s Gen 1 because it requires the kernel module rtw89 and its firmware (similar to the p14s).
But the necessary rtw89 kernel module somehow seems broken for a while (see my issue in nixpkgs repo: https://github.com/NixOS/nixpkgs/issues/177844).
A temporary workaround is to use a Kernel newer than 5.15, which has the kernel module rtw89 builtin. Just add the following to the hardware-config.nix and it should work:
boot.kernelPackages = pkgs.linuxPackages_5_18;
hardware.firmware = [ pkgs.rtw89-firmware ];

Pull requests are welcome if your workaround still works.


Add support for spring-cloud-gateway

Describe the issue

route setting application.yml
(not native build) run test,  make jar, run jar works.
native build success.
run error command $ ./target/demo

Steps to reproduce the issue

start.spring.io
add spring native, spring cloud gateway
generated
sample application yml

spring:
  cloud:
    gateway:
      routes:
        - id: example
          uri: http://<IP_ADDRESS>:8000
          predicates:
            - Path=/

mvnw -Pnative clean package -DskipTests

Describe GraalVM and your environment:

GraalVM version : graalvm-ce-java17-<IP_ADDRESS>
JDK major version: openjdk version "17.0.2"
OS: e.g. macOS Monterey
Architecture: AMD64

More details
2022-05-04 20:43:47.216 ERROR 29336 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under 'spring.cloud.gateway.routes[0].predicates[0]' to org.springframework.cloud.gateway.handler.predicate.PredicateDefinition:

    Reason: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [org.springframework.cloud.gateway.handler.predicate.PredicateDefinition]

Action:

Update your application's configuration

You can fix that issue by adding a typehint:
@NativeHint(types = {
		@TypeHint(types = PredicateDefinition.class, access = TypeAccess.PUBLIC_CONSTRUCTORS)
})

but the main problem here is that Spring native doesn't support Spring Cloud Gateway yet.

May I ask, I do as above, add annotations, or there is a new error, how should I solve it:

Please，Is Groovy now supported

There is no support for spring cloud gateway yet. You can now either try to add a lot of type hints or you run your application with the native agent which generates config for you. The image will work but may not have the optimal footprint.
To solve the problem in your screenshot, you have to add type hints for PathRoutePredicateFactory$Config, which is an inner class. You just have added type hints for the outer class.

Spring Native is now superseded by Spring Boot 3 official native support, see the related reference documentation for more details.
As a consequence, I am closing this issue, and recommend trying your use case with latest Spring Boot 3 version. If you still experience the issue reported here, please open an issue directly on the related Spring project (Spring Framework, Data, Security, Boot, Cloud, etc.) with a reproducer.
Thanks for your contribution on the experimental Spring Native project, we hope you will enjoy the official native support introduced by Spring Boot 3.


Update CONTRIBUTING.md

Change
mvn clean install eng/code-quality-reports/pom.xml
to
mvn clean install -f eng/code-quality-reports/pom.xml
 -f,--file <arg>                        Force the use of an alternate POM
                                        file (or directory with pom.xml)

Original command reports an error
[ERROR] Unknown lifecycle phase "eng/code-quality-reports/pom.xml". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

/check-enforcer evaluate

/check-enforcer override


Possible memory leak

Entering the following into a notebook leads to a large memory leak, which can eventually crash a 32-bit browser tab:
using Reactive, Interact, Gadfly
@manipulate for
    paused=false,
    dt = fpswhen(lift(!, paused), 10)
    plot(x=collect(1:10),y=rand(10))
end

The leak happens when the notebook tab is open/front in the browser, using either the most recent IJulia release or master. It appears like a lot of detached DOM trees are responsible.
See some discussion here. The problem can be ameliorated by installing Patchwork.jl but fundamentally I don't feel this bug has been addressed. If this is not an IJulia problem, that would also be great to know.
My IJulia package was built against Python 2.7.10, using jupyter 4.0.6, Google Chrome (32-bit) 47.0.2526.73 m on Windows 10 Pro.
Julia Version 0.4.2
Commit bb73f34 (2015-12-06 21:47 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

This sounds like an Interact problem, or possibly Jupyter.  Not really IJulia per se.


Blockchain twitter

Putting a 7 day close on this as it isn't descriptive enough to comment/act on.


URL is not in Response Object if the response is an opaqueredirect

As per title. If the Response is a opaqueredirect type then the URL is not set correctly in the Response object.
Within Cloudflare a Response object always has the URL set.
Due to - https://github.com/cloudflare/miniflare/blob/master/packages/core/src/standards/http.ts#L810
It'd be best if we could have the body as per Cloudflare behaviour but it appears that isn't possible based off the comments.
Could we manually set the URL on the object using Object.defineProperty or probably something like Response.redirect would be better suited
https://developer.mozilla.org/en-US/docs/Web/API/Response/redirect

Hey @mrbbot.  I think this might be related, but when ever I get a 30X response, undici is terminating. It only when redirect: 'manual' is set.  Using<EMAIL_ADDRESS>[mf:err] GET /: TypeError: terminated

[mf:err] Cause: AbortError: The operation was aborted

I tried updating to the latest undici locally and that didn't seem to do anything.  Any thoughts?

A little more debugging reveals that this only happens when the 30X response has a non null body.  I worked around it by checking for location header and nulling out the body, but this is definitely different behavior than cf workers.


Scheduler improvement

use requests core 1 for pod
always select the cluster which has more cpu/memory resources.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: chengshifan:x: I517992I517992 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Update check not working?

I've never had the app tell me there is an update. Currently 0.6.1 exists, but I still get this:

Hi @brentleyjones thanks a lot for report. I will check what's going there 😄

@brentleyjones I've fixed the root problem and made a workaround to receive an updates prior to the version with the fix 😄

That worked. It found an update for 0.6. Thanks!


Add the base64_encode() and base64_decode() functions

Fixes https://github.com/vim/vim/issues/16291.

I have a suggestion regarding the API name.
The existing encode/decode APIs are as follows:
    json_encode()
    json_decode()
    js_encode()
    js_decode()

In line with that, it might be good to name the APIs base64_encode() and base64_decode().

In line with that, it might be good to name the APIs base64_encode() and base64_decode().

I have renamed the APIs to base64_encode() and base64_decode().


Getting blank from firebase in response

I have installed this plugin in ionic 1 and following are the versions of ionic and cordova,
ionic - 3.3.0
cordova - 7.0.1
angular - 1.0
node - v6.9.4
npm - 3.10.10
gulp CLI - 1.3.0
Following is code which I have implemented in my application -
    if($window.FirebasePlugin){
      $window.FirebasePlugin.getValue("dev_name", function(response) {
          console.log(response);
          alert("Success:", response);
      }, function(error) {
          console.error(error);
          alert("Firebase Error:", error);
      });
      window.FirebasePlugin.subscribe("testing");
      window.FirebasePlugin.logEvent("page_view", {page: "initiator"});
      window.FirebasePlugin.grantPermission();
      window.FirebasePlugin.logEvent("cordova", {content_type: "page_view", item_id: "cordova"});
      window.FirebasePlugin.setBadgeNumber(100);
      window.FirebasePlugin.getToken(function(token) {
      // save this server-side and use it to push notifications to this device
      console.log("Firebase ===>"+token);
      }, function(error) {
      console.error("Firebase ===> failed"+error);
      });
    }

I am facing the issue of not getting anything in response, created the dev_name in firebase, in code it comes to success but nothings comes in response.
Please help me out in this.
Thanks in advance

ios or android?

Android

closing for now, reopen if still an issue with the latest version of the plugin


Hyper goes into web browser when command is a URL. Intended?

Hi,
Just noticed that when I execute a command that is a URL, e.g. "http://www.google.com/". Hyper replaces the terminal tab with a browser window and loads the web page. There's no address bar and no obvious way how to go back to the terminal. Is this intended?
Cheers,
David

Version is <IP_ADDRESS>4

Yes this is intended and will be moved to plugin later on. You can close this by clicking the pane and closing it with ctrl+c

duplicate of https://github.com/zeit/hyper/issues/1761


Unsuppress index ref doc ci for botservice

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

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/williexu/azure-cli-extensions.git@unsup_botservice#subdirectory=src/$EXT&egg=$EXT"


Update error summary anatomy image docsite + figma

TODO

[x] Update error summary links in figma to use global link styling
[x] Update anatomy image in figma
[ ] Replace the old error summary anatomy image on the doc site with the current anatomy image from figma

Outcomes

Image on the doc site will be the same as in figma library

Deliverables

Doc site PR
Anatomy image

Estimated Effort

[x] XS: 1 to 2 hours
[ ] S: half a day
[ ] M: 1-2 day
[ ] L: 1 week
[ ] XL: Move to an epic


Category queries request each hint individually

Makes a large number of requests of the form
SELECT unlocked_hint.hint_hid AS unlocked_hint_hint_hid, unlocked_hint.team_tid AS unlocked_hint_team_tid, unlocked_hint.timestamp AS unlocked_hint_timestamp, unlocked_hint.src_ip AS unlocked_hint_src_ip, hint_1.hid AS hint_1_hid, hint_1.challenge_cid AS hint_1_challenge_cid, hint_1.hint AS hint_1_hint, hint_1.cost AS hint_1_cost
FROM unlocked_hint LEFT OUTER JOIN hint AS hint_1 ON hint_1.hid = unlocked_hint.hint_hid
WHERE unlocked_hint.hint_hid = ? AND unlocked_hint.team_tid = ?

Appears to be caused by line 642 of model.py


Rewrite introduction for Sawtooth documentation

Signed-off-by: Anne Chenette<EMAIL_ADDRESS>

Adding Shawn's comments from our meeting today.


Handle empty queries in wire protocol

When peloton receives empty queries, it should send back parse complete for the parse msg, no data for the describe msg. This fix is missing in the PR merged today morning.

Resolved by PR #319


[BinderTransport] fix a typo 'schudule => schedule' in binder transport

schudule => schedule

Can you make sure [BinderTransport] is on the title of commit when this is merged? Example: https://github.com/grpc/grpc/pull/31852

Updated!


Beautify Send Fixes

This PR closes #166574102, by:

Adding display name to feed item
Updating Who component to manage error
Adding useValidatedValueState hook to manage a value that needs to be validated and his error state. This component manages the several states needed to properly handle errors such. If this is useful can be used in all wizard components. Also can be extended to manage several values

@dariominones I updated the snapshot to make the build pass


Cross Platform support for same repository

Linux uses forward slashes "/"
Windows uses backslashes ""
This generates unnecessary updates:
10:01:22 info: Arius.Services.ManifestService[0] Added a/b.pointer.arius
10:01:22 info: Arius.Services.ManifestService[0] Marked a\b.pointer.arius as deleted
10:01:22 info: Arius.Services.ManifestService[0] Manifest '3faab5383260b514c8e8a4f3d94ce02c17c8f0f28445a63cbe45f376d126d60d' has modified entries, marked for writeback

Resolved in 0.5

Resolved in 0.5


Failed to receive response from Home Assistant for request

I'm getting an error message "Failed to receive response from Home Assistant for request." and don't get live view from my cameras.
WebRTC is showing live view.
This configuration used to work before Frigate NVR 0.11.0

Complete error message:
Failed to receive response from Home Assistant for request. Check troubleshooting.
{
"request": {
"type": "media_source/browse_media",
"media_content_id": "media-source://frigate/frigate/event-search/clips////7Links-Cam1//",
"id": 78
},
"response": {
"code": "unknown_error",
"message": "Forbidden media source identifier: frigate/event-search/clips////7Links-Cam1//"
}
}

frigate.yml:
mqtt:
host: 192.168.xx.xx
user: xxxx
password: xxxx
detectors:
coral:
type: edgetpu
device: usb
cameras:
7Links-Cam1:
ffmpeg:
inputs:
- path: rtsp://xxxxx:xxxxx@<IP_ADDRESS>:80/videoMain
roles:
- detect
- record
#- rtmp
  output_args:
    record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac

detect:
  width: 360
  height: 240
  fps: 5
  max_disappeared: 15

objects:
  track:
    - person
    #- bicycle
    #- dog
    #- cat

motion:
  threshold: 15

record:
  enabled: True
  retain:
    days: 0
  events:
    retain:
      default: 20
      mode: motion
      objects:
        person: 20

#live:
  #height: 360
  #quality: 8
  #preload: true

snapshots:
  enabled: true
  timestamp: False
  bounding_box: false
  crop: false
  #height: 175
  retain:
    default: 20
    objects:
      person: 20

@harambe88

Can you hold down your Frigate menu button for a few seconds and paste the diagnostics that show up?
After you get the above message, can you check your home-assistant.log file and see if you see exceptions from Frigate?

Please re-open with the requested information if this is still an issue. Thanks!

Sorry for late response. I needed to restore a previous version which is running fine now. I haven't installed Frigate NVR 0.11.0 so far. If problem comes back I'll catch up with you.


[ADD]: LANDING PAGE TEMPLATE PROJECT 💡

Describe the project you want to add with tech stack

This project is mere a template for Landing page of any types of organization.
This site is fully responsive for both Desktop & Mobile.
Built with HTML5 & CSS3.

Screenshots (optional)

Additional context (optional )

For proof of work: Here's the original source code

Please assign this issue to me @MohitGupta121, @pranjay-poddar, @Saurabh-kumar09 & @TusharKesarwani.


Object detection app built using TFlite is crashing

Hi using tflite android app for object detection.
Followed the below link for building app:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite/examples/android/app
APK is generated and installed on pixel 2XL devices.
Speech recognization works but object detection fails.
Attaching the logs for reference
object_detection_logcat.txt

Hello,
Im using the code from following directory
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite/examples/android/app
Compilation and installation followed same as README.md in the above link.
System information:
Have I written custom code : NO
OS Platform and Distribution : Ubuntu 16.04
Mobile device : PIXCEL 2XL
TensorFlow installed from (source or binary): Binary(pip install)
TensorFlow version (use command below): 1.9.0
Python version: 2.7.12
Bazel version (if compiling from source): Installed using apt-get

Exact command to reproduce: Build the app as described in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/lite/examples/android/app/README.md

adb install bazel-bin/tensorflow/contrib/lite/examples/android/tflite_demo.apk
Launch app for object detection.
App crashes

@achowdhery Hi, could you please take a look into this ?

Nagging Assignees @achowdhery, @harshini-gadige: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignees @achowdhery, @harshini-gadige: It has been 31 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @achowdhery: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Working in latest git souce. so closing this issue


Wrong Pithagora?

Please, could you explain how did you get h1 calculation from the second line?
Where is gone the 2Rh1 from squaring the left side of equation?
Thanks!

Apply a square root on each side rather than expanding the parens.


chore(release): 0.9.0

Tested, web wallet LGTM, except small visual bugs #1288 #1275
Create a new wallet - pass

Change tokens/currency - pass
Send ae - pass

Receive ae - pass

Send FT - pass

Receive FT - pass

Balances view- pass

Send via scan QR - pass
AE/FT are displayed in Tx History (All/Sent/Received) - pass

Send Tip - pass
Claim Tip - pass
Tx history - pass

Tx details - pass

Invite link: create - pass

Top up - pass

Claim back - pass
Register a name - pass
Set name pointer - pass

Set as default name - pass

Extend - pass
Settings - pass
Networks - pass

FF/Chrome extension, LGTM:
Create a new wallet - pass
Change tokens/currency - pass
Send ae - pass
Receive ae - pass
Send FT - pass
Receive FT - pass
Balances view- pass
Send via scan QR - pass
AE/FT is displayed in Tx History (All/Sent/Received) - pass
Send Tip - pass
Claim tip - pass
Tx history - pass
Tx details - pass
Invite link: create - pass
top up -pass
claim back - pass
Register a name - pass
Set name pointer - pass
Set as default name - pass
Extend - pass
Settings - pass
Networks - pass

Android app, LGTM:
Create a new wallet - pass
Change tokens/currency - pass
Send ae - pass
Receive ae - pass
Send FT - pass
Receive FT - pass
Balances view- pass
Send via scan QR - pass
AE/FT is displayed in Tx History (All/Sent/Received) - pass
Send Tip - pass
Claim tip - pass
Tx history - pass
Tx details - pass
Invite link: create - pass
top up -pass
claim back - pass
Register a name - pass
Set name pointer - pass
Set as default name - pass
Extend - pass
Settings - pass
Networks - pass
Remains #1275


pin workflow-aggregator at 2.1-1.el7.x86_64 for jenkins v1

@bparees @jupierce @smunilla per recent 3.6 jenkins images email thread

[test]

lgtm

[merge]


very basic vertical scroll not working (except with nav views)

With the latest beta, I can't even get very basic scrolling working.  by basic I just mean as:
<ion-content  scroll="true"  overflow-scroll="true" has-bouncing="true" >
...
[bunch of stuff here that would need scrolling]
...
</ion-content>
NOTE that I have tried having no attributes to the ion-content directive.  I have tried wrapping the ion-content directive in ion-view and ion-pane.   there isn't a combination that allows me to scroll.
I do have a more complex page that uses the nav functionality and scrolling in that context is fine.  Is this a known bug with the latest beta?

Greetings!
My sensors indicate a reply was requested, however, since we have not received one yet, this will be closed. If you are still experiencing this issue, please feel free to reopen it and include any information that may have been requested.
Thank you!


Swap "power" for "electrical" in complexity and flow shapes

Addresses the third point in #419 --- the complexity and flow are related to electricity, not necessarily power (which is a broader concept)

@epaulson @steveraysteveray what do you think?

Since you asked, ElectricalComplexity (or PowerComplexity) seems a little weird as a term. I agree that we're talking about Electrical Complex Power here, not power in general, not electricity in general and not complexity in general, so why not call them BRICK.electricalComplexPower and BSH:ElectricalComplexPowerShape? Seems clearer.
My 2 cents!


work with @pvalena to create VM images out of Dracut PRs

@pvalena and I discussed the other day that Packit's VM image build functionality would be beneficial for him to boot VMs from Dracut PRs.
context:

https://packit.dev/docs/configuration/#vm_image_build
https://packit.dev/docs/cli/build/in-image-builder/
https://github.com/rhboot/nmbl-poc/

We should have everything in-place in Packit, just need to try it all out :)

@pvalena thank you for the detailed writeup and the link :)
Now that I see the full scenario, I wonder if building images in IB and running them in TF would be the best solution here. We should give it a try.

Small update:
So far, there is nothing Packit can help with for now. Pavel will try to take a look and will ask for help if needed.


More comfortable hf comparisons

Pull Request Test Coverage Report for Build 46

20 of 20 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.6%) to 95.631%

Totals

Change from base Build 43:
1.6%

Covered Lines:
119

Relevant Lines:
123

💛  - Coveralls


Add github buttons to the website

Signed-off-by: Akash Nayak<EMAIL_ADDRESS>

The Star button opens the Move2Kube repository and doesn't actually star the repo it directly. It is designed to work like that only because of security issues-  https://github.com/ntkme/github-buttons/issues/10


New Sign Up not receiving confirmation email

will need a specific example. Closing this for now. AWS only gives a limited time (24 hours I seem to remember) of visibility on sending. Therefore I'll need to know fairly quickly if an email doesn't get delivered to find out what happened.


added vite bundler

Vite is a bundler that is way faster than Webpack
Features:

Instant Server Start:

On-demand file serving over native ESM, no bundling required

Lightning Fast HMR:

Hot Module Replacement (HMR) that stays fast regardless of app size

Fully Typed APIs:

Flexible programmatic APIs with full TypeScript typing

Optimized Build:

Pre-configured Rollup build with multi-page and library mode support

Awesome @Hamza12700 thank you for your contributions on this weekend!


Cannot execute queries when input type is set to z.void()

Title. The endpoint is rendered but clicking the execute all button does not send any request nor throws any error.

Thanks for reporting this - will check it out today


FAB expanded button icons are not shown.

Hi! Thanks for trying out NativeBase!
Due to the overwhelming requests and issues/questions we ask you to add the following details with your issue.
Please check the existing open/closed issues for a possible duplicate before creating a new issue :)
Also DO fill out the below form to give us a better idea about your environment and help us debug it quicker. Issues without the required details will mostly be unattended to.
react-native, react and native-base version
react-native 0.42.3, native-base 2.1.0
Expected behaviour
Expand buttons with icons
Actual behaviour
Buttons are expanded without icons
Steps to reproduce (code snippet or screenshot)
<Fab
  active={this.state.active}
  direction="up"
  containerStyle={{ bottom: 65 }}
  style={{ backgroundColor: '#3498db' }}
  position="bottomRight"
  onPress={() => this.setState({ active: !this.state.active })}
>
  <Icon name="add" />
  <Button>
    <Icon name="person" style={{ color: '#fff' }} />
  </Button>
</Fab>

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
Not tested on ios
Any other additional info which would help us debug the issue quicker.
When active prop hardcoded with true the icon is shown.
Downgrade to 2.0.8 works for me.

I have the same issue

I tried to solve the issue, but it seems that the Fab component has many issues, and I'm using now https://github.com/mastermoo/react-native-action-button and it's working so well so far

@LeoAref @kidnapkin seems to work fine. Do check again and let know for which conditions are you facing the issue.

@GeekRishabh I'll try to check it next week and get back to you.

Should work fine with latest version 2.1.3


Adding additional method in ModelMatrix

We want to be able to validate if a model matrix definition exists in the model matrix DB before we actually try to create an instance

@ezhulenev seems like just a little thing to create a new version of model matrix. Let me know if you want to add other types of validation. Also, instead of isValid we could actually return the definition and also allow user to get instance directly by id, might be useful. Let me know!

No doing this as part of GC-477


Remove xlink (duplicates #543)

Got to much time on my hands and I noticed that xlink has been deprecated, saving a few bytes here and there.
(Thanks to that, Glitch and Minecrat can go under 1kB!)

SVG 2 removed the need for the xlink namespace, so instead of xlink:href you should use href.
— https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href

This is a duplicate of #543; since then it seems it's support is more widely available.
Thoughs?

These all work in Firefox, Chrome, and Webkit. Also work in Gnome Image Viewer, GIMP, and InkScape.
Please can you run update_readme.py and then I'll merge.


connectivity: test accessing NodePort from outside with L7 policy

This test case covers https://github.com/cilium/cilium/issues/21954.
A new policy echo-ingress-l7-policy-from-anywhere is added to allow HTTP GET / on echo pods from outside.
Use cilium connectivity test --test north-south-loadbalancing --datapath to run this test.
Signed-off-by: Zhichuan Liang <gray.isovalent.com>

Please note cilium can't pass the new added test case until https://github.com/cilium/cilium/pull/24882 is merged.

Please note cilium can't pass the new added test case until https://github.com/cilium/cilium/pull/24882 is merged.

Nice! I assume you ran the tests locally with the fix?

I assume you ran the tests locally with the fix?

Yes!

Added dont-merge/blocked until https://github.com/cilium/cilium/pull/24882 has landed. Otherwise, the ci-datapath will be broken, as it's still using the main branch of cilium-cli.


Add runtime/smart contract interactions

This PR adds the bulk of the intended changes for this repository - a user-facing example of interactions between the runtime and a smart contract.
Additions:

Runtime with a chain extension that exposes a custom extrinsic, and pallet_balances::transfer to the smart contract.
Smart contract with basic storage functions to be called by custom pallet, as well as functions to call chain_extension functions.
Custom extrinsic that calls pallet_contracts::bare_call with given arguments, to demonstrate calling smart contracts through an extrinsic.

Noting that for the call_smart_contract extrinsic, I've purposefully left out tests and benchmarks due to the amount of additional source needed from pallet_contracts to work with adding the wasm to the mock runtimes - it was a good exercise, but seemed to distract from the focus of this repo.

I removed the smart contract tests, in light of our conversations on testing, we're not able to do much more mocking than statically setting the return of runtime functions and it didn't make sense to set an example of doing so. I may play with them a bit on a separate branch, but not sure it needs to be included here.

Noting that for the call_smart_contract extrinsic, I've purposefully left out tests and benchmarks due to the amount of additional source needed from pallet_contracts to work with adding the wasm to the mock runtimes - it was a good exercise, but seemed to distract from the focus of this repo.

The focus being on interaction of the contract with the underlying runtime?

Noting that for the call_smart_contract extrinsic, I've purposefully left out tests and benchmarks due to the amount of additional source needed from pallet_contracts to work with adding the wasm to the mock runtimes - it was a good exercise, but seemed to distract from the focus of this repo.

The focus being on interaction of the contract with the underlying runtime?

I think so. At least that the focus should be on interactions going in either direction. If I'm thinking about going through an example like this as a developer, I would probably end up just copying a lot of code. Something about other developers copying this example largely for one purpose, but getting a veritable library of code for a few tests just feels wrong.


error during deployment terraform

Error: Post "https://esshab-aks-06136746.hcp.eastus.azmk8s.io:443/api/v1/namespaces/kube-system/configmaps": dial tcp <IP_ADDRESS>:443: i/o timeout

This is typical symptom when CIDR values for cluster_endpoint_public_access_cidrs is not set correctly. Can you verify your IP is within the CIDR?

@esshab please verify your IP and CIDR combination. I'll be closing this issue if you don't provide feedback today. Thanks.

closing.


404 after language switch

For example I have a node, that originally was created with in English, with URL alias /lorem . I translated this page to FR language, and this treanslated page has URL alias: /lorem-fr.
I have my language selectors configured, just as in Umami demo:
<Link key={index} href={asPath} locale={language} passHref>
              <a className="text-black-1 text-secondary-color uppercase text-sm font-medium">
                {language}
              </a>
  </Link>

Everything works fine, if I try to change language to FR, when I am at /lorem page. But when I stay at /lorem-fr page and I am trying to change language to EN, I get 404. I assume, this happends, because after lagnuage change my URL looks like this: /en/lorem-fr and obvously it cannot translatePathFromContext() and return null. Is there any way I can fix it? Perhaps Ishould use differennt language switcher logic?

Hi, the Unami demo is different of what you want to do i think.
Url are the same in ES or EN, so it's ok for the engine to just change the local.
But a real drupal don't work like this and you will have a different URL for EN and FR for example.
For me you have to get the resource from [...slug] which have the content_translations attribute.
content_translations: [
    { label: 'page FR ', path: '/fr/lorem', langcode: 'fr' },
    { label: 'page EN', path: '/en/lorem-version-en', langcode: 'en' }
  ],

All node translation for a node are here, so you can then do a simple mapping of locale between this result and the node

Yeah, I already implemented it by using requests to Drupal, and getting correct aliases using getAliasByPath() function, so I guess this problem is already solved.