Don't trigger this error if puppet agent run without NTP

Hello, I'm trying to run puppet agent on an embedded device without a clock.
This error seems to be related to documentation. Would it be possible to have the error ignored if the year on a system is 1970?
I have outlined the problem on SO:

I'm starting puppet agent using upstart on a Debian 14.04 embedded system:
description "Puppet Agent"

start on started 2klic-gateway
stop on runlevel [!2345]

respawn

pre-start script
    if [ ! -f /var/lib/sc2klic/system.json ]; then
        stop ; exit 0
    fi
    puppet config set certname "$(hostname)"
end script

exec /usr/local/bin/puppet agent --no-daemonize

The device, or at least this version, doesn't have a hardware clock. So the system starts with a date of January 1, 1970.
When I look in /var/log/upstart/puppet-agent.log I see this error over and over again:
ESC[1;31mError: Could not parse application options: copyright with a year after 1972 is very strange; did you accidentally add or subtract two years?ESC[0m

Is it possible to initialize puppet agent without having a correct date?
Puppet Agent Version 4.10.1

Can one of the admins verify this patch?

@kirkins If the agent ever needs to communicate with a puppetserver, then I think you're going to run into problems, since SSL certs have a validity period, e.g. notBefore, notAfter.

@joshcooper I see. In our situation the log is somewhat confusing.
I will modify the script to wait till we have date set before starting puppet.

The error is related to the copyright year in the documentation of puppet?

I could modify this to be a more informative error log if year is 1970

CLA signed by all contributors.

@kirkins thank you for your contribution. From discussion, we have determined it is reasonable to have a functional system clock as a requirement for running puppet. Based on this, we are closing this PR.


Robot scripts can't open IE11 browser (worked ok with IE8)

Any thoughts?
Error:
WebDriverException: Message: Unexpected error launching Internet Explorer. Protected Mode settings are not the same for all zones. Enable Protected Mode must be set to the same value (enabled or disabled) for all zones.

Just do what the error message says!
Protected Mode settings are not the same for all zones. Enable Protected
Mode must be set to the same value (enabled or disabled) for all zones.
This is a long time known feature of IEDriverServer.exe, and documented at
https://code.google.com/p/selenium/wiki/InternetExplorerDriver
On Tue, Nov 24, 2015 at 3:42 AM, Gracie101<EMAIL_ADDRESS>wrote:

Any thoughts?
Error:
WebDriverException: Message: Unexpected error launching Internet Explorer.
Protected Mode settings are not the same for all zones. Enable Protected
Mode must be set to the same value (enabled or disabled) for all zones.
—
Reply to this email directly or view it on GitHub
https://github.com/robotframework/robotframework/issues/2232.

This is not a bug report or enhancement request about Robot Framework itself.


Teslamate not running

By mistake, I deleted the Postgres add on 4 days ago. (I now re installed it)
Now when I try to open the Telsamate UI, I get a black screen. I have all the same settings that I had for the past 4 months.
Log says "Can't read Supervisor data: Container addon_29b65938_teslamate is not running.
All my tesla sensors are frozen to values gathered 4 days ago when I deleted the Postgres addon.
Steps to reproduce
I uninstalled Teslamate and re installed. Re inputed the settings and I get the same problem.

Sorry to bug you Matt, I know you must be busy. I was wondering if there was any way for me to do a fuller delete of teslamate when I do an uninstall? I'm trying to figure out why it doesn't show back up when I re install.
Should I delete Postgres too?

Hi, if the database is empty then TM should re-create the schema when it starts up again.
The Postgres addon will create a new DB when it starts up if one doesn't exist. What's in your Postgres addon config?

Sorry, your email was in my spam
This is my Postgres config:
user: teslamate
password: wp3Q288ZkK41234YZ-xV
database: teslamatedata
host: 29b65938-postgres
ssl: false
port: 5432

On Dec 2, 2021, at 11:42 PM, Matt White @.***> wrote:
Hi, if the database is empty then TM should re-create the schema when it starts up again.
The Postgres addon will create a new DB when it starts up if one doesn't exist. What's in your Postgres addon config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/matt-FFFFFF/hassio-addon-teslamate/issues/47#issuecomment-985285155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWON5XRAFJMOUMD3ZHDA6TUPBYFHANCNFSM5JCSVU7Q.
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.

To be more clear..
POSTGRES
user: teslamate
password: wp3Q288ZkK4QBQ4YZ-xV
database: teslamatedata
host: 29b65938-postgres
ssl: false
port: 5432
TESLAMATE
database_user: teslamate
database_pass: wp3Q288ZkK4QBQ4YZ-xV
database_name: teslamatedata
database_host: 29b65938-postgres
database_ssl: false
database_port: 5432
disable_mqtt: false
grafana_import_dashboards: true
grafana_folder_name: teslamate
grafana_host: a0d7b954-grafana
grafana_port: 3000
grafana_user: homeassistant
grafana_pass: @.***
import_dir: /share/teslamate
mqtt_host: core-mosquitto
mqtt_user: mqttuser
mqtt_pass: woDbtc32%fL]}dxk.T8
mqtt_tls: false
mqtt_tls_accept_invalid_certs: true
mqtt_namespace: ''
timezone: PDT
GRAFANA
certfile: fullchain.pem
env_vars:

name: GF_SECURITY_ADMIN_USER
value: homeassistant
name: GF_SECURITY_ADMIN_PASSWORD
value: @.***
keyfile: privkey.pem
plugins:
natel-discrete-panel
pr0ps-trackmap-panel
grafana-piechart-panel
ssl: false

On Dec 2, 2021, at 11:42 PM, Matt White @.***> wrote:
Hi, if the database is empty then TM should re-create the schema when it starts up again.
The Postgres addon will create a new DB when it starts up if one doesn't exist. What's in your Postgres addon config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/matt-FFFFFF/hassio-addon-teslamate/issues/47#issuecomment-985285155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWON5XRAFJMOUMD3ZHDA6TUPBYFHANCNFSM5JCSVU7Q.
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.

I just realized that when I launch Telsamate, I get 502: Bad Gateway
I couldn’t see it as it was black ink on black background and today I just happened to be in a darker room and saw it.

On Dec 2, 2021, at 11:42 PM, Matt White @.***> wrote:
Hi, if the database is empty then TM should re-create the schema when it starts up again.
The Postgres addon will create a new DB when it starts up if one doesn't exist. What's in your Postgres addon config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/matt-FFFFFF/hassio-addon-teslamate/issues/47#issuecomment-985285155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWON5XRAFJMOUMD3ZHDA6TUPBYFHANCNFSM5JCSVU7Q.
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.

I just realized that when I launch Telsamate, I get 502: Bad Gateway I couldn’t see it as it was black ink on black background and today I just happened to be in a darker room and saw it.
…

You need to look at the logs of the TM addon, it should tell you why it cannot start.
Also, I recommend you edit your above posts to remove the passwords 👍

Sorry, didn't realize that answering the emails was posting on the site. 🤦🏼♂

The logs are always blank when I check from the add-on itself. I'm guessing there is another way to check then.

The addon can't connect to your grafana instance. For now, set:
grafana_import_dashboards: false

And go from there

Nice. Now it loads up and I was able to login with API and token. The Add-on loads up but no info.

mqtt doesn't seem to register the info either.

