[Bug]: FFMPEG Process timed out error

What happened?
Everything has worked fine for over a year.  Today, suddenly no snapshot is being created.  When I view the log, I see:
[EufySecurity-2.2.21]   WARN    [SnapshotManager.ts:283]        Doorbell ffmpeg process timed out.
Device Type
Doorbell (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
v1.6.x (Supported)
NodeJS Version
v18 (Supported)
Operating System
Windows 10+ (UnSupported)
Relevant log output
[02/27/2024 10:59:51]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:226]       Push Connected!
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:347]       HomeBase 2 pre-caching complete
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:512]       HomeBase 2 UUID: be8e4df2-14b6-487d-b324-6aee8d255af5
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Manufacturer (00000020-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Name (00000023-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Model (00000021-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Serial Number (00000030-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Firmware Revision (00000052-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Hardware Revision (00000053-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:90]   HomeBase 2 Property Keys: name, model, serialNumber, type, hardwareVersion, softwareVersion, macAddress, timeFormat, alarmVolume, alarm, alarmType, alarmArmed, alarmArmDelay, alarmDelay, alarmDelayType, alarmTone, lanIpAddress, promptVolume, notificationStartAlarmDelay, guardMode, sdStatus, notificationSwitchModeSchedule, notificationSwitchModeGeofence, notificationSwitchModeApp, notificationSwitchModeKeypad, sdCapacity, sdCapacityAvailable, currentMode
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:45]        HomeBase 2 Constructed Station
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:159]       HomeBase 2 Config: undefined
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:179]       HomeBase 2
    manual alarm will be triggered only in these hk modes:

[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:266]       HomeBase 2 Mapping for station modes: [{"hk":0,"eufy":1},{"hk":1,"eufy":0},{"hk":2,"eufy":3},{"hk":3,"eufy":63}]
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'SecuritySystem (0000007E-0000-1000-8000-0026BB765291) / Security System Current State (00000066-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  HomeBase 2 ON 'SecuritySystem / SecuritySystemCurrentState'
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'SecuritySystem (0000007E-0000-1000-8000-0026BB765291) / Security System Target State (00000067-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  HomeBase 2 ON 'SecuritySystem / SecuritySystemTargetState'
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  HomeBase 2 REGISTER CHARACTERISTIC 'Switch (00000049-0000-1000-8000-0026BB765291) / On (00000025-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:54]   [EufySecurity-2.2.21]   INFO    [platform.ts:613]       Updating existing accessory: HomeBase 2
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:378]       Doorbell pre-caching complete
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [platform.ts:512]       Doorbell UUID: ddcb88c5-dede-4aab-b339-235c94eb186e
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Manufacturer (00000020-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Name (00000023-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Model (00000021-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Serial Number (00000030-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Firmware Revision (00000052-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'AccessoryInformation (0000003E-0000-1000-8000-0026BB765291) / Hardware Revision (00000053-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:90]   Doorbell Property Keys: motionDetected, personDetected, personName, ringing, name, model, serialNumber, type, hardwareVersion, softwareVersion, stationSerialNumber, lastChargingDays, lastChargingFalseEvents, lastChargingRecordedEvents, lastChargingTotalEvents, batteryUsageLastWeek, picture, recordingClipLength, recordingRetriggerInterval, recordingEndClipMotionStops, motionDetectionSensitivityStandard, motionDetectionSensitivityAdvancedA, motionDetectionSensitivityAdvancedB, motionDetectionSensitivityAdvancedC, motionDetectionSensitivityAdvancedD, motionDetectionSensitivityAdvancedE, motionDetectionSensitivityAdvancedF, motionDetectionSensitivityAdvancedG, motionDetectionSensitivityAdvancedH, loiteringDetectionLength, loiteringDetectionRange, loiteringCustomResponseAutoVoiceResponseVoice, loiteringCustomResponseTimeFrom, loiteringCustomResponseTimeTo, deliveryGuardPackageGuardingActivatedTimeFrom, deliveryGuardPackageGuardingActivatedTimeTo, deliveryGuardPackageGuardingVoiceResponseVoice, deliveryGuardUncollectedPackageAlertTimeToCheck, dualCamWatchViewMode, ringAutoResponseVoiceResponseVoice, ringAutoResponseTimeFrom, ringAutoResponseTimeTo, radarMotionDetected, snoozeTime, snoozeStartTime, snoozeHomebase, snoozeStartChime, snoozeMotion, wifiRssi, wifiSignalLevel, videoWdr, chimeHomebaseRingtoneVolume, watermark, chimeHomebase, powerWorkingMode, audioRecording, autoNightvision, statusLed, notificationType, notificationRing, notificationMotion, motionDetectionSensitivityMode, battery, motionDetectionType, deliveryGuardUncollectedPackageAlert, chimeIndoor, videoStreamingQuality, chimeHomebaseRingtoneType, state, chargingStatus, deliveryGuardPackageLiveCheckAssistance, batteryTemperature, ringtoneVolume, notificationRadarDetector, enabled, speakerVolume, motionDetection, loiteringDetection, loiteringCustomResponsePhoneNotification, loiteringCustomResponseAutoVoiceResponse, loiteringCustomResponseHomeBaseNotification
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:50] Doorbell Constructed Camera
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:54] Doorbell config is: {"serialNumber":"T8213P1122190AEF","rtsp":false,"enableCamera":true,"useCachedLocalLivestream":false,"videoConfig":{"audio":true,"audioSampleRate":0},"talkback":true,"snapshotHandlingMethod":3,"refreshSnapshotIntervalMinutes":10,"unbridge":true,"immediateRingNotificationWithoutSnapshot":true,"name":"Doorbell","enableButton":true,"motionButton":true,"forcerefreshsnap":false,"delayCameraSnapshot":false}
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:57] Doorbell has a camera
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Event Snapshots Active (00000223-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / HomeKit Camera Active (0000021B-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'MotionSensor (00000085-0000-1000-8000-0026BB765291) / Motion Detected (00000022-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  Doorbell ON 'MotionSensor / MotionDetected'
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Manually Disabled (00000227-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Camera Operating Mode Indicator (0000021D-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'CameraOperatingMode (0000021A-0000-1000-8000-0026BB765291) / Night Vision (0000011B-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Doorbell (00000121-0000-1000-8000-0026BB765291) / Programmable Switch Event (00000073-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:175]  Doorbell ON 'Doorbell / ProgrammableSwitchEvent'
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:97] Doorbell Setting up automatic snapshot refresh every 10 minutes. This may decrease battery life dramatically. The refresh process for Doorbell should begin in 1 minutes.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:114]        Doorbell is set to handle snapshots with cloud images. Snapshots might be older than they appear.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:122]        Doorbell Empty snapshot will be sent on ring events immediately to speed up homekit notifications.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [streamingDelegate.ts:137]      Doorbell Audio sample rate set to 16 kHz.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell IndoorChime config: undefined
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:99] Doorbell Looks like not compatible with chimeIndoor or this has been disabled within configuration
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Battery (00000096-0000-1000-8000-0026BB765291) / Battery Level (00000068-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell Enabled config: true
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:95] Doorbell has a enabled, so append switchEnabled characteristic to it.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Switch (00000049-0000-1000-8000-0026BB765291) / On (00000025-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell Motion config: true
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:95] Doorbell has a motionDetection, so append switchMotion characteristic to it.
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:134]  Doorbell REGISTER CHARACTERISTIC 'Switch (00000049-0000-1000-8000-0026BB765291) / On (00000025-0000-1000-8000-0026BB765291)
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell Light config: true
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:99] Doorbell Looks like not compatible with light or this has been disabled within configuration
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:236]  Doorbell Pruning unused service 00000112-0000-1000-8000-0026BB765291 null
[02/27/2024 10:59:56]   [EufySecurity-2.2.21]   INFO    [platform.ts:617]       Unregistering unbridged accessory: Doorbell
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Manufacturer': Eufy
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Model': STATION
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / Name': HomeBase 2
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / SerialNumber': T8010P1322183FC3
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / FirmwareRevision': <IP_ADDRESS>h
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / HardwareRevision': P0
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemCurrentState': 0
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       HomeBase 2 GET StationCurrentMode: 1
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'SecuritySystem / SecuritySystemTargetState': 0
[02/27/2024 10:59:58]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'Switch / On': false
[02/27/2024 10:59:59]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  HomeBase 2 GET 'AccessoryInformation / FirmwareRevision': <IP_ADDRESS>h
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:282]        Doorbell Automatic snapshot refresh triggered.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:320]        Doorbell Locked refresh process.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:321]        Doorbell Fetching new snapshot from camera.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [utils.ts:8]    Doorbell RTSP rtspStream:false
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [utils.ts:10]   Doorbell Looks like not compatible with RTSP
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:214] Doorbell New instance requests livestream. There were 0 instance(s) using the livestream until now.
[02/27/2024 11:00:56]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:233] Doorbell Start new station livestream (P2P Session)...
[02/27/2024 11:01:01]   [EufySecurity-2.2.21]   INFO    [LocalLivestreamManager.ts:354] HomeBase 2 station livestream (P2P session) for Doorbell has started.
[02/27/2024 11:01:01]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:358] Doorbell Stream metadata: {"videoCodec":1,"videoFPS":15,"videoHeight":1920,"videoWidth":2560,"audioCodec":1}
[02/27/2024 11:01:01]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:256] Doorbell New livestream started. Proxy stream has id: 1.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:47]  Audiostream was stopped after transmission of 0 data chunks.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:109] Videostream was stopped after transmission of 243 data chunks.
[02/27/2024 11:01:16]   [EufySecurity-2.2.21]   DEBUG   [LocalLivestreamManager.ts:407] Doorbell One stream instance (id: 1) released livestream.

I spoke too soon.  It worked for a few minutes and then started throwing the error/warning again.

