View model reference returns null

Are there some circumstances where a view-model.ref from a  custom element would return null( and the reference element actually loaded)?
I have a custom element's view model referenced and in some unknown scenarios, it does not populate.

yes there is!
If the element the view-model.ref were to unbind, the reference would be set to null to avoid memory leaks.  This can happen when you have a view-model.ref within an element that has an if.bind.
Example:
<template>
  <div if.bind="isVisible">
    <my-element view-model.ref="vm"></my-element>
  </div>
</template>

assigning false to isVisible would unbind the contents of the div, ultimately setting the vm property to null.

Hey, thanks for replying.
Would it stay null even after it is loaded back? I am having my custom elements on screen but the reference in the parent view model is staying null.

@Kukks if you would be willing to provide an example of what you're seeing using the aurelia gist we can provide further info:  https://gist.run/?id=7542e061bc940cde506b

I'm seeing this behavior on Chrome versions <= 53 and on any version of FF so far. Here's my Gist that illustrates it: https://gist.run/?id=7ad1dc6da1dc4f7d2120d0c2d1daa534. The difference I see is that the ref is valid in the view, but null in the view model. One other difference is that I simulate a loading of a resource after attachment.

@edseabolt the if binding doesn't evaluate synchronously immediately after you change the value of isLoading. It will happen on the next flush of the taskqueue, to ensure dom updates are batched.
https://gist.run/?id=8b3021b4a990a5961dc9d8546b87cef9

@jdanyow. Thanks. Makes better sense now.


Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found)

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)
If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.
Describe the bug
I have opened this issue first as HA issue as the log says its caused by HA integration stream. It was closed without support as no HA issue. Second i have created an issue in the repo from bropat for Security Add On. Issue was also closed only with the hint that issue is caused from client side. Now it's my third attempt to get support.
I am not able to start a stream via the Integration. Although the logbook shows that the camera is streaming it's not possible to see the stream. The player stays grey.
To reproduce
Steps to reproduce the behavior:

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

Expected behavior
Once the stream has been started via a service call the player should show the stream.
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): OS
Home Assistant Core Version: 2024.1.0
Eufy Security Add-on Version: 1.7.1
Eufy Security Integration Version: 8.0.0

Hardware Information;

Camera Model: S300

Live Streaming Protocol (RTSP/P2P): RTSP

Debug Logs from Home Assistant (https://github.com/fuatakgun/eufy_security/discussions/624) - Without this, I will automatically resolve this issue

eufy_security.txt

Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):

Logger: homeassistant.components.stream.stream.camera.vordertur
Source: components/stream/init.py:431
Integration: Stream (documentation, issues)
First occurred: 15:25:52 (44 occurrences)
Last logged: 16:06:36
Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found<EMAIL_ADDRESS>
Would you share your device with me in case further debugging required? (Yes/No):

Yes
Additional context
Add any other context about the problem goes here. Mainly, share everything as log files and use screenshots as last resort.

Same issue here.
I have two Eufycam 2. They worked ok on all pre 8.0.0 versions but now it just fails to this error.
I've tried with 8.0.1 and it is still the same problem.
I have latest WebRTC integration and eufy-security-ws add-on.
I have downgraded back to 7.7.4 which works ok.

@Paxxil You are my hero... I just banged my head against the wall for days trying to get things going.  Reinstalled from scratch on 7.7.4 and I THINK I might have things cooking.  Not on Eufycam, but I'm on wired doorbell T8200.  Monitoring for stability for now...

I also have this error in my logs for a very long time, not sure what it means. My streams were opening fine even with the error.
But now I have MSE:streams: wrong response on describe and only doorbell image works.


Change default branch from master to main

Change default branch from master to main for github_api module.
Not sure how controversial this is.

Superseded by #116


Terminal Maximize/Restore button too big and doesn't restore

