Wallbox Dadapower Fehler Phasenwechsel PV Mode

Describe the bug
Hallo zusammen,
ich nutze das EVCC Addon in Home Assistant mit einer Dadapower Wallbox. Seit ein paar Tagen erhalte ich folgende Fehlermeldung.
Garage: charger logic error: current
mismatch (got 16A measured,
expected 6A)
Es wurde eigentlich nichts geändert, außer der Wallbox Hersteller hat vor ein paar Wochen ein Update der Wallbox gemacht, wobei es danach wieder lief, obwohl ich kurz danach einen Sponsortoken brauchte, was früher nicht der Fall war. Er erkennt den Überschuss nicht richtig und lädt immer bei Überschuss mit 11kW auch wenn nur 2kW Überschuss vorhanden sind. Irgendwie packt er den Phasenwechsel nicht.
Haben jemand eine Idee woran das liegt bzw. wie ich das wieder beheben kann?
Steps to reproduce

EVCC starten
PV Mode wählen und auf Überschuss warten
Dann tritt der Fehler auf...immer

Configuration details
network:
  # schema is the HTTP schema
  # setting to `https` does not enable https, it only changes the way URLs are generated
  schema: http
  # host is the hostname or IP address
  # if the host name contains a `.local` suffix, the name will be announced on MDNS
  # docker: MDNS announcements don't work. host must be set to the docker host's name.
  host: 192.168.xxx.xx:8123
  # port is the listening port for UI and api
  # evcc will listen on all available interfaces
  port: 7070

interval: 10s # control cycle interval

# database configuration for persisting charge sessions and settings
# database:
#   type: sqlite
#   dsn: <path-to-db-file>

# sponsor token enables optional features (request at https://sponsor.evcc.io)
sponsortoken: xxx

# telemetry enables aggregated statistics
#
# Telemetry allows collecting usage data (grid and green energy, charge power).
# Data is aggregated, no individual charging sessions are tracked. The collected,
# anonymous data can be retrieved using https://api.evcc.io.
#
# See https://github.com/evcc-io/evcc/pull/4343 or details.
#
# For time being, this is only available to sponsors, hence data is associated with
# the sponsor token's identity.
#
# telemetry: true

# log settings
log: info
levels:
  site: debug
  lp-1: debug
  lp-2: debug
  cache: error
  db: error

# modbus proxy for allowing external programs to reuse the evcc modbus connection
# each entry will start a proxy instance at the given port speaking Modbus TCP and
# relaying to the given modbus downstream device (either TCP or RTU, RS485 or TCP)
modbusproxy:
  #  - port: 5200
  #    uri: solar-edge:502
  #    # rtu: true
  #    # readonly: true

# meter definitions
# name can be freely chosen and is used as reference when assigning meters to site and loadpoints
# for documentation see https://docs.evcc.io/docs/devices/meters
meters:
  - name: grid
    type: custom
    power:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.strom_aktuell
      scale: 1
      timeout: 30s
    energy:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.strom_netzbezug
      scale: 1
      timeout: 30s

  - name: pv
    type: custom
    power:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.solar_power_current_power
      scale: 1
      timeout: 30s
    energy:
      source: mqtt
      topic: pvdataevcc/sensor/sensor.solar_power_energy_today
      scale: 1
      timeout: 30s

# charger definitions
# name can be freely chosen and is used as reference when assigning charger to vehicle
# for documentation see https://docs.evcc.io/docs/devices/chargers

chargers:
  - name: my_charger
    type: template
    template: dadapower

    # Modbus TCP
    modbus: tcpip
    id: 1
    host: 192.168.xxx.xx # Hostname
    port: 502 # Port

# vehicle definitions
# name can be freely chosen and is used as reference when assigning vehicle to loadpoint
# for documentation see https://docs.evcc.io/docs/devices/vehicles
vehicles:
  - name: my_car
    type: template
    template: teslamate
    title: Model Y Domi # Wird in der Benutzeroberfläche angezeigt (optional)
    id: 1 # optional
    capacity: 77 # Akkukapazität in kWh (optional)

# site describes the EVU connection, PV and home battery
site:
  title: Home # display name for UI
  meters:
    grid: grid # grid meter
    pv: pv
      #- my_pv # list of pv inverters/ meters
  #  aux:
     # - aux # list of auxiliary meters for adjusting grid operating point
#   residualPower: 100 # additional household usage margin
 # smartCostLimit: 0 # set cost limit for automatic charging in PV mode

# loadpoint describes the charger, charge meter and connected vehicle
loadpoints:
  - title: Garage # display name for UI
    charger: my_charger # charger
    mode: pv # "off" set default charge mode, use "off" to disable by default if charger is publicly available
    vehicle: my_car # set default vehicle (disables vehicle detection)
    # resetOnDisconnect: false # set defaults when vehicle disconnects
    # phases: 0 # electrical connection (normal charger: default 3 for 3 phase, 1p3p charger: 0 for "auto" or 1/3 for fixed phases)
    # minCurrent: 6 # minimum charge current (default 6A)
    # maxCurrent: 16 # maximum charge current (default 16A)

    # remaining settings are experts-only and best left at default values
    priority: 0 # relative priority for concurrent charging in PV mode with multiple loadpoints (higher values have higher priority)
    soc:
      # polling defines usage of the vehicle APIs
      # Modifying the default settings it NOT recommended. It MAY deplete your vehicle's battery
      # or lead to vehicle manufacturer banning you from API use. USE AT YOUR OWN RISK.
      poll:
        # poll mode defines under which condition the vehicle API is called:
        #   charging: update vehicle ONLY when charging (this is the recommended default)
        #   connected: update vehicle when connected (not only charging), interval defines how often
        #   always: always update vehicle regardless of connection state, interval defines how often (only supported for single vehicle)
        mode: charging
        # poll interval defines how often the vehicle API may be polled if NOT charging
        interval: 60m
      estimate: true # set false to disable interpolating between api updates (not recommended)
    enable: # pv mode enable behavior
      delay: 1m # threshold must be exceeded for this long
      threshold: 0 # grid power threshold (in Watts, negative=export). If zero, export must exceed minimum charge power to enable
    disable: # pv mode disable behavior
      delay: 3m # threshold must be exceeded for this long
      threshold: 0 # maximum import power (W)
    guardDuration: 5m # switch charger contactor not more often than this (default 5m)

# tariffs are the fixed or variable tariffs
tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    # either static grid price (or price zones)
    type: fixed
    price: 0.2980 # EUR/kWh
    #zones:
     # - days: Mon-Fri
     #   hours: 2-5
     #   price: 0.2 # EUR/kWh
     # - days: Sat,Sun
     #   price: 0.15 # EUR/kWh

    # or variable tariffs
    # type: tibber
    # token: "476c477d8a039529478ebd690d35ddd80e3308ffc49b59c65b142321aee963a4" # access token
    # homeid: "cc83e83e-8cbf-4595-9bf7-c3cf192f7d9c" # optional if multiple homes associated to account

    # type: awattar
    # region: de # optional, choose at for Austria
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional

    # type: elering # Nordpool
    # region: ee # or lt, lv, fi
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)

    # type: energinet # Energinet using the price in DKK
    # region: dk1 # or dk2
    # charges: # optional, additional charges per kWh
    # tax: # optional, additional tax (0.1 for 10%)
  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.082 # EUR/kWh

    # type: octopusenergy
    # tariff: AGILE-FLEX-22-11-25 # Tariff code
    # region: A # optional
  co2:
    # co2 tariff provides co2 intensity forecast and is for co2-optimized target charging if no variable grid tariff is specified
    #type: grünstromindex # GrünStromIndex (Germany only)
    #zip: 35236

    # type: electricitymaps # https://app.electricitymaps.com/map
    # uri: <uri>
    # token: <token>
    # zone: DE

    # type: ngeso # National Grid Electricity System Operator data (United Kingdom only) https://carbonintensity.org.uk/
    # provides national data if both region and postcode are omitted - do not supply both at the same time!
    # region: 1 # optional, coarser than using a postcode - see https://api.carbonintensity.org.uk/ for full list
    # postcode: SW1A1AA # optional

# mqtt message broker
mqtt:
  broker: 192.168.xxx.xx:1883
  #topic:  # root topic for publishing, set empty to disable
  user: mqtt-user1
  password: xxx

# influx database
influx:
  # url: http://localhost:8086
  # database: evcc
  # user:
  # password:

# eebus credentials
eebus:
  # uri: # :4712
  # interfaces: # limit eebus to specific network interfaces
  # - en0
  # certificate: # local signed certificate, required, can be generated via `evcc eebus-cert`
  #   public: # public key
  #   private: # private key

# push messages
messaging:
  events:
    start: # charge start event
      title: Charge started
      msg: Started charging in "${mode}" mode
    stop: # charge stop event
      title: Charge finished
      msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
    connect: # vehicle connect event
      title: Car connected
      msg: "Car connected at ${pvPower:%.1fk}kW PV"
    disconnect: # vehicle connected event
      title: Car disconnected
      msg: Car disconnected after ${connectedDuration}
    soc: # vehicle soc update event
      title: Soc updated
      msg: Battery charged to ${vehicleSoc:%.0f}%
    guest: # vehicle could not be identified
      title: Unknown vehicle
      msg: Unknown vehicle, guest connected?
  services:
  # - type: pushover
  #   app: # app id
  #   recipients:
  #   - # list of recipient ids
  # - type: telegram
  #   token: # bot id
  #   chats:
  #   - # list of chat ids
  # - type: email
  #   uri: smtp://<user>:<password>@<host>:<port>/?fromAddress=<from>&toAddresses=<to>
  # - type: ntfy
  #   uri: https://<host>/<topics>
  #   priority: <priority>
  #   tags: <tags>

Log details
Garage: charger logic error: current
mismatch (got 16A measured,
expected 6A)

What type of operating system are you running?
HomeAssistant Add-on
Nightly build

[X] I have verified that the issue is reproducible with the latest nightly build

Version
v0.130.12

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

Das mit dem Doppelpost war keine Absicht. Ich dachte es hätte beim ersten Mal nicht geklappt.
Aber warum wird nur weil der Rest der Log-Datei fehlt direkt das Problem als erledigt gekennzeichnet. Die wichtige Information war ja im Log vorhanden?


Preferred way to report vulnerabilities?

Do you have a preferred way to (responsibly) report possible security vulnerabilities in this library?