I'm really not sure what's going on.  I've spent quite a few hours over the past couple of days trying everything I can think of.  I've tried many different versions of Node.js, many different versions of this plugin, every combination of plugin settings, I've even restored to an older backup from a time when I know the doorbell camera was working.  But nothing has worked reliably.  Occasionally I can get the live stream to play in the Home app, but 95% of the time, it won't start and no snapshot is taken either.
Besides the "ffmpeg timed out" warning, I sometimes see this error "No camera source detected."
Please help with this issue.  Thanks.

Here is a log file with snapshot mode set to Cloud.  In this mode, I get the "ffmpeg timed out" message.  When I change the snapshot mode to Balance, I get the "No camera source detected" message.
homebridge.log.txt

A bit more info...I've disabled the snapshot feature temporarily and now the live feed seems to work 100% of the time.  It seems like the plugin is just having trouble starting the camera to grab a snapshot.


Support for environment variables and --no-prompt

@dtjohnson - Please consider merging this PR. @lingrlongr and I worked together to implement the functionality I was requesting in #29

Thanks for the PR! Will definitely take a look when I get a chance.
On Mon, May 7, 2018, 7:55 AM lingrlongr<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/dtjohnson/aws-azure-login/pull/32
Commit Summary

Inspect environment variables for values
Added --no-prompt functionality
Update README

File Changes

M README.md
https://github.com/dtjohnson/aws-azure-login/pull/32/files#diff-0
(25)
M bin/index.js
https://github.com/dtjohnson/aws-azure-login/pull/32/files#diff-1
(4)
M lib/login.js
https://github.com/dtjohnson/aws-azure-login/pull/32/files#diff-2
(155)

Patch Links:

https://github.com/dtjohnson/aws-azure-login/pull/32.patch
https://github.com/dtjohnson/aws-azure-login/pull/32.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/aws-azure-login/pull/32, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANWk8Shysqe_BKrBRmQRVWraNdrqiyjks5twDYkgaJpZM4T02Ua
.

Published in v1.5.0


Fix home page styles

Fix #790

Current coverage is 58.82% (diff: 100%)

Merging #823 into master will decrease coverage by 0.01%

@@             master       #823   diff @@
==========================================
  Files           111        111
  Lines          5861       5861
  Methods           0          0
  Messages          0          0
  Branches        718        718
==========================================
- Hits           3449       3448     -1
  Misses         2273       2273
- Partials        139        140     +1

Powered by Codecov. Last update 2956dfc...a7223b0

Looks good, only thing that looks different from the design is that price band was all-caps on the design

@benekex2 Looks good, but cart counter is not refreshing the number after adding something to cart.


Document method contributors

Method
Who contributed to it?

affinity diagram

design brief

design values

experience attributes

feedback session

human spectrogram

hypothesis

interface inventory

interviews

journey maps

mood boards

personas

sitemap

style guide

style tiles

usability test

visual design workshop

@pamela-drouin @susanjrobertson do you think that you can help me with this one? It should be quick.

Oooh, @iamjessklein I'm not sure I know any of those, I did the style guide one, but I don't know exactly who did the other ones, sorry.


helm upgrade --delta - keep everything and add only the delta

Hello, I'm trying to create a new deployment with a metadata.name=app-2 to run alongside with the current revision's deployment (metadata.name=app-1), by creating a new revision to my release. I want to use the same templates, but different values:

I have tried to make an upgrade while setting a new name for the deployment, but I notice it is still deleting the old one.
# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: {{ .Chart.Name }}-{{ .Values.version }}
  namespace: {{ .Chart.Name }}
  labels:
    app: {{ .Chart.Name }}
    version: {{ quote .Values.version }}

The goal for this experiment is to create a mechanism for blue/green deployment strategy, I want to keep both versions of the deployment running and then redirect the traffic when every pods are health, but I'm struggling to do that using helm. There is no such manner to make this happen? Can I keep old resources and only add the Delta?

I don't have a quick answer for this but I do have something thoughts that might help.
First, Helm is a package manager. So, think about how you might do something like this with apt and debian. Then apply a similar model to Helm and Kubernetes. The relation is package manager to platform. Just trying to level set on mental models.
If you search for Helm and blue/green there are those who have written about how they do it. I've not tried those so I'm hesitant to point you to any one method but people have blogged about doing it.

Hi @mattfarina , thanks for your answer! So, I may have confused some concepts, but after digging a little bit more, now I got that Helm will always make sure the resources deployed to the cluster are exactly the same as described in the generated manifest files.
But I still think that sometime, some people will need to just append some resource on a new revision, for example, I will make an analogy:
I have installed python 3.6 in my machine, and now I want python 3.7 too, but I don't want the package manager to uninstall my python 3.6 when I run apt-get install python3.7, I want both versions installed in parallel.
So, its maybe be interesting to map for the future, an option that I will be able to say to Helm: "Keep everything you have in the cluster, just add this specific resource." =)

As @mattfarina pointed out, this isn't really what Helm is designed to do. Helm installs discrete packages, just like apt, RPM, homebrew, etc. Unless I am misunderstanding, it sounds like you want a way to attach fragments of YAML to existing releases (not charts), which is outside of the scope of a package manager, whose unit of work is the chart.


Add documentation for the GraphQL API

GraphQL Auto-Documentation Explorers exist (GraphiQL)
GraphiQL  is an in-browser Integrated Development Environment (IDE) for exploring GraphQL. This makes interacting with your GraphQL much more streamlined and easy to navigate. It also makes programming in GraphQL easier thanks to a detailed GUI.
GraphiQL features a window that shows all of the possible queries, fields, mutations, types, and if they’re required. GraphiQL also stays synced with GraphQL, removing any depreciated fields and types from the documentation. You won’t have to worry about writing defunct code, so everything you script is going to work.


Improve clone command

This PR is for issue #106.
As for now, we can simply use clone 1 p/91234567<EMAIL_ADDRESS>to add a new person with all details of the 1st person except the phone number and email will be updated to 91234567 and<EMAIL_ADDRESS>respectively.
Other than that, I added in test classes for cloneCommand and CloneCommandParser and updated the User guide for clone command. Thanks to @KeithPJX's feedback, I also modified the MESSAGE_USAGE in clone command slightly.
Welcome any new suggestions and feedback if you have, Thanks!

Codecov Report
Base: 68.12% // Head: 70.27% // Increases project coverage by +2.14% :tada:

Coverage data is based on head (96e7bf7) compared to base (95f4ea0).
Patch coverage: 84.95% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #124      +/-   ##
============================================
+ Coverage     68.12%   70.27%   +2.14%
- Complexity      514      533      +19
============================================
  Files            84       84
  Lines          1732     1827      +95
  Branches        208      237      +29
============================================
+ Hits           1180     1284     +104
+ Misses          463      442      -21
- Partials         89      101      +12

Impacted Files
Coverage Δ

...seedu/address/logic/parser/CloneCommandParser.java
72.50% <68.57%> (-27.50%)
:arrow_down:

...ava/seedu/address/logic/commands/CloneCommand.java
92.63% <92.30%> (+72.04%)
:arrow_up:

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

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


php5.6+mysql5.7+apache2.4 it always fails to install

I was based on the wamp environment is always wrong, one is prompted 'settings' table does not exist, the second is to manually create a 'settings' table, the installation of the page without content, view the database, which on the five tables, take the trouble to ask you to install Success is what version of the use, I tried ph7cms 4.0 and 5.0 and the latest 6.0 is not a success, oh, I really crazy, I hope someone can give a successful environment version, thanks!