VSCode Version: Code - Insiders 1.18.0-insider (15449873f130d7f3e5604a1cac94f32a1f15f604, 2017-11-02T06:11:55.278Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

autofilename
Jer
0.1.3

regex
chr
0.1.0

ssh
chr
0.0.2

vscode-eslint
dba
1.4.2

ghlink
dt
0.0.6

tslint
eg2
1.0.14

azure-account
ms-
0.1.3

azurecli
ms-
0.3.0

github-issues-prs
ms-
0.6.0

debugger-for-chrome
msj
3.4.0

vetur
oct
0.10.1

vscode-versionlens
pfl
0.19.1

vscode-open-in-github
sys
1.6.0

Steps to Reproduce:

Move Terminal to the right
Maximize/Restore is too big
Restore doesn't work

/cc @Tyriar

I believe @isidorn already fixed this


Branch 1.6

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@deepaksonu  Would it be possible to close this PR?

Can one of the admins verify this patch?


24hr Time format

Hi,
how can I change the time zone and clock format for 24 hours?

You would make those changes in the page file.  Which one are you currently using?

V0.3-alpha and lastest volumio. Thanks for answer.

Actually, I was referring to which page file you are using (e.g. pages_lcd_16x2.py).  That said, I can generically describe what you need to change.  There should be a line in the file you are using that looks similar to this...
	'time': { 'type':'text', 'format':'{0}', 'variables':['localtime|strftime+%-I:%M'], 'font':'large', 'just':'right', 'varwidth':True, 'size':(70,16) },
You need to modify the values that get passed to the strftime transformation.  General format for this can be found at strftime.org.  The current value '+%-I:%M' produces a 12 hour clock.  If you switch it to '+%-H:%M' it will give you a 24 hour clock.

I use Hd44780_i2c page.

Can you post your service file?  I suspect that you are not referencing the local copy of the page file from within the docker container.

ExecStart=/usr/bin/docker run --network=host --privileged -v /var/log:/var/log:rw  dhrone/pydpiper:latest python /app/pydPiper.py --volumio --driver hd44780_i2c  --width 100 --height 32 --i2caddress 0x27 --timezone 'Europe/Istanbul' --temperature celcius --pages pages_lcd_20x4.py

Hi,
I've edited the wrong pydpiper.service file.
I have edited the pydpiper.service file under the /etc/systemd/system
My execstart,
ExecStart=/usr/bin/docker run --network=host --privileged -v /var/log:/var/log:rw -v /home/volumio/pydPiper-0.3-alpha:/app:rw dhrone/pydpiper:latest python /app/pydPiper.py --volumio --driver hd44780_i2c --width 100 --height 32 --i2caddress 0x27 --timezone 'Europe/Istanbul' --temperature celcius --pages pages_lcd_20x4.py
reload daemon and restart pydpiper.
Everything OK.
Thanks for your support.


Show a better error when applicationId is not set

Is your feature request related to a problem? Please describe.
I tried to bot.helpers.upsertApplicationCommands() but was greeted with an unhelpful error message:
Error: [400] The request was improperly formatted, or the server couldn't understand it.

After debugging, I found out that this was because a request was being sent to /applications/undefined/commands. Only then I realised I had to provide an applicationId in createBot().
Describe the solution you'd like
I think it would be better if an error is thrown somewhere either in createBot() or in upsertApplicationCommands() indicating that an application id needs to be set. Either that or the applicationId field should not be optional in the createBot() types.
Describe alternatives you've considered
The only alternative I can think of is to just deal with it.

There is a function with whom, you can overwrite the error
rest.convertError(error, data){
      console.log(data)
}

Hmm there's little point for me to do that, as I'm already aware of the need for applicationId to be set.
This feature request was really meant for new users of the library. And since /applications/undefined/commands should basically never be sent to the Discord API, it would be much better if the library would just throw immediately rather than sending a broken request.

The checks will probably slowdown the process & moreover the applicationId is a required type, where as you should get a type error

I didn't get a type error, seems like it's marked as optional in CreateBotOptions.
https://github.com/discordeno/discordeno/blob/03996c5f5816b094891122f2e904d770131aa0fd/bot.ts#L329
which version are you using?

It seems like the applicationId is set as soon the bot is ready. The problem is that parsing it from the token, that some bots have a different applicationId in comparision to their botid

@jespertheend That shouldn't happen because application is parsed from bot id

Thank you for reporting, should be patched so it is never undefined again so a better error won't be needed anymore.


Allow init Container Env Vars

Follow up to https://github.com/jenkins-x/charts/pull/1#issuecomment-392114099
Cherry pick https://github.com/kubernetes/charts/commit/c64abe27d24bafbc17b5adec5049b03212283ab4

Thanks @yahavi - I'll release the chart and include it in the next Jenkins X release which should go out tomorrow


Description
A listbox presents a list of options and allows a user to select one of them.
<post-listbox>
  <post-listbox-item>
    <post-icon name="3000"></post-icon>
    Option 1
  </post-listbox-item>
  <post-listbox-item>Option 2</post-listbox-item>
</post-listbox>

Design
This component does not have a design, it must be configurable via CSS custom properties.
Requirements
Shadow DOM
This component does not make use of shadow DOM.
Styling options

--post-listbox-item-gap: Gap between listbox options
--post-listbox-heading-gap: Gap between heading (if shown) and the listbox

These options have not default definition but the can be set on the host by a user.
To achieve this, the following styling can be used:
:host {
  display: flex;
  gap: var(--post-listbox-gap); /* If this variable is defined (by the user) a gap will be set */
}

Props

title-hidden: the internal title container gets the class visually-hidden

Variants

No title: Title is visually hidden <post-list title-hidden>
Custom gap: <post-list style="--post-listbox-item-gap: 1rem; --post-listbox-heading-gap: 0.5rem">

Accessibility
https://www.w3.org/WAI/ARIA/apg/patterns/listbox/

The components need to have the correct aria-attributes, roles and keyboard navigation.
The list and the title have to be connected via aria-labelledby

Tasks development
### 💻 Development
- [x] Web component implementation
- [x] Documentation in Storybook
- [x] End to end tests
- [x] Visual regression tests
- [x] Accessibility tests

LISTBOX IMPLEMENTATION
FOCUS (FOR SINGLE SELECT)
When a single-select listbox receives focus: either first option or last selected
(Keyboard Interaction - https://www.w3.org/WAI/ARIA/apg/patterns/listbox/)
FOCUS (FOR MULTISELECT)
When a multiselect listbox receives focus: either first option or first of selected options in the list (sorted list?)
(Keyboard Interaction - https://www.w3.org/WAI/ARIA/apg/patterns/listbox/)
SELECTION (FOR SINGLE SELECT)
Selection follows focus (Note #3 - https://www.w3.org/WAI/ARIA/apg/patterns/listbox/
SELECTION (FOR MULTI SELECT)
Selection toggle with space (Keyboard Interaction - https://www.w3.org/WAI/ARIA/apg/patterns/listbox/

Issue: Some times it first loads like this
...<post-listbox-item slot="post-listbox-item" role="option" tabindex="-1" data-hydrated="">Option 9</post-listbox-item>
      <post-listbox-item slot="post-listbox-item" role="option" tabindex="-1" data-hydrated="">Option 10</post-listbox-item>

</post-listbox>


[Bug]: Livestream not working on Wireless Doorbell

What happened?
Hi, the livestream doesn't seem to work with a wireless Doorbell.
I managed to connect the doorbell to HomeKit via Homebridge and I receive the notifications whenever someone ring the bell but I have no preview and the livestream says "the camera doesn't respond".
On the Homebridge side, I get this error: "ERROR: Local livestream didn't start in time. Abort livestream request." + "ERROR: Sonnette Unable to start the livestream: no started livestream found".
And then, I get this:
[EufySecurity-2.0.1] INFO:  Sonnette Starting video stream: 640x480, 30 fps, 299 kbps  (AAC-eld)
[8/10/2022, 3:05:47 PM] TypeError: ffmpegInput is not iterable
at StreamingDelegate.startStream (/usr/local/lib/node_modules/homebridge-eufy security/src/accessories/streamingDelegate.ts:676:20)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
• "Use RTSP" option is deactivated
• Camera is unbridged
• Connected with guest account and admin rights
• "ffmpeg debug" activated
I tried with and without "Improve livestream caching" => same problem
I tried with Homebridge 1.5 and then 1.4.1 => same problem
I tried with "Eufy plug-in" v2.0.1 and 2.1.0 and 2.2.0 => doesn't work either
I tried with and without the shine => same problem
I tried uninstall + reinstall + cache browser cleaned => same problem
I changed the "CameraMaxLivestreamDuration" to 600s => same problem
I tried the "sudo npm i ffmpeg-for-homebridge -g" command => same problem
Is "ffmpegInput is not iterable" a common issue?
I looked on the "Common Issues" and "Troubleshoot" but nothing seems related to that error...
Thanks in advance for you help!
Sylvain
Device Type
Doorbell (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v16 (Supported)
Operating System
Mac OS X 11+ (Supported)
Relevant log output
[8/10/2022, 3:12:01 PM] [EufySecurity-2.0.1] DEBUG: EufyClient connected true
[8/10/2022, 3:12:01 PM] [EufySecurity-2.0.1] DEBUG: Refresh data from cloud and schedule next refresh.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: CameraMaxLivestreamDuration: 600
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found 3 stations.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found Station T8020P1021150F6C Carillon STATION <IP_ADDRESS>
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found Station T8410P2020370D67 Camera INDOOR_PT_CAMERA <IP_ADDRESS>
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found Station T8410P312128243E Garage INDOOR_PT_CAMERA <IP_ADDRESS>
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  You're using guest admin account with this plugin! This is recommanded way!
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found 3 devices.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found device T8410P2020370D67 Camera INDOOR_PT_CAMERA
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found device T8410P312128243E Garage INDOOR_PT_CAMERA
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Device ignored
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Found device T8220P602114005D Sonnette BATTERY_DOORBELL_2
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Carillon UUID: cfa9ecd7-0cc0-4507-a985-329ed818e2bb
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Carillon Constructed Station
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  Updating accessory: Carillon
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette UUID: 64eb0dc0-f288-481b-8f90-b540b1400c62
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette has a battery, so append Battery characteristic to him.
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Constructed Camera
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette config is: {
  serialNumber: 'Edited for security reasons',
  enableCamera: false,
  enableButton: true,
  motionButton: true,
  rtsp: false,
  unbridge: true,
  forcerefreshsnap: false,
  useCachedLocalLivestream: false,
  videoConfig: { debug: true, audio: true },
  name: 'Sonnette'
}
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette has a camera
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette enableButton config: true
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with isEnabled or this has been disabled within configuration
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette motionButton config: true
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with isMotionDetectionEnabled or this has been disabled within configuration
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with DeviceLight
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Constructed Doorbell
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  Updating accessory: Sonnette
[8/10/2022, 3:12:02 PM] [EufySecurity-2.0.1] INFO:  Removing cached accessory 241e1f70-dc46-4656-8c14-a6d48052ff0a Garage
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Push Connected!
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Sonnette SET HomeKitCameraActive: 1
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Sonnette SET EventSnapshotsActive: 1
[8/10/2022, 3:12:04 PM] [EufySecurity-2.0.1] DEBUG: Sonnette SET HomeKitCameraOperatingModeIndicator: true
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceBattery: 88
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET EventSnapshotsActive: 0
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET HomeKitCameraActive: 0
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceEnabled: true
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceStatusLed: true
[8/10/2022, 3:12:05 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceMotionDetected: false
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceBattery: 88
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET EventSnapshotsActive: 0
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET HomeKitCameraActive: 0
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceEnabled: true
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceStatusLed: true
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceMotionDetected: false
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Carillon GET StationCurrentMode: 1
[8/10/2022, 3:12:43 PM] [EufySecurity-2.0.1] DEBUG: Sonnette GET DeviceMotionDetected: false
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: handleSnapshotRequest
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: snapshotPromise: false
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Snapshot requested: 1280 x 720 Sonnette true
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette RTSP rtspStream:false
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with RTSP
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette EUFY CLOUD URL: removed for security reasons
[8/10/2022, 3:12:45 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Snapshot command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i removed for security reasonsSignature=removed for security reasons -frames:v 1 -f image2 - -hide_banner -loglevel error true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Fetching snapshot took 0.361 seconds. Sonnette true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: snapshot byte lenght: 49150
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sending snapshot: 1280 x 720 Sonnette true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Resize command: /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/ffmpeg-for-homebridge/ffmpeg -i pipe: -frames:v 1 -filter:v scale='min(1280,iw)':'min(720,ih)':force_original_aspect_ratio=decrease -f image2 - true
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sonnette RTSP rtspStream:false
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Looks like not compatible with RTSP
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: New instance requests livestream. There were 0 instance(s) using the livestream until now.
[8/10/2022, 3:12:46 PM] [EufySecurity-2.0.1] DEBUG: Start new local livestream...
[8/10/2022, 3:12:49 PM] [EufySecurity-2.0.1] DEBUG: Setting snapshotPromise to undefined.
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] ERROR: Local livestream didn't start in time. Abort livestream request.
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] ERROR: Sonnette Unable to start the livestream: no started livestream found
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] DEBUG: Sonnette VIDEOCONFIG: {"debug":true,"audio":true,"stillImageSource":"-i removed for security reasons
Signature=removed for security reasons","maxWidth":640,"maxHeight":480,"maxFPS":10,"maxStreams":2,"maxBitrate":99,"vcodec":"libx264","packetSize":188,"acodec":"libfdk_aac","encoderOptions":"-preset ultrafast -tune zerolatency","forceMax":false}
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] INFO:  Sonnette Starting video stream: 640x480, 30 fps, 299 kbps  (AAC-eld)
[8/10/2022, 3:12:51 PM] TypeError: ffmpegInput is not iterable
    at StreamingDelegate.startStream (/usr/local/lib/node_modules/homebridge-eufy-security/src/accessories/streamingDelegate.ts:676:20)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[8/10/2022, 3:12:51 PM] Got SIGTERM, shutting down Homebridge...
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] WARN:  Push Closed!
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] INFO:  Finished shutdown!
[8/10/2022, 3:12:51 PM] [EufySecurity-2.0.1] DEBUG: Stopping local livestream.
[8/10/2022, 3:12:52 PM] [EufySecurity-2.0.1] DEBUG: Sonnette Receive Apple HK Stop request{"sessionID":"b85c49dd-8fbf-46a6-8202-3635678bafc4","type":"stop"}
[8/10/2022, 3:12:52 PM] [EufySecurity-2.0.1] DEBUG: Stopping session with id: b85c49dd-8fbf-46a6-8202-3635678bafc4
[8/10/2022, 3:12:52 PM] [EufySecurity-2.0.1] DEBUG: No session to stop.
[8/10/2022, 3:12:51 PM] Got SIGTERM, shutting down child bridge process...
[8/10/2022, 3:12:56 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[8/10/2022, 3:13:01 PM] [HB Supervisor] Restarting Homebridge...

Yes I did, doesn't solve this issue though.

Hey @syl035
What hardware are you running on? Since you have configured 640x480 I guess it is rather on the low end side, like a RPi?
The issue you have is not related to ffmpeg (yet ;-) ). The plugin tries to get the local livestream (aka. p2p) and doesn't get a response in time. I've heard from a few users that have this problem, but until now it is not exactly clear what is causing this.
Might be a network issue.
Could you try the following?

in the official eufy app set the streaming quality and codec to low. This should reduce the data stream that is emitted by the doorbell and hopefully resolves your issue.
if not, try restarting the Homebase, since the livestream is piped through the station to homebridge. Maybe it has network hiccups. If the led on the Homebase is red, this is most likely the issue.

I am in the process of rewriting the wiki. There will be a more in depth article about streaming in general. There will also be an explanation of the different streaming methods.

For your info, I am running on a Mac and this was the default video configuration; I did not touch the resolution parameter. Should I try playing with the resolution parameter maybe? Do you know what would be the default one? 1920x1080p?

The log states your used videoConfig:
{"debug":true,"audio":true,"stillImageSource":"-i removed for security reasons
Signature=removed for security reasons","maxWidth":640,"maxHeight":480,"maxFPS":10,"maxStreams":2,"maxBitrate":99,"vcodec":"libx264","packetSize":188,"acodec":"libfdk_aac","encoderOptions":"-preset ultrafast -tune zerolatency","forceMax":false}

Therefore I assumed you did enter this intentionally. I guess the Mac should be powerful enough to run the stream. But as said ffmpeg does not seem to be the problem here, since it does not get any data yet.

What do you mean by homebase my Mac running Homebridge? As I didn't receive an Eufy homebase with the bell: only 1 Doorbel and a chime..

Sorry, my bad. Was a misunderstanding on my side. I have a battery doorbell myself and this comes with a Homebase. Did think this is the same for you.

What I saw, by reading the log file in live, is that it really doesn't take long for the error "Livestream did not start in time". If you look at the date and time, it only takes 5 sec between the "start" of the local stream and the error to come/

You're right. This is a little too quick.
One possible way to debug this more, would be to get the appropriate log files. Since there was a change since the latest master, I'd like you to install 2.1.0-rc or 2.2.0-beta.
Please remove all the current log files from your storage path (The path will be written to the log as one of the first messages).
After that restart the plugin. Test streaming once more. After this fails get me the new created log files from the storage path.
There will be a eufy-log.log file which shows the stream connection process in more detail.
You also could send me the file via discord.

Hi, so I have the Eufy Logfile with Eufy Plug-In 2.2.0 but could you please tell me how can I send it to you via Discord? I juste made an account but I don't know how can I reach you or how to link discord with GitHub.. ^^'
Thank you,
Sylvain

There is a invite link here: https://github.com/homebridge-eufy-security/plugin/issues/new/choose

@syl035 and I have looked at his logs and found that the stream is not started properly by eufy-security-client.
He will open an issue there, so that bropat can have a look at this.

Thanks again for your help Thieren!

@thieren
Hi, Bropat will fix the issue in the next release, thank you for your help!
Best regards,
Sylvain


Uploading file to browser from WSL folder

Version
Microsoft Windows [Version 10.0.22000.348]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
Google Chrome (Windows) 96.0.4664.45
Repro Steps

Open Google Chrome on page where you might upload some files (any type).
Open modal upload window and choose file from WSL folder.
Wait until file uploads.
Click on a button to upload new file.

Expected Behavior
After second click to upload new file, modal window might be opened on top of the browser and wait until I choose the file.
Actual Behavior
Chrome window turns inactive and when you try to click anywhere inside of the window it makes sound, like you click out of the exploere.exe window (to choose the file). But you still can you browser with keyboard.
You can only close Chrome to make it active again to mouse clicks and only system restart will helps you to open file loading window again.
Also after one file upload, you can't access WSL FS via explorer.exe, but you still can work in it via terminal.
Diagnostic Logs
No response

Thanks for reporting this @nike1v. Can you share picture / videos of a repro ?


Update to remove org specific info and  unnecessary details.

@driskull  can you do a quick review and merge. Just removing some org and user specific details and also simplifying the default web map a bit.

👍


Added support for Content Security Policy, Rebase #330

This is a rebase of #330

This looks pretty good. Could you please add a djdt- prefix to the width-* classes? Developers may have stylesheets defined that would apply their styles to elements with that class name. Adding that prefix would help mitigate that possibility.

Done, I've also prefixed the CSS class 'highlighted'

@graingert Can you please rebase again? The PR contains merge conflicts.

re-based, also killed that other "hidden"

@tim-schilling @thedrow poke

I tried setting up a test application with a content security policy enabled and I had to add 'self' ajax.googleapis.com to the script-src directive and 'self' data: to the img-src directive. Does that sound correct? If so, then I'm going to add some documentation that explains this.

Yes that's correct. Although if you set a custom JQuery URL it will be whatever the origin of that URL is.

I was doing some more testing and whenever I click on the SQL tab, it generates the unsafe-eval error. Can you duplicate that issue?

@tim-schilling Can you paste me the full error?
Do you have your test project on GitHub?

I've repeated the issue. We need to allow script-src "unsafe-eval" for now.
For now can you merge this and I will work on a fix?

Yes, I think we should merge this PR before it needs rebasing again.
@graingert Fortunately there isn't a lot of activity, only @tim-schilling and myself merge patches.
I think it would be helpful to add guidelines to the contributing documentation so future changes don't break CSP inadventently. I'm not sure if it could be tested automatically e.g. with Selenium?
@tim-schilling As far as I am concerned, I don't mind merging the patch as is and iterating.

I meant to respond earlier. I decided that I'd merge it but not document it
until the unsafe-eval directive isn't needed. I don't think we can say the
toolbar supports a content security policy until that directive is no
longer needed.

I rebased your changes on master, and merged them in with commit 8b29127ffb385db22fc2a3296b9904dd73180e56. Thank you for the PR @graingert!


Version 7 broke web builds

$ webdev build
[WARNING] build_web_compilers:entrypoint on web/main.dart: Skipping compiling main|web/main.dart with dart2js because some of its
transitive libraries have sdk dependencies that are not supported on this platform:
sentry|lib/src/sentry_isolate_extension.dart
sentry|lib/src/sentry_isolate.dart

Note: Dart SDK 2.19.5

@mnordine are you using the new extension directly into your code? this is not available for the Web so you have to do a conditional import.
The SDK itself does that for its usage, and we are compiling our web builds just fine, can you provide a minimal reproducible example if that's not the case?

I can't reproduce your issue.

What exactly did you try?

name: sentry_bug
description: An absolute bare-bones web app.
version: 1.0.0
# repository: https://github.com/my_org/my_repo

environment:
  sdk: '>=2.19.5 <3.0.0'

dependencies:
  sentry: ^7.4.0

dev_dependencies:
  build_runner: ^2.3.0
  build_web_compilers: ^3.2.0
  lints: ^2.0.0

import 'dart:html';
import 'package:sentry/sentry.dart';

void main() {
  querySelector('#output')?.text = 'Your Dart app is running.';
}

$ webdev build
[WARNING] build_web_compilers:entrypoint on web/main.dart: Skipping compiling sentry_bug|web/main.dart with dart2js because some of its
transitive libraries have sdk dependencies that are not supported on this platform:

sentry|lib/src/sentry_isolate_extension.dart
sentry|lib/src/sentry_isolate.dart

Note you get the same error with DDC

I can't reproduce your issue.

What exactly did you try?

With a bare-bones Fluter web app, apparently you're trying with a bare-bones Dart web app?
Can you try a Flutter web app?

https://github.com/getsentry/sentry-dart/tree/main/dart/example_web is built during CI so we do test pure Dart web, but as you can see this is a [WARNING] and there's no flag such as break-build-for-warnings.
By using one of our templates https://github.com/getsentry/sentry-dart/blob/main/.github/ISSUE_TEMPLATE/BUG_REPORT.md all of this confusion could be avoided leading to a faster solution.
Flutter web is way more popular than Dart web hence that's what I've tested first and only.
Sharing a minimal reproducible example also speeds up the triaging, testing and eventually fixing, but it's hard with incomplete bug reports.
Appreciate the patience, I can reproduce this now, will review/merge tomorrow.


[devops:bot] update deps in nix/sources.json (from: rhino-core@92a2586

update nix refernces for rhino-core and|or nixpkgs to match https://github.com/rhinofi/rhino-core/blob/92a2586a4925432a111a0c4d4c42eec01e8e69e8/nix/sources.json (branch: dev)

superseded by #102


Sidekiq::Throttler needs a maintainer!

I'm no longer using Sidekiq but Sidekiq::Throttler is in need of some improvements. I won't be maintaining this project anymore but someone may want to pick up where I left off.
For now, there are at least two alternatives I know of:

sidekiq-limit_fetch
sidekiq-rate-limiter

Thank you, everyone for your support and contributions!

Tied back to you merging a few PRs last week, is there a chance of a gem update in the near future? This is blocking my team from upgrading to sidekiq 4, and while I have been watching some replacement gems, they haven't upgraded either.

:+1:

Thank you for the recent merges & commits, much appreciated :+1:. Any chance you could release it?

@ChaoticBoredom @redox Sorry for the delay. I've tagged and pushed sidekiq-throttler v0.5.0.

Awesome @gevans :100: thanks for your work!

:+1: :+1: :+1: Thank you very much sir!

I'd be happy to maintain this, if you're still looking for a maintainer.  I've been through most of the code already (I forked it a while back).

there is also https://github.com/sensortower/sidekiq-throttled as an alternative

hey @brianbroderick, are you maintaining this gem? I found a bug and I was wandering if it's worthy to send a PR. Thanks


Introduce User model

Fixes #30
.. instead of using a generic any aka {}interface 🤓

Shall I review?

There is nothing more to do, so yes please 😂
On Tue, Jan 30, 2024, 4:11 PM Ravi Shekhar Jethani @.***>
wrote:

Shall I review?
—
Reply to this email directly, view it on GitHub
https://github.com/ioki-mobility/go-outline/pull/73#issuecomment-1917126687,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOBQ62ES76FFVQYE4CN46DYREET3AVCNFSM6AAAAABCQ72E4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGEZDMNRYG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Can FaceRecognitionDotNet be used or adapted to recognize animal faces?

If this feature is not already present, would it be possible to include this feature in FaceRecognitionDotNet (well, the means to train it)? Animal facial recognition depends on species and breed. Imagine dog facial detection, for instance: there are many breeds and different looks for each age. Would it be possible to use custom data sets for training these specific facial recognition?
Animal face recognition is very useful for finding missing pets, tagging cattle and tracking wild animals.

No. FaceRecognitionDotNet depends on dlib and face_recognition.
They focus on detecting human face.
And I have no methods to train dataset to detect/recognizes animal face.


fix: Fix prepare_dataset_for_annotation_task to return correct format

Description
As described in the issue, the method returns question name for all records. In this PR, the question texts are returned so that the Alpha is correctly corrected. The method can be further improved with a better alternative.
Closes #4396
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference tests)

[ ] Test A
[ ] Test B

Checklist

[ ] I followed the style guidelines of this project
[ ] I did a self-review of my code
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

Thank you for tackling this @kursathalat! I think the function could be rewritten to make it more clear. For example in the loop:
for responses_ in hf_dataset[question_name]:
     ...

Could be rewritten a bit:
for row in hf_dataset:
    responses = row[question_name]
    question_text = row["text"]

Also, is this checked in the tests?

Great, will be changing it. Currently, it is not checking the expected behavior in the test but will add some lines for that as well.


[DiscogsBridge] Add optional image, if personal access token is configured

The current bridge interacts with Discogs' API anonymously, which provides all information except images. This change adds support for authenticating using a configured personal access token.
I took a shot and added the newly supported configuration to config.default.ini.php. If bridge-specific configuration should be excluded, let me know and I'll remove the change.
Resolves #1536

Looks good. Haven't tested. There is some additional whitespace as shown by the build artifacts.


Running an handler after response is returned

Hi,
In some cases you'd want to run common code after one of the handlers returned a Response but before it was returned to the client.
Some examples:

Async send accumulated log-lines to a logger service such as logDNA
Async send events to an analytics service
Enrich the response with additional headers such as requestId, context, cookies, etc

For all these cases I'd like to be able to add handlers that will run as middleware on the way out.
What do you think?
Is there another pattern to achieve that?

Hey @danbars!
Absolutely this is a pattern that is used, for example to embed CORS heads into responses before sending.  The way to achieve this is simply chain onto the router.handle promise:
// pseudocode

const logResponse = response => log(response) // assumes "log()" returns the response as well

router
  .handle(request, env) // assuming you return a valid Response from this...
  .then(response => {
    // do something to response

    return response // and pass it along
  })
  .then(logResponse) // basically tacking on response middleware
  .then(response => {
    // do something else to response

    return response // and pass it along
  })

Anecdotally (and unrelated), there are no rules within itty to enforce what may be passed through (Responses are just one option), so you could use this for all sorts of weird things that I haven't thought of.
Hope this helps!

Awesome, thanks 👍


Grammar fixes

Fixed grammar and removed "or resetting a password" because that's already listed and included with the starter pack.

@Ashera138 : Thanks for your contribution! The author, @davidmu1, has been notified to review your proposed change.

#sign-off


key not exists is not an fatal error in watchTree

key not exists is not an fatal error in watchTree
compatible behavior with https://github.com/smallnest/libkv-etcdv3-store/blob/master/etcdv3.go
otherwise it will cause service start dependency problem

I haved added allowKeyNotFound parameter so we can use it to handle those error

well done, with great appreciate


Use JSON for files

It would be great if the data of this plugin would be stored as JSON files, these could be processed by other tools and are easy to manage/extend with new functionality.
Example:
{
    "pause_on_unfocus": false,
    "time": 26452.453
}

Will bring together the settings and time save into one file.


Use intermediate-persist IndexSpec during multiphase merge.

The main change is the addition of an intermediate-persist IndexSpec
to the main "merge" method in IndexMerger. There are also a few minor
adjustments to the IndexMerger interface to encourage more harmonious
usage of its methods in the future.

This patch is getting nailed for test coverage in UnifiedIndexerAppenderatorsManager's LimitedPoolIndexMerger. In looking into this I've noticed that the class does need more tests, but also that a lot of IndexMerger interface methods are currently unused. Rather than add tests for all these unused methods, I'm looking into removing them.

I pushed a change that removes the unused-in-production IndexMerger methods "append" and "convert", and adds additional unit tests to UnifiedIndexerAppenderatorsManager. Hopefully this will satisfy the coverage checker.

The "analyze hadoop 3 dependencies" step keeps failing with this error:
[ERROR] error reading /home/travis/.m2/repository/com/amazonaws/aws-java-sdk-bundle/1.11.901/aws-java-sdk-bundle-1.11.901.jar; error in opening zip file
[ERROR] error reading /home/travis/.m2/repository/com/amazonaws/aws-java-sdk-bundle/1.11.901/aws-java-sdk-bundle-1.11.901.jar; cannot read zip file

I'm not sure why that would be; maybe it's a caching thing on the Travis side? Restarting the test doesn't help. Is there a "super-restart"?

I'm not sure why that would be; maybe it's a caching thing on the Travis side? Restarting the test doesn't help. Is there a "super-restart"?

I deleted all the Travis caches, maybe that'll do it.

I deleted all the Travis caches, maybe that'll do it.

Looks like that helped!


add the same context menu to systray icon pop-up window like i have in main window

i need this context menu ...

to be available on this popup window...

This was added to the latest nightly 👍

This was added to the latest nightly 👍

thank you!

thank you!


[WIP]fix(test) : fix test to run against production and prod-preview

Note: If there are pending changes to the PR, prefix the PR title with "WIP" and add the label "DO NOT MERGE"
Mandatory

[x] What does this PR do?
This PR fixes the test to run against production and also on prod-preview

[ ] What issue/task does this PR references?

[x] Are the tests Included?
yes

Optional

[ ] Is the documentation Included?

[ ] Are the Release Notes included?

[ ] @mention(s) to expected reviewer(s) included

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

[test]

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

[test]

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.

@Raunak1203 Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2716 and visit http://localhost:5000 to access it.


New Release?

Just curious when you plan to release the next version of chai-enzyme.  Currently, I'm getting a few deprecation warnings stemming from chai-enzyme's dependencies (that I see have been corrected on the master branch).

Published 0.5.1 just now


[Question] Target multiple paths (RDT-808)

I have multiple projects that use one component.
project home
 - component
 - path1
   -  CMakeLists.txt
   -  sdkconfig
   -  main
     - CMakeLists.txt
     - main.c
 - path2
   -  CMakeLists.txt
   -  sdkconfig
   -  main
     - CMakeLists.txt
     - main.c
 - path3
   -  CMakeLists.txt
   -  sdkconfig
   -  main
     - CMakeLists.txt
     - main.c

How can I target multiple paths?
I tried the following, but an error occurred.
      matrix:
        idf_version:
          - release-v4.4
          - release-v5.0
          - release-v5.1
        idf_target:
          - esp32
          - esp32s2
        idf_path:
          - path1
          - path2
          - path3

    runs-on: ubuntu-latest
    steps:
    - name: Checkout repo
      uses: actions/checkout@v4
      with:
        submodules: 'recursive'
    - name: Build Application with ESP-IDF
      uses: espressif/esp-idf-ci-action@v1
      with:
        esp_idf_version: ${{ matrix.idf_version }}
        target: ${{ matrix.idf_target }}
        path: ${{ matrix.idf_path }}

@nopnop2002 I cannot find any issues in your config just by looking at it.
What kind of error has occurred? Please share the logs.

@kumekay
I used this repository for test.
https://github.com/nopnop2002/esp-idf-DFPlayerMini
This is my espidf-compile.yml:
name: esp-idf-ci-action

on:
  pull_request:
    paths:
      - "main/**"
      - "components/**"

  push:
    paths:
      - "main/**"
      - "components/**"

  workflow_dispatch:
  repository_dispatch:

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        idf_version:
          - release-v4.4
          - release-v5.2
        idf_target:
          - esp32
          - esp32s2
          - esp32c3
          - esp32s3
        idf_path:
          - GetStarted
          - PlayWithGpio
          - PlayWithCron

    runs-on: ubuntu-latest
    steps:
    - name: Checkout repo
      uses: actions/checkout@v4
      with:
        submodules: 'recursive'
    - name: Build Application with ESP-IDF
      uses: espressif/esp-idf-ci-action@v1
      with:
        esp_idf_version: ${{ matrix.idf_version }}
        target: ${{ matrix.idf_target }}
        path: ${{ matrix.idf_path }}

This is log:


Alpine + host IPv6 = 💀

It takes circa 20 seconds for each connection to postgres:16.4-alpine via localhost with IPv6 enabled. This does not occur on the "normal" postgres:16.4 image. To be clear, the Docker network itself does not have IPv6 enabled, but the host does. That is, connecting to localhost is problematic because it resolves to <IP_ADDRESS> and ::1. It seems clients will typically try ::1 first (which is not available) and then fall back to IPv4 (<IP_ADDRESS>) after a protracted timeout. And yet that behaviour is different when not using the Alpine image, somehow.
I have confirmed this behaviour with PHP's PDO and pgAdmin 4, running on the host. Needless to say, connecting directly to <IP_ADDRESS> instead of localhost does not exhibit this behaviour.

There is no behaviour difference between Alpine and Debian so this is no fault of this image.


chore: release 1.1.5

v1.1.5

Added DirectCall.resumeAudioTrack() and LocalParticipant.resumeAudioTrack() methods to Android.

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1499


get transaction list for resource kind

Get transaction list for the resource kind from transaction api, and redirect the user to right screen based on the saved application status

CI: No security warnings found

CI: No security warnings found

CI: No security warnings found


Integrate LICENSE into jsmn.c to make it easier to integrate in other projects

Hi!
I just found jsmn, and would like to use it in my project. Could you please integrate the LICENSE directly into jsmn.c?
This would also enable the library to be listed in this popular list of single-file c libraries:
https://github.com/nothings/single_file_libs#json
best regards,
thomas!

It's a thing now.


Unable to render textarea with new observable property values?

Anyone know why my observable property values do not react with new values in textareas, but they work for every other React/HTML elements?  I show an example below.
    import React from 'react'
    import { render } from 'react-dom'
    import {observable} from 'mobx';
    import {observer} from 'mobx-react';

    var appState = observable({athlete_name:"Cy Young"});
    @observer
    export default class App extends React.Component
    {
      componentDidMount()
      {
        appState["athlete_name"] = "Babe Ruth"; // this variable/property will be loaded via a REST API http request
      }
      render() {

        console.log(appState["athlete_name"]);
        return (
        <form>
          <h1>{appState["athlete_name"]}</h1>
          <textarea>{appState["athlete_name"]}</textarea>
          <textarea defaultValue={appState["athlete_name"]} />
          <textarea defaultValue="Babe Ruth" />
        </form>
        )
      }
    }

    render(<App />, document.getElementById('app'))

The first two textarea prints Cy Young.  The h1, console.log(appState["athlete_name"]) and final textarea prints Babe Ruth.   Why is Cy Young not being replaced by Babe Ruth in the first two textareas?
Is this a bug?

As mentioned here:
https://stackoverflow.com/questions/55543425/mobx-observable-properties-set-in-componentdidmount-are-not-being-rendered-in-te
The defaultValue is typically only meant to be set once.  The value can be updated more than once.


Can leading widget for PullDownMenuHeader be further customized?

First, phenomenal work on this.  Its quite slick package.
The leading widget right now will always put your items in a grey box in iOS style.  But in the future, iOS style may change, so we should have the ability to customize that leading widget.  For example, no grey box with drop shadow, etc...
Or at the very least make the leading widget optional so we are not forced to put something there

Hi @mark8044,

But in the future, iOS style may change, so we should have the ability to customize that leading widget.

Yes, this might be a problem in the future as I no longer actively maintain this package since I don't have access to any Apple products anymore so I can't even verify if UI-related stuff is correct since most in-depth design docs they provide are in Sketch which is MacOS exclusive app 😞
This is a valid request and I'll try to come up with some update for this soon

Or at the very least make the leading widget optional so we are not forced to put something there

Wouldn't making the leading widget optional be redundant? You might as well use the normal PullDownMenuItem, no? But I guess that might also be nice to have

Hi @mark8044,

But in the future, iOS style may change, so we should have the ability to customize that leading widget.

Yes, this might be a problem in the future as I no longer actively maintain this package since I don't have access to any Apple products anymore so I can't even verify if UI-related stuff is correct since most in-depth design docs they provide are in Sketch which is MacOS exclusive app 😞
This is a valid request and I'll try to come up with some update for this soon

Or at the very least make the leading widget optional so we are not forced to put something there

Wouldn't making the leading widget optional be redundant? You might as well use the normal PullDownMenuItem, no? But I guess that might also be nice to have

You know of course you are right!    I did not realized that PullDownMenuItem still gave you the options of the subtitle and icon, so yes that is a better implementation for my use case.
I still like the idea of being able to update the icon on the left, but this is now very low priority :)
Thanks so much!

Hi @mark8044
Update 0.10.0 is live with leadingBuilder added to PullDownMenuHeader. This should be good enough as it allows for complete freedom of choosing what the leading widget will look like.
Snippet from examples:
PullDownMenuHeader(
  leadingBuilder: (context, constraints) => ConstrainedBox(
    constraints: constraints,
    child: const FlutterLogo(),
  ),
  title: 'Title',
)


Luis build failed: An application with the same name("name") already exist

Describe the bug
Hi to everyone, I have a problem with the Bot Composer.
As I wrote in the title, when I try to build my bot, I have this error: "Luis build failed: An application with the same name("name") already exist" (where "name" is invented).
My bot has multiple languages, so when I build the bot from composer, in the LUIS portal I have an app that is created for all the languages (Example: if the bot have italian, english and spanish languages , in the LUIS portal I'll find 3 app for each languages and dialogs).
I can fix this error deleting the various app that i find in the LUIS portal and then re-build the bot from the composer (it's not an optimal solution), but, if in a second moment I make changes on the composer and build the bot, the error occur again.
This error is random, once it gives me error for one application, if I do a second build the error it gives me is for another application (once I have this: "Luis build failed: An application with the same name("name") already exist", next time I have this: "Luis build failed: An application with the same name("other_name") already exist").
Has anyone already encountered this problem?
Version
I'm using the 2.1.2 version of the composer
Browser

[X] Electron distribution

OS

[X] Windows

Screenshots

Hi @Symon94,
To create multilingual bots in Composer, you will need to use the Orchestrator. By default, you cannot link multiple LUIS models to a single Composer bot. There is also documentation for creating an Orchestrator bot with Composer.
Additionally, the Microsoft Bot Framework team prefers that how-to questions be submitted on Stack Overflow. The official Bot Framework Github repo is the preferred platform for information on submitting bug fixes and feature requests.
This issue will be closed, but if you have a bug or feature request, please feel free to open a new issue in the appropriate repository.

@anishprasad01 I resolved the problem.
I found a bug in Bot Composer, precisely, when the Composer makes this API call:
the problem here is that in this API call the max number of app that the API return is 100 but if you have more than that, the Composer try to create the ones that missing and then return the error "An application with the same name("name") already exist" because in the LUIS portal that app exists.
The first screenshot is the API calls for all the app
The second screenshot represent a search doing with notepad++ of how many app the response JSON of the API call returns. As we can see, the count is 100.

Buenas Tades para Todos, tengo un problema con bot composer
Cuando le doy en iniciar start bot me sale el siguiente error


Solving parameters

Solves #34
@kmatch98 This solves the parameter Issue. Tested locally. Please verify

Probably you will need to recreate the dev environment, as requirements change after the last release, or you could mock the import in you local directory and it will solve the problems. I verified the built and the documents are showing ok.


fixed scripts: Update e2e.go command

Fixes errors in 1.7 script due to invalid --check_version_skew=false flag
Adds --check-version-skew=false back to 1.6 script
Avoids warning by using a -- separator befor kubetest flags

Related to #30

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

Thanks for the PR, merged (with some minor changes). Please note that you need to edit dind-cluster.sh script, and scripts in fixed/ are generated automatically with build/genfixed.sh.


Traffic View Non-Functional

After many days I am still receiving the error message: The requested heat map content does not exist.

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

ID: 1964d4c8-7106-ac1e-3d69-30681e755f49
Version Independent ID: e0d241fa-50d1-076d-eb15-854a9e8086c4
Content: Traffic View in Azure Traffic Manager
Content Source: articles/traffic-manager/traffic-manager-traffic-view-overview.md
Service: traffic-manager
GitHub Login: @KumudD
Microsoft Alias: kumud

@adamreed90 I am able to view heat maps without an issue, this looks like an issue with your heat map. Please create a support request if you wish to pursue this further.
If you do not have a support plan, you can email me at<EMAIL_ADDRESS>with your Subscription ID and a link to this issue and I will enable a one-time free support request for your subscription.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


feat(redis): Prefetch fingerprints to increase likelihood of acquiring lock

We often see that the queue backs up on ready messages, even though the worker pool isn't filling up. I believe this is due to the poll / lock behavior within keiko. The current behavior is that every instance will fetch the HEAD fingerprint on the queue and fight for a lock on it. If the lock fails, the entire poll cycle is given up on, which means the instance won't be doing anything for at least one cycle. In this PR, I fetch multiple fingerprints off the queue and iterate in order until a lock is acquired. If the list of prefetched fingerprints is exhausted without successfully acquiring a lock, the normal behavior is used (no-op on cycle). This prefetch count should be equal to or more than the number of Orca instances running against the queue.

LGTM ... wcgw


Command not found

Hello,
I installed the elicznik and getting an error after launching the command below:
elicznik<EMAIL_ADDRESS>mypasssword 2022-04-23
[1] 21298
-bash: 2022-04-23: command not found
but when launch the command "elicznik -h " it works fine, also api works  fine. I am using special characters in password like: . ? &

bash: elicznik -h
usage: elicznik [-h] [--format {raw,table,csv}]
username password [start date] [end date]
positional arguments:
username              tauron-dystrybucja.pl user name
password              tauron-dystrybucja.pl password
start date            Start date of date range to be retrieved, in ISO8601
format. If the end date is omitted, it's the only date
for which measurements are retrieved.
end date              End date of date range to be retrieved, inclusive, in
ISO8601 format. Can be omitted to only retrieve a
single day's measurements.
optional arguments:
-h, --help            show this help message and exit
--format {raw,table,csv}
Specify the output format

Most likely your password contains a special char, perhaps it ends with a semicolon, ampersand or pipe symbol?  This makes bash interpret the next parameter as a separate new command.
Try putting the login and password parameters in single quotes, e.g. elicznik<EMAIL_ADDRESS>'mypasssword' 2022-04-23

Now its better however still getting error but this time:
Traceback (most recent call last):
File "/home/pi/.local/bin/elicznik", line 8, in
sys.exit(main())
File "/home/pi/.local/lib/python3.7/site-packages/elicznik/main.py", line 55, in main
result = elicznik.get_readings(args.start_date, args.end_date)
AttributeError: 'Namespace' object has no attribute 'start_date'

That's a bug -- I fixed it in v1.2.


Fix sonar checks in PRs

Due to time needed for fail investigation, it would be easiest to disable in each repository Jenkinsfile.
Investigate and change configuration to switch to Apache SonarCloud instance.

@yesamer no, this stays in backlog for quite some time now.
I had draft PRs for enabling, and frankly, I don't remember what were the issues back then.
Important thing to note is that it was implemented only in Jenkins PR checks - so if we're discussing move from Jenkins to GHA for PR checks, this would be a gap.


Evaluate possible search engines

From the list of requirements in #140 we need to find the search solution that is best suitable for the job.
Algolia is one candidate. Any other good candidates?

I have now done some research on this topic.
It turns out that there are many companies offering search "engines" for web sites and applications, but they are hard to compare.
The focus areas for each service are sometimes quite different. So is the pricing model.
From what I can see we can at least put them in two categories; the ones crawling your web site and the ones you'd feed with the content you want to index.
For the first category there are quite a lot of contenders. AddSearch and Swiftype are good examples.
These are well renowned and probably very good at what they do. However they do not give the developers the flexibility wanted/needed for this project. At least my understanding is that we want the ability to customize the search in a rather granular way.
For the second category you'll find Algolia together with Azure Search and the likes of Elastic Search.
Elastic Search is kind of low level and it would require quite a lot of work creating all the functionality we need in the project.
Azure Search is very capable in many respects, and the cognitive part is really advanced.
It is quite costly, though, and it is lacking in the component department. We would have to create everything we need for the visual part if we are to go with this solution.
Then at last Algolia. In some respects it is similar to Azure Search, but where AS is a very generic tool for indexing data and making it searchable, Algolia is more targeted on web sites. They have a component suite and analytics built in.
Also Algolia has been used by some/one team member(s) in previous projects, and would thus give an advantage in terms of development speed. The pricing model is not very predictable which I don't like, but with expected™ traffic it looks like it is competitive.
I don't think we should spend more time on evaluating this at this stage. We could continue as if Algolia is the preferred tool, and adjust if we meet some show stopping challenges.


Fix duplicate react key issue

This resolves issue #1713. It was caused by duplicate React keys for dynamic elements, so I replaced the existing keys with the following keys (which shouldn't overlap since we do not allow multiple containers with the same name):
${ContainerName}-${lineNumber}
Signed-off-by: Clement Ho<EMAIL_ADDRESS>

It's actually difficult for me to replicate even with 5 hello-world-nginx type containers showing.
I like the simplicity of the fix which should prevent duplicate keys.
Thanks.


$dbh->prepare error

hello , i want use $dbh->prepare to insert csv data to my database but $dbh give me a error ( his not defined). i'm use  laravel 5.2. any solution for this problem ?

Hi,
Please read carefully the documentatio, $db->prepare is out of scope from the current library


Update to Solidity 0.5.2

As per https://github.com/ethereum/EIPs/issues/820#issuecomment-454021564 this alters the input length for noThrowCall() from 8 to 36 bytes.
Of course, to test it I needed to update the Solidity version to 0.5.x so that's in here as well.
All errors have been fixed, all warnings except those in TestERC165's constructor have been fixed.
New IV generated to ensure that the contract deploys to an address starting with 0x820.

Wasn't ERC820 deprecated and now we should look at ERC820a (https://github.com/jbaylina/ERC820a)?


[Backport v1.14-branch] Bluetooth: Fix GAP/IDLE/NAMP/BV-01-C

This backports the necessary changes in order to pass the qualification test  GAP/IDLE/NAMP/BV-01-C.
Fixes #17092

@tedd-an please rerun autopts with these set just to confirm all the changes are in place.

@tedd-an please rerun autopts with these set just to confirm all the changes are in place.
@Vudentz It looks like f6665c812 is also required to prevent the read_by_uuid from going into an infinite loop.
I tested this PR + f6665c812 and it passed the test.

f3dbfef2df (HEAD -> pr_17094) Bluetooth: gatt: Fix infinite read_by_uuid procedure
a64de56035 tests: bluetooth/tester: Add support Read Using Characteristic UUID
3ed44321a5 Bluetooth: GATT: Fix not parsing result of Read by Type
64da988b0c Bluetooth: GATT: Add support for Read Using Characteristic UUID

1/1   GAP   GAP/IDLE/NAMP/BV-01-C   PASS            26.052

Also, do we need 52d2a08?

@tedd-an please rerun autopts with these set just to confirm all the changes are in place.

@Vudentz It looks like f6665c8 is also required to prevent the read_by_uuid from going into an infinite loop.
I tested this PR + f6665c8 and it passed the test.
f3dbfef2df (HEAD -> pr_17094) Bluetooth: gatt: Fix infinite read_by_uuid procedure
a64de56035 tests: bluetooth/tester: Add support Read Using Characteristic UUID
3ed44321a5 Bluetooth: GATT: Fix not parsing result of Read by Type
64da988b0c Bluetooth: GATT: Add support for Read Using Characteristic UUID

1/1   GAP   GAP/IDLE/NAMP/BV-01-C   PASS            26.052

Ive added that patch as well.

Also, don't we need 52d2a08?

I guess it is best just to backport what is strictly necessary to minimize potential regressions on the shell.

@Vudentz I reran new PR and it passed.
1/1   GAP   GAP/IDLE/NAMP/BV-01-C   PASS            24.905


Disable decorations when in review mode

Is it possible to disable decorations when I have an active PR? Sometimes I want to carry on working on my PR branch while it's being reviewed and there far too many decorations from this extension in the editor view.

I think what you want is to disable "review mode" even when on the PR branch. Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/408


Return smiles from parser.perse

resolve #92
My main concern is default argument.
For now, I set True as return_smiles default argument.
If you have opinion, please tell me.

Codecov Report

Merging #94 into master will increase coverage by 0.11%.
The diff coverage is 59.45%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   73.87%   73.99%   +0.11%
==========================================
  Files          59       59
  Lines        2270     2253      -17
==========================================
- Hits         1677     1667      -10
+ Misses        593      586       -7

@mottodora  It is not important but can you remove [WIP] from the title?

My main concern is default argument. For now, I set True as return_smiles default argument.

I would say it is good to set the default argument False, as most of expected use cases do not require SMILES and it reduces memory usage.

OK. I will change it.


fix: Check additional_binding's custom FieldsExtractor

Thank you for opening a Pull Request! For general contributing guidelines, please refer to contributing guide
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #1440 ☕
This Part 2 of the fix. Part 1 was resolved here: https://github.com/googleapis/gapic-generator-java/issues/1440

Error:
16:29:34:562 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) on project google-cloud-kms: Compilation failure: Compilation failure:
16:29:34:563 [ERROR] /tmpfs/src/github/gapic-generator-java/google-cloud-java/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/HttpJsonEkmServiceStub.java:[380,23] cannot find symbol
16:29:34:563 [ERROR]   symbol:   method setAdditionalPaths(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
16:29:34:563 [ERROR]   location: class com.google.api.gax.httpjson.ProtoMessageRequestFormatter.Builder<com.google.iam.v1.SetIamPolicyRequest>
16:29:34:563 [ERROR] /tmpfs/src/github/gapic-generator-java/google-cloud-java/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/HttpJsonEkmServiceStub.java:[422,23] cannot find symbol
16:29:34:564 [ERROR]   symbol:   method setAdditionalPaths(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
16:29:34:564 [ERROR]   location: class com.google.api.gax.httpjson.ProtoMessageRequestFormatter.Builder<com.google.iam.v1.GetIamPolicyRequest>
16:29:34:564 [ERROR] /tmpfs/src/github/gapic-generator-java/google-cloud-java/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/HttpJsonEkmServiceStub.java:[461,23] cannot find symbol
16:29:34:565 [ERROR]   symbol:   method setAdditionalPaths(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
16:29:34:565 [ERROR]   location: class com.google.api.gax.httpjson.ProtoMessageRequestFormatter.Builder<com.google.iam.v1.TestIamPermissionsRequest>
16:29:34:565 [ERROR] /tmpfs/src/github/gapic-generator-java/google-cloud-java/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/HttpJsonKeyManagementServiceStub.java:[1164,23] cannot find symbol
16:29:34:565 [ERROR]   symbol:   method setAdditionalPaths(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
16:29:34:566 [ERROR]   location: class com.google.api.gax.httpjson.ProtoMessageRequestFormatter.Builder<com.google.iam.v1.SetIamPolicyRequest>
16:29:34:566 [ERROR] /tmpfs/src/github/gapic-generator-java/google-cloud-java/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/HttpJsonKeyManagementServiceStub.java:[1206,23] cannot find symbol
16:29:34:566 [ERROR]   symbol:   method setAdditionalPaths(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
16:29:34:566 [ERROR]   location: class com.google.api.gax.httpjson.ProtoMessageRequestFormatter.Builder<com.google.iam.v1.GetIamPolicyRequest>
16:29:34:567 [ERROR] /tmpfs/src/github/gapic-generator-java/google-cloud-java/java-kms/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/HttpJsonKeyManagementServiceStub.java:[1245,23] cannot find symbol
16:29:34:567 [ERROR]   symbol:   method setAdditionalPaths(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
16:29:34:567 [ERROR]   location: class com.google.api.gax.httpjson.ProtoMessageRequestFormatter.Builder<com.google.iam.v1.TestIamPermissionsRequest>
16:29:34:568 [ERROR] -> [Help 1]

Seems to be due to the breaking changes from this PR (updating setAdditionalPaths to setAdditionalPathsExtractorMap.

Closing this issue for now. Will re-open if there is a need for this fix.


Namespace selector and multiple namespaces

We have https://github.com/kiali/kiali-design/pull/32 that introduces a new namespace drop down.
It was merged but there was no answer to @lucasponce question posted here: https://github.com/kiali/kiali-design/pull/32#issuecomment-419016270
In essence, currently we can select multiple namespaces in the detail view and the new change does not show how this would be possible.
How should we allow users to select multiple namespaces? Or are we going to remove that functionality?

@mwringe I believe that https://github.com/kiali/kiali-design/pull/59 is resolving this issue. please confirm

Yep #59 resolves this. Closing.


Advice for moving from clue/metrics to clue OTEL usage

Previously, we were using clue/metrics which allowed us to send metrics to Prometheus directly. It seems like the metrics.HTTP is no longer available in its previous form. It seems that the new suggested method is to use OTEL, which I understand needs an OTEL collector.
By any chance, does the new methodology support direct Prometheus metrics? If not, do you have any advice for migrating to the new methodology?

Hello, migrating to OpenTelemetry opens up the entire ecosystem to clue users but also means that the simple direct integration with Prometheus isn't practical anymore. Migrating to clue 1.x requires running an OpenTelemetry collector that exposes the Prometheus compatible endpoint.
Here is the Quick start guide for running an OpenTelemetry collector: https://opentelemetry.io/docs/collector/quick-start/ - basically it consists of running a docker container that is configured via a YAML file.
And here is the README for the Prometheus exporter.
So TL; DR:

Create a YAML file with content similar to:

receivers:
  otlp:
    protocols:
      grpc:
exporters:
  prometheus:
    endpoint: "<IP_ADDRESS>:8889"
processors:
  batch:
service:
  pipelines:
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [prometheus]

Run the OpenTelemetry collector docker image with the config above:

docker run \
  -p <IP_ADDRESS>:4317:4317 \
  -p <IP_ADDRESS>:55679:55679 \
  -v $(pwd)/config.yaml:/etc/otel/config.yaml \
  otel/opentelemetry-collector \
  2>&1 | tee collector-output.txt # Optionally tee output for easier search later

Hope this helps!


Tessaract LibPng libJpeg Dependecies

Environment

Tesseract Version: Tessaract 3.5
Platform: Redhat

Current Behavior:
When I installing Tessaract manually, I did not see the LibPng / libJpeg dependencies.
I can find libJpeg/ libpng on my lib directory
tesseract --version
tesseract 3.05.02
leptonica-1.72
zlib 1.2.8
Expected Behavior:
Something like this:
tesseract 3.05.02
leptonica-1.73
libgif 5.1.2 : libjpeg 8d (libjpeg-turbo 1.4.2) : libpng 1.2.54 : libtiff 4.0.6 : zlib 1.2.8 : libwebp 0.4.4 : libopenjp2 2.1.2
How do I debug this?
Is there any way to check where the Tessaract find that LibPNG library?
Thanks

It is not tesseract issue - tesseract does not use any image library dirrectly. Tesseract use only leptonica.
You need to fix your leptonica build.


Secor upgrade

What is this change about?  Looks like lots of code are changed/removed.

@HenryCaiHaiying These changes are specific to organisation, So going to close this pull request.


Sometimes folding don't work as intended

After some editing symbols glitching and duplicate themselvs.

Solved now!


Doesn't work with first publish with scope

If I publish with a scope, for example, using:
{
  "name": "@ecmadao/my-project"
}

safe-publish-latest looking up the versions fails, which kills the publish.
For more 404 error message difference between package-name and @scope/package-name, you can see the following screenshot:

And I have already create a PR. By the way, thanks for your package!

Fixed in e04d9b3347334c226f5784fee3efa71b85311c1c

@ljharb
Cool. Thank you.


FileNotFoundError: [Errno 2] No such file or directory: 'data/youcook2/meta_all.json'

Hi, friends, when I run the command 'python data_read_youcook2_meta.py'. I get the error 'FileNotFoundError: [Errno 2] No such file or directory: 'data/youcook2/meta_all.json'. I wonder if you could tell me how to download this file.

Hi, try creating the folder data/youcook2 and run the script again, it should generate the file.


Minor version update

Hi, I've noticed it's not possible to use minor version update like 1.1 or 1.2 etc because the versionCode var is an Int. Do you think it's possible and it makes sense to change the code and to use a Double instead?
Here my json example:
{ 	"versionCode": 1.1, 	"cancellable": true, 	"url": "http://<IP_ADDRESS>/app-release.apk" }
in this case the
if (AppUpdater.getCurrentVersionCode(this@MainActivity) < updateModel.versionCode)
return false when the version of the app is 1.0

Actually, the version code is not really supposed to be a double or float as per Android documentations. It is supposed to be an int. You should use 1 or 2 instead of floating points like 1.0 or 2.0.


chore: update helm chart

Doing this because we deployed a new script api version.

Is this a new chart
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [mychartname])

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


[JN-452] Form version selector

This adds a new "History" button next to the form version in the editor, allowing you to open previous versions in a new tab in the editor. Previous versions open in "Preview" mode.
Video of the version selector in use:
https://github.com/broadinstitute/juniper/assets/7257391/a4b8c886-bd0e-421a-bd41-3abf103de006

I noticed something during testing that may not be from this PR but is instead making it more apparent.  However, when opening the history selector, v1 does not have a date/time stamp. Looking in the database, created_at and last_updated_at are 1969-12-31 19:00:00.000000, so I'm guessing those fields aren't being initialized and/or saved when creating a new survey.


Add definition for VPADSetGyroDirReviseBase

Added definition for VPADSetGyroDirReviseBase in input.h.
Removed the sudo in ci.yml, this is not required when using a Docker container.
Added missing doxygen comments in debug.h.

Thanks!


Forces the writer to raise an error if the user attempts to write an out-of-range symbol ID.

This prevents the writer from writing Ion data that can never successfully be read; data with symbol IDs out of range of the current local symbol table context MUST raise an error on read.

Merged in #92 ; leaving open for a while in case there is additional feedback.


geo sort

Hi,
I am wondering how can I use sort by distance? if I set parameter "sort" make it like:
{..., "sort"=>array("name", "id")}

it works ok, but I have a location field which is mapped as "geo_point" but when I add in that array "location" the results disappear, and I guess there is an error underneath (meaning the response from the ES, not your lib)?
Any ideas?
Thank you

I had the same problem.  This is what I used:
'sort' => array(
                    array(
                        '_geo_distance' => array(
                            'location' => array(
                                'lat' => $this->latitude,
                                'lon' => $this->longitude,
                            ),
                            'order' => 'asc',
                            'unit' => 'km'
                        ),
                    ),
                ),
~~~


[Snyk] Security upgrade fastlane from 2.214.0 to 2.215.0

Snyk has created this PR to fix 3 vulnerabilities in the rubygems dependencies of this project.
Snyk changed the following file(s):

Gemfile
Gemfile.lock

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-RUBY-REXML-7577227
  67

Denial of Service (DoS) SNYK-RUBY-REXML-7577228
  49

Denial of Service (DoS) SNYK-RUBY-REXML-7462086
  38

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"fastlane","from":"2.214.0","to":"2.215.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-RUBY-REXML-7462086","priority_score":38,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"low"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"required"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.00043},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Wed Jul 17 2024 06:46:38 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"medium"},{"name":"relativePopularityRank","value":98},{"name":"impact","value":2.35},{"name":"likelihood","value":1.61},{"name":"scoreVersion","value":"V5"}],"severity":"medium","title":"Denial of Service (DoS)"},{"exploit_maturity":"Proof of Concept","id":"SNYK-RUBY-REXML-7577227","priority_score":67,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"low"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"proofOfConcept"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.01055},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Thu Aug 01 2024 14:55:24 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"medium"},{"name":"relativePopularityRank","value":98},{"name":"impact","value":2.35},{"name":"likelihood","value":2.83},{"name":"scoreVersion","value":"V5"}],"severity":"medium","title":"Uncontrolled Resource Consumption ('Resource Exhaustion')"},{"exploit_maturity":"No Known Exploit","id":"SNYK-RUBY-REXML-7577228","priority_score":49,"priority_score_factors":[{"name":"confidentiality","value":"none"},{"name":"integrity","value":"none"},{"name":"availability","value":"low"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity"},{"name":"userInteraction","value":"none"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"low"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.00045},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Thu Aug 01 2024 14:55:32 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":true},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"medium"},{"name":"relativePopularityRank","value":98},{"name":"impact","value":2.35},{"name":"likelihood","value":2.06},{"name":"scoreVersion","value":"V5"}],"severity":"medium","title":"Denial of Service (DoS)"}],"prId":"ee27edb9-ba6e-42bf-b9a8-34fada7968cd","prPublicId":"ee27edb9-ba6e-42bf-b9a8-34fada7968cd","packageManager":"rubygems","priorityScoreList":[38,67,49],"projectPublicId":"b1074113-c1cb-49e8-8781-0378abf72a3b","projectUrl":"https://app.snyk.io/org/tadashi0713/project/b1074113-c1cb-49e8-8781-0378abf72a3b?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":["SNYK-RUBY-REXML-7462086","SNYK-RUBY-REXML-7577227","SNYK-RUBY-REXML-7577228"],"vulns":["SNYK-RUBY-REXML-7462086","SNYK-RUBY-REXML-7577227","SNYK-RUBY-REXML-7577228"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

CircleCI App Distribution

Platform
Android

Name
Sunflower

ReleaseVersion
0.1.6

BuildVersion
1

Identifier
com.google.samples.apps.sunflower

Install URL
https://output.circle-artifacts.com/output/job/bafce4cc-dd3a-4c05-a34b-4410d423bbe8/artifacts/0/index.html

QR Code


Feature Request: Never Mock CommonModule standalone directives

Describe the feature or problem you'd like to solve
I'm currently migrating my Angular app to standalone components and I noticed a lot of UT's failing due to the fact that the standalone Directives from the CommonModule are all mocked.
If you use the CommonModule, this issue doesn't occur, because the CommonModule will never be mocked.
https://github.com/help-me-mom/ng-mocks/commit/119dd80#diff-681237701f19323be249b4715554476ddf90b5f2f81ebbf06e8a7206344048aa
Proposed solution
Can all the standalone directives from the CommonModule also be excluded from mocking. This will prevent to do a
      .keep(NgIf)
      .keep(NgSwitch)
      .keep(NgSwitchCase)
      .keep(NgFor)
      etc...

in every UT. Many thanks!
Additional context
Posted this on the gitter as well: https://app.gitter.im/#/room/#ng-mocks_community:gitter.im/$B5OT4_mO-IlFcQHZc7Pg_rYyxm-OxSJBdPx1BNPVkAM

Hi @evtk,
could you provide an example of a failing test?

The example is here: https://stackblitz.com/edit/github-vfxlsb?file=src%2Fexamples%2FTestStandaloneComponent%2Ftest.spec.ts&initialpath=?spec=TestStandaloneComponent

v14.7.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.

awesome, many thanks. Works like charm!


az functionapp config ssl upload failed with 'NoneType' object has no attribute 'hosting_environment_profile'

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
az functionapp config ssl upload failed with 'NoneType' object has no attribute 'hosting_environment_profile'
To Reproduce
az functionapp config ssl upload --certificate-file "C:\Users\goswami\Downloads\dev.pfx" --certificate-passwor "password" --name "Function1" --resource-group "rg1"
The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'hosting_environment_profile'
Traceback (most recent call last):
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\knack\knack\cli.py", line 206, in invoke
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli-core\azure\cli\core\commands_init_.py", line 578, in execute
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli-core\azure\cli\core\commands_init_.py", line 636, in run_jobs_serially
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli-core\azure\cli\core\commands_init.py", line 627, in run_job
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli\azure\cli\command_modules\appservice\commands.py", line 55, in polish_bad_errors
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli-core\azure\cli\core\commands_init.py", line 606, in run_job
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli-core\azure\cli\core\commands_init.py", line 305, in call
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli-core\azure\cli\core_init.py", line 485, in default_command_handler
File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-qdpilz60\azure-cli\azure\cli\command_modules\appservice\custom.py", line 1836, in upload_ssl_cert
AttributeError: 'NoneType' object has no attribute 'hosting_environment_profile'
Expected behavior
It should upload .pfx file to ssl setting of Azure Function
Environment summary
C:\Scripts\B2C Automation> az --version
azure-cli                         2.0.69
command-modules-nspkg               2.0.3
core                              2.0.69
nspkg                              3.0.4
telemetry                          1.0.3
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\BhanushGoswami.azure\cliextensions'
Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
Add any other context about the problem here.

There should me more checks in function app implementation.
I just ran exactly the same command and I got exactly the same error. (without even creating function app beforehand).

I didn't get what do you mean by "There should me more checks in function app implementation." could you please elaborate it?

I mean I tried exactly the command you used:
az functionapp config ssl upload --certificate-file "C:\Users\goswami\Downloads\dev.pfx" --certificate-passwor "password" --name "Function1" --resource-group "rg1"
without creating functionapp first, and it just crashed in the same way. It should tell me that function app "Function1" doesn't exist.

what do you assume the issue here?

its resolved


Add a section on subnet types to developer docs

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[x] You have updated the .github/CODEOWNERS file according to your changes.
[x] You have registered new documents to /sidebars.js if any.

Sorry, got sidetracked. Looks like I broke the build entirely. Trying again. If this works I'll approve


TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.

Hi, I have added my own wav file (16k, pcm, 16000hz) and get this error.
Traceback (most recent call last):
File "/content/styletalk/inference_for_demo.py", line 168, in
generate_expression_params(
File "/usr/local/lib/python3.10/dist-packages/torch/utils/contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/content/styletalk/inference_for_demo.py", line 107, in generate_expression_params
audio_win = torch.tensor(audio_win).cuda()
TypeError: can't convert np.ndarray of type numpy.object. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.
video created!
OK so it wasnt the wav file it was the json not being in the correct format.

You can use this to convert to CMU https://github.com/morevnaproject-org/papagayo-ng/blob/master/phoneme_conversion_helper.py
Then from CMU to indices
import json

# Given phoneme index
phoneme_index = {
    "AA": 0, "AE": 1, "AH": 2, "AO": 3, "AW": 4, "AY": 5, "B": 6, "CH": 7, "D": 8, "DH": 9,
    "EH": 10, "ER": 11, "EY": 12, "F": 13, "G": 14, "HH": 15, "IH": 16, "IY": 17, "JH": 18,
    "K": 19, "L": 20, "M": 21, "N": 22, "NG": 23, "NSN": 24, "OW": 25, "OY": 26, "P": 27,
    "R": 28, "S": 29, "SH": 30, "SIL": 31, "T": 32, "TH": 33, "UH": 34, "UW": 35, "V": 36,
    "W": 37, "Y": 38, "Z": 39, "ZH": 40
}

# Read the original JSON data from a file
with open('/content/styletalk/your_file.json') as f:
    json_data = json.load(f)

# Convert phoneme labels to phoneme indices
for item in json_data:
    for phone in item['phones']:
        phone['ph'] = phoneme_index[phone['ph']]

# Save the converted JSON data as a new file
with open('converted_file.json', 'w') as f:
    json.dump(json_data, f, indent=4)

print("Converted JSON data has been saved")

Then strip it down to just the values
#@title once phonemes have been converted from IPA to CMU
import json

# Read the JSON data from the file
with open('/content/styletalk/converted_file.json') as f:
    json_data = json.load(f)

# Extract only the "ph" values
ph_values = [phone["ph"] for item in json_data for phone in item["phones"]]

# Save the new JSON data as a file
with open('usablefile_seq.json', 'w') as f:
    json.dump(ph_values, f, separators=(',', ':'))

print("New JSON data has been saved")

Code was thanks to chatGPT at you.com

@G-force78 Can u share us how to extract the phonemes?

@G-force78 Can u share us how to extract the phonemes?

I used https://github.com/xinjli/allosaurus.git


Document ipywidgets (architecture/integration with VSC)

Document some of the comms layers
Dependencies
Quirks and the like encountered

Sequence of message matter
E.g. multiple rendering, how we overcame

How external dependencies pulled from unpkg.com

I think this will be very useful.

When debugging in a year
When integrating into VSC native notebooks

I'm going to put this on the github wiki so anybody can see it.

Wiki is here:
https://github.com/microsoft/vscode-python/wiki/Component:-IPyWidgets

Moving back to document how we load widget source.


ui/AnnotatedCameraWidget: only save and restore the changed pen and brush

save() and restore() is a convenient way to save and restore the entire painter state. it's expensive to repeatedly calling them in every drawing function.

Does this actually improve performance?

The initial test showed that it could save 0.5% to 1% of CPU usage. But I tested it again today and it seems that there is almost no improvement. So I closed this pull request.


Unknown transition #wipe flash

Unknown for now but I will figure it out

Finally found that transtion achieves nothing, we can ignore it for this game.
最终发现wipe flash并不能实现任何效果，所以我们可以在此游戏中忽略此命令。


[BUG] session.total_laps returns the original number of laps.

Describe the issue:
For the recent race (Brazilian Grand Prix), the number of laps went from 71 to 69 due to an extra formation lap following an aborted start. Shouldn't session.total_laps return 69 instead of 71 (which is the original lap count) for this weekend or is there any alternative function that can extract the total number of racing laps?
EDIT: Another related issue, all drivers are classified as DNF'ed when get_driver().dnf is used.
Another note, session.race_control_messages['Lap'].max() can be used to retrieve lap count for the aforementioned case.
Reproduce the code example:
print(session.total_laps)

Error message:
71

Session.total_laps intentionally returns the original lap count. There are other ways for getting the true count of racing laps, as you have already noticed too.
Also, this is stated explicitly in the documentation ("Originally scheduled number of laps for race-like sessions[...]"). Therefore, I don't see an issue here.
I would assume that the get_driver().dnfissue has resolved itself by now? This was likely caused by data being not yet available on ergast.com. Or does this issue still persist?

Yeah, the issue involving get_driver().dnf has resolved. Thank you.


Add template for Feature Request

Fixes #5560

Same as your other MR – this is already added in #5594.


Update input state when upload is finished

Adjustments to make sure MuxUpload.inProgress returns the correct value when the upload is finished.

Also removed the other if let checks for the handler closure properties inside MuxUpload.handleStateUpdate() and replaced them with ?.