OK, apparently member badges are not publicly visible; please use the form I linked.


Add Search Sort Ordering

Sorting now supported ascending/descending according to:

score
date
title

Looks good! I couldn't leave a comment inline as the line wasn't changed in this PR, but I think the stats clause in the Opensearch query could be amended as follows, as that clause's only purpose is to enable sorting by date.
"action_date": {
    "stats": {
-        "field": "action_date",
+        "field": _SORT_FIELD_MAP[SortField.DATE],
    },
},


configs/tmpfiles.d: ensure /run/xtables.lock exists

The nftables update which included using the nftables compat backend
for the iptables binaries instead of xtables on the host resulted in
the lock file not being created anymore automatically. The lock file is
still required because the xtables backend doesn't go away and is used
by containers and, possibly, by invoking the legacy binaries on the
host (we ship them for easy access to the xtables lists).
Use a systemd-tmpfile directive to create the xtables lock file which,
e.g., gets bind-mounted to containers for coordination of xtables
modifications.
How to use
Fixes https://github.com/flatcar-linux/Flatcar/issues/578
Testing done
File got created at bootup in a VM. After file deletion the same file got created again by iptables-legacy -L

[ ] Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
↑ in coreos-overlay

Created a flatcar-3033-backport branch for current Stable


Forward Yubico for sudo authentication over SSH

I've been trying to forward my Yubico to perform sudo authentication without having to use the password
I've successfully performed SSH auth with Yubico on macOS 12 using ssh -A<EMAIL_ADDRESS>But when trying to get the key on the remote machine using the command ssh-keygen -D /usr/lib/x86_64-linux-gnu/libykcs11.so I get the following error
C_GetSlotList failed: 48
cannot read public key from pkcs11

Also running ykpamcfg -2 -v outputs Yubikey core error: no yubikey present
My local gpg-agent.conf
enable-ssh-support
pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
default-cache-ttl 60
max-cache-ttl 120

My local .ssh/config
Host server.com
  HostName server.com
  ForwardAgent yes
  User user
  # RemoteForward /run/user/1000/gnupg/S.gpg-agent /Users/pedrocavaleiro/.gnupg/S.gpg-agent.extra
  RemoteForward /run/user/1000/gnupg/S.gpg-agent /Users/pedrocavaleiro/.gnupg/S.gpg-agent
  RemoteForward /run/user/1000/gnupg/S.gpg-agent.ssh /Users/pedrocavaleiro/.gnupg/S.gpg-agent.ssh

In this case I'm not using the S.gpg-agent.extra because it locks some functionality (and yes I'm aware of the implications)
On the remote machine in the /etc/ssh/sshd_config config file I do have the StreamLocalBindUnlink yes line
I'm able to run gpg --card-status and it returns my Yubico key
This question is also on ServerFault: Yubico forward over ssh
As of versions they are the following

macOS (Local Machine)

macOS 12.4 (21F79)
ssh: OpenSSH_8.6p1, LibreSSL 3.3.6
gpg (GnuPG/MacGPG2) 2.2.34
libgcrypt 1.8.9

Ubuntu Server (Remote Machine)

Ubuntu 22.04 LTS
Kernel: 5.15.0-40-generic
ssh: OpenSSH_8.9p1 Ubuntu-3, OpenSSL 3.0.2 15 Mar 2022
gpg (GnuPG) 2.2.27
libgcrypt 1.9.4

Resolving. If this is possible, please reopen or send a PR.


added a check for sinon.sandbox for sinon v8 compatibility

underscopeio/sinon-mongoose#58 added a check for sinon.sandbox for sinon v8 compatability and bumped the peer dependency to 5 - 8

hey guys, i've tried to keep the compatibility with older versions of sinon to avoid a major bump, but if you prefer, i can update it to remove sinon.sandbox all together.

Can't wait till this is merged!

hi guys, just following up to see if you had a chance to review the PR?

sinon v9 is out now, and this PR is all I need to do upgrade to sinon v9

@gaguirre Please merge this.

@gaguirre Please merge this so we can use sinon-mongoose

Same as the others...please merge this PR

@gaguirre @YasharF @jniemin Could you please merge this PR. Thank you.

Any Update on this?


DataView does not exist even though it is included in the scripts

I am trying to use a dataview but when trying to create a new instance the reference cannot be found. I have included the script in the _LayoutHead
   protected createSlickGrid() {
            var grid = super.createSlickGrid();

            var dataView = new Slick.Data.DataView({ inlineFilters: true });

            return grid;
        }

I keep getting Slick.Data does not contain DataView

First, you should have included its script file. And you shouldn't actually use a DataView, not sure if it is compatible with Serenity DataGrid.

I'm trying to add an aggregate to the dialog but how can I do that without using a DataView?

See grouping sample


fluent-plugin-google-cloud is outdated

Hello!
fluent-plugin-google-cloud is outdated in the debian-stackdriver docker image.
Google Cloud plugin 0.4.10.
That's a version from 2015.
It does not work anymore.
Thank you!

Hi, thank you for your feedback.
I'm not familiar with Google Cloud Platform.
Which fluent-plugin-google-cloud plugin version did work well on GCP?
Did you try it another plugin version as custom built images?

I tried to build custom image  within fluent-plugin-google-cloud 0.10.7 (latest).
It requires fluentd version 1.11.2.
I tried this configuration and looks like it works fine.

Thanks for your reply.
We're waiting feedback and progress to be merged this PR:
https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/447
Yeah, current issue is: fluent-plugin-google-cloud 0.10.7 refuses to work with Fluentd v1.12.

The new version of fluent-plugin-google-cloud will be released soon:
https://github.com/GoogleCloudPlatform/fluent-plugin-google-cloud/pull/447#issuecomment-827923571
We will publish this new fluent-plugin-google-cloud bundled image.

I'm considering to remove fluent-plugin-google-cloud and debian-stackdriver image completely from this repository.
Recent fluent-plugin-google-cloud sticks required fluentd version to a exactly specified version, while this repository always follow latest fluentd version. So that we never able to sync these versions.


analysis_options.yaml cannot find included external yaml file

I am using a package named https://pub.dev/packages/lint which provides a series of preconfigured analysis options for flutter analyze.
When I follow the install instructions and add include: package:lint/analysis_options.yaml at the top, I get the following error when running flutter analyze:
warning • The include file package:lint/analysis_options.yaml in /home/[REDACTED]/analysis_options.yaml cannot be found • analysis_options.yaml:1:11 • include_file_not_found

This issue happens also with other external analysis_options files, for example, when using the package "pedantic" or the package "effective_dart".
The users from the package "pedantic" are having the same issue: https://github.com/dart-lang/pedantic/issues/52
From my personal research, the issue does not happen on my MacOs, but happens on my Linux machine.
Steps to Reproduce
There's different ways to reproduce the issue, in https://github.com/dart-lang/pedantic/issues/52 there are instructions to do it as well.
I copy here the steps from that ticket:

Create a Flutter project.
Create a Dart package within the project from step 1's directory.
Add the Dart package as a dependency of the Flutter project.
Use the Dart package in the Flutter project.
Add pedantic in the Flutter project and create the analysis_options.yaml file.
flutter pub get in both projects
flutter analyze

Expected results: No warnings displayed in flutter analyze
Actual results: Warning:
warning • The include file package:lint/analysis_options.yaml in /home/[REDACTED]/analysis_options.yaml cannot be found • analysis_options.yaml:1:11 • include_file_not_found

Logs

warning • The include file package:lint/analysis_options.yaml in /home/[REDACTED]/analysis_options.yaml cannot be found • analysis_options.yaml:1:11 • include_file_not_found

[✓] Flutter (Channel stable, v1.17.5, on Linux, locale en_US.UTF-8)
    • Flutter version 1.17.5 at /home/miquel/dev/tools/flutter
    • Framework revision 8af6b2f038 (4 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /home/miquel/Android/Sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at:
      /home/miquel/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.66
      26763/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[!] Android Studio (version 4.0)
    • Android Studio at
      /home/miquel/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.66
      26763
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[!] Connected device
    ! No devices available

stable_flutter.zip
Analyzing stable_flutter...

warning • The include file package:pedantic/analysis_options.yaml in
       /Users/tahatesser/AndroidStudioProjects/stable_flutter/analysis_options.yaml cannot be found •
       analysis_options.yaml:1:11 • include_file_not_found

1 issue found. (ran in 2.5s)

flutter doctor -v
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.17.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 8af6b2f038 (4 weeks ago), 2020-06-30 12:53:55 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (1 available)
    • SM M305F • 32003c30dc19668f • android-arm64 • Android 10 (API 29)

• No issues found!

This also happens with me for a while now. If I include pedantic on my analysis_options.yaml or if I enable non-nullable it will work sometimes but most of the time it won't work and will warn me that the file cannot be found.

Any update on this? It still happens with me, both locally and on Github Actions, which prevent my CI from passing. I am going to disable dart analyze as a step from Actions, which is a little cumbersome.

I personally moved the dart package I had in my project outside of the Flutter app project folder and the error went away. :disappointed:

Well, in my case it happens independently of being a dart package within a Flutter project. It will simply happen arbitrarily...

In my case I had this error because I had a dart sub-package and my main package is a flutter package using flutter_lints/flutter.yaml from the flutter_lints package. It makes sense because the analysis_options.yaml is applied to the subdirectories and the dart sub-package does not have flutter_lints in its pubspec.yaml. I solved the issue by adding a analysis_options.yaml for the dart sub-package to override the parent package's analysis_options.dart.

In my case I had this error because I had a dart sub-package and my main package is a flutter package using flutter_lints/flutter.yaml from the flutter_lints package. It makes sense because the analysis_options.yaml is applied to the subdirectories and the dart sub-package does not have flutter_lints in its pubspec.yaml. I solved the issue by adding a analysis_options.yaml for the dart sub-package to override the parent package's analysis_options.dart.

This worked for me, thank you!

@miquelbeltran, I verified the issue on latest master channel and I cannot reproduce it. I believe that this issue is fixed.
mahesh@Maheshs-MacBook-Air-M1 flutter_issue % flutter analyze
Analyzing flutter_issue...
No issues found! (ran in 1.2s)
mahesh@Maheshs-MacBook-Air-M1 flutter_issue %

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.7.0-3.0.pre.33, on macOS 12.6 21G115 darwin-arm64, locale en-IN)
    • Flutter version 3.7.0-3.0.pre.33 on channel master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (38 minutes ago), 2022-12-05 18:27:21 -0800
    • Engine revision a309d239c4
    • Dart version 2.19.0 (build 2.19.0-463.0.dev)
    • DevTools version 2.20.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly
      to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 108.0.5359.94

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Heres the sample project I verified with, Closing. In case you still encounter the issue, Please write back with more details and we will reopen it.
Thank you.