Try to run the following (in a new database) in your mysql prompt and see if you have an error.
CREATE TABLE IF NOT EXISTS pH7_Settings (
  `name` varchar(64) NOT NULL,
  value varchar(150) DEFAULT '',
  `desc` varchar(120) DEFAULT '' COMMENT 'Informative desc about the setting',
  `group` varchar(12) NOT NULL,
  PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO pH7_Settings (`name`, value, `desc`, `group`) VALUES
('siteName', 'My Social Dating App', '', 'general'),
('adminEmail', @sAdminEmail, '', 'email'),
('defaultLanguage', 'en_US', '', 'language'),
('defaultTemplate', 'base', '', 'design'),
('defaultSysModule', 'user', 'The default module running by default on the index page. Recommended to keep the "user" module', 'general'),
('emailName', 'pH7CMS', '', 'email'),
('feedbackEmail', @sFeedbackEmail, '', 'email'),
('splashPage', 1, 'Use Splash Page | enable = 1 or disable = 0', 'homepage'),
('usersBlock', 1, '0 to disable or 1 to enable the profile photos on the homepage', 'homepage'),
('bgSplashVideo', 1, '0 to disable or 1 to enable the background splash video', 'homepage'),
('numberProfileSplashPage', 44, 'Number of profiles to display on the splash homepage', 'homepage'),
('fullAjaxSite', 0, 'enable = 1 or disable = 0', 'general'),
('ipLogin', '', '', 'security'),
('timeDelayUserRegistration', 1440, '1440 minutes = 24 hours (in minutes!)', 'spam'),
('timeDelayAffRegistration', 2880, '2880 minutes = 2 days (in minutes!)', 'spam'),
('timeDelaySendNote', 20, 'Waiting time to add a new note post, in minutes!', 'spam'),
('timeDelaySendMail', 3, 'Waiting time to send a new message, in minutes!', 'spam'),
('timeDelaySendComment', 5, 'Waiting time to send a new comment, in minutes!', 'spam'),
('timeDelaySendForumTopic', 5, 'Waiting time to send a new topic in the forum, in minutes!', 'spam'),
('timeDelaySendForumMsg', 10, 'Waiting time to send a reply message in the same topic, in minutes!', 'spam'),
('isCaptchaUserSignup', 0, '0 for disable or 1 for enable', 'spam'),
('isCaptchaAffiliateSignup', 0, '0 for disable or 1 for enable', 'spam'),
('isCaptchaMail', 0, '0 for disable or 1 for enable', 'spam'),
('isCaptchaComment', 0, '0 for disable or 1 for enable', 'spam'),
('isCaptchaForum', 0, '0 for disable or 1 for enable', 'spam'),
('isCaptchaNote', 0, '0 for disable or 1 for enable', 'spam'),
('mailType', 'mail', '', 'email'),
('mapType', 'roadmap', 'Choose between: ''roadmap'', ''hybrid'', ''terrain'', ''satellite''', 'map'),
('maxAgeRegistration', 99, '', 'registration'),
('minAgeRegistration', 18, '', 'registration'),
('minUsernameLength', 3, '', 'registration'),
('maxUsernameLength', 30, '', 'registration'),
('requireRegistrationAvatar', 0, '', 'registration'),
('userActivationType', 1, '1 = no activation, 2 = email activation, 3 = Manual activation by the administrator', 'registration'),
('affActivationType', 1, '1 = no activation, 2 = email activation, 3 = Manual activation by the administrator', 'registration'),
('defaultMembershipGroupId', 2, 'Default Membership Group', 'registration'),
('minPasswordLength', 6, '', 'security'),
('maxPasswordLength', 60, '', 'security'),
('isUserLoginAttempt', 1, 'Enable blocking connection attempts abusive. Enable = 1 or disable = 0', 'security'),
('isAdminLoginAttempt', 1, 'Enable blocking connection attempts abusive. Enable = 1 or disable = 0', 'security'),
('isAffiliateLoginAttempt', 1, 'Enable blocking connection attempts abusive. Enable = 1 or disable = 0', 'security'),
('maxUserLoginAttempts', 30, 'Maximum login attempts before blocking', 'security'),
('maxAffiliateLoginAttempts', 20, 'Maximum login attempts before blocking', 'security'),
('maxAdminLoginAttempts', 10, 'Maximum login attempts before blocking', 'security'),
('loginUserAttemptTime', 60, 'Time before a new connection attempt, in minutes!', 'security'),
('loginAffiliateAttemptTime', 60, 'Time before a new connection attempt, in minutes!', 'security'),
('loginAdminAttemptTime', 120, 'Time before a new connection attempt, in minutes!', 'security'),
('avatarManualApproval', 0, '0 to disable or 1 to enable ', 'moderation'),
('bgProfileManualApproval', 0, 'Background Profile Manual Approval. 0 to disable or 1 to enable ', 'moderation'),
('noteManualApproval', 0, '0 to disable or 1 to enable ', 'moderation'),
('pictureManualApproval', 0, '0 to disable or 1 to enable ', 'moderation'),
('videoManualApproval', 0, '0 to disable or 1 to enable ', 'moderation'),
('webcamPictureManualApproval', 0, '0 to disable or 1 to enable', 'moderation'),
('nudityFilter', 0, '1 = enable | 0 = disable', 'moderation'),
('defaultVideo', @sDefaultVideoUrl, 'Video by default if no video is found', 'video'),
('autoplayVideo', 1, '1 = Autoplay is enabled, 0 = Autoplay is disabled', 'video'),
('returnEmail', @sNoReplyEmail, 'Generally<EMAIL_ADDRESS>'email'),
('sendReportMail', 1, 'Send the Report by eMail (1 = enable, 0 = disable)', 'security'),
('siteStatus', 'enable', 'enable or maintenance', 'general'),
('smtpHostName', 'mail.example.com', '', 'email'),
('smtpPassword', 123456, '', 'email'),
('smtpPort', 25, '', 'email'),
('watermarkTextImage', 'pH7CMS.com', 'Watermark text', 'image'),
('sizeWatermarkTextImage', 2, 'Between 0 to 5', 'image'),
('banWordReplace', '[removed]',  '',  'security'),
('securityToken', 0, '0 to disable or 1 to enable the CSRF security token in the forms', 'security'),
('securityTokenLifetime', 720, 'Time in seconds to the CSRF security token. Default 720 seconds (12 mins)', 'security'),
('DDoS', 0,  '0 to disabled or 1 to enabled the DDoS attack protection',  'security'),
('isSiteValidated', 0,  '0 = site not validated | 1 = site validated',  'security'),
('cleanMsg', 0, 'Delete messages older than X days. 0 = Disable', 'pruning'),
('cleanComment', 0, 'Delete comments older than X days. 0 = Disable', 'pruning'),
('cleanMessenger', 0, 'Delete IM messages older than X days. 0 = Disable', 'pruning'),
('cronSecurityHash', 'change_this_secret_cron_word_by_yours', 'The secret word for the URL of the cron', 'automation'),
('userTimeout', 1, 'User inactivity timeout. The number of minutes that a member becomes inactive (offline)', 'automation'),
('ipApi', @sIpApiUrl, 'IP Api URL', 'api'),
('chatApi', @sChatApiUrl, 'Chat Api URL', 'api'),
('chatrouletteApi', @sChatrouletteApiUrl, 'Chatroulette Api URL', 'api'),
('googleApiKey', '', 'Google Maps API key https://developers.google.com/maps/documentation/javascript/get-api-key', 'api'),
('socialMediaWidgets', 0, 'Enable the Social Media Widgets such as Like and Sharing buttons. 0 = Disable | 1 = Enable', 'general'),
('disclaimer', 0, 'Enable a disclaimer to enter to the site. This is useful for sites with adult content. 0 = Disable | 1 = Enable', 'general'),
('cookieConsentBar', 0, 'Enable the cookie consent bar to prevent your users that your site uses cookies. 0 = Disable | 1 = Enable', 'general'),
('isSoftwareNewsFeed', 1, 'Enable the news feed. 0 = Disable | 1 = Enable', 'general');

Please let me know if you got an error from MySQL @konohanaruto

@konohanaruto  Please let me know

Thank you for your answer, manually create the 'settings' table after it seems to work, but I can not see any data, and the page can not be displayed properly, once again look at the database, found that the database table only only a few tables...
mysql> show tables; +---------------------+ | Tables_in_ph7cms   | +---------------------+ | ph7_admins            | | ph7_games             | | ph7_gamescategories | | ph7_memberships  | | ph7_settings           | +---------------------+ 5 rows in set (0.00 sec)
Is this the problem related to my environment? I am just a wamp environment and are not too able to understand the real meaning of 'Specific Requirement Server has to be connected to Internet'...
Here are some screenshots in my installation, as follows:

But in the end it is so ...

Look at the database, not as expected as there are a lot of database tables, just some of the initialization database tables...

Which in the end is why? I have to see the relevant installation video, for example:https://www.youtube.com/watch?v=4XZw_Z_Dz8s ，Unfortunately, I and their installation results are not the same...
@pH-7

Please change "production" to "development" in _protected/app/configs/config.ini (in the top on the file). THen, save it and refresh the page to see the error on the homepage and post it here

Finally, did you run the SQL code I told you in my previous post?

Yes i did try this if i just created the table without inserting the data you gave above it just as I did on the screenshot above, is a blank error page once i created the 'settings' table and inserted the data , It suggests that my wamp environment is not connected to the Internet ,this makes me unable to install the next step ...

If you still just create the 'setting' table as I did before, but do not insert any data, the installation is smooth, and then I will change the configuration file environment from 'production' to 'development', it is wrong, as shown below

Yes, I really like this program, I have crazy for it, just do not know how to solve, why my installation so unfortunate, other friends seem to install very smoothly.

Looked at the discussion before being closed, so saw the xampp, yes, it is perfect work, but wamp I still can not succeed, but I am ready to study the code, do not consider the troubles of the environment, thank you to share @pH-7
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/95

Good to know @konohanaruto
Each time I release a new version, I test it on XAMPP, MAMP, LAMP and WAMP.
@konohanaruto  Can I know what WAMP version you use..? and with what PHP version? So I will try to make a fresh installation with that MAMP version during my weekend and see if I get the same issue than you.

Hi,
@pH-7
I use the wamp3.0 version and operating system is windows 7, the following is a detailed list :
WampServer Version 3.0.4 32bit
Apache 2.4.18
PHP 5.6.19
MySQL 5.7.11
Thanks.

I cannot reproduce it.
BTW @konohanaruto, if you download it from Github, please make sure to run composer for installing the dependencies before proceeding to the installation.
https://github.com/pH7Software/pH7-Social-Dating-CMS#installation

@konohanaruto
Can you run in phpmyadmin of your "WampServer Version 3.0.4 32bit", the following files (in the same order I give you here)
1- https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_install/data/sql/MySQL/pH7_SchemaGame.sql
2- https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_install/data/sql/MySQL/pH7_DataGame.sql
3- https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_install/data/sql/MySQL/pH7_Core.sql
And let me know if you see errors from your phpmyadmin when executing those files

Stop. Mute thread
Sent from my iPhone
On 23 Mar 2017, at 5:41 am, ♚ PH⑦ Soria ♛ <notifications<EMAIL_ADDRESS>wrote:
I cannot reproduce it.
BTW @konohanarutohttps://github.com/konohanaruto, if you download it from Github, please make sure to run composer for installing the dependencies before proceeding to the installation.
https://github.com/pH7Software/pH7-Social-Dating-CMS#installation
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/pH7Software/pH7-Social-Dating-CMS/issues/115#issuecomment-288515671, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYjs4-sQGOjoXZYq4WjoSezxxTwh0Kjbks5roXlNgaJpZM4MbQZu.

@konohanaruto If you still need, I'm still ready to help you 😸
Please let me know when done so will be able to see your problem

Hi, @pH-7  according to your method, it can work in the wamp environment, thank you very much~

Very happy! Let me know if you need further helps ;) Take care. I will close this issue by now


response.clone.json() should be response.clone().json()

There is a bug here:
https://github.com/redphx/better-xcloud/blob/ec6c3fc8a39d12b297b48b63aba9646820e15c13/better-xcloud.user.js#L10472
response.clone.json() should be response.clone().json()

With the current code, you're getting response.clone.json is not a function errors ;)

Thank you! And sorry for making the unrelated exception logs.


Notary updates

Use updated notary to pick up updates from security review. Also updates key wording to use familiar terminology in place of TUF specific terminology.

LGTM

LGTM

@diogomonica @NathanMcCauley is this ready for merge, or do you prefer an extra pair of eyes having a fresh look at this? Perhaps @ewindisch ?

@thaJeztah I think this is ready for merge. The changes to the Docker side are pretty minimal.

LGTM

Ping @calavera for cherry-pick.

cherry picked into #15091


Add uuid field to CommonAsset class

I approved, because this is a good change. But could you also look at if this has been missed in other Asset related responses? I think for example that the LootLokerAssetResponse class and the context class also should have a uuid. @AlmightyMikkel


sync github actions workflows with IUC

includes:
https://github.com/galaxyproject/tools-iuc/pull/2963
and the currently still unmerged:
https://github.com/galaxyproject/tools-iuc/pull/2976
https://github.com/galaxyproject/tools-iuc/pull/2940

Danke.


SAMZA-1728: BootstrappingChooser - Call checkOffset only for a lagging partition while choosing.

Moved checkOffset into the if block.


Perfcollect, dotnet 6 & crossgen2

I'm trying to run perfcollect on linux (WSL Ubuntu 20.4) to collect native traces and I'm getting the warning Crossgen not found.  Framework symbols will be unavailable.
I see perfcollect is dependent on crossgen, which doesn't appear to exist on dotnet 6. It looks like that's been replaced with crossgen2
Is there an updated version of perfcollect that uses crossgen2 instead?

@kkostrzewa, I just installed WSL so that I could test this, but I can't seem to get perf to run, because there isn't a version of perf that matches the kernel version.  Did you build perf from source, or did you otherwise workaround this?

@brianrob yes, I built perf from source following the steps in https://stackoverflow.com/a/60276918/3794464

@kkostrzewa the design is that for .NET 5+ you don't need crossgen to generate framework symbols because we use the perf JIT dump feature instead.  It looks as though the warning logic isn't working properly because it's not finding the jit dump file that is being created.  I'm also having trouble running perfcollect as is on my setup, and so I can't tell if the symbols are showing up properly.  Are you by chance able to share a sample trace file?  I'm interested to see how far you can get, and what your trace file looks like.

@brianrob I haven't forgotten about this - work has me blocked on getting you the data that you need. Thanks for your time.

@kkostrzewa, no worries.  Thanks for the heads-up.

I have the same issue that running a simple Console app on Ubuntu does not lead to stack traces for JIT compiled code.
I have also tried ReadyToRun images but that did also not lead to stacks for my code.
Console.WriteLine("Hello, World!");
while(true)
{

}

dotnet publish -c Release -r linux-x64 -p:PublishReadytoRun=true
lois@aloisvm:~/bin$ sudo ./perfcollect.sh  collect start -threadtime
Collection started. Press CTRL+C to stop.
^C
...STOPPED.

Starting post-processing. This may take some time.

Generating native image symbol files
...SKIPPED
Crossgen not found. Framework symbols will be unavailable.
See https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md#resolving-framework-symbols for details.
...FINISHED
Saving native symbols
...FINISHED
Resolving JIT and R2R symbols
...FINISHED
Exporting perf.data file
...FINISHED
Compressing trace files
...FINISHED
Cleaning up artifacts
...FINISHED

Trace saved to start.trace.zip

After tracing has started I run ./MyApp which goes into an endless loop and then terminate it via Ctrl-C.
The resulting trace is
https://onedrive.live.com/?authkey=!AJIusb6cHxwUCYk&id=89CCF7CEB5AB0517!43684&cid=89CCF7CEB5AB0517

@AloisKraus, did you set COMPlus_PerfMapEnabled=true for the process being profiled?  If not, this will turn on JIT and R2R symbol generation.

        # Get the list of loaded images and use the path to libcoreclr.so to find crossgen.
        # crossgen is expected to sit next to libcoreclr.so.
        local buildidList=`$perfcmd buildid-list | grep libcoreclr.so | cut -d ' ' -f 2`
        local crossgenCmd=''
        local crossgenDir=''
        for file in $buildidList
        do
            crossgenDir=`dirname "${file}"`
            if [ -f ${crossgenDir}/crossgen ]
            then
                crossgenCmd=${crossgenDir}/crossgen
                LogAppend "Found crossgen at ${crossgenCmd}"
                break
            fi
        done

crossgen is hard coded in perfcollect.

Actually I tried this. It seemed not to work. But I'll do it again to double-check.

Checking in to see if you folks are still running into issues with this.  Otherwise, I'll plan to close this.  Thanks.

I haven't been able to successfully use perfcollect at all since moving to net6. As a sanity check, I created a boilerplate net6 console app using
dotnet new console -n PerfcollectTest-f net6.0

add a Console.ReadLine() to Program.cs
add a Dockerfile where I just copy in the publish dir output
FROM mcr.microsoft.com/dotnet/aspnet:6.0

WORKDIR /app
COPY ./ ./

ENTRYPOINT ["dotnet", "PerfcollectTest.dll"]

build and pack it
dotnet publish;docker build -f .\Dockerfile Z:\src\pwiese\private\PerfcollectTest\bin\Debug\net6.0\publish\ -t perfcollecttest

Run thing in docker desktop set to linux containers
docker run -it --name perfcollecttest -e DOTNET_PerfMapEnabled=1 -e DOTNET_EnableEventLog=1 perfcollecttest

From another window, exec into its bash shell, install perfcollect, and try a simple capture
PS C:\Users\pwiese> docker exec -it perfcollecttest bash
root@63a2785b2f64:/app# apt update;apt install -y curl;curl -OL https://aka.ms/perfcollect;chmod +x perfcollect;./perfcollect install

root@63a2785b2f64:/app# ./perfcollect collect sampleTrace
Collection started. Press CTRL+C to stop.
^C./perfcollect: line 702: kill: (1997) - No such process

...STOPPED.

Starting post-processing. This may take some time.

/usr/bin/perf: line 13: exec: perf_5.10.102: not found
E: linux-perf-5.10.102 is not installed.
Generating native image symbol files
/usr/bin/perf: line 13: exec: perf_5.10.102: not found
E: linux-perf-5.10.102 is not installed.
...FINISHED
Saving native symbols
/usr/bin/perf: line 13: exec: perf_5.10.102: not found
E: linux-perf-5.10.102 is not installed.
...FINISHED
Resolving JIT and R2R symbols
...FINISHED
Exporting perf.data file
...FINISHED
Compressing trace files
...FINISHED
Cleaning up artifacts
...FINISHED

Trace saved to sampleTrace.trace.zip

It doesn't properly find or install perf and the capture is empty.

@pcwiese, what you're hitting here is a problem that is specific to containers - specifically where the container image doesn't match the host distro.  Perf_events is built to be kernel version specific, because it is part kernel-space, part user-space.  If you run perf, it's actually a shell script that looks for the binary that matches the currently running kernel, and will fail in this way if it can't find it.  Because different distros rev their kernel versions at different times and to different versions, this sort of thing can happen.  Perfcollect does its best to work around this and find a close version to run, but the support for this is currently specific to Ubuntu.  I am looking to add support for Debian, which will address this.

@brianrob: What is the solution to this if this happens? Download perf by yourself and rename it to the version perfcollect is expecting, or will this not work because of differing kernel versions? Is it possible that you cannot profile at all even if you copy all the tools manually?

In this case, the best option is to try and use a different version of the perf tool.  The interface between the kernel and user portions of perf is fairly stable, and the intention as stated by the maintainers is to make it possible to run mismatched versions.
In perfcollect, we try to select any version that is available and use that.  I'm part way through the implementation for Debian.  Otherwise, yes, if you wanted to match exactly, you might have to build it yourself and edit perfcollect to use your private copy.  I have done this in the past to test bug fixes to perf.  It's possible, though definitely not something I'd like to ask most people to do.

@brianrob: Thanks! So there are options. This creates impact since we want to profile but if I need to ensure that the images are compatible with perfcollect things become more complex because it limits which images we can use.

Yes, there are options.  We do our best to handle these cases in perfcollect, but as you can see it's definitely not perfect.  I've just posted #1737, which will fix this for Debian, and should unblock you.

It looks like this issue has been used for a few different problems, and I believe that they've all been addressed.  I'm going to go ahead and close this issue with this PR.  If I have misunderstood, please open a new issue so that we make sure each issue corresponds to one problem.  Thanks.


Hello

Issue description:
When two crafters are set-up with the same recipe for printed silicon or other printed items from AE2.
What happens:
They will not send to both inscribers.
What you expected to happen:
For them to send to both inscribers.
Steps to reproduce:

Make a two of the same crafting recipe
Place two inscribers down with crafters connected to them
Order for printed silicon or other printed things.
...

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>5
Refined Storage: 1.2.20

Does this issue occur on a server? No
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

This is with having each inscriber set to one type of item.

There is no parallel crafting in 1.10.2, that is a 1.11.2 feature.


spec: implement path blacklist, and change path (white|black)list semantics

I'd like to talk about the path whitelist, and how it could be changed to make implementing things like acbuild easier. It appears that the reason it exists is to allow layers to "delete" files from layers below them.
With the way the path whitelist is currently defined, if acbuild is used to modify an image without a whitelist and add a dependency with a whitelist, acbuild must fetch all other dependencies for the image being modified, construct its rootfs, and walk it to generate a path whitelist for the given image to be merged with the whitelist from the image being added.
I'd like to suggest two things:

Switch to a path blacklist, where only files that are being removed from a lower layer will be listed.
Have the ACE evaluate the path blacklist for every layer, instead of just the topmost one.

For the first suggestion, it makes more sense to me to list what has been removed from lower layers, since I think this list will be far shorter in most situations than all the files that still exist in lower layers.
To elaborate on the second suggestion, if layer A has file /foo, layer B has a dependency on layer A and layer B has a blacklist with /foo on it, and layer C has a dependency on layer B and an empty path blacklist, then /foo will not show up in layer C.
With the current situation, simply adding a dependency to the manifest in an ACI isn't sufficient to correctly add the dependency, since the path (white|black)lists for dependencies aren't evaluated by the ACE.

Related: https://github.com/appc/spec/issues/323 https://github.com/appc/acbuild/issues/9

I mostly want my second suggestion, where the list is evaluated at every layer. The blacklist would just be a nicety (and having an optional blacklist alongside the whitelist would be fine with me).

Why not just add blacklists as optional, as discussed in #323, implementing the semantics you're talking about - then there's no need to touch whitelists as they are today, right?


[KYUUBI #2440] [Improvement] spark engine event add endTime when it is stopped

Why are the changes needed?

spark engine event add endTime when it is stopped
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #2441 (4ca2ec6) into master (14f675d) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #2441      +/-   ##
============================================
- Coverage     63.20%   63.19%   -0.01%
  Complexity       69       69
============================================
  Files           366      366
  Lines         17438    17439       +1
  Branches       2341     2341
============================================
- Hits          11021    11020       -1
  Misses         5393     5393
- Partials       1024     1026       +2

Impacted Files
Coverage Δ

...rg/apache/kyuubi/engine/spark/SparkSQLEngine.scala
76.87% <0.00%> (-0.45%)
:arrow_down:

.../kyuubi/credentials/HadoopCredentialsManager.scala
93.12% <0.00%> (-0.77%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
80.12% <0.00%> (-0.63%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.44% <0.00%> (-0.12%)
:arrow_down:

.../org/apache/kyuubi/engine/hive/HiveSQLEngine.scala
76.19% <0.00%> (+1.58%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
96.29% <0.00%> (+1.85%)
:arrow_up:

Continue to review full report at Codecov.

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

thanks, merging to master


how to migrate skywalking from 5.x to 6.0 smoothly

how can i smoothly update our skywalking in production from 5.x to 6.0 GA without much of work..

Deploy new 6.x backend cluster. Every time you reboot agent with application, change it pointing to new backend. Once all reboot done, the new 6.x is on line.
This is a very common way to do Blue-green release process.


Late join crew spawning on nukie planet

Description
Join round, spawn on nukie planet. During nuke-ops.
Reproduction
Choose job late join. Spawn on nukie planet.
Screenshots

Additional context
Saw chemist, engineering, clown, security...all I did was was join round a moment after it started
Map: Cog
Round: 65297
Server: Leviathan

For any people willing to investigate who have access to logs. round ID was 65297, station was cog.

For any people willing to investigate who have access to logs. round ID was 65297, station was cog.

Thanks, was just grabbing that.

this is easily bug of the year by a longshot

Assumed fix by Revert "Fix spawnpref" #32018


Complete mod rewrite

Fixes numerous bugs
Removed a shit ton of junk code
Reworked and refactored a shit ton of code

Reworked Config system, now much more cleaner and much easier to implement new configs when needed
Fixed EnumArgumentType not being serialized to the client (Just psuedoing it as a string)
Competely rewrote reloadFakePlayer, so it uses Jsons and retains tick info about actions
Removed a huge chunk of the Logger code that was unnecessary
Fixed force game mode kicking cameraMode
Added essentialCarefulDrop which puts entity drops straight into the player's inventory when crouching
Reworked subscribe system so it's more modular
General code cleanup

I will finish this at some point xD

Ok this should be ready for merging now


[ZEPPELIN-5489] Fix NullPointerException, if the InterpreterResult is null

What is this PR for?
This PR fixes a NullPointerException if the InterpreterResult is null.
What type of PR is it?
Bug Fix
What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5489

How should this be tested?

via CI

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

LGTM


Throw exception if a new table would have no columns

I didn't realize that stored objects needed to have public properties and that fields wouldn't be used. What happens when a table mapping has no qualifying columns is that bad sql is generated and an obscure error is thrown when it's executed.
This PR adds an exception if the SQL will be malformed in this case.

The patch rewrites every line of code. Would you be interested in repatching against master?

Tried to fix it, but couldn't. Simple patch for CreateTable, before query assembly:
if (map.Columns.Length == 0) {
	throw new Exception(string.Format("Cannot create a table with zero columns (does '{0}' have public properties?)", ty.FullName));
}


geocaching

Hello.
Just an idea...
Could it be possible to addapt this app in order to play geocaching with an offline map and using a gpx file to set the waypoints?
I mean, to make something similar to https://www.cgeo.org/ that works on kaiOS phones.
Thank you.
edit: https://github.com/cgeo/cgeo

you can use .gpx files and the offline maps must be in geojson format.

Thank you for the information. I tried it, but it doesn't seem to work for
play geocaching.
The europemap.geojson loads well, but you need to see streets and paths to
find the geocache, and I only see blue when I zoomed :-). I tried to find a
more detailed map in geojson format but I can't find it. And gpx files in
geocaching have all these fields (see the attached file). But only
coordinates are really important. You need see at the same time, your
position and the cache position in order to find it. :-(
A good thing would be coordinates in DºM.m' format too :-)
I hacked and modified
https://www.kaiostech.com/store/apps/?bundle_id=com.redmechanic.gpsmeter
for show me my coordinates in that format. Also to show distance in meters
and degrees to a coordinates point that the user gives. I also put a link
to the geocaching map, and a very simple config menu. Now I was thinking
about parsing the gpx files and show...  My app works more or less fine,
but i need wifi or data to use it with the map. I was thinking to upload my
app to bananahackers... but i don't have permission to modify the original
app, so I'm afraid of upload it.
These are some of the functions I added to my app (and more for some User
Interface that I think that are not interesting...). Maybe you want to use
something similar on your nest version of the app:
if (app.gpsCoordRepresentation == "DD") {
latDisplay = crd.latitude.toFixed(5);
longDisplay = crd.longitude.toFixed(5);
} else if (app.gpsCoordRepresentation == "DMS") {
var point = new GeoPoint(crd.longitude, crd.latitude);
latDisplay = point.getLatDeg();
longDisplay = point.getLonDeg();
} else if (app.gpsCoordRepresentation == "DM") { //DM
var latD, latM, lonD, lonM;
if(crd.latitude>=0){
latD=Math.floor(crd.latitude);
latM=((crd.latitude-Math.floor(crd.latitude))*60).toFixed(3);
}
else{
var latit=Math.abs(crd.latitude);
latD=-Math.floor(latit);
latM=((latit-Math.floor(latit))*60).toFixed(3);
}
if(crd.longitude>=0){
lonD=Math.floor(crd.longitude);
lonM=((crd.longitude-Math.floor(crd.longitude))*60).toFixed(3);
}
else{
var longit=Math.abs(crd.longitude);
lonD=-Math.floor(longit);
lonM=((longit-Math.floor(longit))*60).toFixed(3);
}
  latDisplay = " "+latD+"º "+latM+"'";
  longDisplay = " "+lonD+"º "+lonM+"'";
}

function calculaDistancia(p,g){
var lat1=1.*p[0]; var lon1=1.*p[1];
var lat2=1.*g[0]; var lon2=1.*g[1];
//----------------- formula de haversine
var R = 6371000; // metros
var radlat1 = 1.*lat1*Math.PI/180;
var radlat2 = 1.*lat2*Math.PI/180;
var deltaradlat = 1.*(1.*lat2-1.*lat1)*Math.PI/180;
var deltaradlon = 1.*(1.*lon2-1.*lon1)*Math.PI/180;

var a =

1.*Math.sin(deltaradlat/2)*Math.sin(deltaradlat/2)+Math.cos(radlat1)*Math.cos(radlat2)*Math.sin(deltaradlon/2)*Math.sin(deltaradlon/2);
var c = 2.*Math.atan2(Math.sqrt(a), Math.sqrt(1-a));
var d = Math.floor(1.*R * c);
//----------------fin de formula de haversine

return d;
}
function calculaRumbo(p,g){
var lat1=1.*p[0]; var lon1=1.*p[1];
var lat2=1.*g[0]; var lon2=1.*g[1];
//------------------formula bearing

var radlat1 = 1.*lat1*Math.PI/180;
var radlat2 = 1.*lat2*Math.PI/180;
var radlon1 = 1.*lon1*Math.PI/180;
var radlon2 = 1.*lon2*Math.PI/180;

var y = Math.sin(radlon2-radlon1) * this.Math.cos(radlat2);
var x = Math.cos(radlat1)*this.Math.sin(radlat2)

-Math.sin(radlat1)*Math.cos(radlat2)*Math.cos(radlon2-radlon1);
var brng = Math.floor(1.*Math.atan2(y, x)*180/Math.PI);
//------------------fin de fÃ³rmula bearing
return brng;
}
function calcularDestino(mygoal,myGPS){
// note: mygoal is a string with this aspect: "Goto N40º40.400' W6º33.333'
" or "Goto N40.40055º W6.33333º " or  "Goto N40º40'400" W6º33'333" "
var goal_lat_str= mygoal.split(" ")[1];
var goal_lon_str= mygoal.split(" ")[2];
var point=[0, 0];
var gps=[0, 0];
var retorno=[0, 0];
  point[0]=stractValue(goal_lat_str);
  point[1]=stractValue(goal_lon_str);

  gps[0]=myGPS.latitude;
  gps[1]=myGPS.longitude;

  var miDistancia=calculaDistancia(point,gps);
  var miRumbo=calculaRumbo(point,gps);

retorno[0]=miDistancia;
retorno[1]=miRumbo;
return retorno;
}
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Libre
de virus. www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
El mar., 28 jul. 2020 a las 15:08, John-David Deubl (<
<EMAIL_ADDRESS>escribió:

you can use .gpx files and the offline maps must be in geojson format.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/strukturart/osm-map/issues/5#issuecomment-665029094,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQNXJN6TL6KGD6HDCID2AXLR53EU3ANCNFSM4PKPVKYQ
.

You need see at the same time, your
position and the cache position in order to find it.
You can save markers and then have them shown on the map and at the same time you can see your position. in order to always update your position you have to activate the function with keypad 4.
https://github.com/strukturart/osm-map/blob/master/osm-map.json

check out the new version, the distance is shown as tooltip at the markers.


GraphQL CQL-first: use code registry to inject data fetchers

What this PR does:
Use a GraphQLCodeRegistry to inject the data fetchers in the schemas, rather than the deprecated GraphQLFieldDefinition.Builder#dataFetcher.
I also used the opportunity to refactor the DDL schema to only use static fields. This is a cleaner approach IMHO.
(We can't do it for DML because the schema is dynamic.)
Which issue(s) this PR fixes:
Fixes #1201
Checklist

[x] Changes manually tested
[x] Automated Tests added/updated
Documentation: N/A

Moving this to draft because it's low priority, and given that we have 3 versions of the GraphQL API in flight at the moment, it's more of a distraction.
This can be revisited once things have stabilized and only the Quarkus version of GraphQL is left.

Is there something here that we should be trying to port to v2 @olim7t?


Add missing CommonJS Binary/B methods (& tests)

Missing from ByteString (impl & tests):

ByteString.join
codeAt
valueAt
substr
substring

Missing tests for ByteString:

copy
concat
decodeToString

Since nobody else is missing this methods, I'm closing this issue now.


Respond to the START of a Scene transition from within a Scene's child component

Is there a way to respond to the START of a Scene transition from within a Scene's child component?
I have audio playing which I stop within componentWillUnmount.  componentWillUnmount is only triggered at the completion of a scene transition (and only when popping a scene, not pushing).
I'd like to be able to stop the audio as soon as the transition is triggered while keeping that logic encapsulated within the relevant component. (i.e. without creating global audio control logic)

You can listen to the reducer - check the Example app for a way to do this.


doc: translate Madara article and website to German

Feature Request
Translate this article: https://starknet-website-cms-posts-harnessing-the-beast-madara-an.yukilabs.workers.dev/en/posts/ecosystem/harnessing-the-beast-madara-and-the-revolution-of-starknet-appchains
Translate the website: madara.zone

gib me

Sure thing bro

Hi @abdelhamidbakhta and @welttowelt, can I pick this up?

repository archived in favor of https://github.com/madara-alliance/madara


More refactoring + core integration + debugserver backend

This is a continuation of the refactoring work I started in #745 progressing it to the point where it's actually possible to write multiple implementations of target.Interface.
To help me with the refactoring I also produced two new implementations of target.Interface:

proc.CoreProcess properly integrates the changes in #726
proc.GdbserverProcesss provides an implementation of target.Interface using an instance of lldb-server or debugserver as backend. I've written a longer explanation of how this work in a comment at the top of gdbserver.go.

I've also changed dlv to use proc.GdbserverProcess by default on macOS since there it's more reliable, as you can see this is the first time we get a green checkmark on macOS in a long while.
This also makes delve go gettable on macOS.
I don't consider the refactoring work finished with this, IMHO proc should be split to separate each backend into its own package, we would therefore have:

proc/native for our old native target.Interface implementation
proc/core for CoreProcess
proc/gdbserver for GdbserverProcess
proc/test for proc_test.go (because of cyclic imports)
proc for all the stuff common to all backends (stacktraces, disassembly, Continue/Next/Step logic, etc.)

I haven't done this now because reviewing this will take a long time and splitting proc would be to disruptive.
I think the individual commits in this branch should be reviewed one by one, separately, I just posted this as a whole so that we can have a general idea of where we go.

This is great, I will TAL at this today, thanks for this!

@aarzilli can you rebase this.

Rebased.
There are two major ugly things in this:

I had to make an interface for threads. I couldn't put it in pkg/target because of cyclic imports and I couldn't call it proc.Thread because it's already taken. I called it proc.IThread but it's not very go-like. I think it would be better if we renamed proc.Process to proc.NativeProcess, proc.Thread to proc.NativeThread and then used proc.Thread for the interface type.

I had to introduce a number of interfaces in proc that are essentially subsets of target.Interface. This includes a proc.IProcess, a copy of target.Interface, inside proc_test so that I could make the tests work on any implementation of target.Interface. IMHO it would be better if target.Inteface was moved inside proc as proc.Process.

There are also two shortcomings of using debugserver on macOS:

There is no way to find out the path to the executable we are debugging, this means the user has to specify it manually on attach.

There is no way to send a SIGSEGV back to the target process, this isn't just a problem with debugserver, lldb also can't do that.

Done and rebased.


Fix the Docker build hook for METviewer version 4.0.0. #313

Pull Request Testing

[ ] Describe testing already performed for these changes:

[ ] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

[ ] Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes or No]

[ ] Do these changes include sufficient testing updates? [Yes or No]

[ ] Will this PR result in changes to the test suite? [Yes or No]
If yes, describe the new output and/or changes to the existing output:

[ ] Please complete this pull request review by [Fill in date].

Pull Request Checklist
See the METplus Workflow for details.

[ ] Complete the PR definition above.
[ ] Ensure the PR title matches the feature or bugfix branch name.
[ ] Define the PR metadata, as permissions allow.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes
[ ] After submitting the PR, select Linked issues with the original issue number.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

Just adding a comment to confirm that the DockerHub build for the main_v4.0 branch did succeed!


Sign assemblies

Don't have to explain :)

What's the main reason for wanting to do this?

Prevent warnings in my signed project. Security is not really a problem right now, but will be in the future. You are right about the snk, any idea how other repo's do these kind of things?


Second match test cases

@colawwj  Could you add links for sql/web/keyvault in https://github.com/Azure-Samples/azure-samples-js-management/blob/main/README.md like this.


Issue #1876: Explicitly declare the used features for each dependency in parquet_derive_test

Which issue does this PR close?
This is a PR for https://github.com/apache/arrow-rs/issues/1876.
It changes just parquet_derive_test/Cargo.toml.
The PR does not upgrade the dependencies!
Rationale for this change
Reduce the disk and CPU usage at build time.
What changes are included in this PR?

Are there any user-facing changes?

Codecov Report

Merging #1897 (da8d5d6) into master (fc4044f) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1897      +/-   ##
==========================================
- Coverage   83.43%   83.42%   -0.01%
==========================================
  Files         203      203
  Lines       56969    56969
==========================================
- Hits        47531    47528       -3
- Misses       9438     9441       +3

Impacted Files
Coverage Δ

arrow/src/datatypes/datatype.rs
65.42% <0.00%> (-0.38%)
:arrow_down:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (-0.23%)
:arrow_down:

parquet/src/encodings/encoding.rs
93.46% <0.00%> (-0.20%)
:arrow_down:

Continue to review full report at Codecov.

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


FR: vim-like keymap

is there a chance for vim-like keymappings ?
Thanks
mwoz

Yes, this is very much possible. I'm using the ace editor which allows for different key mappings. I would just need to figure out how to best expose those settings in the app.

In fact, what you can do is press ctrl + shift + i to open up the chrome dev tool and type editor.setKeyboardHandler("ace/keyboard/vim"); into the console. This will enable vim controls. Obviously, OS operations are not set up but at least you should be able to perform the usual editing operations within the editor.

Awesome news:)
how about creating keymap.js config file and exposing editor property so it set to vim keymap?


Implement schema2 manifest formats

This PR introduces support for the schema2 manifest defined in #1068. This covers both an "image manifest", which supersedes the schema1 manifest format, and a "manifest list" that points to the appropriate manifests for specific platforms, to facilitate multi-architecture images.
The Accept header is used to gauge which schema versions are accepted by a client. If the client does not indicate that it accepts the schema2 format, and requests a manifest that is stored in this format, the registry will automatically convert it to schema1 format for backward compatibility.
schema1's ManifestBuilder has been renamed to ReferenceBuilder. This PR introduces a second schema1 ManifestBuilder called ConfigBuilder, which can generate a schema1 manifest from a Docker 1.10+ image configuration and a set of descriptors. This is used to enable the conversion of schema2 manifests to schema1 format for backward compatibility, and will also be used by the engine to push schema1 manifests to registries that don't yet support schema2.

BTW, corresponding engine-side code is at https://github.com/aaronlehmann/docker/commits/new-manifest

LGTM

Current coverage is 58.14%

Merging #1281 into master will increase coverage by +0.51% as of bb51139

@@            master   #1281   diff @@
======================================
  Files          116     123     +7
  Stmts        10477   10946   +469
  Branches       719     763    +44
  Methods          0       0
======================================
+ Hit           6038    6365   +327
- Partial        719     763    +44
- Missed        3720    3818    +98

Review entire Coverage Diff as of bb51139

Uncovered Suggestions

+0.30% via ...ge/driver/gcs/gcs.go#185...216
+0.30% via ...ge/driver/gcs/gcs.go#104...135
+0.22% via ...ge/driver/gcs/gcs.go#474...497
See 7 more...

Powered by Codecov. Updated on successful CI builds.

LGTM
Most comments are for clarification. We can probably defer the additions to another PR.

Also added tests checking the serialized format of schema2 and manifestlist against constant values. I think this is ready to go.


Add licence

Add a licence so others can use the project

I'm ready to do this, all I need to know is my first and last name in order to indicate them on the license.
It will look like this:
Copyright (c) 2024 Dmitriy Ivanov
I also recommend using a nameplate. This is a small .png file that is usually located in Readme.md
You can see what it looks like here:
https://github.com/smellilac/NotesApi/blob/master/README.md
Website for creating a nameplate:
https://shields.io/badges
Command to create a nameplate:
License-MIT-lime (replace lime with any color)
Template for Readme.md:

@smellilac I've been thinking for a bit, and I think that the GPL 3.0 should work just fine for now, and it could be changed in the future if something was wrong. I want to add the licence to allow use of the program, so people can host their bots if anyone wanted to.
Since you've worked on this project, I just wanted to ask if this licence looks good to you, or if you have any suggestions, or wanted a different licence. If you know a better fitting licence, I can consider it.


Upgrade to null-safety Error

Thanks for developing this amazing plug
[0.1.4] - 11.05.2021 #
Upgrade to null-safety.

Please update the source code，but by now it's not null-safety!!!
you need update the code adaptive_scrollbar.dart ,
by [0.1.4] - 11.05.2021 only updated the pubspec.yaml Nothing was actually done
Widget child;

to

Widget? child;

Thank you for your comment, I published this version by mistake, noticed it almost immediately and did not have time to fix it. Posted a new version that should support null-safety


Add mqtt mutual auth qemu demo

Add MQTT Mutual Auth QEMU Demo
Description

Modified existing +TCP QEMU demo to publish mqtt messages to a mqtt broker.
Test Steps

Create a thing in Iot Core, fill in macros as shown in demo_config.h, build the demo, and then run using the command in the readme.
Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can you add a github actions workflow to build this and possibly the other arm mps2 demos?

Updating MQTT demo to build with latest FreeRTOS release.


[dashboard] Change the sorting to descending in the tables

In the dashboard, change the sorting in the tables to descending.

sorting in GUI

sorting in dashboard

Affected baseline: v0.5.0-rc.2

The table in the dashboard remains sorted in ascending order.

Tested in v0.7.1-rc.1


ValueError: Nonlinear objective functions are not supported!

My integer programming has multiple solutions，and I want to find the best solution that has the minimum number of 0.
Since my variables is non-negative integer, and the sum of variables is confirmed，my first method is set model.setObjective(x^2 + y^2 + z^2 , "maximize"), but it leads to an error:
ValueError: Nonlinear objective functions are not supported!
How can I solve this problem？Or is there other ways I can achieve my goal？
Thank you !

check my answer in #167


[SPARK-25137][Spark Shell] NumberFormatException` when starting spark-shell from Mac terminal

What changes were proposed in this pull request?
When starting spark-shell from Mac terminal,  Getting exception
[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.valueOf(Integer.java:766)
at jline.internal.InfoCmp.parseInfoCmp(InfoCmp.java:59)
at jline.UnixTerminal.parseInfoCmp(UnixTerminal.java:242)
at jline.UnixTerminal.(UnixTerminal.java:65)
at jline.UnixTerminal.(UnixTerminal.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at jline.TerminalFactory.getFlavor(TerminalFactory.java:211)
This issue is due a jline defect : https://github.com/jline/jline2/issues/281, which is fixed in Jline 2.14.4, bumping up JLine version in spark to version  >= Jline 2.14.4 will fix the issue
How was this patch tested?
No new  UT/automation test added,  after upgrade to latest Jline version 2.14.6, manually tested spark shell features

Test build #94876 has started for PR 22130 at commit d00929f.

Test build #94876 has finished for PR 22130 at commit d00929f.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94876/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2261/
Test PASSed.

Test build #94877 has finished for PR 22130 at commit 8ab5f87.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94877/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2264/
Test PASSed.

Test build #94879 has started for PR 22130 at commit 8ab5f87.

Test build #94879 has finished for PR 22130 at commit 8ab5f87.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94879/
Test PASSed.

@vinodkc . Could you put the specific Mac versions in the PR description? This doesn't happen in latest Mac OS (10.13.6), does this?

@dongjoon-hyun , Thanks for taking a look at this PR, I've added Mac OS version in the PR description,
IMO, an update of ncurses is causing this issue
Reference :  https://github.com/jline/jline2/issues/281


openapi 3.1 - support json schema dialect for openapi schemas

Open API 3.1 schemas are a superset of Json Schema draft 2020-12. This is different from Open API 3.0 where Open API schemas only supported a subset of draft-06 (while also including some metadata like nullable instead of using type: "null")
This issue tracks updating/creating the Open API 3.1 schema emitter to target Json Schema 2020-12.
This will involve

Creating JSON Schema 2020-12 types that the Open API 3.1 schema type can reference
Creating an Open API 3.1 schema emitter that targets the Open API 3.1 schema types

est: 8


IntervalTier.intervalContaining(time)， if index = 0 ,return None

class IntervalTier(object)
def intervalContaining(self, time):
i = self.indexContaining(time)
if i :
return self.intervals[i]
indexContaining return 0， ‘ if 0 ’ return false ，then return None。 but must return intervals[0]

This is too cryptic for me to interpret. Can you state clearly what the issue is?

This is one part of your script (see below).
class IntervalTier(object)
    def intervalContaining(self, time):
        i = self.indexContaining(time)
        if i :
            return self.intervals[i]

For this part of script, I think there is something wrong.
test.zip
Based on your script, I wrote an example script named test.py. And I created a TextGrid file named data.TextGrid.
The files of test.py and data.TextGrid are in the attachment.
You can run test.py with data.TextGrid, then you will find what is wrong.
In data.TextGrid, in the first tier there are two intervals. The first interval is from 0 to 1.04s and the second interval is from 1.04 to 5s.
In test.py, for the command, itv = tg.tiers[0].intervalContaining(0.2), I want to find which interval is at 0.2s in the first tier.
The problem is:
When I run test.py, the result turns out to be NONE. It means there is no interval at 0.2s. I think the result is wrong and the correct result should be the 1st interval in the first tier. So, I think there is something wrong with your script.


Add the basic skeleton and update travis

add the basic skeleton

update Makefile

update travis

remove unused vendor and update vendor version

@resouer  PTAL.
Signed-off-by: ZeroMagic<EMAIL_ADDRESS>

Thanks! This is huge. Could you please split this PR into several commits as below?
add the basic skeleton

update Makefile

update travis

remove unused vendor and update vendor version

Ok. This PR has been splited now.


[Telemetry] - Find code locations for counting packet amounts and number of packets sending money over the network

To count the total and average money [per time frame] over the network we need to access that information from the packets rather than the account information which is private. Need to find where best to fit these metric readings into the code.

Packet description for reference:

For reference:
4.3.3. Connection Asset Details
Either endpoint MAY expose its asset details by sending a ConnectionAssetDetails frame in a STREAM packet.
Asset details, whether exposed by this frame or obtained by a higher-layer protocol, MUST not change during the lifetime of a Connection. Therefore, if a receiver receives a ConnectionAssetDetails frame that contradicts existing asset details, then the receiver SHOULD close the connection because it would be ambiguous which asset details are authoritative.
While this frame is OPTIONAL, each endpoint SHOULD emit this frame when possible. For example, senders need the recipient to share asset details in order to enforce minimum exchange rates. Refer to Section 3.4 (Exchange Rates) for more information.

Questions:

Still need to figure out how to access the asset code and scale from the STREAM envelope for these packets so that the amount becomes meaningful.
Need to figure out how to make sure we only record the amount once when payment is being made (e.g. not on quote creation and not if packets are replayed).
This only triggers for HTTP right? What happens in the context of the admin UI and GraphQL requests for instance?

After discussing with @mkurapov we have pinned the location for the amount to be collected in the post method of he createAccountToAccountTransfer method in packages/backend/src/accounting/service.ts.
Currently we have just exposed this in some console.log statements to mark the information and test that we are getting what we expect to get.
We are extracting the amount, asset code and asset scale. However we still need to figure out if we will be converting all the amounts to a single currency (USD) and scale for the purpose of our metrics and display.


Cache

I can't figure out how to cache the Swift installation.
I've tried the following:
    - name: Cache Swift Version
      uses: actions/cache@master
      with:
        path: /home/runner/action-setup-swift-workspace
        key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
        restore-keys: |
          ${{ runner.os }}-spm-

    - uses: YOCKOW/Action-setup-swift@master
      with:
        swift-version: '5.1.4'

This uploads and caches ~320MB of Swift, but swiftenv downloads it all over again.
Is there any way to correctly cache the Swift installation?

@xavierLowmiller
Did it run on macOS?
Swift binaries are installed in /home/runner/action-setup-swift-workspace/.swiftenv/versions/ on Linux, on the other hand, in /Library/Developer/Toolchains/ on macOS.

Thanks for your quick reply!

Did it run on macOS?

I'm using a matrix build on both macOS and Linux, and the issue is the same.
I'll look into swiftenv, maybe they have some pointers on how to correctly cache the downloads.

I looked over at swiftenv, but I couldn't figure it out.
Since this issue isn't really a problem of this action, I'm closing this.
Thanks for your help!


Is this the correct way of using loadable?

Hi!
I am using Gatsby and Prismic CMS for an ecommerce store and for my content pages I have slice zones which will help render the correct blocks/slices/components for specific pages. I am not sure if done right, but is this the correct way of using loadable()?
import loadable from "@loadable/component"
// import { FeaturedProducts } from "../slices/FeaturedProducts"

export const SliceZone = ({ sliceZone }) => {
  const sliceComponents = {
    // featured_products: FeaturedProducts,
    cta_banner: loadable(() => import("../slices/CTABanner")),
    text_section: loadable(() => import("../slices/TextSlice")),
    small_product_grid: loadable(() => import("../slices/ProductGrid")),
    page_content: loadable(() => import("../slices/PageTextSlice")),
    faq_section: loadable(() => import("../slices/FaqSlice")),
    single_image: loadable(() => import("../slices/ImageSlice")),
    alternate_grid: loadable(() => import("../slices/AlternateGrid")),
    plantslices: loadable(() => import("../slices/FactSlice")),
  }

  const sliceZoneContent = sliceZone.map((slice, index) => {
    const SliceComponent = sliceComponents[slice.slice_type]
    if (SliceComponent) {
      return <SliceComponent slice={slice} key={`slice-${index}`} />
    }
    return null
  })

  return <div>{sliceZoneContent}</div>
}

every call to loadable creates a new component, so every re-render of SliceZone will create a new component tree, destroying the old one.
In short - you are doing a wrong thing, but it's easy to fix it by hoisting sliceComponents above, outside of the component function. See https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-unstable-nested-components.md


Use a BufWriter in simple_window example

This commit reduce by a lot the time to generate the gradient in simple_window example, and show the good practice to use a buffer to write to a file even temporary.
Testing Wayland on a raspberry pi even on release the generation was taking +4s, now it's take 40 ms, I think it's worth it and doesn't add a lot of code complexity as the gradient generation code is not mean to be important in the simple_window example.
I also added some time information allowing the user to see what take time in the example (where a true use case would probably generate the image way faster using GPU for example). Tell me if you think it's not good to add it.

That seems a nice addition, thanks!


duplicate line

Looks like this line is duplicate:
https://github.com/cedricziel/dokku-hostkeys-plugin/blob/master/commands#L258

Thx for the hint - and sorry for the delay :/
The fix was imported to the dokku-04 branch which will have some improvements.
Thx to @alessio for the fix!


Wiki: Generic Container needing some fix

In the section on Generic Container Operations in the wiki/Language a few things should be fixed. The text says

The concat function can concatenate two arrays, two strings, or two lists

It would be more correct to say

The concat function can concatenate two or more arrays, two or more strings, or two lists

The examples for arrays and strings could be extended with third arguments. It's also odd that lists cannot be handled in the same way.
For the appendslice function, it is not very obvious to me what "without creating nesting" means. Also, "join to slices" should have been "join two slices".
Let me know if I shall make a PR to fix some of this.

A PR would be welcome.

OK, but can you explain what "without creating nesting" means?

My mistake: I guess the rest of the docs call them arrays, not slices.

To me, (appendslice [0 1] [2 3]) looks very much the same as (concat [0 1] [2 3]), except that the latter accepts more than just two arguments. What's the real difference?

Yes, they are the same. There is some overlap. append and appendslice work only with arrays (aka slices in Go). concat started as a function for strings, then was generalized to handle arrays and lists too.

A PR on a GitHub wiki seems to be not as easy as a PR on normal code. I am not sure if I shall go ahead on this. Some info on the topic can be seen here: https://www.growingwiththeweb.com/2016/07/enabling-pull-requests-on-github-wikis.html

ok

fixed in
4580fdae07f1e804c83922c9754ba2399ce36572 and
0db30baae4c5cf1ad6834ec601a0c3c721d76b43


How to make Stack transformation in opposite direction???

i want to implement swipe right will collapse stack how to achieve that....could you help me

Hi, Override this
public void transformPage(View view, float position) {
if (position < -1) {
view.setAlpha(0);
} else if (position <= 0) {
view.setAlpha(1 + position);
view.setTranslationX(view.getWidth() * -position);
view.setTranslationZ(-1);
view.setScaleX(1);
view.setScaleY(1);
} else if (position <= 1) {
view.setAlpha(1);
view.setScaleX(1);
view.setScaleY(1);
view.setTranslationZ(1);
} else {
view.setAlpha(1);
}
}

Is there any solution to achieve the stack transformation in the opposite direction ?


Provide access to analysis summary level information

When loading analysis information through pysisu, it's critical to be able to access two main pieces of information:

The name of the analysis: for example Tony Young Group Comparison in the attached screenshot
The group or time comparison summary information: for example the SilverMembers vs. GoldMembers section complete with metric name, metric value, overall impact change, min, max, median, average, sum and rows

Closing since this is an API request and not a pysisu requst


assertion fails on amdvlk

Subnautica.exe: /builddir/amdvlk-2021.Q2.3/llvm-project/llvm/include/llvm/Support/Casting.h:269: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantInt; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantInt*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.

Game: Subnautica, version DVD
Distro: Void Linux
Kernel: 5.11.22_1 #1 SMP<PHONE_NUMBER> x86_64 GNU/Linux

Probably a driver bug. Need an apitrace to confirm; game seems to work fine here on RADV and you didn't provide any instructions on how to reproduce the problem.

Issue occured right on startup, I solved it by installing another distro


Megatests file browser - softlink browser back / forward buttons

It's fantastic how the soft-linking works for the s3 explorer for AWS megatests. One small improvement would be to listen to the browser back / forward events and honour them in the front end. Currently clicking forward or back changes the URL soft link but has no effect in the page.

Would be nice. This confused me a lot when I first was trying to navigate around.


For a 0.12.4 release

Bump [compat] Distributions="^0.22,^0.23"
https://discourse.julialang.org/t/julia-v1-4-0-has-been-released/36324/16

Codecov Report

Merging #225 into master will decrease coverage by 1.33%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #225      +/-   ##
==========================================
- Coverage   83.34%   82.01%   -1.34%
==========================================
  Files          30       30
  Lines        2060     1957     -103
==========================================
- Hits         1717     1605     -112
- Misses        343      352       +9

Impacted Files
Coverage Δ

src/hyperparam/one_dimensional_range_methods.jl
96.42% <ø> (-0.24%)
:arrow_down:

src/openml.jl
51.42% <ø> (ø)

src/parameter_inspection.jl
50.00% <0.00%> (-50.00%)
:arrow_down:

src/data/datasets.jl
87.50% <0.00%> (-6.25%)
:arrow_down:

src/measures/loss_functions_interface.jl
94.73% <0.00%> (-5.27%)
:arrow_down:

src/hyperparam/one_dimensional_ranges.jl
81.39% <0.00%> (-3.39%)
:arrow_down:

src/composition/networks.jl
65.56% <0.00%> (-3.39%)
:arrow_down:

src/measures/finite.jl
95.62% <0.00%> (-3.17%)
:arrow_down:

src/measures/measures.jl
91.22% <0.00%> (-1.76%)
:arrow_down:

src/utilities.jl
75.00% <0.00%> (-0.65%)
:arrow_down:

... and 14 more

Continue to review full report at Codecov.

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


Debug hover moves while expanding/collapsing

see attached screen capture
open a debug hover above cursor
expand it to become too large
:bug: it now renders below

@isidorn For suggest I have a similar problem and I added IContentWIdget#afterRender which is invoked with the position preference at which the editor has placed the widget. I'd recommend to keep that position locked as the hover shows

@jrieken thanks for the issue and for the suggestion on how to fix.
I have tried it out with keeping the position preference stable and now it seems to behave good for me.

verified but found this: https://github.com/microsoft/vscode/issues/109653. Unsure if it's a regression.


userspace: add app memory report script

This script accepts a kernel binary and dumps out information
on how much memory is wasted due to partition size/alignment
constraints.
Signed-off-by: Andrew Boie<EMAIL_ADDRESS>

Sample output:
$ python3 ~/projects/zephyr4/scripts/appmem_report.py zephyr/zephyr.elf
Userspace memory partition report:
Partition                     Total       Used        Wasted      Efficiency
----------------------------------------------------------------------------
ztest_mem_partition           0x40        0x34        0xc         81.25%
  gap 0x0
z_libc_partition              0x20        0x4         0x1c        12.50%
  gap 0x7fa0
k_mbedtls_partition           0x8000      0x7fe0      0x20        99.90%

total                         0x10000     0x8018      0x7fe8      50.04%

Where is the script invoked?

manually, at the moment.
In a later PR I might attach it to verbose builds.

Closing for now, as @dcpleung modification to the partitioning script can dump similar information.


I searched once, cleared the field and didn't get to the home page with categories

When clearing the search field, we should get to the default categorized UI and not all the guides sorted alphabetically.

I reported that to @ia3andy when he sent his PR to quarkusio.github.io, but he had fixed it... I even saw it fixed myself. A regression perhaps?

Let's wait to see, I think it should be ok with the latest version

FWIW even trying right now, without the fix deployed, I can't reproduce your problem @gsmet :/

it should be fixed


Docs landing page re-design

This PR lay out the approach and thinking of the Docs team on how to redesign the Hiro docs landing page, as well as the logic and functionality of the developer experience on the docs site to help make our content more discoverable. This will help readers and users find content more quickly and easily. Several drawings and mockups, in addition to a description of user actions, will be described.

PR: https://github.com/hirosystems/docs/pull/280

Fixed in PR: https://github.com/hirosystems/docs/pull/298


Cleanup _static & co

Slack:"""
Xavier Perseguers [9:14 AM]
Hey Martin. regarding cleaning up, seems like _static/css/badge_only.* is useless. Then do we really need all those fonts under fonts/? Do we need img/typo3-white.svg, not sure… Do we need the theme, … in jquery-ui/? I see 2 t3autocomplete.js in js/ for sure one is enough. I’d suggest to move the few .js files at root under js/ just to make everything “clean”.
"""

The toolchain 'RenderDocumentation' will care about this.


RDS getInstance(s) is missing Status information

Hello!

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

Issue details
The RDS getInstance(s) API does not yield status information.
Affected area/feature
RDS

Hi @benlongo. This function tracks the terraform datasource aws_db_instances. The best way to get that change here is to make the request here.
For my own edification, can you explain how you would use the status field. I don't understand the use case for a transient piece of information in a Pulumi program.


Fixed broken links from readmes to docs

Coverage remained the same at 94.987% when pulling e00559e97204fcd1c29c6eb41f13a863272ce290 on cody-readme-broken-links into 36b8d6ee70d3e5764aa3486fc5df75cf1d481ccd on main.


Added support for multiple namespaces for Applications

I added new entry in config file for supporing many namespaces where application can be found

Thanks a lot ! ;-)


Homepage w/o coming from Dataverse

How does the home page respond without the new DataverseHandoff object
from error/info message after user clicks CreateAccount

replaced by #150


Add Media Player component for Vizio Sound Bars

Description: I created a new media player component to support Vizio Sound Bars. It's functionally very similar to the Vizio TV component, the only difference is there is no pairing or auth process.
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#8915
Example entry for configuration.yaml (if applicable):
media_player:
  - platform: viziosoundbar
    suppress_warning: 'True'
    name: Sound Bar
    host: <HOST_IP>

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Hi @raman325,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

I'm not sure why the build failed this second time, it worked the first time except I referenced invalid method names for powering on and off the device. I fixed that, and the logs for the second run are referencing things I did not touch. Can someone advise?
I'm also not sure why cla-bot and Hound are still in pending/expected status, they cleared pretty quickly the first time and nothing I changed should impact either check.
Finally, this would be a breaking change but it may be worth considering changing the vizio component to viziotv if this component gets approved and merged. The base package for the vizio component (pyvizio) assumes that the device has to go through the pairing process in order to get an auth token and all of the methods require auth. Sound Bars do not need either of these, but it seemed easier to create a separate python package and component rather than try to overload the single package/component for both use cases