And here is the log. I don't quite understand the time as it's 10:34 am here right now.
2021-12-08 17:48:09.296 [info] == Running<PHONE_NUMBER>0654 TeslaMate.Repo.Migrations.AddVehicleConfigAttrbitues.change/0 forward 2021-12-08 17:48:09.296 [info] alter table cars 2021-12-08 17:48:09.299 [info] == Migrated<PHONE_NUMBER>0654 in 0.0s 2021-12-08 17:48:09.306 [info] == Running<PHONE_NUMBER>0218 TeslaMate.Repo.Migrations.UpdateCities.change/0 forward 2021-12-08 17:48:09.307 [info] execute "UPDATE addresses a\nSET city = (\n  SELECT trim(BOTH '\"' FROM COALESCE(\n    raw -> 'address' -> 'city',\n    raw -> 'address' -> 'town',\n    raw -> 'address' -> 'municipality',\n    raw -> 'address' -> 'village',\n    raw -> 'address' -> 'hamlet',\n    raw -> 'address' -> 'locality',\n    raw -> 'address' -> 'croft'\n  )::text)\n  FROM addresses\n  WHERE a.id = id\n) WHERE\n  raw -> 'address' -> 'village' IS NOT NULL OR\n  raw -> 'address' -> 'hamlet' IS NOT NULL OR\n  raw -> 'address' -> 'locality' IS NOT NULL OR\n  raw -> 'address' -> 'croft' IS NOT NULL;\n" 2021-12-08 17:48:09.312 [info] == Migrated<PHONE_NUMBER>0218 in 0.0s 2021-12-08 17:48:09.318 [info] == Running<PHONE_NUMBER>3847 TeslaMate.Repo.Migrations.AddFlatFee.change/0 forward 2021-12-08 17:48:09.318 [info] alter table geofences 2021-12-08 17:48:09.320 [info] == Migrated<PHONE_NUMBER>3847 in 0.0s 2021-12-08 17:48:09.327 [info] == Running<PHONE_NUMBER>4021 TeslaMate.Repo.Migrations.UseStreamingApi.change/0 forward 2021-12-08 17:48:09.328 [info] alter table car_settings 2021-12-08 17:48:09.331 [info] == Migrated<PHONE_NUMBER>4021 in 0.0s 2021-12-08 17:48:09.337 [info] == Running<PHONE_NUMBER>0020 TeslaMate.Repo.Migrations.DropPowerAvg.change/0 forward 2021-12-08 17:48:09.338 [info] alter table drives 2021-12-08 17:48:09.340 [info] == Migrated<PHONE_NUMBER>0020 in 0.0s 2021-12-08 17:48:09.347 [info] == Running<PHONE_NUMBER>0940 TeslaMate.Repo.Migrations.RemoveSleepModeToggles.up/0 forward 2021-12-08 17:48:09.348 [info] alter table car_settings 2021-12-08 17:48:09.350 [info] drop table geofence_sleep_mode_whitelist 2021-12-08 17:48:09.355 [info] drop table geofence_sleep_mode_blacklist 2021-12-08 17:48:09.359 [info] == Migrated<PHONE_NUMBER>0940 in 0.0s 2021-12-08 17:48:09.366 [info] == Running<PHONE_NUMBER>1402 TeslaMate.Repo.Migrations.RemoveSleepModeRequirements.change/0 forward 2021-12-08 17:48:09.367 [info] alter table car_settings 2021-12-08 17:48:09.371 [info] == Migrated<PHONE_NUMBER>1402 in 0.0s 2021-12-08 17:48:09.379 [info] == Running<PHONE_NUMBER>1923 TeslaMate.Repo.Migrations.EnableStreaming.up/0 forward 2021-12-08 17:48:09.392 [info] == Migrated<PHONE_NUMBER>1923 in 0.0s 2021-12-08 17:48:09.398 [info] == Running<PHONE_NUMBER>2005 TeslaMate.Repo.Migrations.DatabaseEfficiencyImprovements.change/0 forward 2021-12-08 17:48:09.400 [info] alter table cars 2021-12-08 17:48:09.452 [info] alter table addresses 2021-12-08 17:48:09.494 [info] alter table charging_processes 2021-12-08 17:48:09.542 [info] alter table drives 2021-12-08 17:48:09.633 [info] alter table geofences 2021-12-08 17:48:09.655 [info] alter table positions 2021-12-08 17:48:09.713 [info] alter table charges 2021-12-08 17:48:09.751 [info] alter table states 2021-12-08 17:48:09.776 [info] alter table tokens 2021-12-08 17:48:09.796 [info] alter table updates 2021-12-08 17:48:09.819 [info] == Migrated<PHONE_NUMBER>2005 in 0.4s 2021-12-08 17:48:09.851 [info] == Running<PHONE_NUMBER>0646 TeslaMate.Repo.Migrations.DropUnusedIndexes.change/0 forward 2021-12-08 17:48:09.852 [info] drop index if exists positions_ll_to_earth_latitude__longitude_index 2021-12-08 17:48:09.854 [info] drop index if exists addresses_ll_to_earth_latitude__longitude_index 2021-12-08 17:48:09.856 [info] == Migrated<PHONE_NUMBER>0646 in 0.0s 2021-12-08 17:48:09.863 [info] == Running<PHONE_NUMBER>3852 TeslaMate.Repo.Migrations.CostByMinute.up/0 forward 2021-12-08 17:48:09.864 [info] execute "CREATE TYPE billing_type AS ENUM ('per_kwh', 'per_minute')" 2021-12-08 17:48:09.866 [info] alter table geofences 2021-12-08 17:48:09.869 [info] rename column cost_per_kwh to cost_per_unit on table geofences 2021-12-08 17:48:09.871 [info] == Migrated<PHONE_NUMBER>3852 in 0.0s 2021-12-08 17:48:09.879 [info] == Running<PHONE_NUMBER>3223 TeslaMate.Repo.Migrations.RenameUnitEnums.change/0 forward 2021-12-08 17:48:09.880 [info] execute "ALTER TYPE length RENAME TO unit_of_length" 2021-12-08 17:48:09.882 [info] execute "ALTER TYPE temperature RENAME TO unit_of_temperature" 2021-12-08 17:48:09.883 [info] == Migrated<PHONE_NUMBER>3223 in 0.0s 2021-12-08 17:48:09.891 [info] == Running<PHONE_NUMBER>5158 TeslaMate.Repo.Migrations.OptimizeConversionHelpers.change/0 forward 2021-12-08 17:48:09.891 [info] execute "DROP FUNCTION IF EXISTS public.convert_km(double precision, text);" 2021-12-08 17:48:09.893 [info] execute "CREATE OR REPLACE FUNCTION public.convert_km(n numeric(6,2), unit text)\nRETURNS numeric(6,2)\nLANGUAGE 'sql'\nCOST 100\nVOLATILE\nAS $BODY$\n  SELECT\n  CASE $2 WHEN 'km' THEN $1\n          WHEN 'mi' THEN $1 / 1.60934\n  END;\n$BODY$;\n" 2021-12-08 17:48:09.896 [info] execute "DROP FUNCTION IF EXISTS public.convert_celsius(double precision, text);" 2021-12-08 17:48:09.898 [info] execute "CREATE OR REPLACE FUNCTION public.convert_celsius(n numeric(4,1), unit text)\nRETURNS numeric(4,1)\nLANGUAGE 'sql'\nCOST 100\nVOLATILE\nAS $BODY$\n  SELECT\n  CASE $2 WHEN 'C' THEN $1\n          WHEN 'F' THEN ($1 * 9 / 5) + 32\n  END;\n$BODY$;\n" 2021-12-08 17:48:09.900 [info] == Migrated<PHONE_NUMBER>5158 in 0.0s 2021-12-08 17:48:09.907 [info] == Running<PHONE_NUMBER>5119 TeslaMate.Repo.Migrations.ChangeSleepRequirementsDefault.up/0 forward 2021-12-08 17:48:09.908 [info] alter table car_settings 2021-12-08 17:48:09.911 [info] == Migrated<PHONE_NUMBER>5119 in 0.0s 2021-12-08 17:48:09.917 [info] == Running<PHONE_NUMBER>4838 TeslaMate.Repo.Migrations.UseVariableLengthTypeForTokens.change/0 forward 2021-12-08 17:48:09.918 [info] alter table tokens 2021-12-08 17:48:09.920 [info] == Migrated<PHONE_NUMBER>4838 in 0.0s 2021-12-08 17:48:09.927 [info] == Running<PHONE_NUMBER>3700 TeslaMate.Repo.Migrations.CarPriorities.change/0 forward 2021-12-08 17:48:09.928 [info] alter table cars 2021-12-08 17:48:09.931 [info] == Migrated<PHONE_NUMBER>3700 in 0.0s 2021-12-08 17:48:09.937 [info] == Running<PHONE_NUMBER>3305 TeslaMate.Repo.Migrations.AddNotNullConstraintToDisplayPriority.up/0 forward 2021-12-08 17:48:09.938 [info] alter table cars 2021-12-08 17:48:09.942 [info] == Migrated<PHONE_NUMBER>3305 in 0.0s 2021-12-08 17:48:14.126 [info] System Info: Erlang/OTP 24 (emu) 2021-12-08 17:48:14.126 [info] Version: 1.24.2 2021-12-08 17:48:14.202 [info] Running TeslaMateWeb.Endpoint with cowboy 2.9.0 at :::4000 (http) 2021-12-08 17:48:14.205 [info] Access TeslaMateWeb.Endpoint at http://localhost 2021-12-08 17:48:14.236 [info] MQTT connection has been established 2021-12-08 17:48:17.421 [info] tzdata release in place is from a file last modified Tue, 22 Dec 2020 23:35:21 GMT. Release file on server was last modified Fri, 22 Oct 2021 02:20:47 GMT. 2021-12-08 17:48:21.541 [info] Tzdata has updated the release from 2020e to 2021e 2021-12-08 17:53:14.801 [info] Update available: 1.24.2 -> 1.25.0 2021-12-08 18:02:04.440 [info] GET / 2021-12-08 18:02:04.477 [info] Sent 302 in 37ms 2021-12-08 18:02:04.521 [info] GET /sign_in 2021-12-08 18:02:04.546 [info] Sent 200 in 24ms 2021-12-08 18:02:25.795 [info] GET https://auth.tesla.com/oauth2/v3/authorize -> 200 (458.486 ms) 2021-12-08 18:02:26.198 [error] POST https://auth.tesla.com/oauth2/v3/authorize -> 403 (379.181 ms) 2021-12-08 18:04:30.893 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (324.928 ms) 2021-12-08 18:04:32.835 [info] POST https://owner-api.teslamotors.com/oauth/token -> 200 (1941.093 ms) 2021-12-08 18:04:32.898 [info] Scheduling token refresh in 5 wk 5 d 2021-12-08 18:04:33.083 [info] Starting logger for 'Blanche' 2021-12-08 18:04:33.124 [info] Starting logger for 'Noir' 2021-12-08 18:04:33.277 [info] GET / 2021-12-08 18:04:33.288 [info] Sent 200 in 10ms 2021-12-08 18:04:33.339 car_id=2 [info] Start / :asleep 2021-12-08 18:04:34.081 car_id=1 [info] Start / :asleep 2021-12-08 18:05:07.636 [info] GET /settings 2021-12-08 18:05:07.660 [info] Sent 200 in 23ms 2021-12-08 18:06:18.045 [info] GET / 2021-12-08 18:06:18.057 [info] Sent 200 in 12ms 2021-12-08 18:22:45.391 [info] GET / 2021-12-08 18:22:45.404 [info] Sent 200 in 13ms 2021-12-08 18:25:20.631 car_id=2 [info] Start / :online 2021-12-08 18:25:20.787 car_id=2 [info] Connecting ... 2021-12-08 18:28:23.498 car_id=2 [info] Suspending logging