Code that includes typeof operator or calls to GetType never completes execution.

Whenever I've tried to execute C# code that includes use of the typeof operator or a call to GetType, the query continues running indefinitely without returning any results. The tiny progress bar beneath the green arrow button at the top left continues indefinitely.
Examples:
3.GetType()
// should return [System.Int32], and does in C# Interactive or LINQPad, but query hangs instead
typeof(int)
// should return [System.Int32], and does in C# Interactive or LINQPad, but query hangs instead
"hello".GetType()
// Should return [System.String], and does in C# Interactive or LINQPad, but query hangs instead
I've seen this both in the 13.3 version of RoslynPad, and when building the latest version (as of March 15, 2019) from source.

Duplicate of #190


Does not support multiple tasks

Currently with the naming convention of the pot driver there is a conflict in the naming of the jails when trying to create multiple tasks in one group since the task name isn't included and only the alloc id is used which isn't unique between tasks in a group.
TODO:
Prepend task name to jails created by pot

Working on it...

Issue fixed.


CORE-20571 - Change OpenAPI representation of JsonObject

Looks like this PR needs a rebase to the latest state of the target branch or else the change set looks unexpectedly large.

e2e-tests


Human Readable Term Definitons for @context Fields URLs

My goal with opening PR #12 was to be able to point to term definitions from my credentials' @context field in the Rebase library. I assumed there was some process to generate human readable term definitions from the YAML files I was providing. I also assumed the URL called out in the GitHubVerification.yml (https://w3id.org/rebase#GitHubVerification) would correspond to this.
It doesn't seem any of that is how it works.
How do we get human readable term definitions available so I can link to them from my credentials?

Nevermind, I'm just pointing at the JSON LD files, even though that isn't human-readable.


Openconnect username: Allowed characters 2

Hello,
our ocserv serves multiple tenants ("domains"), so the username has format
domain/username
or
domain/email@address
It can also include optional modifiers:
modifier:domain/username
or
modifier:domain/email@address
for example, to select between split-tunneling and default route, like
nosplit:office/john.smith
Unfortunately, OPNSense won't let us use this username format, because ':' and '/' are not allowed.
Can this restriction be relaxed a bit ? Other characters could be required on other non-trivial VPN setups, as well.

@markomdinic I thought @mimugmail would pick this up but I fixed it now. May be too late for you but in the hopes somebody else will find it useful. Thanks for the report!


Determining Hosting Environment While Configuring Kestrel and UseHttps

In the ASP.NET Core Main method below, how can I determine the hosting environment, so I can switch between different certificate files for HTTPS?
public sealed class Program
{
    public static void Main(string[] args)
    {
        new WebHostBuilder()
            .UseContentRoot(Directory.GetCurrentDirectory())
            .UseKestrel(
                options =>
                {
                    if ([Development Hosting Environment])
                    {
                        options.UseHttps("DevelopmentCertificate.pfx");
                    }
                    else
                    {
                        options.UseHttps("ProductionCertificate.pfx");
                    }
                })
            .UseIISIntegration()
            .UseStartup<Startup>()
            .Build()
            .Run();
    }
}

It was just answered on another thread that I just saw: https://github.com/aspnet/Home/issues/1915#issuecomment-276133606
... and if you don't use command-line config, env var config, a config file, etc., then you can read the ASPNETCORE_ENVIRONMENT env var directly after you manually set it somehow.

It turns out you can use ConfigureServices to get hold of IHostingEnvironment like so:
public sealed class Program
{
    public static void Main(string[] args)
    {
        IHostingEnvironment hostingEnvironment = null;
        new WebHostBuilder()
            .UseContentRoot(Directory.GetCurrentDirectory())
            .ConfigureServices(
                services =>
                {
                    hostingEnvironment = services
                        .Where(x => x.ServiceType == typeof(IHostingEnvironment))
                        .Select(x => (IHostingEnvironment)x.ImplementationInstance)
                        .First();
                })
            .UseKestrel(
                options =>
                {
                    if (hostingEnvironment.IsDevelopment())
                    {
                        // Use a self-signed certificate to enable 'dotnet run' to work in development.
                        options.UseHttps("DevelopmentCertificate.pfx", "password");
                    }
                })
            .UseIISIntegration()
            .UseStartup<Startup>()
            .Build()
            .Run();
    }
}

It really feels like this should be easier.

Assigning to @cesarbs for investigation

@RehanSaeed How can you handle the .UseUrls() to wrap an if statment around it?
// Only add if development?? .UseUrls("https://localhost:5001")

@dotnetshadow Couldn't you do something like:
.UseUrls(hostingEnvironment.IsDevelopment() ? "http://*:8080" : "https://*:8080")

@RehanSaeed that's pretty cool, but what happens if you publish to an IIS environment?

@dotnetshadow Well, that would be a Production environment, so in my example above it would use the https URL.

@RehanSaeed thanks for that, I wasn't sure if IIS would still be able to use the .UseUrls() for a live site like foo.com
.UseUrls(hostingEnvironment.IsDevelopment() ? "http://*:8080" : "https://*:443")

IIS overwrites UseUrls.

@Tratcher ahh thank you I didn't know that. What about options.UseHttps() does that get overridden?

It will (though that may be broken right now in dev). @JunTaoLuo Do you have UseIISIntegration setting the new PreferHostingUrls?

@davidfowl has some ideas for another (nicer) workaround.

@Tratcher UseIISIntegration will set PreferHostingUrls after we address https://github.com/aspnet/IISIntegration/issues/352

@Tratcher ahh thank you didn't know there was PreferHostingUrls thing  any documentation on that?

@dotnetshadow it's new for 2.0:
https://github.com/aspnet/Hosting/commit/4cdc970055ef2ad77887109c4acde89278e0ce18

This covers https://github.com/aspnet/KestrelHttpServer/issues/1713 too.

Is is possible to set UseHttps from Startup class?

Yes:
services.Configure<KestrelServerOptions>(options =>
 {
   options.UseHttps(...);
 });

@RehanSaeed I was able to find a slightly shorter way before this gets implemented properly:
public static IHostingEnvironment hostingEnvironment;
public static IWebHost BuildWebHost(string[] args) =>
	WebHost.CreateDefaultBuilder(args)
	    .UseStartup<Startup>()
	    .ConfigureAppConfiguration((hostingContext, config) => {
 	        hostingEnvironment = hostingContext.HostingEnvironment;
	    })
            .UseKestrel(options => {
                if (hostingEnvironment.IsDevelopment()) {
                    options.Listen(IPAddress.Loopback, 443, listenOptions => {
                        listenOptions.UseHttps("certificate.pfx", "password");
                    });
                }
            })
	    .Build();

Another way to do this:
public static IWebHost BuildWebHost(string[] args) =>
	WebHost.CreateDefaultBuilder(args)
	    .UseStartup<Startup>()
            .UseKestrel()
            .ConfigureServices((context, services) =>
            {
                services.Configure<KestrelServerOptions>(options =>
                {
                    if (context.HostingEnvironment.IsDevelopment())
                    {
                        options.Listen(IPAddress.Loopback, 443, listenOptions =>
                        {
                            listenOptions.UseHttps("certificate.pfx", "password");
                        });
                    }
                });
            })
	    .Build();


Because people take Try Again literally and spam the command :)

I don't think this makes sense cuz it can be one-time timeout or something


WIP: use more patches for nonphoto images

Adds a heuristic to use patches instead of VarDCT blocks for blocks that are better encoded with Modular.
These heuristics still need some tweaking and improvement, but they're already somewhat useful (on average).
Encode time goes up, decode time too if more patches end up being used. BPP*pnorm does improve in that case though.
Current result on a set of screenshots:
Encoding                    kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------
jxl:d0.5:no_more_patches      42351  4733455    0.8941271   1.860  27.805   1.19672847   0.26603949  0.237873105026      0
jxl:d0.5:more_patches         42351  4625051    0.8736501   1.083  23.343   1.19672847   0.27501134  0.240263673633      0
jxl:d1:no_more_patches        42351  3387716    0.6399234   1.909  23.305   1.74569070   0.46969826  0.300570897674      0
jxl:d1:more_patches           42351  3329356    0.6288995   1.085  19.638   1.74569809   0.46692142  0.293646627097      0
jxl:d2:no_more_patches        42351  2411128    0.4554506   1.788  19.758   2.84693027   0.70195799  0.319707168528      0
jxl:d2:more_patches           42351  2391973    0.4518323   1.059  19.364   2.84693027   0.68614674  0.310023248937      0
jxl:d3:no_more_patches        42351  1933234    0.3651787   1.775  23.167   4.48085260   0.92931546  0.339366188788      0
jxl:d3:more_patches           42351  1933371    0.3652046   1.066  19.311   4.48085260   0.92154170  0.336551225892      0
Aggregate:                    42351  2922586    0.5520625   1.402  21.791   2.27208896   0.53406697  0.294838350723      0

So about 2.5% improvement in compression at d1 and d2.
Result on jyrki31 (all photographic images):
Encoding                    kPixels    Bytes          BPP  E MP/s  D MP/s     Max norm        pnorm       BPP*pnorm   Bugs
--------------------------------------------------------------------------------------------------------------------------
jxl:d0.5:no_more_patches      13270  4225280    2.5471813   3.175  24.374   1.12016439   0.37185960  0.947193828701      0
jxl:d0.5:more_patches         13270  4225280    2.5471813   3.041  22.725   1.12016439   0.37185960  0.947193828701      0
jxl:d1:no_more_patches        13270  2680279    1.6157880   3.470  24.373   1.68695998   0.60068375  0.970577588663      0
jxl:d1:more_patches           13270  2680279    1.6157880   3.297  24.894   1.68695998   0.60068375  0.970577588663      0
jxl:d2:no_more_patches        13270  1685403    1.0160337   3.638  26.135   2.98979163   0.94922260  0.964442190920      0
jxl:d2:more_patches           13270  1685403    1.0160337   3.414  27.300   2.98979163   0.94922260  0.964442190920      0
jxl:d3:no_more_patches        13270  1245212    0.7506676   3.543  27.519   3.67112684   1.25043508  0.938661090793      0
jxl:d3:more_patches           13270  1245212    0.7506676   3.274  27.402   3.67112684   1.25043508  0.938661090793      0
Aggregate:                    13270  2207983    1.3310673   3.351  25.536   2.13406043   0.71756876  0.955132304237      0

No change here, besides somewhat slower encode (not measured exactly here). No new patches are introduced on photographic images.
On a set of 345 manga images, 77 images do not change (heuristic doesn't add new patches), while the remaining 268 images do change, on average bpp*pnorm improves on those images by 5.4% at d0.5, by 5.8% at d1, by 4.1% at d2, and by 1.3% at d3.

With the current version of this PR, this is what I get for the set of manga images where the heuristic does something:

Encoding
nb
change in bpp
change in pnorm
change in BPP*pnorm

jxl:d3:more_patches
269
99.42%
95.17%
95.72%

jxl:d2:more_patches
268
98.63%
95.89%
95.75%

jxl:d1:more_patches
268
97.52%
95.62%
94.92%

jxl:d0.5:more_patches
268
96.70%
96.86%
95.72%

These are just the arithmetic averages of the new/old ratio for each image.
The average hides quite a bit of variation. Looking at the extremes, this is the worst that happens:

Encoding
worst change in bpp
worst change in pnorm
worst change in BPP*pnorm

jxl:d3:more_patches
126.67%
102.55%
110.89%

jxl:d2:more_patches
116.92%
104.84%
107.29%

jxl:d1:more_patches
106.70%
127.80%
122.47%

jxl:d0.5:more_patches
106.56%
153.13%
155.19%

This is the best that happens:

Encoding
best change in bpp
best change in pnorm
best change in BPP*pnorm

jxl:d3:more_patches
17.80%
9.91%
1.76%

jxl:d2:more_patches
15.47%
23.15%
3.58%

jxl:d1:more_patches
13.36%
13.74%
2.06%

jxl:d0.5:more_patches
10.88%
11.36%
1.24%

One of the best-case behaviors is when the image is really a 1-bit image (or close to it) with only hard lines. In that case the heuristic will just encode the whole frame as one big modular patch and obtain way better compression and quality than what vardct can do on such images.

@jonsneyers Hey Jon, we wrote on Twitter yesterday about expanding the test of your patch.
Here's my image set I compiled a while ago for testing JXL. It contains a lot of different types of image:

Scientific images of space missions
Medical scans
Lossless compressed scans of photos
High resolution scans of paintings
Meteorological radar sweeps
High resolution graphics, maps, visualizations, and animations
Raw sensor data of space missions
etc.

You can fetch the full folder as tar via:
$ ipfs get /ipfs/bafykbzacebf676y5eadx6xvgncvfr43e5k7yryugcj6cx4zjhwerfnoralruy

ipfs is available here:
https://dist.ipfs.io
Or you can fetch it via a public gateway:
curl https://ipfs.io/api/v0/get?arg=/ipfs/bafykbzacebf676y5eadx6xvgncvfr43e5k7yryugcj6cx4zjhwerfnoralruy -o bafykbzacebf676y5eadx6xvgncvfr43e5k7yryugcj6cx4zjhwerfnoralruy.tar

(not recommended, as it's pretty big)
You can also navigate the file structure in your web browser:
https://bafykbzacebf676y5eadx6xvgncvfr43e5k7yryugcj6cx4zjhwerfnoralruy.ipfs.dweb.link

@jonsneyers I've also pushed a copy to Google Drive, if that's more convenient :)
https://drive.google.com/drive/folders/1heuKshs-617xU4PcunCmRprWAHp3s9jA?usp=sharing

@RubenKelevra could you share a magnet link, please? IPFS doesn't seem to work for me :(
I'm willing to store it in its entirety and seed it :)
You don't have to use any trackers.

Hey @ziemek99,
I started to push it on Github - I think that's the better solution.
Will just take a while until everything is up, cause I need to copy the copyright info into each commit message.
https://github.com/RubenKelevra/rk_image_set

I thought I'd add another use case that was missed here. Animated/Layered JXL files with mixed content, such as simple text or sketches for the first half and photos or high colour content in the second.
Last night I encountered a GIF transitioning from line art to satellite imagery for a background, so understandably neither lossless or lossy were ideal, only managing to match the original GIF size with all settings maxed on lossless and d5 lossy. Would've been interesting to see how it fared with this in place

https://github.com/PoneyClairDeLune/derpi-image-corpus/
Here is another dataset to test against for modular patches (except 3d ones). Originally posted in the Discord server.


Error when installing LND using tutorial

Background
I'm following the installation guide at https://dev.lightning.community/guides/installation/.  I'm receiving an error when installing LND.  I'm not familiar with Go, so I haven't been able to track down the exact issue in the source code.
Also, I noticed the installation instructions in the tutorial don't match the installation instructions in the README.
Tutorial
go get -d github.com/lightningnetwork/lnd
cd $GOPATH/src/github.com/lightningnetwork/lnd
make && make install

README
⛰  git clone https://github.com/lightningnetwork/lnd
⛰  cd lnd
⛰  make install

I didn't receive the errors following the instruction in the README.
Your environment

MacOS
go version go1.16.5 darwin/arm64

Steps to reproduce
$ go get -d github.com/lightningnetwork/lnd

go get: github.com/roasbeef/btcwallet@none updating to
<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/btcsuite/btcwallet
	        but was required as: github.com/roasbeef/btcwallet

Expected behaviour
I expected to download LND from github.
Actual behaviour
Received an error.

go get -d github.com/lightningnetwork/lnd

Doing this defaults to a tag (v0.0.2) that was published years ago and does not adhere to our current versioning scheme. Once we adopt go1.16 in our modules, we'll be able to retract it and this method of installing should work.

Do this instead:
go get -d<EMAIL_ADDRESS>


Item type of tiled image layers in ArcGIS Image not properly maintained when harvesting into ArcGIS Portal/Online

when harvesting metadata from an external source about a tiled imagery layer hosted in ArcGIS Image, the item type is updated with the type inferred from the URL. This results in overwriting the item type set when creating the ArcGIS Image service. The source is the pattern that is used to infer the item type in \src\main\java\com\esri\geoportal\commons\constants\ItemType.java

fixed with commit https://github.com/Esri/geoportal-server-harvester/commit/797aa5783c90af395b08685b49c290b292445756.


[v2] Use find_for_authentication

Use find_for_authentication instead of find_with_payload

Thanks! :+1:
I'm probably going to introduce the changes from the v2 incrementally into master instead of merging this entire PR at once anyway.


two small upgrades

fix network naming
set chain id in EVMNetwork to what was passed in toml config

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

Project coverage is 16.84%. Comparing base (89f87c3) to head (3870639).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #870   +/-   ##
=======================================
  Coverage   16.84%   16.84%
=======================================
  Files          36       36
  Lines        4440     4440
=======================================
  Hits          748      748
  Misses       3613     3613
  Partials       79       79

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Change cgi.escape to html.escape

cgi was deprecated early in Python 3.x
html is the new cgi
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--prisma-cloud-docs--hlxsites.hlx.page/
After: https://--prisma-cloud-docs--hlxsites.hlx.page/
Worker: https://prisma-cloud-docs-production.adobeaem.workers.dev/?branch=

@JBakstPaloAlto can you take a look when you have a moment? The suggested changes are accurate


Make sure our streams playback well in Decentraland

Do some basic testing to ensure solid playback in an environment like Decentraland
https://docs.decentraland.org/development-guide/video-playing/

We can build a scene locally with a video player and test if it works with the "preview scene" flow of the SDK. Should be easier and more accurate than testing only on a random Unity program.
https://docs.decentraland.org/development-guide/preview-scene/#preview-a-scene
Might try to pick this up this week.


setpriv: unrecognized option '--host=tcp://u-docker-socke-proxy:2375'

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hello,
Using Uptime-kuma with Traefik.
Things are working well, but I have add a socket-proxy and now there is this error message:
setpriv: unrecognized option '--host=tcp://u-docker-socke-proxy:2375'
idea ?
📝 Error Message(s) or Log
setpriv: unrecognized option '--host=tcp://u-docker-socke-proxy:2375'
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
linux / compose file
🌐 Browser
brave
🖥 Deployment Environment
running with docker compose v2.20.2

services:   uptime-kuma:     image: louislam/uptime-kuma:1.23.11     security_opt:       - no-new-privileges:true     labels:       - "traefik.enable=true"       - "traefik.http.routers.uptime-kuma.rule=Host(uptime-kuma.domain.tld`)"
- "traefik.http.routers.uptime-kuma.entrypoints=https-external"
- "traefik.http.routers.uptime-kuma.service=uptime-kuma"
- "traefik.http.services.uptime-kuma.loadbalancer.server.port=3001"
- "com.centurylinklabs.watchtower.enable=true"
#environment:
#UPTIME_KUMA_REMOTE_HOST: tcp://u-docker-socket-proxy:2375
command:
- '--host=tcp://u-docker-socke-proxy:2375'
volumes:
- /mnt/user/appdata/docker/kuma/data:/app/data
ports:
  # <Host Port>:<Container Port>
  - 3001:3001
restart: unless-stopped

dockerproxy:
image: wollomatic/socket-proxy:1
container_name: u-docker-socket-proxy
command:
- '-loglevel=info'
- '-allowfrom=<IP_ADDRESS>/0' # allow only access from the "watchtower" service
- '-listenip=<IP_ADDRESS>'
- '-shutdowngracetime=10'
# this whitelists the API endpoints that watchtower needs:
- '-allowGET=/v1..{2}/(containers/.|images/.)'
- '-allowPOST=/v1..{2}/(containers/.|images/.|networks/.)'
- '-allowDELETE=/v1..{2}/(containers/.|images/.*)'
# check socket connection every hour and stop the proxy if it fails (will then be restarted by docker):
- '-watchdoginterval=3600'
- '-stoponwatchdog'
restart: unless-stopped
read_only: true
mem_limit: 64M
cap_drop:
- ALL
security_opt:
- no-new-privileges
user: 65534:995 # change gid from 998 to the gid of the docker group on your host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
labels:
- com.centurylinklabs.watchtower.enable=false # if watchtower would try to update the proxy, it would just stop
networks:
- socket_u
networks:
socket_u:
internal: true
attachable: false
mynet:
driver: bridge
attachable: false`

If I comment command:  - '--host=tcp://u-docker-socke-proxy:2375' and uncomment: UPTIME_KUMA_HOST: tcp://u-docker-socket-proxy:2375 I have now an 2024-04-09T08:24:59+03:00 [SERVICES] INFO: Starting nscd Cannot listen: getaddrinfo ENOTFOUND tcp://u-docker-socket-proxy:2375
How to pass the right command to Kuma ?

What are you trying to do here in the first place?

You seem to have traefik configured and
are using some sort of proxy for something and
seem to have configured some networks

uptime-kuma cannot bind to the dns name and port owned by dockerproxy which is in a different network.
What are you trying to use UPTIME_KUMA_REMOTE_HOST (I can't find such an option) for?
Confused.

It's about running uptime-kuma without mounting the docker socket directly in the uptime-kuma-container.
And it works: https://github.com/wollomatic/socket-proxy/discussions/9 (my answer to the crossposted question)

@ThierryIT Check your speling: --host=tcp://u-docker-socke**t**-proxy:2375


[BUG] Importing Vultiserver backup able to fast sign

Describe the bug
When importing the Vultiserver backup share, the user is able to initiate a "fast sign" where the server share is looking for the same share on the server, making it impossible to sign a tx.
To Reproduce
Steps to reproduce the behavior:

Create fast vault
import server sahre into app
try to use "fast sign" option
See error

Expected behavior
Check ifimported backup is a server share and only prompt normal pairing flow and hide the "fast sign" option

Version 32

QA done.


[BUG]: LanceDB::Invalid ENV settings

How are you running AnythingLLM?
Docker (local)
What happened?
when i  move a document to workspace and save embed ,then it toast a " LanceDB::Invalid ENV settings " message.
after minutes:
try again ,it. works .
what is the problem?
Are there known steps to reproduce?
No response

This is almost certainly an issue with your setup - did you run the docker container using the command in This documentation?
What vector database are you using? If the ENV is wrong it should not be temporary - it would be broken until it is fixed.

I'm not  use that documentation ,and  not set env . i think it works by default .

Ah, then that for sure would lead to issues - if you just boot the container with no .env you can get a lot of very weird issues like the one listed here.


typo? “a substitution semantics”

missing word

This PR does not affect the produced WebAssembly code.

I think substitution semantics is a thing. @crusso maybe add a (parenthesised) expansion?

You mean something like (familiar from high school algebraic simplification)?

What about (i.e. replacing equals with equals, as familiar from high school algebraic simplification)

... and I'm new to this process, am I supposed to modify it to your
suggestion or is replying to the email sufficient?
On Fri, Jun 11, 2021, 5:42 AM Gabor Greif @.***> wrote:

What about (i.e. replacing equals with equals, as familiar from high
school algebraic simplification)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dfinity/motoko/pull/2580#issuecomment-859452677, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZBJWCIF4JY4VG2B5CEIC3TSHK6XANCNFSM46P3G7EQ
.

@cPlayIt you are free to make suggestions either way. Or just have us a checkpoint committed and later improve on that :-)


Response type: Fix responses to return correct type

Pull Request Template
Description
The DatabaseResponse.Database is returning DatabaseCore instead of the correct DatabaseInlineCore. To fix this issue the type was converted to inheritance instead of composition.
Composition created a circle reference where DatabaseInlineCore needed DatabaseCore for the actual implementation, but DatabaseCore needed the DatabaseInlineCore for the response creation.
Added a new DatabaseInternal contract. The current model of using virtual makes it difficult to see what the SDK is using internally. This avoids the dangerous casting between the different types. It also prevents creating dependencies on the implementation class.
The other types will be done in a follow up PR to keep the PR to a reasonable size.
Current model
public abstract Database
internal DatabaseCore : Database
internal DatabaseInlineCore : Database

New model
public abstract Database
internal abstract DatabaseInternal : Database
internal DatabaseCore : DatabaseInternal
internal DatabaseInlineCore : DatabaseCore

Type of change
Please delete options that are not relevant.

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

Title is not clear on ambiguity. Suggestions?


⚠ ClamAV has degraded performance

In 49173f8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 192 ms

Resolved: ClamAV performance has improved in 3f54808.


Remove apostrophes from names

Apostrophes can break a lot of tests, especially on HTML safe string comparisons.
I don't see an amazing reason to include apostrophes in the names, other than testing to make sure that your code doesn't explode with apostrophes. If that's the reason to keep them in, then feel free to close my PR.
I've not updated the CHANGELOG.md, as I feel this change is very minor.

Hi @JamieREvans this is not to test if it breaks or not due to apostrophes, rather to provide wider examples. As for example, escaping that you mentioned. If your test includes and asserts escaping, your other side of assertion should do escaping too or not rely on randomness.

@igas I discovered I was actually having an issue with emails, not names. I've closed this in favor of #222.


register to tea

tea - opensource funding platform app.tea.xyz

I have no interest in registering this project with tea.


[Feature]:  jaeger sampling strategy should sampling down  /jaeger.storage.v1.SpanWriterPlugin/WriteSpan opertaion

Requirement
plugin write operation should be filter by jaeger sampling strategy
Problem
we use clickhouse as jaeger backend storage, but when using this plugin, i can't filter by opertiaon, which the operation " /jaeger.storage.v1.SpanWriterPlugin/WriteSpan" take up a lot of space with useless infomation
Proposal
No response
Open questions
No response

I don't understand what the proposal is, and what "sampling" got to do with clickhouse plugin.


CrabNet sometimes ignores/skips certain compounds. Why? How to keep track of compound IDs?

Say there are 10,000 validation compounds and only ~9900 get pushed to the validation results. First, is this likely because of repeated compounds or certain compounds being "invalid"? Second, how to keep track of the "ID" of each compound? (in my case a Materials Project task_id).

It's most likely due to single-element compounds which are dropped by default when loading the featurized EDM. You can find the code: https://github.com/anthony-wang/CrabNet/blob/master/utils/utils.py#L453
Also, you can check if you have duplicates in the formulae: https://github.com/anthony-wang/CrabNet/blob/master/utils/composition.py#L206
The generate_features function returns a list of skipped formulae, so you can look at that too to see what's skipped.
I'm not sure how to keep track of the MP task_id of the compound, I think that would depend on how you are storing them. Why not store and keep them separately?

Found a workaround via https://stackoverflow.com/questions/22407798/how-to-reset-a-dataframes-indexes-for-all-groups-in-one-step
related to https://github.com/anthony-wang/CrabNet/blob/9e0d79c5bff56ceae0600015942c54214d78152f/utils/utils.py#L455
df = df.groupby(by='formula', as_index=False).mean()  # mean of duplicates

Though I'm not sure if this breaks anything

Actually, maybe something more like this is what I should be looking for:
df = (
    df.reset_index()
    .groupby(by="formula")
    .agg({"index": lambda x: tuple(x), "target": "mean"})
    .reset_index()
)

https://stackoverflow.com/questions/49216357/how-to-keep-original-index-of-a-dataframe-after-groupby-2-columns

Not sure how to factor dropping pure elements into this, other than by simply dropping them without tracking anything. Maybe by modifying groupby args. Unfortunately, commenting out the code for pure elements caused CrabNet to hang.


failed

Deploying according to the operation manual seems to have failed.

Please provide specific error information to help us locate the problem..


Console scripts compatible Linux/Windows

Instead of using scripts for artifact and repo commands, on can use console_script.
> tree /F Scripts
SCRIPTS
    artifact-script.py
    artifact.exe
    artifact.exe.manifest
	[...]
    repo-script.py
    repo.exe
    repo.exe.manifest
	[...]

This works perfectly on Windows:
> artifact --help
usage: artifact-script.py [-h] [-D]
                          {upload,delete,get-metadata,set-metadata,resolve}
                          ...

A command line tool for working with artifacts

positional arguments:
  {upload,delete,get-metadata,set-metadata,resolve}
    upload              Uploads an artifact to repository, can detect name and
                        version from filename
    delete              Deletes an artifact from repository
    get-metadata        Prints artifact's metadata
    set-metadata        Sets artifact's metadata
    resolve             Resolves artifacts' URLs

optional arguments:
  -h, --help            show this help message and exit
  -D, --debug           Print lots of debugging information

I all fix minor problems in setup.py.

Awesome work! And the first pull request :) I relly do appreciate it. Once merged, you'll be always recognized as the first contributor to this project :+1:
To be honest, I have never tested it on Windows, so I'm glad that someone did it.
Regarding the content: it looks like lot of improvements. Unfortunately tests for py33 and py34 are were failing after your change. I am was not sure, which of that 10 commits broke the tests.
It is easy to enable travis in your fork, so you'll see the build results for each of your commits.
You fixed the py3x builds faster than I finished this comment! :+1: Amazing work!
Gonna merge it :) Regarding releasing a new version, I will release it immediately after fixing #16, which I expect to happen in less than a week.


Support for ISO17987:2015

Is your feature request related to a problem? Please describe.
Support for LDF files with protocol/language version "ISO17987:2015"
Describe the solution you'd like

Accept new values for protocol/language version in the parser
Adding fields for things introduced in ISO17987:2015, such as LDF_file_revision and LIN_sig_byte_order_big_endian

Describe alternatives you've considered
Right now patching the version field seems to do the trick, but native support would be nicer.
Additional context
Sample files:

https://github.com/sebastianwilczek/CANoe-Configurations/blob/28315802924d9b028a1da9fd1c02c5caac833ce7/LIN/LINBasicISO17987/LINdb/LINISO17987.ldf
https://github.com/sebastianwilczek/CANoe-Configurations/blob/28315802924d9b028a1da9fd1c02c5caac833ce7/LIN/LINSlaveConformanceTest/LDF/SlaveConfTestDbISO.ldf

This seems to be a bit tough, not necessarily the technical aspect but rather legally. Adding support for the things I can see in the samples should be fine, someone put this in the public domain and I could assume certain things about the standard. But there is probably more that cannot be reverse engineered unless there are more samples available.
There's a disclaimer about this in the readme file, simply put I have access to the standard through work but I cannot disclose it's contents. I could buy the standard personally but it's fairly expensive and even then I don't know how parts could be disclosed or derived without copyright violations.
I'll have a more detailed look at the samples and the current parser to see how difficult handling these cases would be.

@c4deszes I understand, could we at least cover the cases that are already in the samples? LIN_protocol_version and LIN_language_version ?

Yes, it will make the current versioning implementation a bit ugly (might have to use Unions) but should be doable. I would also add support for LDF_file_revision  and LIN_sig_byte_order_big_endian at least on dictionary level so you could access them in the JSON.
I can assume there's also LIN_sig_byte_order_little_endian therefore the loaded property might be signal_byte_order: "big/little" and the default is probably little as in 2.2 and prior. I might not add encoding support immediately


Field Slip system test adjustments

Refactors the field_slips_test as integration tests. Should run faster and be just as effective.
Background:
With system tests, they're slow and we only really need them if we're testing JS.

coverage: 94.45%. remained the same
when pulling d140e9260b952afb65db88c929bdc67f58a883b5 on nimmo-system-test-class-selector-adjustments
into 4f69b780094f3d29494250b655b93c1e7582288b on main.

Update: #2107 passes now, so i don't consider this necessary.
It does however have some things we may want to keep:

Adds identifying selector classes to the important links on Field Slips, so the system test never has to use xpath. xpath selectors tend to be brittle if HTML is reorganized.
The test runs 30-50% faster (3-5s for me locally, and similar difference in CI) when all strung together, no matter how many times I re-run it. It's a small gain here, but i think does illustrate that there's a material difference when consolidating a system test workflow.
Parens for method args is MO's Rubocop style across the whole app. I feel like if we're going to have a style...

@mo-nathan — I just converted your original short tests to integration tests. I think this preserves your original intent. I think we only really need to write system tests when there's JS we want to test.
Note the addition of selector classes to the templates, so we don't have to use XPATH selectors in our tests - much easier!

@mo-nathan I am realizing this will affect your #2160 Field Slip Forms PR.
I believe it is an improvement on the form HTML, particularly the selectors, and makes the tests less brittle. If you like, I'll be happy to check #2160 over and reconcile these changes with that PR.

Ok thanks, I will merge. Just say the word and I'll either reconcile it with #2160, or offer suggestions - I realize this creates extra work on a long-running PR of yours and that you're probably not wanting any added confusion with it.


[engine] update vtr to resolve potential compilation errors in Ubuntu 21.04+

Motivate of the pull request

[x] To address an existing issue. If so, please provide a link to the issue: #748
[ ] Breaking new feature. If so, please describe details in the description part.

Describe the technical details
What is currently done? (Provide issue link if applicable)

What does this pull request change?

This PR improves in the following aspects:

[x] Replace the usage of SIGSTKSZ to a constant number. Expect to resolve compilation errors on Ubuntu 21.04 or later.
[ ] (Optional) Replace the usage of MINSIGSTKSZ.

Which part of the code base require a change

[x] VPR
[ ] Tileable routing architecture generator
[ ] OpenFPGA libraries
[ ] FPGA-Verilog
[ ] FPGA-Bitstream
[ ] FPGA-SDC
[ ] FPGA-SPICE
[ ] Flow scripts
[ ] Architecture library
[ ] Cell library
[ ] Documentation
[ ] Regression tests
[ ] Continous Integration (CI) scripts

Impact of the pull request

[ ] Require a change on Quality of Results (QoR)
[ ] Break back-compatibility. If so, please list who may be influenced.

See no compilation errors on a local Ubuntu 22.04 without this patch.
Close it now.


Linking an OAuth povider vs Signing In

The problem
Lets say we have 2 accounts:
Account A has a twitch account "twitch123" linked to it.
Account B has no twitch account linked.
Account B has access (with permission) to use the twitch account "twitch123". They go to link the twitch account with Account B and the request looks to behave correctly, however after clicking around a bit they realise its now Account A they're signed into.
Fix discussion
Technically the .authWithOAuth2(...) is behaving correctly, and if it was just an login flow then this would probably be okay but in the case where we already have a login and we want to explicitly link Account B to "twitch123", it feels a bit confusing when the account just changes users. Maybe having something like a "This OAuth provider is already linked" message but I also understand is not really the intended purpose of the function.
For some references, Supabase has a beta feature where you can manually link an OAuth provider with the current signed in account: https://supabase.com/docs/guides/auth/auth-identity-linking#manual-linking-beta
I'm using pocketbase as part of a go project and am getting to know the ins and outs of things (though am still pretty fresh) but am happy to contribute a solution to this if we land on something.

There is no support for linking multiple OAuth2 accounts from the same provider to a single PocketBase user and there are no plans for now to allow it as I'm not sure how that will work and how if "Account A" authenticate will choose which PocketBase user to use.
If you have an existing PocketBase user and want to explicit link an OAuth2 account (that hasn't been linked to another PocketBase user yet) it is enough to authenticate twice, eg.:
await<EMAIL_ADDRESS>"1234567890")

await pb.collection("users").authWithOAuth2({ ... }) // if the account is new then it will be linked to the<EMAIL_ADDRESS>user

If you need further assistance or have other questions please use the Q&A discussions instead as the threaded format is more suitable for this type of posts.


Runs CI for all crates in workspace

Currently, only the buffrs CLI is the recipient of CI scrutiny. This PR makes it so that all crates are checked.
The way this is done is by adding --all or --workspace flags to the tools. Examples:
cargo test --all
cargo clippy --workspace
cargo fmt --all --check

This addresses #139.
One issue that also cropped up and is fixed by this is #141.

Except for the changed semantics, lgtm

I've just rebased this due to changes in main. Had to fix one issue related to PackageStore to make it build.


go.sum checksum mismatch

Hi, I am working on a project that uses this Go package and I am facing the following issue with Go modules.
verifying<EMAIL_ADDRESS>checksum mismatch
	downloaded: h1:VN+Lh8Teq6nYszNsPSLKdIv24hOCcQu0rJWHQa2jPZc=
	go.sum:     h1:hxpbQKcQFgQrTS5lV4tAgn6QoL6HcCnoBJaW5nOW4Sk=

Is there something to be fixed here?
Thanks.

I'm experiencing this same issue trying to install on fedora.

same thing here.. not sure what's going on

Fixed


Teach download_remote_files.py to use huggingface_hub.

Oops, description from another PR:

As part of this, I added support for downloading models from Hugging Face (in addition to Azure Storage). The huggingface_hub package has its own caching strategy, which I adapted to work with our custom caching for our GitHub Actions runners.

Hugging Face limits access to certain files based on authentication (e.g. the HF_TOKEN env var), which we already handle in the e2eshark/ subproject. If we add tests for gated models then we can set that up here somehow too.
Generic file downloading is still unimplemented, and as a reminder we can add other hosts like Google Cloud Storage, Amazon S3, etc. as needed.


Swift3 updated

Updated to swift 3.0. I've been working with this code ever since the beta came out and it is fully working with swift 3.0 and ready to go with the new update rolling out. I hope it helps you all!

As mentioned, #339 already solved the issue. Thanks anyway!


Add terminal bell when build finishes

This could be useful for long-running builds, where the user has went on to do something else while waiting for a build and doesn't have context of the current terminal output.
It could also be very annoying, we should consider when to trigger this sound and possibly allow disabling it.

IMO it should be opt in. Something like bob build --beep


Fixed abagen.mouse column ordering

#56

Hey @rmarkello -- I fixed the issue with your proposal and I also added an assert statement to the tests you already had that compares the column ordering to entries. Let me know if this works or else I can change it to the way you want.

Pull Request Test Coverage Report for Build 224

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 97.179%

Totals

Change from base Build 219:
0.009%

Covered Lines:
930

Relevant Lines:
957

💛  - Coveralls

Hey @abkosar: if you could accept the suggestion to add the blank line that would be great! I'm not able to do it myself, but as soon as you do I'll go ahead and merge.
Thanks again!

Codecov Report

Merging #62 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
+ Coverage   97.16%   97.17%   +<.01%
==========================================
  Files          24       24
  Lines         954      957       +3
==========================================
+ Hits          927      930       +3
  Misses         27       27

Impacted Files
Coverage Δ

abagen/mouse/tests/test_io.py
100% <100%> (ø)
:arrow_up:

abagen/mouse/io.py
100% <100%> (ø)
:arrow_up:

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 cc80ff6...b56580f. Read the comment docs.

Codecov Report

Merging #62 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
+ Coverage   97.16%   97.17%   +<.01%
==========================================
  Files          24       24
  Lines         954      957       +3
==========================================
+ Hits          927      930       +3
  Misses         27       27

Impacted Files
Coverage Δ

abagen/mouse/tests/test_io.py
100% <100%> (ø)
:arrow_up:

abagen/mouse/io.py
100% <100%> (ø)
:arrow_up:

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 cc80ff6...b56580f. Read the comment docs.

This was great ! Thanks again so much for the contribution, @abkosar !


Importing HP

Before we can cleanly import HP, we need to fix two things:

https://github.com/obophenotype/human-phenotype-ontology/issues/4952 (@nicolevasilevsky)
There is some trouble with one RO relationship. I am on it.

This is done. Still need the fix in #181, but I am closing this ticket.


Delete TestCase (is not completely eliminated)

Affected module
Data Quality
Describe the bug
When a test case is created and executed and you decide to delete it, when the test case is created again with the same name, the last status and the history are displayed.
For example, we have defined a nomenclature OM_TABLENAME_CONSISTENCY, and we create a test case and we realize that it is not correct after executing it, when we delete it and when we recreate it with the same name, it keeps the history and execution statuses as if it had never been deleted.

Keeping the history of the test case created to access the API can be interesting to analyze, deleted test cases and their history but it conflicts with renaming them to the same name.
To Reproduce
1.- I create a test

2.- I check the last executions

3.- I remove it

4.- I create it again with the same name and voila, everything appears again.
Expected behavior
It may not be a good idea to remove it from the database altogether, but to allow a case with the same name to be created over time and to be internally different.
Think for example that today I create a test case called ACCURANCY_TABLE, and I test, and in 1 year I create another test case called ACCURANCY_TABLE, and suddenly the whole history appears, it will be very confusing and surely we will not remember that a test case with the same case was made 1 year ago.
Version:

OpenMetadata version: 1.3.1

thanks in advance,
Carlos

@TeddyCr I saw this issue when working on integration tests for data quality. I can look into it.


Move URL and use index.html?

It would probably better to use something like https://cheapmarkovstracedquick.github.io/cmtq/ than the current (not actually there yet) https://serin-delaunay.github.io/cheapmarkovstracedquick/CMTQ.html.

Make a cheapmarkovstracedquick organisation
Put the cmtq webpage in a repository called cheapmarkovstracedquick.github.io (see here)

Moved to index.html. Still on the user domain. New URL: https://serin-delaunay.github.io/cheapmarkovstracedquick/


Update munit to 1.0.2

About this PR
📦 Updates org.scalameta:munit from 1.0.1 to 1.0.2
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (1.0.1).
You might want to review and update them manually.
website/package-lock.json

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "munit" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "munit" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

We need to test that carefully as per release note:

This release changes the Location to not include full path (instead a relative one independent of the machine), which while not a binary breaking change, it might still be relevant to a number of users.


Add time.Time to the Postgres Dialect to create Postgres timestamp fields native

This patch adds the time.Time to the Postgres Dialect to create native Postgres timestamps in the database.
It allows one to write AdHoc queries on timestamps. ie, Select * From "table" where "end_date" < CURRENT_DATE; to match overdue records.
Feel free to use it.

So, it looks like time.Time handling for postgres requires some more work.
@gwitmond Would you be able to clean up this PR a bit (remove the README.md modification and use timestamp with time zone?) I'd be happy to merge it in!
@manugarri Could you open a separate issue for your problem, preferably with a failing test case?

Time was already added.
Added NullTime in f2a9a30809d67ca10d35893c49df78ba89af6f99
Adding tests in #226.


[0.4.0 CHERRY PICK][CI] Pin go version in CRD consistency check (#794)

Pin Go 1.17 in CRD consistency check.
Signed-off-by: Dmitri Gekhtman<EMAIL_ADDRESS>

Why are these changes needed?

Picks #794 into the 0.4.0 release branch. (It's necessary for the CI to function.)
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

Of course I opened the PR against the wrong branch.


Support for providing compiler flags during build

Certain linux distributions, like Fedora, require that all the native code in the distribution gets built with some distribution-standard compiler options.
Debian has a Release goal for supporting standard (security) flags :

This goal is to update as many packages as possible to use security hardening build flags via dpkg-buildflags. These flags enable various protections against security issues such as stack smashing, predictable locations of values in memory, etc.

Even more information here: https://wiki.debian.org/Hardening. This also applies to Ubuntu, since it follows Debian's packaging rules. In fact, Ubuntu recommends you get your package into Debian first.
Fedora says:

Compilers used to build packages must honor the applicable compiler flags set in the system rpm configuration. Honoring means that the contents of that variable is used as the basis of the flags actually used by the compiler during the package build.

Gentoo says:

In Gentoo-based systems, set the CFLAGS and CXXFLAGS variables in /etc/portage/make.conf. Variables set in this file will be exported to the environment of programs invoked by portage such that all packages will be compiled using these options as a base.

It would be great if source-build provided a way for a distribution maintainer to pass these flags in one place so all libraries and executables built by source-build can follow the distribution's policy.

Given that most native builds are done via cmake, the following generally works just fine:
export CFLAGS="$FLAGS_GO_HERE"
export CXXFLAGS="$FLAGS_GO_HERE"
export LDFLAGS="$FLAGS_GO_HERE"

Assuming that the flags are understood by clang. Fedora, for example, likes to use -specs=/path/to/file and clang doesn't seem to understand that.
But this doesn't play very nice with the liberal use of -Werror in corefx. Also, the flags leak into corefx's configure tests (https://github.com/dotnet/corefx/blob/master/src/Native/Unix/configure.cmake) and result in tests that should work failing. For example HAVE_IN_PKTINFO would fail due to an unrelated warning.

I looked more into this.
For the corefx configuration bits, I added a hack to save/empty flags during configure:
+set (PREVIOUS_CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
+set (CMAKE_CXX_FLAGS "")
+set (PREVIOUS_CMAKE_C_FLAGS ${CMAKE_C_FLAGS})
+set (CMAKE_C_FLAGS "")

And then restore them at the end of the file.
For -specs=, it turns out Fedora uses it to decide at build time how something should be compiled/linked. DSOs get -pic but executibles get -pie. I have hacked around it for now by adding custom patches to cmake configuration:
SET_TARGET_PROPERTIES(${DOTNET_HOST_EXE_NAME} PROPERTIES LINK_FLAGS -pie)


please add ipad mode

would be great

Hi @chminsc, what do you mean by iPad mode? Do you mean a different UI for the sample app? (WhisperAX)

(WhisperKit should work on iPad without any changes)

(WhisperKit should work on iPad without any changes)

yes, it works on iPad. But would be great if it supports native iPad UI, and some useful functions like splitview and multitasking on iPad.

@chminsc I've pushed an update to allow the example app to run in iPad mode, please try it out and lmk if it fixes your issue 🙏

@chminsc I've pushed an update to allow the example app to run in iPad mode, please try it out and lmk if it fixes your issue 🙏

thanks！but i dont have xcode yet, will wait for the official TestFlight app to be updated. Which haven't yet

@ZachNagengast Works perfect! And it also supplies multitasking mode. thanks!

Glad to hear that!


docs(manage): update instance settings

### Definition of Ready
- [ ] I am happy with the code
- [ ] Short description of the feature/issue is added in the pr description
- [ ] PR is linked to the corresponding user story
- [ ] Acceptance criteria are met
- [ ] All open todos and follow ups are defined in a new ticket and justified
- [ ] Deviations from the acceptance criteria and design are agreed with the PO and documented.
- [ ] No debug or dead code
- [ ] Critical parts are tested automatically
- [ ] Where possible E2E tests are implemented
- [ ] Documentation/examples are up-to-date
- [ ] All non-functional requirements are met
- [ ] Functionality of the acceptance criteria is checked manually on the dev system.

@hifabienne would it be worth adding a small guide on what domain discovery is and you can use it in zitadel? Just had the question in a call and we don't seem to have docs on the settings and the use case.


reconnection problem when use same client id #173

Thank you for the PR @werbenhu! In the end the issue ended up being a big more complicated than expected, and I had to make some significant changes, so I will close this PR - but thank you for your work!


added go to bottom button

issue #658
created navigation button to scroll to the end of the screen.

before

after

@Akshat1276 Please resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


AssertionError

Thank you for sharing the code:
I am running the "run_pretrained_model.py" as instructed in the readme, but every time I got the following error:
Can you advise, please?
For  python run_pretrained_model.py --image_dir (path to faces cropped and aligned by openface)--model_type CNN --batch_size 2 --eval_with_teacher --eval_with_students --save_dir (path to a folder to save results) --workers 8 --ensemble
And in the run_pretrained_model.py file, I change the path in  python run_pretrained_model.py as:
MODEL_DIR = r'C:\Multitask-Emotion-Recognition-with-Incomplete-Labels-master\pytorch-benchmarks\models'
Here in the model's folder, I made a folder with fer+ name and put resnet50_feplus_dag.py and  resnet50_feplus_dag.pth there.
And I am getting the following error:
Traceback (most recent call last):
File "run_pretrained_model.py", line 664, in
main()
File "run_pretrained_model.py", line 585, in main
assert len(path) == 1
I download their pre-trained models from
https://hkustconnect-my.sharepoint.com/personal/ddeng_connect_ust_hk/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fddeng_connect_ust_hk%2FDocuments%2FFG2020-ABAW
but it is not specified in which folder we should keep these pre-trained models, so I put them in the main directory I think I a doing something wrong here?
Thank You

Thank you for sharing the code: I am running the "run_pretrained_model.py" as instructed in the readme, but every time I got the following error: Can you advise, please? For python run_pretrained_model.py --image_dir (path to faces cropped and aligned by openface)--model_type CNN --batch_size 2 --eval_with_teacher --eval_with_students --save_dir (path to a folder to save results) --workers 8 --ensemble
And in the run_pretrained_model.py file, I change the path in python run_pretrained_model.py as: MODEL_DIR = r'C:\Multitask-Emotion-Recognition-with-Incomplete-Labels-master\pytorch-benchmarks\models' Here in the model's folder, I made a folder with fer+ name and put resnet50_feplus_dag.py and resnet50_feplus_dag.pth there. And I am getting the following error:
Traceback (most recent call last): File "run_pretrained_model.py", line 664, in main() File "run_pretrained_model.py", line 585, in main assert len(path) == 1
I download their pre-trained models from https://hkustconnect-my.sharepoint.com/personal/ddeng_connect_ust_hk/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fddeng_connect_ust_hk%2FDocuments%2FFG2020-ABAW
but it is not specified in which folder we should keep these pre-trained models, so I put them in the main directory I think I a doing something wrong here? Thank You

Hello! I am trying to do the same, but where did you get from the resnet50_feplus_dag.py and resnet50_feplus_dag.pth ? I dont find them

Hello @belenal ,
Yes, I have to debug the code and found that the teacher-students weights should be saved in the main folder of Multitask-CNN or Multitask-CNN-RNN.
The two files can be downloaded from here.
https://www.robots.ox.ac.uk/~albanie/models/pytorch-mcn/resnet50_ferplus_dag.pth
https://www.robots.ox.ac.uk/~albanie/models/pytorch-mcn/resnet50_pt_mcn.py
Goo Luck with your research.

Thank you so much!

Hello again!
Were you able to do it like this? I am having size problems between wights and bias and the checkpoints.
Thanks!

@belenal Sorry for my late reply. I think kabbas570 is correct. The two files can be downloaded from:
https://www.robots.ox.ac.uk/~albanie/models/pytorch-mcn/resnet50_ferplus_dag.pth
https://www.robots.ox.ac.uk/~albanie/models/pytorch-mcn/resnet50_pt_mcn.py
However, I notice that the first link was invalid probably because Albanie has removed this file from the server.  I have created a shared link where all pretrained checkpoints on FER, FER+ and SFEW can be accessed. This is the link. You can download all folders and save them under pytorch_benchmarks/models/. This can solve your first problem about resnet50_ferplus_dag.
About where to put our pretrained model on the Aff-wild2 dataset, you can download Multitask-CNN and Multitask-CNN-RNN directories from here. You can put the two folders in the same directory as the run_pretrained_model.py


Add support for drag and drop file uploads

Will require manually merging after other PRs.
As implemented in Goofy, https://github.com/danielbuechele/goofy/commit/2fa51cdd2e5379a7159d2195cbc05048020e794f
Closes #38

Any way to make it work like in chat on Facebook.com instead of auto-sending the file?

Messenger.com doesn't provide any way to preview before sending, so would have to build some UI for it. Could read in the file data, display it and have a confirm button fairly easily, though. Would just be a question of whether or not it's worth it for a feature that will probably be included in the official application fairly soon. (I'm surprised they shipped without it).

@golfguru1 @peterjosling All Messenger products send attachments separately from messages. It's a design property of the product rather than a technical limitation or issue. Changing the behaviour of Messenger is unacceptable IMHO. This project aims to provide the Messenger experience on desktop, not a "Messenger-like" experience.


The App Just Opening And Then show the app crashed!

I Just Opening The Atom Editor And It Crashed After 30 sec.
Plz Fix!
From: TuNiDeVe

uhh

what operating system r u using?

and...is this reproducable?
any possible reasons as to why this happens?

Same here, and I'm not sure how to produce some diagnostics for you to figure out what's going on. I do start atom from the terminal but since it detaches, there is no stack trace or similar produced.

I using windows 10

From ~/.atom/nohup.cson
--2021-09-03 19:11:39--  https://atom.io/crash_reports
Resolving atom.io (atom.io)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to atom.io (atom.io)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 204 No Content
2021-09-03 19:11:40 (0.00 B/s) - ‘/dev/fd/4’ saved [0]

Unexpected crash report id length
Failed to get crash dump id.
Report Id:
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:11:652489
Remote event names: blur, focus
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:14:705427
Remote event names: crashed, destroyed
Cannot read property 'send' of null
TypeError: Cannot read property 'send' of null
    at /usr/share/atom/resources/app.asar/src/main-process/atom-window.js:295:38
    at new Promise (<anonymous>:null:null)
    at AtomWindow.prepareToUnload (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:281:39)
    at /usr/share/atom/resources/app.asar/src/main-process/atom-application.js:731:45
    at Array.map (<anonymous>:null:null)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:729:61)
    at App.emit (events.js:223:5)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:770:15)
    at App.emit (events.js:228:7)
    at WebContents.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:258:30)

Actually I Didn’t see any friend or anyone else that having this strange
problem.
Also I tried to fix it by myself, It not worked.
I can open atom just for 10/15/20 seconds,
And then show me an error massage if you want, i will send you the error
massage in picture file.
Anyway, the error massage tells me that the app crashed, and also the error
massage offers me to report it to GitHub.com/atom/atom.
I think it’s because the version of atom i installed which the newest
version, also i have the most updated version of windows 10.
I provided about the service.
From: TuNiDeve

what operating system r u using?

I using windows 10 newest and most updated version

and...is this reproducable?
any possible reasons as to why this happens?

No reason, Just installed it and it suddenly crashed, i tried anything plz help

And if there is an atom discord server plz sent me the link because I want to be updated

wellll try restarting your computer

i dont think there is a discord server sadly, we only have github

wellll try restarting your computer

Tried it many times…

oh :(

From ~/.atom/nohup.cson
--2021-09-03 19:11:39--  https://atom.io/crash_reports
Resolving atom.io (atom.io)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to atom.io (atom.io)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 204 No Content
2021-09-03 19:11:40 (0.00 B/s) - ‘/dev/fd/4’ saved [0]

Unexpected crash report id length
Failed to get crash dump id.
Report Id:
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:11:652489
Remote event names: blur, focus
Attempting to call a function in a renderer window that has been closed or released.
Function provided here: <embedded>:14:705427
Remote event names: crashed, destroyed
Cannot read property 'send' of null
TypeError: Cannot read property 'send' of null
    at /usr/share/atom/resources/app.asar/src/main-process/atom-window.js:295:38
    at new Promise (<anonymous>:null:null)
    at AtomWindow.prepareToUnload (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:281:39)
    at /usr/share/atom/resources/app.asar/src/main-process/atom-application.js:731:45
    at Array.map (<anonymous>:null:null)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:729:61)
    at App.emit (events.js:223:5)
    at App.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-application.js:770:15)
    at App.emit (events.js:228:7)
    at WebContents.<anonymous> (/usr/share/atom/resources/app.asar/src/main-process/atom-window.js:258:30)

this seems like a syntax error, try viewing the code if u can read it

then maybe ull be able to fix it, or at least suggest a fix to it

How do I do that?
בתאריך שבת, 4 בספט׳ 2021 ב-11:15 מאת ph3b3 @.***>:

then maybe ull be able to fix it, or at least suggest a fix to it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/22872#issuecomment-912932565, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVH6VB2GCGF3F6HPXURCZ3DUAHITVANCNFSM5CLKKMGQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

That's not a syntax error, it's a TypeError.
The error above says there's null.send here:
https://github.com/atom/atom/blob/master/src/main-process/atom-window.js#295

For me it appeared only for one project / in one folder. Deleting the file .tags in that folder solved it for me.

I have also seen some failed to resolve promise error when different processes of an Electron-based application could not operate successfully together, such as due to a GPU or other process crash for another application I was using with the same framework.  Could see if this is one of your issues: https://github.com/atom/atom/issues/22872


VIP wrong ball, berry calculations wrong

Expected Behavior
for vip ultra>great>poke always
maybe change this
current_type = pokeball
while current_type < 3:
  current_type += 1
  if catch_rate[pokeball-1] < 0.9 and items_stock[current_type] > 0:
    pokeball = current_type # use better ball

to this
current_type = ultraball
if items_stock[current_type] == 0:
  current_type -= 1
if items_stock[current_type] == 0:
  current_type -= 1
pokeball = current_type

Actual Behavior
[18:26:26]  [-] Gyarados is a VIP Pokemon! [CP 1332] [Potential 0.67] Nice! Try our best to catch it!
[18:26:26] Catch Rate with normal Pokeball is low (7.06%). Thinking to throw a Razz Berry... (39 left!)
[18:26:27] Threw a berry! Catch Rate with normal Pokeball has increased to 10.59%
[18:26:27] Using Ultraball (chance: 20.43%)... (169 left!)
[18:26:27]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:29] Catch Rate with normal Pokeball is low (10.59%). Thinking to throw a Razz Berry... (38 left!)
[18:26:30] Threw a berry! Catch Rate with normal Pokeball has increased to 15.88%
[18:26:30] Using Ultraball (chance: 30.64%)... (168 left!)
[18:26:31]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:33] Catch Rate with normal Pokeball is low (15.88%). Thinking to throw a Razz Berry... (37 left!)
[18:26:33] Threw a berry! Catch Rate with normal Pokeball has increased to 23.82%
[18:26:33] Using Ultraball (chance: 45.96%)... (167 left!)
[18:26:34]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:36] Catch Rate with normal Pokeball is low (23.82%). Thinking to throw a Razz Berry... (36 left!)
[18:26:36] Threw a berry! Catch Rate with normal Pokeball has increased to 35.73%
[18:26:36] Using Ultraball (chance: 68.94%)... (166 left!)
[18:26:37]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:38] Catch Rate with normal Pokeball is low (35.73%). Thinking to throw a Razz Berry... (35 left!)
[18:26:39] Threw a berry! Catch Rate with normal Pokeball has increased to 53.59%
[18:26:39] Using Ultraball (chance: 103.41%)... (165 left!)
[18:26:40]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:42] Catch Rate with normal Pokeball is low (53.59%). Thinking to throw a Razz Berry... (34 left!)
[18:26:43] Threw a berry! Catch Rate with normal Pokeball has increased to 80.39%
[18:26:43] Using Greatball (chance: 118.43%)... (31 left!)
[18:26:44]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:46] Catch Rate with normal Pokeball is low (80.39%). Thinking to throw a Razz Berry... (33 left!)
[18:26:47] Threw a berry! Catch Rate with normal Pokeball has increased to 120.59%
[18:26:47] Using Pokeball (chance: 120.59%)... (1 left!)
[18:26:50]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:52] Using Pokeball (chance: 120.59%)... (0 left!)
[18:26:53]  [-] Attempted to capture Gyarados - failed.. trying again!
[18:26:55] Using Pokeball (chance: 120.59%)... (-1 left!)
Steps to Reproduce
???
Other Information
OS:
Git Commit: 2f91fd0410eeda430aeb9cb956885eda8bf04e22

have you tried your solution?

Yes, it crashed first but with current_type = 3 it worked as ultraball isn't defined


version-0.0.8: IsADirectoryError

I have faced following issue. When I try to process my image folder. If inside the directory any folder available, i got the error
 File "test.py", line 3, in <module>
    PrepareImage('test_assets/images', 'cat')
  File "/home/spritle/projects/python_package/DatasetBuilder/MLDatasetBuilder/image_process.py", line 20, in PrepareImage
    path.unlink()
  File "/usr/lib/python3.6/pathlib.py", line 1284, in unlink
    self._accessor.unlink(self)
  File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
IsADirectoryError: [Errno 21] Is a directory: 'test_assets/images/123

Added fix here https://github.com/karthick965938/ML-Dataset-Builder/commit/57abb436eb9a7dd8861e7ebe307c0e8d8a4a80b7


feat: let org be declared w/o @

{
    "org": ["@qiwi", "babel"]
}

:tada: This issue has been resolved in version 1.18.0 :tada:
The release is available on:

v1.18.0
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Request for external] COD 2000000 PaymJnlManagement - Functions

Could all functions in COD 2000000 PaymJnlManagement be made external please?
They are already all global.
TemplateSelection
OpenJournal
CheckTemplateName
OpenJnlBatch
TemplateSelectionFromBatch
CheckName
SetName
LookupName
GetAccount
CalculateTotals
SetUpNewLine
ShowCard
ShowEntries
ConvertToDigit
DecimalNumeralZeroFormat
TextZeroFormat
PrintTestReport
Mod97Test
ModifyPmtDiscDueDate
SetApplID

Version: BE Dynamics NAV 13.5 (29614)

Sure, I'll process this one and your other requests right away :-)

@SirBETE , did you see those appearing in a BC 14 version?

@SirBETE , did you see those appearing in a BC 14 version?

Not in BC14CU0, nor CU2.
So think this will be for BC15?

@JesperSchulz Sorry to disturb you, but is there a reason why none of these functions are set to external in BC15CU0 ...?

I just checked. They are all external in version 15! Remember, that the new default in al is "external". Unless otherwise specified through the [Scope('OnPrem')] property, the functions are usable by cloud extensions.
Sample:

Ahn! ok :D 💡!
I get it! Thanks! :)


Updated README.md - fixed typos

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "feature/fixed-typos" git@github.com:RobertNorthard/containerd.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

LGTM