I rebooted again and logged into both cars from the Tesla app.
Now Teslamate shows info for both cars correctly but when I listen to teslamate/cars/1/* on MQTT broker, I don't see anything.

Mosquitto log seems to be normal actually. It's not an error
Is there a way to figure out why Teslamate is not sending values to mqtt?

FYI, with the latest 2021.12 update, mqtt started working again with Teslamate for me.


HBASE-25057: Fix typo memeber

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 23s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 46s
master passed

+1 :green_heart:
checkstyle
1m 21s
master passed

+1 :green_heart:
spotbugs
2m 42s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 25s
the patch passed

+1 :green_heart:
checkstyle
1m 20s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m 30s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
4m  2s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 29s
The patch does not generate ASF License warnings.

38m 10s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2414

JIRA Issue
HBASE-25057

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 30e221ef02cd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e386ec566f

Max. process+thread count
94 (vs. ulimit of 12500)

modules
C: hbase-server hbase-backup U: .

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m  7s
the patch passed

+1 :green_heart:
compile
1m 33s
the patch passed

+1 :green_heart:
javac
1m 33s
the patch passed

+1 :green_heart:
shadedjars
6m 44s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

-0 :warning:
javadoc
0m 20s
hbase-backup in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
129m 59s
hbase-server in the patch passed.

+1 :green_heart:
unit
10m  6s
hbase-backup in the patch passed.

170m 53s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2414

JIRA Issue
HBASE-25057

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 0467ce34f682 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e386ec566f

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-backup.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-backup.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/testReport/

Max. process+thread count
5447 (vs. ulimit of 12500)

modules
C: hbase-server hbase-backup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 33s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m  8s
master passed

+1 :green_heart:
compile
1m 55s
master passed

+1 :green_heart:
shadedjars
8m 55s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 17s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 45s
the patch passed

+1 :green_heart:
compile
1m 53s
the patch passed

+1 :green_heart:
javac
1m 53s
the patch passed

+1 :green_heart:
shadedjars
8m 47s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m  9s
the patch passed

_ Other Tests _

-1 :x:
unit
244m 18s
hbase-server in the patch failed.

+1 :green_heart:
unit
13m 55s
hbase-backup in the patch passed.

295m 12s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2414

JIRA Issue
HBASE-25057

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 0a44df7d8f5b 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e386ec566f

Default Java
1.8.0_232

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/testReport/

Max. process+thread count
3273 (vs. ulimit of 12500)

modules
C: hbase-server hbase-backup U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2414/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


[WIP] Upgrade axios and clean yarn.lock

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


Added RTCM related keys (output protocols, TMODE)

Some things I needed right now, some I just added for completeness.

I uppercased the hex values so the 0X is capital... also empty lines...


As Portal User, I want to find and  fill out a legal form so that the process can be easier for me to understand.

From @czdiana2321 on May 24, 2018 20:1
USER->Forms
Acceptance Criteria:

Portal User is able to view a legal form.
Portal User is able to fill out a legal form.
Portal User is able to save filled out form in a desired location.

Copied from original issue: Microsoft/Access2Justice#101

@KellyeDC  - This is additional functionality that is not needed for pilot.


Removing IAM Auth ClusterID references in docs

Description of changes:
EKS-A does not support configuring clusterID value for IAM Authenticator. Updating docs accordingly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold
Waiting on #1009 to get merged.

/unhold


Prepare for release on PyPi

What does this PR do?
Prepare for release on PyPi
Why was this PR needed?
Lots of users (also me) of this library want this package released on PyPi to be able to install easily through pip and include in their packages.
What are the relevant issue numbers?
#156
Does this PR meet the acceptance criteria?

[x] Passes flake8 (refer to .travis.yml)
[x] Docs are buildable
[x] Branch has no merge conflicts with master
[x] Is covered by a test

@b3nab I noticed that you've published the package under your name. Can you add my pypi profile as the owner?

Hi @ping , sorry for the waiting time.
I just added you as owner of your two repos, instagram-private-api and instagram-private-api-extensions
If you want we can chat on telegram, my id is the same as here.
🥂


Refactor tests

Currently the tests are fairly repetitive, it would be good to reduce duplication.

Thanks for the interest!
The repetition in the tests bugs me to be honest and some refactoring would be appreciated 🪐
You basically create something called a pull request. There's a good video on YouTube that explains this - https://www.youtube.com/watch?v=rgbCcBNZcdQ.


fix: set K8S_VERSION to 1.22 to match actual deps

Description of the change:
Set the K8S_VERSION to 1.22.
Motivation for the change:
Allow K8S_VERSION to match the actual K8S version we're using.
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

seems good
/lgtm

Closing this as we already addressed this in master.


Digital Ocean terraform apply fails

Bug
Environment

Platform: digital-ocean
OS: container-linux
Terraform: Terraform v0.11.7
Plugins:

provider.ct (unversioned)
provider.digitalocean v0.1.3
provider.local v1.1.0
provider.null v1.0.0
provider.template v1.0.0
provider.tls v1.1.0

Ref: Git SHA (if applicable)

Problem
"terraform apply" fails, the clusters are created, but SSH does not appear to be working when trying to communicate to the newly created cluster. It hangs, and after cancelling, this is the error message:
Error: Error applying plan:
3 error(s) occurred:

module.digital-ocean-nemo.digitalocean_firewall.rules: 1 error(s) occurred:

digitalocean_firewall.rules: Error creating firewall: POST https://api.digitalocean.com/v2/firewalls: 422 (request "a9195183-142d-4e20-a7e1-7c9d06a66613") duplicate name

module.digital-ocean-nemo.null_resource.copy-controller-secrets: interrupted - last error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain

module.digital-ocean-nemo.null_resource.copy-worker-secrets: interrupted - last error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none], no supported methods remain

No existing firewall rules exist in DO before this.
Desired Behavior
"terraform apply" completes successfully.
Steps to Reproduce
Followed instructions here: https://typhoon.psdn.io/cl/digital-ocean
terraform apply

Remove the cluster and try again.
The first error is likely a quirk related to the digitalocean provider plugin or DigitalOcean API, if as you say there are no existing conflicting rules. If you still have ssh issues, consult the older closed issues which are typically user error. Unlikely there is any Typhoon bug here, spins up fine for me.


Are we supposed to change ambari_admin_user/password?

In playbooks/group_vars/ambari-server:
ambari_admin_user: 'admin'
ambari_admin_password: 'admin'

Are we supposed to change these values? I have found several some instances where admin:admin is hardcoded. In one of my tests, changing this also caused an Ansible failure.
I guess we should keep it for the initial installation and change the password via the UI after the cluster is setup? By then, we are allowed to update it for future run to add new slaves etc.? I'm a bit confused here, would appreciate some guidance.
Thank you.

Hi! Sorry I replied so late.
Those values should not have been hardcoded, that was a bug and I pushed a fix.
About changing these values, your point is very valid.
The plan was for the playbooks to change the default admin value and then use the ambari_admin_password but I never got the chance to do that as I was too focused on the installation itself.
Now I pushed a commit and you should be able to use ambari_admin_user and ambari_admin_password for all API requests, during install or post install.
And if the default admin password is still set, it will change it during ambari-config role: https://github.com/hortonworks/ansible-hortonworks/blob/master/playbooks/roles/ambari-config/tasks/main.yml#L14
Hope this helps you.
Let me know if you have any questions and if I can close this.
Thanks,
Alex

Thank @alexandruanghel for the quick fix, I think this issue is resolved now.


in_http cannot work with https

Check CONTRIBUTING guideline first and here is the list to help us investigate the problem.

fluentd or td-agent version.
Environment information, e.g. OS.
Your configuration
Your problem explanation. If you have an error logs, write it together.

in_http cannot accept transport or server configuration in order to be configured with ssl. For example the kube-apiserver from version 1.13.0 has an alpha feature to send audit logs to a destination over https- https://kubernetes.io/docs/tasks/debug-application-cluster/audit/#dynamic-backend . Currently fluentd cannot be a dynamic backend for kubernetes audit logs.
Do you plan support for any https input plugin?

Duplicated of https://github.com/fluent/fluentd/issues/2124?

Duplicated of #2124?

Yes, I will close this one and lets track the update in #2124 .


Performance issue for Ryzen 5 2400G

Hi,
I am trying to do some (baseline) password cracking and I am kind of disappointed by the performance I get with the GPU from the Ryzen 5 system above.
One of the hashes I am interested in is plain SHA512 password hashes of Linux. Here I get only double the performance of the CPU (using the Intel OpenCL driver):
prompt> hashcat -D1,2 -b -m1800
[..]
OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: gfx902-xnack, 12817/15079 MB allocatable, 11MCU

OpenCL Platform #2: Intel(R) Corporation
========================================
* Device #2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 7539/30159 MB allocatable, 8MCU

Benchmark relevant options:
===========================
* --opencl-device-types=1,2
* --optimized-kernel-enable

Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)

Speed.#1.........:     5947 H/s (47.22ms) @ Accel:64 Loops:32 Thr:64 Vec:1
Speed.#2.........:     2530 H/s (80.15ms) @ Accel:512 Loops:256 Thr:1 Vec:4
Speed.#*.........:     8478 H/s

Started: Fri May 31 13:06:58 2019
Stopped: Fri May 31 13:07:07 2019

(The performance of the GPU doesn't improve I omit the CPU which is good). If I do a comparison with other systems though there's an odd thing with a user posting his benchmark using Windows (https://hashcat.net/forum/thread-7513.html): It's almost the same but for this specific hash I am getting not even 1/3rd of what he claims. At the moment I do not have any reasons to doubt that as other (different) machines I tested indicate that this should be better. I have now windows on this machine though.
Hashcat maintainers responded that there's no difference on the OS (https://hashcat.net/forum/thread-8388.html)
My question: is there any known deficiencies in the ROCm driver which might affect this?
My System:
prompt> uname -a
Linux REDACTED 5.0.8-1-default #1 SMP Wed Apr 17 09:25:56 UTC 2019 (8b88553) x86_64 x86_64 x86_64 GNU/Linux
prompt> grep -A 5 -B5 kfd /var/log/boot.msg    # using upstream driver
<6>[    4.806387] [drm] Display Core initialized with v3.2.08!
<6>[    4.808016] usb 3-2: new full-speed USB device number 2 using xhci_hcd
<6>[    4.855362] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
<6>[    4.855363] [drm] Driver supports precise vblank timestamp query.
<6>[    4.870009] [drm] VCN decode and encode initialized successfully(under SPG Mode).
<6>[    4.870763] kfd kfd: Allocated 3969056 bytes on gart
<6>[    4.870784] Topology: Add APU node [0x15dd:0x1002]
<6>[    4.870975] kfd kfd: added device 1002:15dd
<6>[    4.873316] [drm] fb mappable at 0x78FA00000
<6>[    4.873317] [drm] vram apper at 0x78F000000
<6>[    4.873317] [drm] size 14745600
<6>[    4.873318] [drm] fb depth is 24
<6>[    4.873318] [drm]    pitch is 10240
prompt> ls -l /dev/kfd
crw-rw-rw-+ 1 root video 244, 0 Apr 23 14:28 /dev/kfd
prompt> rpm -qa | grep '^rocm'      # yes. not the latest but shouldn't matter much, right?
rocm-clang-ocl-0.4.0_7ce124f-1.x86_64
rocm-utils-2.1.96-1.x86_64
rocm-opencl-devel-1.2.0-2019020220.x86_64
rocminfo-1.0.0-1.x86_64
rocm-opencl-1.2.0-2019020220.x86_64
prompt> hashcat -I
hashcat (v5.1.0) starting...

OpenCL Info:

Platform ID #1
  Vendor  : Advanced Micro Devices, Inc.
  Name    : AMD Accelerated Parallel Processing
  Version : OpenCL 2.1 AMD-APP (2814.0)

  Device ID #1
    Type           : GPU
    Vendor ID      : 1
    Vendor         : Advanced Micro Devices, Inc.
    Name           : gfx902-xnack
    Version        : OpenCL 1.2
    Processor(s)   : 11
    Clock          : 1250
    Memory         : 12817/15079 MB allocatable
    OpenCL Version : OpenCL C 2.0
    Driver Version : 2814.0 (HSA1.1,LC)

Platform ID #2
  Vendor  : Intel(R) Corporation
  Name    : Intel(R) OpenCL
  Version : OpenCL 1.2

  Device ID #2
    Type           : CPU
    Vendor ID      : 8
    Vendor         : Intel(R) Corporation
    Name           : AMD Ryzen 5 2400G with Radeon Vega Graphics
    Version        : OpenCL 1.2 (Build 475)
    Processor(s)   : 8
    Clock          : 0
    Memory         : 7539/30159 MB allocatable
    OpenCL Version : OpenCL C 1.2
    Driver Version : <IP_ADDRESS>5

Thx, Dirk

Small update with newer driver + kernel. It's getting closer to what a windows user reported but it's still less than half of it.
prompt> uname -a
Linux REDACTED 5.1.5-1-default #1 SMP Mon May 27 07:14:33 UTC 2019 (6ad4f79) x86_64 x86_64 x86_64 GNU/Linux
prompt> hashcat -I | grep Driver.Version.          # above was 2814.0
    Driver.Version.: 2874.0 (HSA1.1,LC)
[..]
prompt> hashcat -D1,2 -b -m1800
hashcat (v5.1.0) starting in benchmark mode...
[..]
penCL Platform #2: Intel(R) Corporation
========================================
* Device #2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 7539/30159 MB allocatable, 8MCU

Benchmark relevant options:
===========================
* --opencl-device-types=1,2
* --optimized-kernel-enable

Hashmode: 1800 - sha512crypt $6$, SHA512 (Unix) (Iterations: 5000)

Speed.#1.........:     7614 H/s (70.12ms) @ Accel:128 Loops:32 Thr:64 Vec:1
Speed.#2.........:     2592 H/s (78.17ms) @ Accel:512 Loops:256 Thr:1 Vec:4
Speed.#*.........:    10206 H/s
[..]

Dirk

Is this still reproducible?  If not, can we please close it?  Thanks!

If you really want me to check again (after all those years): I'd need ~a month to get back on this.

Closing the ticket as it is stale.


v1.5: backports 19-07-23

#8566 -- daemon: Remove svc from cache in syncLBMapsWithK8s (@brb)
#8583 -- proxy: Do not error out if reading of open ports fails. (@jrajahalme)
#8631 -- [CI] Add timeout to ginkgo calls (@nebril)
#8642 -- Bump k8s 1.15 to 1.15.1 (@aanm)
#8650 -- daemon: Fix removal of non-existing SVCs in syncLBMapsWithK8s (@brb)

Once this PR is merged, you can update the PR labels via:
$ for pr in 8566 8583 8631 8642 8650; do contrib/backporting/set-labels.py $pr done 1.5; done

This change is

test-me-please

test-missed-k8s

test-docs-please

These failures look familiar - changes to Envoy code before caused egress policy failures in the past. @jrajahalme I will see if the tests fail when I run them with / without the envoy-related changes.

Pushed the branch without the following PR to see if the egress test failures are related to Envoy:

#8581 -- envoy: Add SO_MARK option to listener config (@jrajahalme)

test-me-please

test-missed-k8s


Created a metric for the overall JVM memory usage - both heap and non-heap

Description
By default, the Micrometer memory metrics break the memory metrics into pools. This PR uses the aggregate heap and non-heap usage for a clearer view.
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2266 (7798b7a) into main (e9267a9) will decrease coverage by 0.01%.
The diff coverage is 93.75%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #2266      +/-   ##
============================================
- Coverage     93.81%   93.81%   -0.01%
- Complexity     1826     1829       +3
============================================
  Files           224      225       +1
  Lines          5284     5300      +16
  Branches        426      426
============================================
+ Hits           4957     4972      +15
- Misses          222      223       +1
  Partials        105      105

Impacted Files
Coverage Δ

...earch/dataprepper/parser/config/MetricsConfig.java
76.08% <0.00%> (-1.70%)
:arrow_down:

...h/dataprepper/meter/JvmMemoryAggregateMetrics.java
100.00% <100.00%> (ø)

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


Implement HTTP Cookie APIs

Purpose
$subject
Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20036 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20036   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

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 9b6452a...1389553. Read the comment docs.

Issues fixed

#19995
#19868


SetDisplayName (and SetStatic) modifies the original class properties.

SetDisplayName (and thus) SetStatic modifies the original class properties which can have unexpected consequences.
class TextInput extends Component {} // DisplayName is "TextInput"
const NewInput = setDisplayName('NewNameABC')(TextInput);

NewInput.DisplayName === 'NewNameABC'
TextInput.DisplayName === 'NewNameABC'

I would expect setting statics and especially the display name would not affect the original component.

See docs https://github.com/acdlite/recompose/blob/master/docs/API.md#setstatic
its by design


opensync: add radsec, radius proxy and apc functionality

add ovsdb schema for radsec and radius proxy config
add radsec and radius proxy functionality
add APC functionality for radsec and radius proxy
Send APC mode information through ubus
from APC application to WM.
Use the APC mode to direct the configuration
of radius proxy.
We get this information from APC:
mode:
DR (Designated Router)
BDR (Back up Designated Router)
SL (Slave Router)
NC (Not connected/Not configured)
bdr_addr: IP of the BDR
dr_addr: IP of the DR
enabled: If Enabled/Disabled

Signed-off-by: Arif Alam<EMAIL_ADDRESS>Signed-off-by: Chaitanya Godavarthi<EMAIL_ADDRESS>

Merged dd86dfce, thanks gentlemen.


presetText.js script clashes with nodes in Impact-Pack

The script in ComfyUI\web\extensions\pysssss\CustomScripts\presetText.js causes at leats two nodes in the impact-pack to fail. This was something that was changed recently, but has reverted after updates to the impact-pack. I don't know if this is caused by one or the other, or a combination of both, so I'm logging it here, and I've opened these two for impact-pack:
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/51
https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/52

@GalaxyTimeMachine Looks like this is now resolved by impact pack?


Have course page link back to department

Right now, the "department link" does nothing

Done, and dept page links back to school, section page links back to course


Global profile configuration

I hope I didn't miss something but I couldn't find a way to configure the cargo profiles globally. I know about ~/.cargo/config, however there is no way to do so.
Wouldn't it be nice to have cargo search for global configuration files, so that we could use one Cargo.toml to set e.g. Link-Time Optimization to true?
Possible solution
Search the parent directories for a Cargo.toml and let the children directories override the defaults.
Unresolved Issues
Should cargo search all the way up to /? Or just to ~? Also, if the project is outside the home directory, should the home directory be searched, too?
Is it really good to have such defaults on a local machine? Could this break anything if one clones a git repository and tries to build it? And if so, should we instead use just a template file which gets copied when you type cargo new?

I know about ~/.cargo/config, however there is no way to do so.

Sorry, what did you mean here?

@steveklabnik I wanted to say that specifying defaults for, say the optimization level for release profile, is not possible with this config file.

Ah! Thanks.

I added a few thoughts to my first comment. Probably we should go with the template approach?

Closing, as this is now implemented, see https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#config-profiles and the tracking issue https://github.com/rust-lang/rust/issues/48683.


Slacken deps for release

This is the same as this pull request for the same reason.
The dependency of vcloud-tools-tester on a specific vcloud-core version need to be removed so that we can release the new vcloud-core version and allow the tests to pass. Once that is released we can release a further version of vcloud-tools-tester.
I think the tests will fail due to the bug in fog until the new release of vcloud-core has been applied.

Gah, there are still Fog problems related to net/ssh and I'm not sure why.


README.md add Documentation section

Added Documentation section.
Fixed some markdown formatting.

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

Works for me, thanks!


[documentation] state all the possible types in Readme

hi all,
This library introduces some types that don't exist in ES5 and I found it slightly annoying to do a guesswork, which type starts with capital letter and which does not.
I couldn't find the list of types in Chai documentation website. Even if it's there hidden somewhere, it would be nice to add the list of all types that this library produces in this library's README.
For example (with correct capitalisation):

string << lowercase
Object << uppercase
Function << uppercase
boolean << lowercase
...

and so on..
What do you think?

Essentially everything that is a primitive value should have a lowercase name, and everything else should be title case. So the only lowercase types should be number, boolean, string, null, undefined. But I would be happy to see this documented in the readme, would you like to submit a PR?

Hi Keith, thank you for a quick response. You pretty much distilled it, if we mentioned those 5 and that the rest is title case, that could be it. If you have commit rights, maybe it would be quicker if you dropped it into readme?

I do have commit rights, but I would much rather see a healthy community where people have a chance to contribute in ways that they see meaningful - so please, if you would be so kind as to raise a PR documenting this how you feel it is important, that'd be awesome 💯

Would be even better if the module contained a list of constants defining each type, so I could just do expect(result).to.be.a(TypeDetect.NUMBER). Never made a PR to a public repo before but I'll add this to my todo list!


Add support for delaying the intercom initialize script to avoid performance issues

Is your feature request related to a problem? Please describe.
We have an application that is optimized for performance and initializing the intercom script immediately on load is hurting it. I suggest to add a prop which can be used to delay the intercom initialization.
Describe the solution you'd like
A clear and concise description of what you want to happen.
See #236

@devrnt The intercom script adds around 100KB to the initial loads which slows down metric like First input delay and Largest content ful paint which are apart of the core web vital.
This implementation was taken directly form the intercom forum:
https://forum.intercom.com/s/question/0D52G00004WxWLs/can-i-delay-loading-intercom-on-my-site-to-reduce-the-js-load
It would be pretty nice to have this included in the library so that each person doesn't have to implement that snippet you posted above.

After looking at this, as far as I can see there are no real side effects except for the fact that no functionality will work while the timeout is running


(GSoC) Caption Search Using Weaviate

Why:
This is one of the demos made as part of the Google Summer of Code program.
What does your app/demo do?:
This is a demo example to show how to perform caption searches using weaviate. More Information was added in the readme.
How Has This Been Tested?
Instructions to reproduce are added in the readme. This has been tested locally on my computer.
Have you included a README.md file in your example?
Yes

Hi @sebawita – can you review, please?


[Question] How to apply streaming inference

Hi, is fs2 only support synthesis whole sentence? How should I make it output chunk by chunk, e.g. 50 frames every time?
Thanks in advance.

with the same question?


help to solve

Extension Name: emmet
Extension Version: 1.0.0
OS Version: Windows_NT x64 6.1.7601
VSCode version: 1.28.0

We have written the needed data into your clipboard. Please paste:s

This is mostly related to #60318


activitypub avatar implement

The new endpoint of the actor endpoint should looks like the response of this HTTP request:
curl --location --request GET 'https://mstdn.social/@lawrence' \
--header 'Accept: application/activity+json'

/label to /label activitypub /label fediverse


streams_bodies_in_order_after_range_reset is flaky

Describe the bug
bodies::bodies::tests::streams_bodies_in_order_after_range_reset occasionally fails on main. A failure can be seen in CI here:
https://github.com/paradigmxyz/reth/actions/runs/4077743007/jobs/7027133041#step:8:203
Steps to reproduce
Sometimes this can be reproduced locally with cargo nextest run --workspace --locked --all-features
Node logs
--- STDERR:              reth-downloaders bodies::bodies::tests::streams_bodies_in_order_after_range_reset ---
thread 'bodies::bodies::tests::streams_bodies_in_order_after_range_reset' panicked at 'assertion failed: `(left == right)`
  left: `8`,
 right: `7`', crates/net/downloaders/src/bodies/bodies.rs:616:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

   Canceling due to test failure: 0 tests still running

Platform(s)
No response
What version/commit are you on?
66aa947
Code of Conduct

[X] I agree to follow the Code of Conduct

cc @rkrasiuk

noted. will tackled first thing in the morning


 Like here: https://github.com/casdoor/casdoor-flutter-example?tab=readme-ov-file#after-running-you-will-see-the-following--interfaces

It's ease to replicate. This is the steps:
1  Get the demo:  git clone https://github.com/casdoor/casdoor-flutter-example.git
2  cd ./casdoor-flutter-example   && flutter pub get
3  Use VSCode open the project, and set the "AuthConfig"
4  Run the cmd : flutter run -d chrome,     then you will get this error in the new brower window.
It's ok at the platform of windows.

My flutter version is 3.16.4

@hsluoyz   Like this

@yunbai002 I can't reproduce this issus under:

Flutter:

Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (6 months ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1

Browser:
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

Maybe you can try something like: https://github.com/miguelpruivo/flutter_file_picker/issues/1131#issuecomment-1445451372

flutter clean cannot solve this problem because you are pulling dependencies for the first time after git clone.
The reason for this error is that dart:io does not support web. The solution is to use conditional imports.
main.dart
import 'dart:convert';
import 'dart:io' if (dart.library.html) './web_platform_adapter.dart';

web_platform_adapter.dart
class Platform {
  static bool get isWeb => true;
  static bool get isMacOS => false;
  static bool get isLinux => false;
  static bool get isWindows => false;
}


quictls.github.io/openssl link provided on project page gives 404 status

The link to quictls.github.io/openssl on the project page is resulting in a 404 (resource hot found) HTTP status error. Just letting you guys know

It took awhile, but we finally fixed the quictls.github.io page :). Thanks.


Expose optional minAmpl parameter of blur operation

following https://github.com/lovell/sharp/pull/4168, this PR adds minAmpl option to .blur(), completing the exposure of all options of vips_gaussblur().

Thank you for the PR Marcos.
I usually prefer for the parameter names in sharp to match libvips for consistency as you've done here but I feel "ampl" might be better expanded in the external API to "amplitude" to remove any ambiguity, perhaps as minAmplitude.
It might also be good to include the libvips description of this property in the JSDocs, something like "A smaller value will generate a larger, more accurate mask".
https://github.com/libvips/libvips/blob/81b6b783f09fd7acd0e0ede1a28fef906ce810e9/libvips/convolution/gaussblur.c#L186

I usually prefer for the parameter names in sharp to match libvips for consistency as you've done here but I feel "ampl" might be better expanded in the external API to "amplitude" to remove any ambiguity, perhaps as minAmplitude.

I had the same thought, I preferred minAmplitude but went with minAmpl to mimic libvips. I'll push the changes in a bit.

@lovell I left internal API with minAmpl, let me know if you want this changed as well.

Thank you very much!


model.compile in multi_partner_learning.py: datasets/dataset_*.py can't create model with binary_crossentropy

In datasets/dataset_cifar10.py and mnib.py, generate_new_model_for_dataset() ends up defining the way the model is compile:
compile(     optimizer='rmsprop', loss=None, metrics=None, loss_weights=None,     sample_weight_mode=None, weighted_metrics=None, **kwargs )
In multi_partner_learning.py, in build_model_from_weights():
After using generate_new_model_for_dataset(), the model is then recompile:
new_model.compile(loss=keras.losses.categorical_crossentropy, optimizer="adam", metrics=["accuracy"])
It's then not allowed to create different types of model, I have found that trying to add the imdb dataset, the models are often compile with a binary_crossentropy loss function.

build_model_from_weights():
https://github.com/SubstraFoundation/distributed-learning-contributivity/blob/0884d52f8df2d7e85a1028e15acb3f3cc8bef8bb/multi_partner_learning.py#L439-L450
generate_new_model() is a method from the dataset.py module:
https://github.com/SubstraFoundation/distributed-learning-contributivity/blob/0884d52f8df2d7e85a1028e15acb3f3cc8bef8bb/dataset.py#L50-L52
generate_new_model_for_dataset() comes from the definition of the module (made by the user), in one of the datasets/dataset_ modules:
https://github.com/SubstraFoundation/distributed-learning-contributivity/blob/0884d52f8df2d7e85a1028e15acb3f3cc8bef8bb/datasets/dataset_cifar10.py#L45-L78
Seems that, even if the model is compile a first time in generate_new_model_for_dataset() with this optimizer:
# initiate RMSprop optimizer  opt = keras.optimizers.RMSprop(learning_rate=0.0001, decay=1e-6)
Due to build_model_from_weights(): the model will be re-compile with the adam optimizer

I linked this issue with the project Make it agnostic to datasets and models, as it seems to be a consequence of the repo being first dev with the mnist dataset.

I have created a google colab to check that binary CE and categorical CE can be used on the imdb dataset. We just need to pre-process differently the inputs and labels.
https://colab.research.google.com/drive/1P0iMWJ0QwsFAHJYwRdVhx9O25xrUVQka?usp=sharing

The imdb dataset is a binary classification problem ? if so, you can stay with the binary cross-entropy.
But anyway we will need in the future to be able to parametrize in the dataset module the cost function (and maybe the optimizer) for each dataset.
And good catch to spot the two different optimizers (adm and RMSprop !) 👍

@arthurPignet for reference when you'll tackle the end of integrating IMDB 😃

Done


Adding color property for use with BlendMode.

Fixes: https://github.com/mchome/flutter_advanced_networkimage/issues/88
With this we can all enjoy BlendModes.

Note: besides adding the color property I also changed the BlendMode doc comment to be inline with the RawImage documentation.

Hey thanks! That was fast...
When do you plan to do a new release including the fix?
Would very much appreciate to be able to used a locked external version when I release the app I'm currently working on...
And thank you for the plugin!

v0.4.15 landed :)


Appropriate classes not being applied to ion-item in case of ion-datetime

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[x ] 3.x
I'm submitting a ...  (check one with "x")
[x ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
It seems that the validation classs on ion-datetime are not being applied properly.
For example I have below formgroup:
this.form = fb.group({
            date: [null, Validators.required]
        });

And below template:

<ion-item>
            <ion-label stacked>Date</ion-label>

Date

            <ion-datetime formControlName="date" pickerFormat="MMMM YYYY" displayFormat="MM/YYYY"></ion-datetime>
</ion-item>

Since the date field is required, when the form is submitted its expected that it would apply the appropriate classes to ion-item as it does in case of ion-input:
item item-block item-md item-label-stacked item-input ng-invalid ng-touched ng-dirty
Expected behavior:
The appropriate classes should be applied to ion-item in case of ion-datetime

Thanks for opening an issue with us, we will look into this.


[3.x] Backport DirectionalLight fade_start property to

Follow-up to https://github.com/godotengine/godot/pull/60186 (can be merged independently).

Implement shadow fading when using the Orthogonal shadow mode (like in master).

This allows customizing the distance at which directional shadows start to fade away. Shadow fading will also always start at the same distance now, regardless of the current shadow mode in use.
This is useful for enclosed levels to prevent shadows from fading at all with a well-tuned maximum distance.
The default fade start value (0.8) results in fading happening later in the distance compared to the previous behavior, where fading started from the last shadow split distance (0.6 in PSSM 4 Splits and 0.1 in PSSM 2 Splits). I can decrease this default fade start value if desired, but I think this new default is better suited to most use cases.

Looks ok, but this is breaking I think, in the sense it will change what the directional shadows look like. Would it be worth introducing a compatibility switch in project settings, to change the shaders back and forth? @clayjohn not sure what you think.

Looks ok, but this is breaking I think, in the sense it will change what the directional shadows look like. Would it be worth introducing a compatibility switch in project settings, to change the shaders back and forth? @clayjohn not sure what you think.

We usually accept minor visual changes between minor versions, especially if they'll look better in the vast majority of projects (which I expect to be the case here, as you'll be able to see shadows further with the same performance cost).

Some screenshots showing the improvement would be handy too! :+1:

Some screenshots showing the improvement would be handy too! 👍

I've added screenshots to OP and fixed Fade Start when using the new PSSM 3 Splits shadow mode.

Thanks!


it's not vanilla.

from looking at the source code, you can tell quite quickly that it is not vanilla as said in the README

Didn't get you. Why is it not vanilla?

@kamranahmedse
I'm pretty sure export and import statements is an ES6 thing.

Vanilla is standards compliant. Even newer browsers support import and export with esm modules.
Not vanilla is:  Dependent on jQuery, Coffeescript or Typescript.


Fixes #1596

Changed the documentation of sktime.classification.base.BaseClassifier.fit to clear the misunderstanding that it can accept a 2D numpy.array as input for X.

hi, thanks for the contribution, but since https://github.com/alan-turing-institute/sktime/pull/1604 the comment is now correct so we no longer need this change


Generate a main executable file as access point

an exe that act as a bat file

https://creative8.wordpress.com/2017/03/07/2-ways-to-create-portable-exe/

copy /b 7zS.sfx + pkgInstructions.txt + .\packagedImage.7z MyInstaller.exe

unix support: https://www.systutorials.com/docs/linux/man/1-unzipsfx/


iOS App: Build Failed

/<Document_ROOT>/<Project_Name>/Vendors/ReactNative/React/Core/React/Profiler/RCTProfileTrampoline-arm.S:15:3: error:
expected identifier or '('
.thumb
^
/<Document_ROOT>/<Project_Name>/Vendors/ReactNative/React/Core/React/Profiler/RCTProfileTrampoline-arm.S:37:3: error:
unknown type name 'mov'
mov r0, #0xc
^
/<Document_ROOT>/<Project_Name>/Vendors/ReactNative/React/Core/React/Profiler/RCTProfileTrampoline-arm.S:37:11: error:
expected identifier or '('
mov r0, #0xc
^
/<Document_ROOT>/<Project_Name>/Vendors/ReactNative/React/Core/React/Profiler/RCTProfileTrampoline-arm.S:37:10: error:
expected ';' after top level declarator
mov r0, #0xc
^
;
4 errors generated.
clang -cc1as: error: error reading '/var/folders/50/m9jqld1s6c7dx9vp8cv3wf8c0000gn/T/RCTProfileTrampoline-arm-134fcd.s'
Command /Users/Lee/Documents/RRX/git/infer-osx-v0.9.2/infer/lib/python/inferlib/../../../lib/xcode_wrappers/clang failed with exit code 1
------------------- toplevel.log ----------------------
[INFO] output of locale.getdefaultlocale(): ('en_US', 'UTF-8')
[INFO] encoding we chose in the end: UTF-8
[INFO] Running command /<Document_Root>/infer-osx-v0.9.2/infer/bin/../lib/python/infer.py --multicore 8 --out /<Document_Root>/JDBApp/JDBApp/infer-out --project_root /<Document_Root>/JDBApp/JDBApp -- xcodebuild -scheme <Project_Name> -workspace <Project_Name>.xcworkspace -configuration Debug
[INFO] Path to infer script /<Document_Root>/infer-osx-v0.9.2/infer/bin/../lib/python/infer.py (/<Document_Root>/infer-osx-v0.9.2/infer/lib/python/infer.py)
[INFO]
[INFO] Platform: Darwin-15.5.0-x86_64-i386-64bit
[INFO] PATH=/<Document_Root>/infer-osx-v0.9.2/infer/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Users/Lee/.opam/infer-4.02.3/bin:/usr/local/mysql/bin:/<Document_Root>/infer-osx-v0.9.2/infer/bin:/Users/Lee/.rvm/gems/ruby-2.0.0-p643/bin:/Users/Lee/.rvm/gems/ruby-2.0.0-p643@global/bin:/Users/Lee/.rvm/rubies/ruby-2.0.0-p643/bin:/Users/Lee/.opam/system/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/Lee/.rvm/bin:/Users/Lee/.rvm/bin:/bin:/<Document_Root>/infer/infer/lib/python
[INFO] SHELL=/bin/zsh
[INFO] PWD=/<Document_Root>/JDBApp/JDBApp
[INFO] Xcode version:
Xcode 7.3.1
Build version 7D1014
[INFO] clang version:
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[ERROR] Error during capture phase, exiting
I need your kind help. I will provide all helpful information to solve the issue.

We encountered other similar reports recently:
https://github.com/facebook/infer/issues/450
https://github.com/facebook/infer/issues/446
It has to do with compiling assembly code (somehow infer doesn't run the right thing). The problem with solving those issue is that it's hard for us to reproduce.
Would it be possible for you to share complete example that doesn't work for you?
I suspect it might be enough to put ReactNative library in ///Vendors and compile it same way you are compiling in your app.

I think I managed to reproduce and fix the issue with https://github.com/facebook/infer/commit/0817ab0ec221d97c6685e0f22f88c967b2b471df. You can follow instructions from https://github.com/facebook/infer/issues/450#issuecomment-245879215 to quickly try the fix without having to recompile infer

Thx for ur kind reply. It was fixed this issue. Thanks a lot.


NIFI-10717 fix inconsistent tests

Summary
NIFI-10717
Those two tests (testSynchronizeFlowWhenExistingMissingComponentsAreDifferent and testSynchronizeFlowWhenProposedMissingComponentsAreDifferent) in TestFlowController are flaky and may fail in certain circumstances since the ordering of missingComponenents is not consistent. To ensure the ordering, I convert the set to a sorted list and then map them to a string.
testSynchronizeFlowWhenExistingMissingComponentsAreDifferent
public void testSynchronizeFlowWhenProposedMissingComponentsAreDifferent() {

          final Set<String> missingComponents = new HashSet<>();
          missingComponents.add("1");
          missingComponents.add("2");
          final DataFlow proposedDataFlow = mock(DataFlow.class);
          when(proposedDataFlow.getMissingComponents()).thenReturn(missingComponents);

          try {
              controller.synchronize(standardFlowSynchronizer, proposedDataFlow, mock(FlowService.class), BundleUpdateStrategy.IGNORE_BUNDLE);
              Assert.fail("Should have thrown exception");
          } catch (UninheritableFlowException e) {
              assertTrue(e.getMessage().contains("Proposed flow has missing components that are not considered missing in the current flow (1,2)"));
          }
      }

testSynchronizeFlowWhenProposedMissingComponentsAreDifferent
public void testSynchronizeFlowWhenExistingMissingComponentsAreDifferent() throws IOException {
        final ProcessorNode mockProcessorNode = mock(ProcessorNode.class);
        when(mockProcessorNode.getIdentifier()).thenReturn("1");
        when(mockProcessorNode.isExtensionMissing()).thenReturn(true);

        final ControllerServiceNode mockControllerServiceNode = mock(ControllerServiceNode.class);
        when(mockControllerServiceNode.getIdentifier()).thenReturn("2");
        when(mockControllerServiceNode.isExtensionMissing()).thenReturn(true);

        final ReportingTaskNode mockReportingTaskNode = mock(ReportingTaskNode.class);
        when(mockReportingTaskNode.getIdentifier()).thenReturn("3");
        when(mockReportingTaskNode.isExtensionMissing()).thenReturn(true);

        final ProcessGroup mockRootGroup = mock(ProcessGroup.class);
        when(mockRootGroup.findAllProcessors()).thenReturn(Collections.singletonList(mockProcessorNode));

        final SnippetManager mockSnippetManager = mock(SnippetManager.class);
        when(mockSnippetManager.export()).thenReturn(new byte[0]);

        final FlowManager flowManager = mock(FlowManager.class);

        final FlowController mockFlowController = mock(FlowController.class);
        when(mockFlowController.getFlowManager()).thenReturn(flowManager);

        when(flowManager.getRootGroup()).thenReturn(mockRootGroup);
        when(flowManager.getAllControllerServices()).thenReturn(new HashSet<>(Arrays.asList(mockControllerServiceNode)));
        when(flowManager.getAllReportingTasks()).thenReturn(new HashSet<>(Arrays.asList(mockReportingTaskNode)));
        when(mockFlowController.getAuthorizer()).thenReturn(authorizer);
        when(mockFlowController.getSnippetManager()).thenReturn(mockSnippetManager);

        final DataFlow proposedDataFlow = mock(DataFlow.class);
        when(proposedDataFlow.getMissingComponents()).thenReturn(new HashSet<>());

        try {
            standardFlowSynchronizer.sync(mockFlowController, proposedDataFlow, mock(FlowService.class), BundleUpdateStrategy.IGNORE_BUNDLE);
            Assert.fail("Should have thrown exception");
        } catch (UninheritableFlowException e) {
            assertTrue(e.getMessage(), e.getMessage().contains("Current flow has missing components that are not considered missing in the proposed flow (1,2,3)"));
        }
    }

Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@ZhewenFu Instead of manually sorting the component identifiers, what about replacing HashSet with LinkedHashSet in this class? That seems like it would be a less involved change. Would that resolve the non-deterministic issue?

Thank you for the advice! I have tried to replace HashSet with LinkedHashSet in this class but it doesn't solve the issue. Since during the sync process, the missingComponents has been through several transferring. If we want to solve the issue by replacing HashSet with LinkedHashSet, we may need to do that in several classes/methods. So I use the sort here to avoid making too much change.
Let me know if you think there is a better solve to this issue :)

Thanks for the reply @ZhewenFu. The localized sorting makes sense, but it doesn't seem like the best solution given the behavior it is attempting to improve. If it is possible to put together a solution that makes the necessary changes using LinkedHashSet, that would be helpful to evaluate, even if it impacts more classes.


Switch to pyproject.toml

It's time to switch. Looking forward to some contributions.
https://drivendata.co/blog/python-packaging-2023
https://github.com/drivendataorg/nbautoexport/pull/113
https://github.com/drivendataorg/cloudpathlib/pull/324/files

Hi @prabhu, I'm well on the way to building out the toml for this. Seems to be running smoothly but I wondered what your expectation is in regards to the continued existence of setup.py and pytest.ini. I know preserving the former is sometimes necessary as the pyproject.toml spec is still evolving - but that doesn't seem to be the case here. Regarding pytest.ini, I have added a tool section to the toml, but running the tests will still default to the ini file as long as it exists.

Hi @cerrussell. Thank you so much for your help!
Can we keep those files but switch the build and release pipelines to use the toml? Very excited already here!


Import Paths fix

fixing the import paths

This change is only needed when we go get this package,


UniFFI compatibility feature

This matches the bug present in UniFFI, but is compatible with SystemTime for it. Enable the uniffi cargo feature to opt into the trait implementations.
@Sajjon would you like to test this branch for your application?

@novacrazy testing now, will report back soon!

@novacrazy Ah I think you need to disambiguate the Duration type, I tried this branch and got:
error[E0308]: mismatched types
   --> /Users/sajjon/.cargo/git/checkouts/iso8601-timestamp-87be80aa074807aa/e4549cf/src/lib.rs:166:34
    |
166 |         SystemTime::UNIX_EPOCH + ts.duration_since(Timestamp::UNIX_EPOCH)
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `std::time::Duration`, found `time::Duration`
    |

That’s strange, I wasn’t getting any kind of error like that. There is definitely an implementation to add time’s Duration to SystemTime. Everything of mine had compiled fine. I’ll double check feature flags when I get back to my PC.

I'm on an Apple Silicon (M2) mac, running Sonoma 14.2, and using nightly-2023-11-24

If I'm right, it should work now with the std feature enabled (it is by default).

Does it actually work as expected for your FFI work? I was a little unsure how uniffi works in practice, like specifying the interfaces and such.

I might have spoken too soon, now unsure, I'm in the middle of a huge refactor, will let you know once I've finalized it. Will provide be a couple of days.
But the impl looks fine to me!

@Sajjon Were you ever able to check if this worked as expected for you?

@novacrazy sorry for slow response, will report back tomorrow!!

@novacrazy sorry for slow response, will report back tomorrow!!

Do you still need this?

@novacrazy sorry for slow response, will report back tomorrow!!

Do you still need this?

Hey, once again, so sorry for slow response. No I dont need it, since how UniFFI works is in flux. Seems it is preferable to have the conversation inside of one owns repo.
Thank you for your help!


Car Rental Data Generating

Generate the following car rental data: images, car names, car types, rental companies, pricing (formula)
Note: Pickup and return locations would just be the airport

Price Surge on last minute booking (e.g. 2x for next day, up-to 1.75x for the last week)
Each city has a base price and a multiplier. The final prices will be the “multiplication of base_rate_of_city x price_multiplier x surge_price_multiplier”


Blue-Green Deployment Tutorial

We don't have a Blue-Green Tutorial for Kubernetes. We only have rolling updates.
I have the steps for a Blue-Green deployment here: https://github.com/thesandlord/container-orchestration-comparisons/tree/master/blue-green-deployment
This needs to be put into Doc format.

Cool ! good catch that was missing. thanks

@thesandlord Those docs look pretty good. Would you mind making a Pull Request to add them as a User Guide? If you're too busy I'd be glad to can create something similar. I do think it'd be a useful document to have around in the upstream docs for people to quickly find.

The doc is mostly correct, I've just added a few comments to it. I'm happy to do it if @thesandlord is too busy.

I think this example of a single-service application is too minimal to be useful to anyone. I think users would be more interested in best practices or potential approaches to namespacing service discovery between the two parallel deployments, and how to manage sticky subjects such as stateful services.

@robhaswell Disagree. I think both have their place. This information is still useful for people that are just starting. I don't think perfect should be the enemy of good. Of course if we could have both the simple case and the more advanced one that would be even better.

Question: can this be done non-interactively, ie. without the "This will open the YAML in a text editor" part?

@isavcic It probably can using kubectl patch. I haven't verified it though.

Thanks @thesandlord for document.But i have one query?
how do we check deployment health check before Flip the traffic to "Green"
Deploy "Version 1" of an application as "Blue"
Ensure "Blue" is serving traffic
Deploy "Version 2" of an application as "Green"
now before Flip the traffic to "Green", there might be the case the deployment health check is failing due to some issue in application .
let say i have following health check defined and due to wrong commit, application is failing to launch.
livenessProbe:{
httpGet:{
path:'/buildInfo',
port: 8080
},
initialDelaySeconds:45,
timeoutSeconds:10
}
So i want to check if health check is passing for new version before Flip the traffic to "Green, other wise service will start pointing to failed version and will have downtime.
the main issue there is no way to get health check as soon as we do deployment. i tried to fetch pods status after the deployment, kubernetes is throwing error only after quite log time and during that time the result is aways showing "pods are running".
the only workaround is i need to put some wait time in our workflow and make sure all pods with new version running fine before Flip the traffic to "Green".
Do you have any other suggestion here?
Also is there official document about how to get  Blue-Green Deployment.?
i am looking some suggestion, how to achieve below workflow:

Deploy "Version 1" of an application as "Blue"
Check health check for Version 1 deployment
if health check pass Flip the traffic to "Blue" is serving traffic
Deploy "Version 2" of an application as "Green"
Ensure "Blue" is still serving traffic
Check health check for Version 2 deployment
if health check pass for Version 2 Flip the traffic to "Green" (no client side changes allowed)
Ensure "Green" is serving traffic and "Blue" is idle
Delete Version 1 deployment related resource (RC,PODS etc...)

Upd!


Add 007 ueransim test.

Simple test:

deploy ueransim in ueransim ns
wait till it's in a ready state, e.g. pods are running
find a pod in ns ueransim with labels -l app=ueransim -l component=ue.
exec ping -I uesimtun0 google.com in a pod found in 3). That fails if uesimtun0 doesn't exist, e.g. session setup failed, or if there is no reachability, e.g. so problem with UPF.

/approve
/lgtm


[Feature Request] Marking whether ImgFrames are Keyframes from H264/H265 Video Encoders

I want to be able to check a field in ImgFrame that came from a video encoder to see whether or not it is a keyframe. For h264/h265, that is dependent on whether it is actually a keyframe or not. For MJPEG, every frame is technically a keyframe, so it could always be true in that case. I just have a use-case where I need to be able to tell whether or not I have a keyframe dynamically.

My workaround for now is checking if sequence number % keyframe_rate == 0 is true. This seems to work pretty well, but not ideal for my use-case.

Thanks.  I'm not sure whether this is easy to support or not.  Will ask.


actions: add macOS playbook tester

linked to https://github.com/AdoptOpenJDK/openjdk-infrastructure/issues/1638

Had a look at the macOS 10.15 check - it appears to be skipping the adoptopenjdk_install roles, despite the additions you've made. Also, as far as I can see, macOS isn't able to get a JDK7 for bootstrapping JDK8?

@Willsparker agreed, we need a jdk7 bootjdk. We can probably create a separate PR for that. The adoptopenjdk_install role is skipped because AdoptOpenJDK is already preinstalled in the environment. I could try and uninstall them from the environment but not sure if it's worth the effort?
https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md#java


How get STPPaymentContext  attributes  in Controllers

How get STPPaymentContext  attributes  in Controllers , i would like to get "customerContext.customer.stripeID"

Please note that this issue tracker is for bugs or issues directly related to this project, and not for general support. Please feel free to reach out to https://support.stripe.com/email and we would be glad to help further!


Jpd database

As requested here are the changes I made

great.
Am looking in to it.

Yeah got it now.
Whats remaining is positioning the interface.
Meanwhile i think i have figured how a backend will be called.


[Midnight] Improvements

I've made a couple of aesthetic changes to Midnight that i personally think greatly improves the theme. You can find it here
Here's a list of the differences:

Title says Discord and not Midnight
Removed the stupid "Thank you for using Midnight" message
Your username and usertag in the user panel is centered
Activity title is further away from activity icon
Your email adress isn't blurred
Account panel background is transparent
Account panel buttons aren't actual buttons
Message input box background is transparent.

It's, of course, ok if you disapprove of these changes as it is a separate repository and I can just continue on it myself. But I just thought that you would maybe at least be a little bit interested in these improvements and would take some inspiration.

I will take consideration these, however many are intentional. It's perfectly fine to maintain a fork in a seperate repo though.


Added index.js

Added this index.js for issue #28

Refrain from opening multiple pull requests for the same snippet.

Please delete the spam level. Otherwise I will never be participated in Hacktoberfest. Please @avincodes .

Refrain from opening multiple pull requests for the same snippet.

I am sorry for this. Please help me and please delete the spam level

Can you please remove the duplicate lebels?


Fix for TORQUE-615

This pull request contains a fix for TORQUE-615, as well as an accompanying integration test.
NOTE: This fix required a change the to_s behavior for both File and Pathname; the string returned will not include a VFS prefix, even for VFS file/pathnames. This was necessary due to the manner in which sprockets and hike were interrogating pathnames and files in other to determine whether they were relative or absolute.

Pulled into master.


Makefile: Fix Make.dep not updated by config changes

Summary
Make.dep file should be updated by .config changed after first make.
There are 2 cases affected for this problem:

Add source files by config symbol
Include header files in #ifdef directive

These 2 cases may not be included in Make.dep and this may prevent the
differential build from working correctly.
Impact
Build system
Testing
Change configuration and check that Make.dep files are updated

I agree with the idea, in fact, it is always problematic to realize a build failure is due to out-of-date Make.dep files. I personally I'm sued to deleting Make.dep/.depend files whenever I add new sources files (not so problematic because you know what you're doing) or I change configuration and something does not work right (this is the difficult case, since it becomes trial and error).
However, I'm not so sure that simply recreating dependencies whenever .config changes is the best idea as the dependency generation is REALLY slow. I tried to see why it is so slow and could not find a way to improve it. Again, I agree with the change but I wouldn't like if it add so much overhead after every configuration change.

However, I'm not so sure that simply recreating dependencies whenever .config changes is the best idea as the dependency generation is REALLY slow. I tried to see why it is so slow and could not find a way to improve it. Again, I agree with the change but I wouldn't like if it add so much overhead after every configuration change.

There is a way to make the dependency generation faster in some cases.  The Make.dep file has to be recreated when any .c file modified.  Since the Make.dep creation recreates the dependencies for all .c files, that takes a long time.
An alternative is to keep all of the dependencies in separate .d files in a sub-directory.  Then when a .c file changes, only one .d file needs to be recreated.
I have not looked at Linux in a long time but I believe that they implemented a lot of tricks to keep from rebuilding everything.  I think they did things like:

Put the inclusion of config.h on the gcc command line rather than in the C code (that, of course, is not portable to other compilers so we should not consider it).
I recall that Linux breaks config.h in many separate, small header files in sub-directories.  I am not sure how this helps the rebuild time.

Looking at how Linux has optimized the use of .config files might be worth the time.

It would be interesting to improve mkdep speed considering what Linux or other similar projects do. I think that one of the issues that contribute to longer build times than necessary is that, as you mention, there is one config.h which is included everywhere and most likely only a small subset of files actually depend on the values that changed. I don't know what would be the way to improve it. Splitting the config.h could be one what it also sounds very difficult to work with. Maybe someone with knowledge of Linux build internals can shed some light.
Anyways, I'm concerned that with this change modifying the config will always be so slow because it will force regenerating everything, so any strategy of the ones mentioned would not help.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.8 to before v5.16.9",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=35c55c9877f8de0ab129fa1a309271d0ecc868b9",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=59ff7514f8c56f166aadca49bcecfa028e0ad50f"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "35c55c9877f8de0ab129fa1a309271d0ecc868b9",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "59ff7514f8c56f166aadca49bcecfa028e0ad50f",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "tipc: improve size validations for received domain records\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.9 by commit 59ff7514f8c56f166aadca49bcecfa028e0ad50f, it was introduced in version v4.8 by commit 35c55c9877f8de0ab129fa1a309271d0ecc868b9. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000684


Changes in docker compose file not applied to all environment overrides

Short issue description
Running through the Getting Started tutorial and updating the docker-compose.yaml to include the MySQL DB service and associated volume, I expected to see corresponding changes to the all compose override files (local and stage as per the tutorial) and generated k8s files after running kev render. The render step only updated the dev override + k8s files, and not local and stage - these overrides were missing service details for the DB, and StatefulSet/PersistentVolumeClaim files for k8s.
Kev version:
OS (Linux/Mac/Windows..): Mac OS 11.4
Docker Compose version:1.29.2
Kubernetes version: 1.21
Kubernetes distribution (e.g. GKE, EKS, ...): Docker Desktop
How can we reproduce the issue?

Run through the tutorial up to adding the DB service, and make the required MySQL/volume changes to docker-compose.yaml
Run kev render
Check reconciled compose override files and generated k8s files - only the dev overrides are initially updated
Running kev render again will reconcile local, but leave stage
Running kev render a final time will reconcile stage

Suggestions on how to fix the issue (OPTIONAL)

Thanks for the heads @chriswalker!


Support IPv6 format but also prefer IPv4 addresses

See PR #30

Update: the solution proposed by @tssva has been merged into the master branch. Thanks everyone


Latest version (5.0.0) doesn't compatible with IntelliJ IDEA 2024.2

Plugin 'Shell Filter' (version '5.0.0') is not compatible with the current version of the IDE, because it requires build 241.* or older but the current build is IU-242.20224.300

Thanks for reporting. Version 5.0.1 supports 2024.2 now.


Pivot Table  Field alias display problem

Pivot Table  Field alias display problem
Expected results
Both field aliases will display correctly
Actual results
The second one hasn't changed
Screenshots

How to reproduce the bug

Go to '...'
Click on '....'
Scroll down to '....'
See error

Environment
(please complete the following information):

superset version:master
python version: 3.6.7
node.js version: node -v v11.1.0
npm version: npm -v 6.5.0

Checklist
Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

We have the same problem. Only the header of the first GroupBy column displays Alias correctly. The remaining Group By column headers display the internal name of the columns (ignoring defined alias).
Superset Version: 0.28.1

We have the same problem. Only the header of the first GroupBy column displays Alias correctly. The remaining Group By column headers display the internal name of the columns (ignoring defined alias).
Superset Version: 0.28.1
Same as #5616

I solved the problem temporarily by replacing it,
Is there a better way?

@wushenchao what did you replaced? the chart? or the table?
TThis issue affects all of my pivot tables.

This issue affects all of my pivot tables.

I replace with the df_html data in viz.py PivotTableViz,
the code:
group_bys = self.form_data.get('groupby')
if group_bys and len(group_bys) > 1:
for col in group_bys:
for column in self.datasource.columns:
verbose_name = column.verbose_name
if column.column_name == col and verbose_name:
df_html = df_html.replace('{}'.format(col), '{}'.format(verbose_name), 1)
return dict(
columns=list(df.columns),
html=df_html,
)

@wushenchao Thanks! I am going to test it.


docs: misc issues and improvements

More improvements are required on the docs to better support the new surface

The published docs have duplicate entries for magic methods. For example: https://cloud.google.com/php/docs/reference/cloud-automl/latest/V1.Client.AutoMlClient

new and previous clients aren't ordered predictably (e.g. they should be new and then previous, or vise versa, consistently - see AutoML TOC)

we still don't include the namespaces, and this is even more important with the new clients (tracked in https://github.com/googleapis/doc-pipeline/issues/478)

there are no samples for the new clients - we should include these with the @example annotation when we can!

the new clients, which are in beta, are not labeled as such

the __call method shows up in the docs, and we don't want it to

We should include information in the top of GAPIC clients regarding the migration status to help users on libraries which contain both surfaces

Here's an idea for how we could ptentially support namespaces

Confirmed these have all been fixed and published.


gitlab: 12.8.2 -> 12.8.5

Motivation for this change
Update GitLab to the latest patch release. See https://about.gitlab.com/releases/2020/03/09/gitlab-12-8-5-released/ for more info.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Whoops, never mind, I missed #82142.


installing kicost

Hi All,
When i run a command "$ easy_install kicost" or 'pip install kicost' to  install kicost it shows syntax error in command line.
I am very new to python. So some one guide me in solving this problem.
Regards,
Arun

Hi, Arun. Did you solve this problem. If not, what error message did you receive?

Hi,
Issue Solved. Thanks for the reply.
"easy install" didn't worked out, but PIP command worked.
May be the Kicost directory should be changed i think,whereas pip is downloading and installing.
So it worked i think.


Missing break in switch statement at parser.ts line 184

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
I encountered a TypeScript error (TS7029: Fallthrough case in switch) while working with the OpenAI Node.js client. The error is due to a missing break statement in the switch method at parser.ts line 184. Specifically, the case for 'number' does not have a break, causing a fallthrough to subsequent cases.
To Reproduce

Install library<EMAIL_ADDRESS>Use typescript: v5.5.4
Run project

Code snippets
No response
OS
macOS
Node version
Node v20.11.1
Library version
openai v4.60.0

/* To learn more about this file see: https://angular.io/config/tsconfig. */ {
  "compileOnSave": false,
  "compilerOptions": {
    "esModuleInterop": true,
    "skipLibCheck": true,
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "noImplicitOverride": true,
    "noPropertyAccessFromIndexSignature": false,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "ES2022",
    "module": "ES2022",
    "useDefineForClassFields": false,
    "lib": [
      "ES2022",
      "dom"
    ],
    "paths": {
      "@src/*": [
        "./src/*"
      ],
      "@environments/*": [
        "./src/environments/*"
      ],
      "@assets/*": [
        "./src/assets/*"
      ]
    },
    "plugins": [
      {
        "transform": "typia/lib/transform"
      }
    ],
    "strictNullChecks": true
  },
  "angularCompilerOptions": {
    "enableI18nLegacyMessageIdFormat": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "strictTemplates": true
  }
}

Thanks @Karbashevskyi! I can't reproduce the error you were seeing but we drastically changed how the partial json parser works in v4.61.0, please try it out and let me know if it's fixed now!

@RobertCraigie this issue is not present in 4.61.0, I tried to run the project again with the 4.60.0 package to make sure it was only a problem with this version and it was indeed.
Looks like you can close this issue.
Thanks!


BugBashPro: An empty comment added when an item is accepted

No repro. It may be that the template had an empty string for history field


KAFKA-14691; [1/N] Add new fields to OffsetFetchRequest and OffsetFetchResponse

This is part 1 of KAFKA-14691. I change the JSON files which are used to generate the POJOs used during requests and responses.

Since this is still under development, can we set the flag to indicate the latest version is unstable?

I have a few comments/questions:

I am not really comfortable with merging this without the server side implementation. @clolov Is there a strong reason to not do them together?
I agree with @Hangleton that it may be better to start with adding the TopicId only. This is complicated enough on its own. We can the other fields afterwards.
I agree with @jolshan that we should set "latestVersionUnstable": true while in development.

I have a few comments/questions:
1. I am not really comfortable with merging this without the server side implementation. @clolov Is there a strong reason to not do them together?

2. I agree with @Hangleton that it may be better to start with adding the TopicId only. This is complicated enough on its own. We can the other fields afterwards.

3. I agree with @jolshan that we should set `"latestVersionUnstable": true` while in development.

I will accommodate 2 and 3 in subsequent commits. There was no reason for 1 other than splitting the pull request into nicer to review chunks. I am happy with trying to put Request/Respone changes + server side changes + tests in the same pull request similar to https://github.com/apache/kafka/pull/13240.
Thank you all for the reviews!

Closing this PR for now as the topic id work will be done later. We can re-open it when we resume the work.


ROX-25721: Ensure that central is deployed correctly via helm command

Description
WIP, testing
User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change

/test all

/test gke-qa-e2e-tests
/test ocp-4-12-qa-e2e-tests
/test gke-version-compatibility-tests

/retest


Constantly getting this error log

Traceback (most recent call last):
File "", line 7, in
File "c:\program files (x86)\python27\lib\site-packages\PyInstaller-3.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "ice\runners\command_line_runner.py", line 12, in
File "c:\program files (x86)\python27\lib\site-packages\PyInstaller-3.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "ice\runners\ice_engine.py", line 14, in
File "c:\program files (x86)\python27\lib\site-packages\PyInstaller-3.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "ice\backups.py", line 10, in
File "c:\program files (x86)\python27\lib\site-packages\PyInstaller-3.1-py2.7.egg\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
File "ice\logs.py", line 66, in
File "ice\logs.py", line 53, in create_logger
File "logging\handlers.py", line 117, in init
File "logging\handlers.py", line 64, in init
File "logging_init_.py", line 903, in init
File "logging_init_.py", line 926, in _open
IOError: [Errno 2] No such file or directory: u'C:\Users\Usuario\AppData\Local\Scott Rice\Ice\ice.log'
I don't even know why does it ask that directory, as i've double checked to replace all the config file directories with my own. Any help?

Scott has commited a fix to this to the source code, however it appears to not have made it to the release that's for download.
But there is a fix, navigate to your C:\Users<user name>\AppData\Local and create a folder called "Scott Rice" then inside of that create another directory and name it "Ice". That will fix it.

Works fine. Thanks