Weird Beeps

I just noticed some things when logging into the app on Testflight for the first time that did not happen when running locally. One concern is that when you click Covid19 Hotspots, two beeps happen every so often, and I feel like that could potentially scare a user.
As an engineer:

[ ] When I find out the cause for the two beeps
[ ] Then I remove them

That's 'debug: true' in LocationListener.tsx.

@Samkeer1 ahhh i see, do we want that? if so, closing!

Nope, it's super annoying and I usually keep it set to false when I'm running movement simulations. We can close this, I'll commit 'debug: false' into what i'm working on currently which is #58


Revert "Fix inconsistent hooks error in builder"

Reverts dust-tt/dust#5899
Revert PR to deploy to front-edge for repro

Was not able to reproduce any further. closing


IGNITE-18280 Declare proper dependencies in the packaging tasks

https://issues.apache.org/jira/browse/IGNITE-18280
This fix properly declares dependencies between packaging tasks so that the gradle can optimize them correctly and don't complain.
Also this adds a property check for adding release artifacts. The reason is that adding an artifact to the configuration automatically adds a dependency to the assemble task so running gradlew build always produces artifacts intented only for the release.

LGTM


Fix NullReferenceException in PathUtils.DropPathRoot if Path.GetPathR…

The Path.GetPathRoot method is able to return null.
PathUtils.DropPathRoot should handle this case.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

This has affected our project, we were using this library to zip and unzip a simple message to be stored elsewhere, and passing the ZipEntry name as string.Empty. After upgrading from v1.3.1 to v1.4.2, this started throwing an exception.

Yeah, this seems like it should obviously be handled. I want add a test case for this, but otherwise this should be mergable.

Since the source branch is removed, this is superseded by #828.


MQTT config

Hello!
I'm looking forward to use MQTT with baresip and was wondering if there is anyway I could configure the broker, authentication and TLS in config file. Seems like broker, authentication is to be hardcoded in mqtt.c?

@mrcasablr did you have a look at this one:
https://github.com/alfredh/baresip/blob/master/docs/examples/config#L179

please test the above commit.

delete ~/.baresip/config
re-compile baresip
start baresip

the ~/.baresip/config file should now have the template for MQTT.

@alfredh Thank you for the updates, I will test and report.  This is such an amazing project and can;t thank you enough for working on this.
On an another note on MQTT, is supporting TLS on the cards some time in the future?

MQTT over TLS is not on my TODO list, but a PR is welcome.
we will make the new release this sunday (1. Sept):
https://github.com/alfredh/baresip/issues/777
we are happy to get help with testing

please verify that it works, re-open if something is not working.

@alfredh The configuration works -
Default config has -
# mqtt
#mqtt_broker_host       <IP_ADDRESS>
#mqtt_broker_port       1883
#mqtt_broker_clientid   baresip01
#mqtt_broker_user       user
#mqtt_broker_password   pass
#mqtt_basetopic         baresip/01

More config from init ..
baresip v0.6.4 Copyright (C) 2010 - 2019 Alfred E. Heggestad et al.
Binding to interface or IP address 'wlo1'
net: wlo1: could not get IPv6 address (No such device)
Local network address:  IPv4=wlo1|<IP_ADDRESS>
SIP Certificate: /home/user1/.baresip/asterisk.pem
ua: adding SIP CA: /home/user1/.baresip/ca.crt
httpd: listening on <IP_ADDRESS>:8000
aucodec: opus/48000/2
aufilt: vumeter
ausrc: alsa
auplay: alsa
vidcodec: H264
vidcodec: H264
vidcodec: H263
vidcodec: MP4V-ES
avcodec: using H.264 encoder 'libx264' -- libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
avcodec: using H.264 decoder 'h264' -- H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
vidcodec: VP9
vidcodec: VP8
h265: using encoder 'hevc_vaapi' -- H.265/HEVC (VAAPI)
h265: using decoder 'hevc' -- HEVC (High Efficiency Video Coding)
vidcodec: H265
vidsrc: v4l2
mediaenc: srtp
mediaenc: srtp-mand
mediaenc: srtp-mandf
<EMAIL_ADDRESS>Using media encryption 'srtp'
Populated 1 account
Populated 2 contacts
mqtt: connecting to broker at xx.xx.xx.xx:1883 as baresip01 topic test/baresip01
mqtt: Publishing on /test/baresip01/event, subscribing to /test/baresip01/command/+
mqtt: module loaded
Populated 1 audio codec
Populated 1 audio filter
Populated 7 video codecs
Populated 0 video filters
baresip is ready.
<EMAIL_ADDRESS>{0/TLS/v4} 200 OK (Asterisk PBX 16.4.0) [1 binding]
All 1 useragent registered successfully! (396 ms)
mqtt: connected to broker at xx.xx.xx.xx:1883
mqtt: subscribed to pattern '/test/baresip01/command/+'

and some subscription messages
[user1@localhost ~]$ mosquitto_sub -h xx.xx.xx.xx -t '/test/baresip01/event' -u 6001 -P ************
<EMAIL_ADDRESS><EMAIL_ADDRESS>{"type":"EXIT","class":"application"}
{"type":"REGISTER_OK","class":"register","accountaor":"sip:6004@<IP_ADDRESS>","param":"200 OK"}

could you please edit the roadmap and add your wish to it ?

Didn't know I could do that. I'd added it to the roadmap. Thanks!


crypto/tls: internal error when connecting to site with abnormaly large certificate

https://10000-sans.badssl.com is a test site that serves a certificate with 10,000 SAN records for the purpose of breaking TLS clients. Go is unable to open a connection to this site, and breaks with the error:
$ go run https_break.go
panic: Get https://10000-sans.badssl.com: local error: internal error

goroutine 1 [running]:
main.main()
	/home/ulfr/git/go-toybox/https_break.go:8 +0x6e

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go/src/runtime/asm_amd64.s:1696 +0x1
exit status 2

Source code is
package main

import "net/http"

func main() {
	_, err := http.Get("https://10000-sans.badssl.com")
	if err != nil {
		panic(err)
	}
}

I would like for this to work, but I can understand Go refusing to open a connection with such an unusual certificate. If so, maybe the failure should be enforced by a policy and the error message explicit?

/cc @agl

Certainly the error message could be better, which is hopefully addressed in https://go-review.googlesource.com/#/c/20547/.
However, did you expect 10000-sans.badssl.com to work? It doesn't work in OpenSSL nor Chrome at least. I'm unsure whether this is something that reals sites would want to do, and thus should be supported, or whether our existing handshake message limit is still reasonable.

I don't think there is a valid use case for certificates that large (yet? ever?). I was essentially curious about Go's behavior shortly after the badssl site was setup. Thanks for fixing the error message :+1:


[full-ci] fix(sharing-ng): align sharedWithMe driveItem IDs with PROPFIND response

Should fix #8420
/cc @individual-it

I can't see any value in oc:shareid in response to a PROPFIND on the sharejail root.
Is this actual behaviour @rhafer

I can't see any value in <oc:shareid> in response to a PROPFIND on the sharejail root.
Is this actual behaviour @rhafer

This is not a regression. It was the same way before. Though probably worth a separate bug report.

👍🏼 works with ocis-php-sdk


Snakemake

Proposed changes
Briefly describe the changes you've made here. Remember to add a link to the preview page of your branch.
Checklist before requesting a review

[x] I have followed the instructions in the Contributing and Styleguide documents.
[x] My pull request passes all tests.
[x] I have included a link to the appropriate preview page (select your branch from the list).

Looks good! I see that you've linked to the Container and Workflows in Bioinformatics course page, which has some nice examples. Still, do you think it would make sense to have at least one of those examples in the actual apps page as well?
I mean, if I just want to quickly take Snakemake into use on Puhti, it would be nice to have one example in the spirit of "This is how you run Snakemake in the most efficient way possible on Puhti".
Just looking at the course page, I'm not really sure which one of the options I should pick for best efficiency (at least not without actually going through all the materials in detail).

I have now updated snakemake tutorials on our docs page.

Sorry for the delay with this, something came up while I was reviewing. Will still go through the rest of the page and test it out asap.


Versión Failed

Can you update package?
Because every version of multi_media_picker depends on video_player ^0.7.2 and itec depends on video_player ^0.10.0+5, multi_media_picker is forbidden.
So, because itec depends on multi_media_picker ^0.2.0, version solving failed.
Thanks!

Seconded, any change you could update it @ja2375 ?

Yes, sorry. I will update it now :)

@ja2375 thanks for that but after trying to upgrade I'm getting:
`FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':multi_image_picker:compileDebugJavaWithJavac'.

Unable to find source java class: '/home/xxx/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.2.0/android/src/main/java/com/vitanov/multiimagepicker/MultiImagePickerFileProvider.java' because it does not belong to any of the source dirs: '[/home/xxx/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.2.2/android/src/main/java, /home/xxx/Downloads/flutter/.pub-cache/hosted/pub.dartlang.org/multi_image_picker-4.2.2/android/src/debug/java, /home/xxx/flutter/bdsmlr3/bdsmlr3/build/multi_image_picker/generated/source/buildConfig/debug, /home/xxx/flutter/bdsmlr3/bdsmlr3/build/multi_image_picker/generated/aidl_source_output_dir/debug/compileDebugAidl/out, /home/xxx/flutter/bdsmlr3/bdsmlr3/build/multi_image_picker/generated/renderscript_source_output_dir/debug/compileDebugRenderscript/out]'`

Perhaps some path wrong with the update?

Sorry to hear but that error belongs to plugin multi_image_picker, not this one ^^

Yeah, sorry :). My bad, mixed em up. Must be the flutter update which came out today.
Thanks again!


lib Fix Part 6/6 – Array.isArray

General Information
PR separated out from #49855, because there might be some members expecting smaller PRs. As mentioned in the comments from the big PR, whether to review a single, large PR or 6 smaller PRs is up to the TypeScript Team to decide. I couldn't have found a better way for this; hopefully this will not bring any trouble to the Team.
This PR partially fixes #49773.
For details and the track list about the changes, please see #49773.
Part 6/6, Array.isArray
Fix #17002
Actually fix #32497
Fix #33700
Fix #41808
Actually fix #43247
This PR supersedes #48228 as it fails to address readonly number[].
~I am confident to this solution.~
Edit: I guess I must retract this. See the results below. 😔

@typescript-bot run dt
@typescript-bot test top100
@typescript-bot user test this

We tried this a couple of years ago; I don't remember what problems it ran into but I don't think #48228 was the only attempt.

That's bad; it seems that the checker really hate T extends readonly any[] ? T that line.

Can I use the TypeScript bot?
@typescript-bot run dt
@typescript-bot test top100
@typescript-bot user test this

@typescript-bot run dt
@typescript-bot test top100
@typescript-bot user test this

@typescript-bot run dt
@typescript-bot test top100
@typescript-bot user test this
@typescript-bot perf test this faster

Heck no. It seems that without making it looser it won’t be a solution.

I've just tinkered with it a bit. @sandersn Could you please give it another try?

Actually most of the cases above just work by adding an extends any constraint on the generic parameter (see the test cases I added). Perhaps it’s a separated but related problem. @sandersn, or perhaps @RyanCavanaugh, sorry to bother you again, but could you please inspect this?

@graphemecluster can you explain what the failures are like that would have been fixed by adding extends any? 4.8 did make unconstrained type parameters implicitly extend unknown instead of {}, and a common workaround was to add an explicit extends any. Maybe that's related.
Could you also add a detailed explanation of the new type of isArray? I read the type and couldn't understand the reason for almost any of its intricacies.

@sandersn
A rough explanation looks like:
type ToArray<T> =
    // Distribute it
    T extends any ?
        (
            // if T == any, return any[]
            true extends false & T ? Extract<any[], T> :
            // if T is an array-like or iterable object but not string or array, return U[]
            T extends string | readonly any[] ? never :
            T extends ArrayLike<infer U> | Iterable<infer U> ? Extract<U[], T> :
            // fallback to the bottom cases
            never
        ) | (
            // T == any has been covered above, so skip it
            true extends false & T ? never :
            // if T is any Record-like object (object with only index signature),
            // intersect it with any array (this case should be rare, but a use
            // case was found in test suite and being added to the test case file)
            {} extends Required<T> ? T & any[] :
            // otherwise, for cases not being covered by the above, extract all
            // the arrays and readonly arrays out and dispose the remaining
            Extract<T, readonly any[]>
        )
    : never;

There are no special reasons to separate the cases into two, but without this TypeScript may not think the result type is an array and fires error on test cases fc and fe (also see the earlier test suite result).
The use of Extract is to make sure that the predicate is assignable to the parameter type. (Using intersection instead, the result would be awful.)
Actually using extends unknown instead of extends any in test cases ff and fg does not affect the result at all, but it's not the case when the constraint is removed. That means there must be some problems with generic parameters without constraint in TypeScript.

I just noticed that replacing Extract<T, readonly any[]> with T extends readonly any[] ? T : never will make test cases fc and fe fail. I can hardly understand why.

My feeling is that this problem is too complex to have a fix that I'm comfortable shipping in the standard lib. At least one that doesn't break existing code.
If you can show that there aren't going to be many breaks across the ecosystem of packages, and that compilation won't slow down, it would still be worthwhile. But I think that's too much effort for this.

@sandersn If possible, might you try running the test suite in 4.7.4 before #51242 is solved?

I talked with Ryan about this again, and we don't think there's any way that a conditional return type will work. Specifically, it won't be usable in higher-order, generic uses. But it's complex enough that there are likely other corner-case failures I haven't thought of. I think this PR should be closed.
However, we want to work on the other lib fix PRs and bring them to the Typescript design meeting after finding out how well they work on existing code. I'll start with the smallest one and start user tests, etc.

Thanks for picking this up. Now that I agree eventually all solutions tinkering with the lib won’t be perfect, I am going to root around in the compiler for a better way out. Let’s close this PR until then.


Fast obstacle force no refactoring

Changes
I've used your visual tests to make sure the obstacle force works as expected. You can verify if you want @yuxiang-gao.
The former obstacle force code took 95% of 433s whereas the new implementation takes only 8% of 16.5s, so it's more than 300x faster according to my benchmark.py. But it could be even faster if we add mechanisms for pruning irrelevant forces of obstacles that are far away and therefore almost zero. There's still lots of room for further improvements. But for now, other forces are dominating the benchmark, so it doesn't make sense to optimize the obstacle force any further.
Additionally, there are a few more performance improvements concerning the social force / desired force, normalization of vectors into a list of (unit vector, length) tuples and a few other things concerning the Numba JIT optimizer. It's mostly related to reducing NumPy array allocations by allocating a results array ahead of time for cases where the array size is known upfront. Moreover, your former code had better vectorization at first glance, but somehow Numba seems to compile simple loops into faster code, so I tried to adopt this style of coding wherever it showed improvements.
So yeah, your overall performance improvements by merging my changes should be about 25x.
Benchmarks
This first benchmark shows the force computation which took 433 seconds and the obstacle force's footprint was 95%.

This second benchmark shows the optimized force computation and stateutils taking 66% + 18% of 16.5 seconds. Another 5% of the remaining 16% of time is due to initialization efforts for loading packages like NumPy and matplotlib. Loading the config file is 1% and scene.py is 8.5%.


bin/omero: workaround for python bin/omero import usage

see:

https://github.com/manics/ansible-role-omero-web/pulls
https://github.com/ome/omero-server-docker/pull/34

Including this in the first 5.6.0-m2 tag. Happy to roll it back in favor of #38 once that's tested.


Query Drawer - maximize button, quick fix (closes #39)

for #39 @dvargas92495

Now that we use github tracking - use the (closes #39) convention in the github commit to automatically close the issue when the PR closes


Add console_stdout_on_failure event handler

Precisely what the title says.

This change is

@jpsamper2009 this is ready for a review.


Device Request -  Tuya zigbee smart curtain motor - Leisguar / LS82-Tuya-zigbee smart curtain motor

Prerequisites:

Before requesting a device addition, please ensure there is not already a request for the device among the open issues.
Make sure your Homey is upgraded to firmware v5 or higher.
You need a physical example of the device.

Device Information

Device Name: Leisguar smart curtain motor
Device Model: LS82-Tuya-zigbee smart curtain motor
Device Description: Tuya zigbee curtain motor
Link to device image: (https://ae01.alicdn.com/kf/Saf17011d91c94e6fb54d88a636403225T.jpg

Device Interview
{

  "ids": {
    "modelId": "TS0601",
    "manufacturerName": "_TZE204_xu4a5rhj"
  },
  "endpoints": {
    "ieeeAddress": "a4:c1:38:6c:b1:4b:1d:0c",
    "networkAddress": 62690,
    "modelId": "TS0601",
    "manufacturerName": "_TZE204_xu4a5rhj",
    "endpointDescriptors": [
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 62690,
        "_reserved": 20,
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 81,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          4,
          5,
          61184,
          0
        ],
        "outputClusters": [
          25,
          10
        ]
      },
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 62690,
        "_reserved": 10,
        "endpointId": 242,
        "applicationProfileId": 41440,
        "applicationDeviceId": 97,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [],
        "outputClusters": [
          33
        ]
      }
    ],
    "deviceType": "router",
    "receiveWhenIdle": true,
    "capabilities": {
      "alternatePANCoordinator": false,
      "deviceType": true,
      "powerSourceMains": true,
      "receiveWhenIdle": true,
      "security": false,
      "allocateAddress": true
    },
    "extendedEndpointDescriptors": {
      "1": {
        "clusters": {
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                },
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 74
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "_TZE204_xu4a5rhj"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "TS0601"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": ""
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "mains"
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 65502
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65534,
                "name": "attributeReportingStatus",
                "value": "PENDING"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65506
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65507
              }
            ]
          }
        },
        "bindings": {
          "ota": {},
          "time": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ]
          }
        }
      },
      "242": {
        "clusters": {},
        "bindings": {}
      }
    }
  }
}

Additional Comments:

The motor has instructions that tell me that it works via socalled 'tuya graffiti intelligence' and a multimode gateway. I only own the motor, remote and homey pro, which i hope can work as a gateway.

How to interview a device

Add the device as a generic Zigbee device in Homey
Navigate to https://developer.athom.com/tools/zigbee.
Interview the device, the button for this is to the right of the device in the list of Zigbee units.
Click the copy button/icon to capture the device information.
Paste the copied information above.

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

Seems to be already in the app, but without the correct manufacturers ID: _TZE204_xu4a5rhj


SHINE-XSA Installation instructions could be clearer

Hi,
I'm attempting to follow the instructions as outlined in https://github.com/SAP/hana-shine-xsa/blob/master/SHINE-XSA.md
The "Importing SHINE from GitHub to SAP Web IDE for SAP HANA" section abruptly switches from a Web IDE import to executing xs commands from the command line.  Currently there's no instructions for downloading a local copy of the repo to get the file referenced in the first xs command (that would be trivial, but it is missing), nor any instructions regarding which org and space to target prior to running the xs commands.
Would you update the instructions?
Riley

Hi Riley,
The detailed instruction of SHINE installation is part of SHINE guide https://help.sap.com/doc/13ff61e61a8f442090e27050dc61f019/2.0.04/en-US/SAP_HANA_Interactive_Education_SHINE_for_SAP_HANA_XS_Advanced_en_HANA2.0SPS04.pdf (Please refer to chapter 3.1)
The Github documentation is just a subset of it.
Best Regards
Stephen


[Bug] Game cover waiting time

Checklist

[X] I will only use English in my report.
[X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

Questions

[X] xCloud officially supports my country/region.
[ ] The bug doesn't happen when I disable Better xCloud script.
[ ] The bug didn't happen in previous Better xCloud version (name which one).

Device
TV
Device
Realme TV stick
Operating System
Android TV 11
Android app/Browser Version
0.22.2
Better xCloud Version
6.0.5
Game list
No response
Reproduction Steps
The waiting time no longer appears on the game cover in this latest version.
Screenshot/video
No response

Fixed in 6.0.6
Thanks.

Fixed in 6.0.6

The setting for displaying the queue waiting time has never worked for me, neither before version 6.0.6 nor after.
The option on the loading screen show the estimated wait time has also never worked.
I live in an unsupported region, I use a desktop PC, Windows 7, Chrome browser 109.0.5414.120, script version 6.0.6 and all previous versions.


Upgrade Go from 1.20.7 to 1.20.8

Pull Request Motivation
Upgrading the go patch version to fix some CVE alerts.
Kind
/kind cleanup
Release Note
Upgrade Go from 1.20.7 to 1.20.8.

@SgtCoDFish, @wallrj was saying the opposite, that is why I'm doing this this way.
Also, in this case, I only have to create 1 PR and it will be updated on 3 branches.
/unhold


Allow alternative Canvas origins

Currently, the origin of the Canvas is the same as the underlying view's origin, that is to say the top-left. This doesn't always make sense though depending on the application being built. For example, a mathematics app that draws curves might want to have the origin at the bottom-left corner with +Y going toward the top of the screen, or have the origin at the center of the Canvas (no matter its size) for doing radial plots.
Some things to consider:

Do we allow arbitrary specification of origin point or do we have a constrained set?
If we allow arbitrary specification as a point, what if the Canvas size changes and the origin moves outside of the bounds? Does this matter?
If constrained set, do we allow independently controlling horizontal and vertical origin, or are they jointly specified? For comparison, the anchor for a Marker can be set using AnchorHorizontal and AnchorVertical, centering the anchor requires setting both properties to Center. Alternatively, if there are a few common selections (Top-Left, Bottom-Left, Center), then we can just provide an Origin property (default: Top-Left).
Do we allow for inverting the Y axis? Currently, +Y is down but having it be up could be beneficial.

Related: #221

There's also an important use case where people want to use the canvas for graphing, in which case they'd like the origin at the center and also have negative coordinates.


etcd clean up pt2

etcd clean up pt 2, removing etcd constants, certificates etc

Do we need to remove the etcd stuff inside windows files or will that be handled separately?

Do we need to remove the etcd stuff inside windows files or will that be handled separately?

I assume @mainred @AbelHu will handle that for windows.

Thanks for the reminder, @xuto2. AFAIK, etcd is only run in Linux. We can check it after this pr is merged into master.


[update] adds 2 items to the list

@jacefarm
The word Let's is not needed. 'Keep' is questionable. 'The list is in alphabetical order.', with a denied pull request is clear.
Are there guidelines to contributing to this repo anywhere? ...Or does it reference a stated pattern from awesome lists that can be pointed to?


Handle all type of webhook messages updates (medias)

Hello, thanks for this amazing package.
Do you plan to add support for any other messages (medias) retrieving by the bot throughout Webhook?
We can actually get only text message
Thanks

Hi! We are planning to do it in the next releases!

@gausoft we are releasing this feature right now :rocket:

Thanks :fire: :star_struck:


Python3.8 Support: change of asyncio.locks.Lock

hi
aioredis==1.2.0 raised an exception like this
  File "/opt/env/lib/python3.8/site-packages/aioredis/pool.py", line 261, in _wait_execute
    conn = await self.acquire(command, args)
  File "/opt/env/lib/python3.8/site-packages/aioredis/pool.py", line 325, in acquire
    async with self._cond:
  File "/usr/local/lib/python3.8/asyncio/locks.py", line 97, in __aenter__
    await self.acquire()
  File "/opt/env/lib/python3.8/site-packages/aioredis/locks.py", line 20, in acquire
    if not self._locked and all(w.cancelled() for w in self._waiters):
TypeError: 'NoneType' object is not iterable

and i digged around and found that aioredis.locks.Lock inherits asyncio.locks.Lock, and in python3.8, asyncio.locks.Lock no longer set a default waiters deque in __init__ method. thus we need a fix
ref:

https://github.com/python/cpython/commit/9aa78566fbeeb8cdaa669ad22f92cf63765f4135#diff-c64956880a9946d21fcb56aac4ef041c
https://github.com/python/cpython/pull/13834

i think there nned to be a chnage in in in _wake_up_first too. But not sure how. Just ignore the loop if no _waiters give an follow up error in connection.py:177 tested using the sample usage script from arq ...

i think there nned to be a chnage in in in _wake_up_first too.

yes. and i'm not sure how. i see that in asyncio it looks like:
    def _wake_up_first(self):
        """Wake up the first waiter if it isn't done."""
        if not self._waiters:
            return
        try:
            fut = next(iter(self._waiters))
        except StopIteration:
            return

        # .done() necessarily means that a waiter will wake up later on and
        # either take the lock, or, if it was cancelled and lock wasn't
        # taken already, will hit this again and wake up a new waiter.
        if not fut.done():
            fut.set_result(True)

i have little experience in this. i think we could just use this piece of code or do it simply by
        def _wake_up_first(self):
            """Wake up the first waiter who isn't cancelled."""
            for fut in (self._waiters or []):
                if not fut.done():
                    fut.set_result(True)
                    break

and sorry to bother. but i'm pretty new here. it seems like my pr cannot pass the CI checks. does that matter? what should i do?
cc @popravich

Python3.8 support is needed, can anyone help solve issues

@jeffguorg @ar4hc It seems like all our problems are with that one function _read_data. My log error:
'Task was destroyed but it is pending!\ntask: <Task pending coro=<RedisConnection._read_data() running at /usr/local/lib/python3.7/site-packages/aioredis/connection.py:186> wait_for=<Future cancelled> cb=[RedisConnection.__init__.<locals>.<lambda>() at /usr/local/lib/python3.7/site-packages/aioredis/connection.py:168]>'

Unfortunately, they all could be different errors, too. For example, mine somehow ended up here: https://github.com/aio-libs/aioredis/blob/8a207609b7f8a33e74c7c8130d97186e78cc0052/aioredis/stream.py#L79 and it seems like that's what happens on connection, too. Connecting still works, but it gets annoying to always see that message.

@Andrew-Chen-Wang I had the same issue, close connection before shutting down application loop. In aiohttp it's done by adding a close handler to on_cleanup list.

Is there a solution to this already? i'm facing the same problem.


"Coordinates uncertainty: None meters"

... on observation details page, when coordinates uncertainty is unknown.

Indeed, not really nice to read it. I propose: "Coordinates uncertainty: unknown"


KIC 2.0 - Proxy interface and Async Cache Resolution Server

While working on the problem of asynchronous object caching, conversion and Admin API updating resolution I took a look at how this was handled in 1.x to decide whether I wanted to try and use the existing logic or experiment with a new solution.
After careful consideration and syncing with @hbagdi and @mflendrich about some ideas, this PR is a proposal to provide a new interface and backend server mechanism to handle the conversion of Kubernetes API object changes to Kong Admin API updates.
Some of the advantages intended by this new implementation include (but are not limited to):
- abstract interface allows for potential multiple backend implementations (including test implementations which can make it easier to unit test some areas of the code)
- greatly improved logging capabilities of the object resolution process
- new status updates on objects reflecting whether or not the proxy updates failed or succeeded
- status updates are now part of the reconcilation process, meaning an object wont be "ready" until it's actually be successfully updated to the Kong Admin API in the backend
Resolves #1267
Followup Items:

https://github.com/Kong/kubernetes-ingress-controller/issues/1275
https://github.com/Kong/kubernetes-ingress-controller/issues/1276
https://github.com/Kong/kubernetes-ingress-controller/issues/1277
https://github.com/Kong/kubernetes-ingress-controller/issues/1278
https://github.com/Kong/kubernetes-ingress-controller/issues/1197

How does

UpdateObject() and DeleteObject() methods will start throwing errors and you'll need to retry queing the object at a later time.

work in practice? Will attempts to submit an Ingress/KongPlugin/etc. to the K8S API server fail, similar to something that fails an admission webhook check?
How will syncTicker and fullResyncTicker work differently from the current sync loop? It looks like we'll go from always generating configuration and comparing the hash before updating the admin API to updating on new unhandled events? Does that potentially send unnecessary updates? IIRC we track events that don't actually end up contributing to config (e.g. Services that aren't actually tied to an Ingress we consume) and filter them after when generating config, though there may be other changes in Railgun that skip those now.

How does

UpdateObject() and DeleteObject() methods will start throwing errors and you'll need to retry queing the object at a later time.
work in practice? Will attempts to submit an Ingress/KongPlugin/etc. to the K8S API server fail, similar to something that fails an admission webhook check?

I've actually pulled this out of scope for now and added that scope to https://github.com/Kong/kubernetes-ingress-controller/issues/1275, the intention now is to decide how this works in a later and isolated scope.

How will syncTicker and fullResyncTicker work differently from the current sync loop? It looks like we'll go from always generating configuration and comparing the hash before updating the admin API to updating on new unhandled events? Does that potentially send unnecessary updates? IIRC we track events that don't actually end up contributing to config (e.g. Services that aren't actually tied to an Ingress we consume) and filter them after when generating config, though there may be other changes in Railgun that skip those now.

As of updates today, there is a simple boolean that flips to indicate whether an update needs to be performed, based on whether an object has been processed in the cycle. For this point in the alpha it does mean there can be some nil updates that occur if an object is reconciled that is not needed, there is a follow up item that intends to only cache objects which matter:
https://github.com/Kong/kubernetes-ingress-controller/issues/1259
Otherwise if you still feel there's more that needs to be resolved here we can look at other approaches?


Registered Trademark symbol fine in portal but erroring due to invalid metadata

Which service(blob, file, queue) does this issue concern?
blob
Which version of the SDK was used? Please provide the output of pip freeze.
azure-common==1.1.16
azure-nspkg==3.0.2
azure-storage-blob==1.3.1
azure-storage-common==1.3.0
azure-storage-file==1.3.1
azure-storage-nspkg==3.0.0
What problem was encountered?
When copying a file share file that contains the registered trademark symbol (Unicode: U+00AE; url encoded: %C2%AE) to a blob, I receive a 400 error stating that there are illegal characters in the metadata.  However, when I upload that same file to blob via the portal, no problem.
HTTP status code=400, Exception=The metadata specified is invalid.
It has characters that are not permitted. ErrorCode: InvalidMetadata
<?xml version="1.0" encoding="utf-8"?><Error>InvalidMetadata
<Message>The metadata specified is invalid. It has characters that are not permitted.

So, when I go to url encode the symbol to %C2%AE, it doesn't render as the (R) symbol in the portal, instead it shows %C2%AE and when I actually browse to the file it's further url encoded to be %25C2%25AE (encoding the % symbols as %25).
Have you found a mitigation/solution?
My workaround is to just accept the encoding of the percent symbols.  Ideally, I'd like to keep the original file name with the registered trademark as it appears in the file share and in the blob when manually uploaded.

Thank you, @wjohnson for posting this issue. I have logged this issue for investigation, and we will get back to you as soon as we have more information.

Hi @wjohnson
Thanks for your patience, not sure if the problem is resolved.
I'm sorry that I wasn't able to reproduce this problem. Also I found it is similar to https://github.com/Azure/azure-storage-python/issues/606


Added Swappa.com

I added swappa.com. It is categorized as 'hard' because you have to email customer service. I emailed them and they promptly deleted my account via email<EMAIL_ADDRESS>

Thanks for your contribution!


Constructing model with Matrix with missing values it fails

using Mill
x = ArrayNode([1f0 2f0; missing missing])
reflectinmodel(x, d -> Chain(Dense(d,10, selu), Dense(10, 10)))

crashes
but
using Mill
x = ArrayNode([1f0 2f0; missing missing])
reflectinmodel(x, d ->Dense(d, 10))

works, which suggest the problem in make_imputing

I have fixed it by changing
_make_imputing(x, t::Chain) = Chain(t[1:end-1], _make_imputing(x, t[end]))

to
_make_imputing(x, t::Chain) = Chain(_make_imputing(x, t[1]), t[2:end]...)

I have fixed it by changing
_make_imputing(x, t::Chain) = Chain(t[1:end-1], _make_imputing(x, t[end]))

to
_make_imputing(x, t::Chain) = Chain(_make_imputing(x, t[1]), t[2:end]...)

Some tests for this added in b05e0ef4757ba187861a7306042b67fa6f39faf6

Some tests for this added in b05e0ef4757ba187861a7306042b67fa6f39faf6


Use bss_end for the actual start of the app heap

The Tock kernel gives a nominal location for userspace to start the
app heap. This currenlty a minimum size of 3072. On a platform such
as the hifive1 which only has 5K of app memory, this ends up wasting
precious memory.
Given the kernel will probably always guess wrong, just use bss_end.
Applications can adjust the heap size as needed if they actually need
more space.

Hmm, I thought this was already how it works. The entry point before this change clearly looks buggy to me.

bors: d+

I had this change locally as well, and it does give you more memory to work with. This doesn't seem like a great solution though as now we are ignoring what the kernel told us.

I had this change locally as well, and it does give you more memory to work with. This doesn't seem like a great solution though as now we are ignoring what the kernel told us.

IIRC that value points to the upper end of the grant region, so it's not particularly relevant to userspace anyway.

True

bors r+


GSD Request

--- GSD JSON ---
{
  "vendor_name": "eth.link",
  "product_name": "eth.link domain name",
  "product_version": "2022-07-31 and later",
  "vulnerability_type": "Redirection of DNS domain",
  "affected_component": "All client software and existing links pointing at eth.link or subdomains",
  "attack_vector": "spoofing and impersonation of web sites with valid certificates/etc",
  "impact": "easy social engineering",
  "credit": "@luigyGT",
  "references": [
    "https://twitter.com/luigygt/status/1554092735229034496",
    "http://eth.link/"
  ],
  "reporter": "kurtseifried",
  "reporter_id": 582211,
  "notes": "",
  "description": "The eth.link domain name was taken over by a new, unknown, entity on  2022-07-31 (\"eth.link has expired. Was this your domain name and would like to renew it? Click here to login to your Uniregistry.com account\r\neth.link\"). The domain currently shows a parked \"for sale\" page, but an attacker that buys it (or the current owner) could easily serve DNS queries for the domain and subdomains (of which there were many). All client software and existing links pointing at eth.link or subdomains can be attacked via spoofing and impersonation of web sites with valid certificates/etc resulting in easy social engineering."
}
--- GSD JSON ---

/cc @kurtseifried

This issue has been assigned GSD-2022-1004950


Fix the parsing issue with sasl.jaas.config

Update README doc with an example of configuring jaas config correctly when using Kafka Connector.
Update the test with a more realistic jaar config to make sure semi colon is parsed correctly.
Add a basic SQL statements to the FlinkDeployment example so that a user does not need to come up with one themselves if they just want to try running Flink.

Thanks @kornys! I will merge this then :)


Horizontal AND vertical swipe?

I have 3 view controllers, but I'd like the second one to be able to swipe down to another view controller. How would I implement this?

You can probably take some clues from this project. https://github.com/jakespracher/Snapchat-Swipe-View


Possible upgrade of HW

Additional context
I may upgrading the server hardware. If I do so there will be an outage, possibly more than one, depending on how hard is it to migrate Raspberry Pi OS between device generations
If everything goes smoothly the outage will take no longer than 30 minutes - basically just a storage swap and changing some network settings.

Resolved: stefka.eu is back up in 8b7859d after 8 hours, 27 minutes.

The uptime monitor confused this issue with #31.

I got the HW. I'll be preparing for the transition, it will take place on cca an hour.

Resolved: stefka.eu is back up in abd67fb after 2 days, 7 minutes.

I'm currently upgrading Debian 11 to 12.

Raspberry Pi 5 doesn't like using an already existing OS. I'll have to create a new drive and port everything to it. Hopefully I'll be done soon.

Resolved: stefka.eu is back up in 277bfef after 2 days, 2 hours, 52 minutes.

Resolved: Gitea is back up in 6d2f573 after 2 days, 3 hours, 25 minutes.

Data is backed up and the new OS is up and running.
I will no start recovering the services one by one.

Resolved: Gitea is back up in 4441f7e after 2 days, 17 hours, 27 minutes.

Everything crucial is back up and running. Things like OpenProject (which I'm testing for project management) will be slowly brought back up over the week.

OpenProject took some more time starting up as it was not essential. No one uses it now apart from me trying out it's features. Sorry if you wanted to look at the backlog for some of my projects.


Feature suggestion: docker output

Virtualbox vms are slow and inefficient. I'm already running docker. I believe docker containers are supported as a packer build target.
Probably not worth too much work – but if it's not to hard, a docker image that's roughly equivalent to the vm would be very helpful.

Hi Andy, yes, that was my original intention with this, to have Docker output as well. I started a build when I was using the DCE Ansible roles but there were things done in those roles that were not compatible with a Docker environment. I haven't looked at the possibility since switching over to the RHEL roles. It may be easier now. Thanks for opening the ticket. It's something I'd like to see too.


Remove telemetry dependency

[skip changeset]
Telemetry dependency is not needed for this library as it is already a dependency of appsignal-elixir, which this library depends on through appsignal-plug.
Has to be deployed before https://github.com/appsignal/appsignal-elixir/pull/664 to avoid conflicts.

@luismiramirez I think a changeset would be good for this PR. It's a change users will notice (less conflicts with dependencies) and it's a change that we will release a new version of the package for if no other changes had a changeset.
When a PR is ready for review, please press the "ready for review" button. I marked it as such.
Please don't delete backlog helper comments. It will update it on its own after it detects changes, in this case it would have detected your edit of the PR body.


Update index.js

Corrected link to generic.json file

Good one! thanks @rene78, have a nice day 👍


Add an option or flag to RadioListTile and CheckBoxListTile to specify where the radio or checkbox needs to be placed

Right now , the RadioListTile puts the radio button at the leading end of the list tile.
There are many times where one would wanna put the radio button at the trailing end of the list tile.

Consider the above design . This is a needed option to the RadioListTile.
So we need a flag or option to specify where the Radio button or Checkbox (in CheckBoxListTile) needs to be placed.
❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.15.18-pre.1, on Mac OS X 10.15.2 19C57, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install:
sudo gem install cocoapods
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[!] IntelliJ IDEA Community Edition (version 2019.3.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.44.0)
[✓] Connected device (3 available)
! Doctor found issues in 2 categories.

Currently there is no option to specify or change location
https://api.flutter.dev/flutter/material/RadioListTile-class.html
https://api.flutter.dev/flutter/material/CheckboxListTile-class.html

@nateshmbhat @TahaTesser there is controlAffinity property in both RadioListTile and CheckboxListTile to specify the position of the control and secondary widget.
For Example:
RadioListTile<String>(
          // ListTileControlAffinity.trailing will place the radio at the trailing
          controlAffinity: ListTileControlAffinity.trailing,
          title: const Text('Thomas Jefferson'),
          value: "Hey",
          groupValue: "newGroup",
          onChanged: (String value) {
            setState(() {
              print(value);
            });
          },
        )

For more information, check out ListTileControlAffinity

@TahaTesser I guess you can close the issue, since the properties already exist in the framework.


add root ca file to nodeagent image

https://github.com/istio/istio/issues/5903
the root ca file is used to setup channel credential with CA.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: quanjielin
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: quanjielin, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

I have a few questions about this PR:

Where did the roots.pem file originate?
What is the plan for keeping the file updated?
Why not install the ca-certificates package and let the OS maintain the list of trusted root certificates?

it's from your previous example to hit fake CA :)

Sorry, I don't know which example you're referring to and this doesn't look familiar to me. Do you have a link?

public ca cert should be pretty stable(pilot and other components do the same now - baked ca file into docker image for https calls)

The security issue isn't so much about how frequently the roots change, its about automatically updating those roots so that we protect users when roots are distrusted. We should strongly prefer that root trust stores automatically update so that we can quickly remove distrusted ("blacklisted") roots. This doesn't happen frequently, but when it does, we want to protect our users.
If other Istio packages are hardcoding root certificates, then that would would be a security bug which we should fix. I can file an issue to track it.

could you pls share more details about ca-certificates ? where to get it, example of use it make the TLS call would be great.

ca-certificates is the Debian package which is responsible for installing certificates on a Debian system. See https://packages.debian.org/sid/all/ca-certificates. The docker image referenced in this PR uses Ubuntu, which is based off of Debian. I think we'd want to apt-get update && apt-get install ca-certificates instead of adding a static set of roots. Once those roots are installed, then pretty much any TLS library will use those certificates as its trust store.

to answer where is the root came from - searched 'https://github.com/justinburke/istio/tree/update_api_github' in our previous emails.
we could do some enhancement after figure out how to use ca-certificates pkg in the code.


Notice on IPT2 non-intervention, and recommendation to use TLM

More details to be added later, but TLDR:
There are tests conducted by me and someone else separately that confirmed the following:
The unbunching by IPT2 does not seem to work even by itself. This means that while there are unbunching problems observed when using EBS + IPT2, it is probably IPT2's problem at the core. As such, those IPT2-related problems will be put to low priority until further notice.
#13 is affected.

Recommendation to change to TLM
Always enable specific config for every transport line in your city!
By changing to TLM, the following IPT2 features are kept (or may reasonably change into another form):

Line budget
Vehicle select

Unfortunately, these IPT2 features will be lost or changed in a strong way; see if you are willing to take a compromise:

Passenger change per vehicle per stop: instead of tracking each vehicle and checking their pax change, you could consider also using Commuter Destination (https://steamcommunity.com/sharedfiles/filedetails/?id=2475986859) to track destinations for the same stop, which should be more convenient than the IPT2 way
Profit per vehicle: you can view line overall profits instead; or, go to line view -> Profit Current Week
Unbunching points: TLM line stop list -> right click on stops to mark them as terminus (star shape)

TLM has a useful feature to shift stop order in a line so that, internally, another stop becomes the first stop in line; useful to use with EBS; go to line view -> Starts At

Specific model select (eg I want 5x Volvo and 2x B8L): no replacement, bus spawning is fully random
Day-night select: TLM offers generalized replacement, and day-night select is equivalent to setting the budget to >0% for eg from 6am (6) to 6pm (18)

[WIP]

Update:
The IPT2 (Community) Update works with EBS, and is a replacement to the original IPT2; you can find it here: https://steamcommunity.com/sharedfiles/filedetails/?id=2864524762
There is also this good news that the bunching problem mentioned in #13 has been fixed (you still need to update this mod and the IPT2 plugin!), so there is no longer an explicit need to preach conversion to TLM.
Therefore, closing this.


Glowing text format representation

Glowing individual texts using css snimation property to enhance the ui

Go for it! 💯


Failed to start on intel mac running 14.4

When trying to start the pgserver I am getting the following error on macos 14.
Failed postgres command (1, ['/Users/michaelhonaker/.pyenv/versions/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/bin/initdb', '-D', '/private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v', '--auth=trust', '--auth-local=trust', '--encoding=utf8', '-U', 'postgres']) with kwargs: `{'user': None}`:
error:
Command '['/Users/michaelhonaker/.pyenv/versions/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/bin/initdb', '-D', '/private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v', '--auth=trust', '--auth-local=trust', '--encoding=utf8', '-U', 'postgres']' returned non-zero exit status 1.
stdout:
The files belonging to this database system will be owned by user "michaelhonaker".
This user must also own the server process.

The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".

Data page checksums are disabled.

fixing permissions on existing directory /private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 20
selecting default shared_buffers ... 400kB
selecting default time zone ... US/Eastern
creating configuration files ... ok
running bootstrap script ...
---
stderr:
2024-12-05 10:13:13.610 EST [95679] FATAL:  could not open directory "/Users/michaelhonaker/.pyenv/versions/3.11.1/envs/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/share/postgresql/timezonesets": No such file or directory
2024-12-05 10:13:13.610 EST [95679] HINT:  This may indicate an incomplete PostgreSQL installation, or that the file "/Users/michaelhonaker/.pyenv/versions/3.11.1/envs/wdu-2.0/lib/python3.11/site-packages/pgserver/pginstall/bin/postgres" has been moved away from its proper location.
child process exited with exit code 1
initdb: removing contents of data directory "/private/var/folders/bl/7bs4d4z53blc6y7pn118vs780000gn/T/tmpvomlgq3v"

CC: @orm011

This only happens with pgserver==0.1.4. I was able to install pgserver==0.1.3 and it worked as expected


Theme types cannot have characters such as . or /

Tested versions
Godot v4.4.dev unknown - Windows 10.0.19045 - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; <IP_ADDRESS>70) - 13th Gen Intel(R) Core(TM) i5-13500HX (20 Threads)
System information
Godot v4.4.dev unknown - Windows 10.0.19045 - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; <IP_ADDRESS>70) - 13th Gen Intel(R) Core(TM) i5-13500HX (20 Threads)
Issue description
Theme types cannot contain characters such as periods (.) or slashes (/)
I couldn't find information about this on the documentation but I could just be blind. I think it would be cleaner if you could use names with periods as if they were sub-classes of the main type.
Steps to reproduce

Create a theme
Set a name such as Button.Test
See it does not add

Minimal reproduction project (MRP)
N/A

This is because they have to be valid names, see here

The editor should have validation added for this, so that it prevents you from clicking the Add button with an error label displaying.

This is because they have to be valid names, see here, should be documented in Theme.add_type
(This issue should track when the improvement to the editor is merged I'd say and the docs can be tracked separately)

Makes sense. Though I'm curious as to why though, when the theme types names themselves aren't node names. There's probably a good reason that I'm unaware of

They are meant to be valid class names I'd say

They are meant to be valid class names I'd say, ~unsure where it's checked exactly~
It's checked here:
https://github.com/godotengine/godot/blob/99a7a9ccd60fbe4030e067b3c36d54b67737446d/scene/resources/theme.cpp#L178-L186

I was playing with it and it's even stricter than String.validate_node_name
Probably is the ascii identifier function
Theme types (supposedly) don't work like node or class names so I am confused on the purpose of this still - in my head it seems like it would make sense for them to allow any StringName
I understand for ones that map to base classes such as &"Button" being the name of an actual class, but not all theme types need to map to actual classes

Probably is the ascii identifier function

Yes as you can see in the code it is that exact one
They should be class names though as they are designed to be used with class names generally


Map visualisations - geo variables/entity chooser via geoConfig + per-study disabling of new-viz-icons infrastructure

Resolves #796
Resolves #776
This PR has two prongs.

develops the map viz further by adding two dropdown menus to select the mappable entity and the display count entity (wording for these needs to be refined).

adds some hopefully general infrastructure for enabling/disabling visualisations from the "new viz picker" when there is no chance that they can be used in a study.

Demo/review only with UMSP Study!
(Although you can check out the disabled map viz icon in other studies.)
Very basic UI added to allow 'geo entity' and 'output/count entity' to be chosen.
The latter cannot be a parent entity of the former (need to double check this is correct).
Uses Material UI <Select> but ideally we could have our own core-ui component.
Look and feel is inconsistent with variable tree pickers but for now it's OK. We'll await further work in core-components and revisit.

@bobular I'm getting an issue in testing: When I choose a counts entity that's not Households, minimize the viz, then go back into the viz, the markers don't load

Not in the sense you're meaning; I'd normally filter first, then map, but in this case it wouldn't be any more performant. To cut down on duplication, I wonder if you could combine this logic and the findGeolocationNode logic into a function that both finds the node and transforms it at the same time? Unless you plan on using findGeolocationNode elsewhere, in which case I'm not seeing a great way to DRY this up.

Thanks @chowington - I don't think I do plan on using findGeoocationNode anywhere else so I followed your suggestion and factored out the repeated code. :-)


Org Page Content Epic: As staff I can upload a Hero Image and up to two About Us images

Currently blocked by https://github.com/rubyforgood/pet-rescue/issues/480
As staff, you can go to the dashboard and see the Page Text navbar option, where you can update the Hero Text and About Us text. This also needs to allow staff to update their Hero Image (1 image) and About Us Images (1 or 2 images) on the org's root/home page.
Implementation Criteria:

Use the PageText model for the attachments: has_one_attached :hero_imageand has_many_attached :about_us_image
On the PageText form add attachment inputs, clearly labelled. One for Hero Image (allows one attachment), One for About Us images (allows one or two attachments).
Add model validations to ensure the files are images, not massive (see the Pets Controller for example)
Add controller actions on PageTextsController for each type of attachment to attach (can use existing attachments controller for purge)
Staff should be able to upload and purge (delete) an image.
Resuse partials where it makes sense e.g., the upload input, and the table to show the uploaded images (see the partials used in the Pet tabs for photos and files)
Add permissions to the policy (may not be needed based on what is added in https://github.com/rubyforgood/pet-rescue/issues/480).
On org root/home, render the Org.page_text.hero_image if it exists, and render either one or both About Us images, if they exist. If there is only one image, then use an existing default image for the second.
Tests

As next steps (different issue) we will want to look into recommending image dimensions and handling resizing of image variants. Feel free to include in this issue if you want to.
I may have forgotten something here - hit me up in Slack!

Can I give this one a crack? @kasugaijin
If yes I would like to write a breakdown of my path forward before beginning any coding.

@ErinClaudio yes sounds good!

@kasugaijin
For clarification, the functionality for updating the Hero Image and About Us Images should be integrated directly within the 'Page Text' navbar option, as opposed to introducing a separate button?

My notes the project
https://gist.github.com/ErinClaudio/393ca48b7f2a77b8d65d5ab36a7f120c

@kasugaijin
For clarification, the functionality for updating the Hero Image and About Us Images should be integrated directly within the 'Page Text' navbar option, as opposed to introducing a separate button?

Yes I should be able to click Page Text in the sidebar if the dashboard and then see the form to edit text and attach images.

My notes for the issue https://gist.github.com/ErinClaudio/393ca48b7f2a77b8d65d5ab36a7f120c

Yes looks good! You might run into questions on some details along the way so hit us up as usual! Thanks @ErinClaudio and let me know if anything is unclear before diving in so as to save you any headaches

@kasugaijin @mononoken @nsiwnf

Here's my progress so far. However, I don't believe it's correct. I think one of the following approaches would be better:

Create a separate but similar form specifically for images to simplify the controller logic.
Add a second submit button within the existing form for image uploads, with differentiation handled by the controller.

I lean towards the first option but am open to either.

@kasugaijin
This looks horrible. But just wanted to show progress, I have the images rendering. not correctly but I will fix that.
More work to be done.

@ErinClaudio haha nice cow :)

@kasugaijin This issue is Mooooooooving along

@kasugaijin @nsiwnf @mononoken
I could use a little feedback.
The delete button layout feels cluttered. Consider:

A single button to delete both image types.
Separate buttons for each image type, positioned at the end of their respective form fields for clarity.

@ErinClaudio could we re-use the partials for image uploads and displaying the images in a table, along with a delete button, below the submit button?

@kasugaijin
Perfect and thanks


Add support for evm rpc methods evm_increaseTime and evm_setTime

What :computer:
Adds the following EVM rpc methods to the test node:

evm_increaseTime
evm_setTime

Why :hand:

Allows users to manipulate the node timestamp as per there specific preferences, which can be highly beneficial during testing.

Evidence :camera:
Passing unit tests:

Notes :memo:
Fixes #66

merged upstream


each loop event with repeat

import * as PIXI from 'pixi.js'
import { Ease, ease } from 'pixi-ease'

const app = new PIXI.Application()
const test = app.stage.addChild(new PIXI.Sprite(PIXI.Texture.WHITE))
const generic = ease.add(test, { alpha: 0 }, { duration: 1500, repeat: true, ease: 'easeOutQuad' })
generic.on('each', () => console.log(test.generic))

Docs are saying that: fires on each loop when there are eases running
But it fires on each tick (every frame).
So, how to catch an event when the current loop of repetitive animation is completed (event between each repetitive  loop)?

The easing emits the repeat event. I think that's what you're looking for:
generic.on('repeat', () => doSomething())

Thanks for the reply.

The easing emits the repeat event. I think that's what you're looking for:
generic.on('repeat', () => doSomething())

Unfortunately, this doesn't work.
Also it would be great to add new parameter repeatDelay for the add() method like so:
ease.add(test, { alpha: 0 }, { duration: 1500, repeat: true, repeatDelay: 500, ease: 'easeOutQuad' })


Detect composer.json for php

Conflicts look like resolved ;) Will it be merged soon?

@el7cosmos thanks for your contribution! Will be published ASAP.


Turn off a lot of noise in test runs.

I don't know how ---color was ever parsed to begin with.
-fd results in >23k lines of output that nobody reads.

This output obscures ~800 lines of output that everyone should
read and silence.

Turned off verbose in rspec rake task. It's huge and doesn't help anything.

Signed-off-by: Ryan Davis<EMAIL_ADDRESS>

I'd be ok with merging this piecemeal while working on the details.

We merged in a good chunk of this which resulted in some nice noise reductions. Thanks @zenspider


Soundfile backend does not accept Path objects

🐛 Describe the bug
File
torchaudio/backend/soundfile_backend.py
Function
info(filepath)
Description
The type annotation is incorrect on the filepath argument. The docstring says it accepts str or pathlib.Path objects. This function calls soundfile.info(filepath) which does not accept Path objects. If called with a Path object, this function will throw a TypeError through the soundfile dependency.
import torchaudio.backend.soundfile_backend as sb
from pathlib import Path
filepath = "example.wav"  # substitute with some valid audio file
sb.info(filepath)  # successfully creates torchaudio.backend.common.AudioMetaData
sb.info(Path(filepath))  # raises TypeError

Stacktrace:
Traceback (most recent call last):
  File "torchaudio/backend/soundfile_backend.py", line 102, in info
    sinfo = soundfile.info(filepath)
  File "soundfile.py", line 552, in info
    return _SoundFileInfo(file, verbose)
  File "soundfile.py", line 499, in __init__
    with SoundFile(file) as f:
  File "soundfile.py", line 740, in __init__
    self._file = self._open(file, mode_int, closefd)
  File "soundfile.py", line 1263, in _open
    raise TypeError("Invalid file: {0!r}".format(self.name))
TypeError: Invalid file: PosixPath('example.wav')

Versions
Collecting environment information...
PyTorch version: 1.10.1+cu102
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A
OS: CentOS Linux 8 (x86_64)
GCC version: (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Clang version: Could not collect
CMake version: version 3.18.2
Libc version: glibc-2.28
Python version: 3.8.12 (default, Oct 12 2021, 13:49:34)  [GCC 7.5.0] (64-bit runtime)
Python platform: Linux-4.18.0-305.19.1.el8_4.x86_64-x86_64-with-glibc2.17
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Versions of relevant libraries:
[pip3] numpy==1.21.2
[pip3] pytorch-lightning==1.5.10
[pip3] pytorch-metric-learning==1.1.1
[pip3] torch==1.10.1
[pip3] torch-audiomentations==0.10.0
[pip3] torch-pitch-shift==1.2.0
[pip3] torchaudio==0.10.1
[pip3] torchmetrics==0.7.2
[pip3] torchvision==0.11.2
[conda] blas                      1.0                         mkl
[conda] cudatoolkit               11.3.1               h2bc3f7f_2
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0            py38h7f8727e_0
[conda] mkl_fft                   1.3.1            py38hd3c417c_0
[conda] mkl_random                1.2.2            py38h51133e4_0
[conda] numpy                     1.21.2           py38h20f2e39_0
[conda] numpy-base                1.21.2           py38h79a1101_0
[conda] pytorch                   1.10.2          py3.8_cuda11.3_cudnn8.2.0_0    pytorch
[conda] pytorch-lightning         1.5.10             pyhd8ed1ab_0    conda-forge
[conda] pytorch-metric-learning   1.1.1                    pypi_0    pypi
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] torch-audiomentations     0.10.0                   pypi_0    pypi
[conda] torch-pitch-shift         1.2.0                    pypi_0    pypi
[conda] torchaudio                0.10.2               py38_cu113    pytorch
[conda] torchmetrics              0.7.2              pyhd8ed1ab_0    conda-forge
[conda] torchvision               0.11.2                   pypi_0    pypi
[conda] pysoundfile              0.10.3                 pyhd3deb0d_0     conda-forge

Hi @eric-mc2, I tried reproducing your env and followed your code, but everything ran smoothly on my end and I get identical results using both the str and the Path versions. The Soundfile dependency should be able to take accept either (see here).

Hi @carolineechen, thanks for looking into this so quickly. In the docstring you linked to, it says the "file" parameter should be str, int, or file-like. A pathlib.Path is neither of these.
>>> from pathlib import Path
>>> p = Path('.')
>>> isinstance(p, str)
False
>>> isinstance(p, int)
False
>>> isinstance(p, bytes)
False
>>> hasattr(p, 'seek') or hasattr(p, 'read')
False

Therefore it ought to throw a TypeError  here after failing the explicit type checks for string, int, and file-interface.
What platform did you test on? I've also failed to replicate the issue on Mac, but still observe the error on Linux. My best guess is that conda downloads two versions of this library: a source code version soundfile.py and a compiled version _soundfile.py, that these versions express different behavior, and that different systems load different versions. This hypothesis is substantiated by putting print statements into conda's soundfile.py: on Linux they print but on Mac they don't.

Hi @eric-mc2, I've tested this on both Mac and Linux and have still been unable to reproduce on either (I've also tried both the pip and conda versions of soundfile).
Looking a bit more closely at the soundfile source code here, soundfile should be able to handle PathLike objects, as it converts the object to its str or byte representation through __fspath__, and these types should be accepted by soundfile _open function. Let me know if that looks correct to you
>>> from pathlib import Path
>>> file = Path('.')
>>> hasattr(file, '__fspath__')
True
>>> file = file.__fspath__()
>>> isinstance(file, (str, bytes))
True

@eric-mc2 What is the version of soundfile you are using?
I also tried your code snippet and it worked fine on my MacBook Pro. The version of PySoundFile is 0.10.3.
The call graph looks like

torchaudio.info
https://github.com/pytorch/audio/blob/6f539cf3edc4224b51798e962ca28519e5479ffb/torchaudio/backend/soundfile_backend.py

soundfile.info
https://github.com/bastibe/python-soundfile/blob/f147eafdb549bf35cef24d30ada30f235bf86cc5/soundfile.py#L430-L438

soundfile._SoundFileInfo
https://github.com/bastibe/python-soundfile/blob/f147eafdb549bf35cef24d30ada30f235bf86cc5/soundfile.py#L378-L383

Inside of soundfile._SoundFileInfo constructor

file = file.__fspath__()
https://github.com/bastibe/python-soundfile/blob/f147eafdb549bf35cef24d30ada30f235bf86cc5/soundfile.py#L621

finally, the resulting file is used to interact with libsndfile.
https://github.com/bastibe/python-soundfile/blob/f147eafdb549bf35cef24d30ada30f235bf86cc5/soundfile.py#L627-L629

I'm going to close this thread due to lack of reproducibility. As @carolineechen points out, the file = file.__fspath__() line makes pathlib.Path a legal argument. After cleaning and simplifying my environment setup, I can't reproduce the original stacktrace either.

I had the same problem. The same package version I compared different environments.I reinstall pathlib: pip install pathlib. Temporarily solved the problem.


FireFox 55 - Drop-In UI - PayPal Checkout.js - icon load issues

Description
When you include a PayPal payment option in the Drop-In UI (Tested on versions 1.4.0 and 1.7.0) the icon doesn't fully render with the "PayPal Checkout, The safer, easier way to pay" words in a way that's visible to customers. I should note that using the PayPal Checkout.js to create a standalone PayPal button does not have this issue (though it does take a second or two to render which is odd).

[ ] Screenshots or videos that show the issue
Here's a video of this happening in the Drop-In UI and a video of this not happening with the PayPal Checkout Button using the Checkout.js library
videos.zip

PayPal script is just:
<script src="https://www.paypalobjects.com/api/checkout.js" data-version-4 log-level="warn">`
in the PayPal code. Dropin version is 1.7.0.
Here's the two test pages I made for this:
Drop-In UI v3
PayPal Checkout.js
Steps to reproduce
Use Firefox v 55 on Mac OSX
Click "PayPal" as your payment type for a v3 Drop-In UI

Should render a yellow background icon only. The text is hidden.

Affected browsers

[x] Firefox 55, Mac OSX

I think the problem has something to do with window.getComputedStyle when the div where the button is being rendered is not visible. Here's a codepen that illustrates the problem by not displaying the button until after the render promise resolves. (does not use Braintree):
https://codepen.io/braintree/pen/3e13a23717ed8f8a3795d615860f9f04
Since it's a codepen,  you can't actually run the auth, since the checkout.js script is not on the parent page, but it does illustrate the yellow button issue independent of Braintree.

Thanks for the report and the great examples. I'll take a look into this today.

Yeah you're totally right @crookedneighbor -- it's because of this: https://bugzilla.mozilla.org/show_bug.cgi?id=548397
The issue should be partly resolved, for the time being, since Hermes rolled back and the old code isn't using getComputedStyle. Before it rolls forward again I'll get a fix into checkout.js.

I should note that using the PayPal Checkout.js to create a standalone PayPal button does not have this issue (though it does take a second or two to render which is odd).

Looks like this is caused by the same issue. An implementation detail of the button is that it actually does a double render -- in this case the getComputedStyle issue is only affecting the first render.
Probably high time to start running tests in saucelabs so we can catch this kind of problem earlier.

OK, fix pushed for checkout.js. Next release of drop-in should also pick up the fix.

Thanks to Braintree support for pointing me to this thread. Any ideas when this will be fixed?

I believe @crookedneighbor mentioned the next release of Braintree drop-in was likely to be this week. Not sure of the exact timeline.

In my testing, on Firefox 55.0.3, it is now fixed. No release required.

Yep, getComputedStyle is now null-checked by default in the button. Closing this out.


Generalize image extension in test_epipolar_charuco().

This generalizes what images can be used in test_epipolar_utils(), similar to other points in the code. This is useful if users are trying to calibrate offline using a set of jpegs generated with the on-board encoders. Thanks for considering!

Agree on that one, because datasets can be any format they want.

Sounds like there's no objections. Can someone with write access approve? Thanks.


Shelly smart plugs with attached vehicle are always heaters

Describe the bug
My setup: Shelly 3EM as grid meter, Shelly Plus Plug S as switch socket for the OEM AC charger brick and a Shelly 1PM for a Tesla UMC2 (16A). Since the Solar power is not online yet, I just play around with evcc for easy "charge-to-80%". It is working very well, but the Shelly Plug is always showing temperature and not SoC. After adding the Shelly 1PM as second load point, it also shows temperature, but neither is integrated_device set nor heater in the config file.

Steps to reproduce
Its that way from the very beginning using just a shelly Plus Plug S. The config settings 'heater' and 'integrateddevice' seem to be ignored.
Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: debug
levels:
  cache: error

# unique installation id
plant: 67b3f3821860ff6393c85845baa87dc93d22896c6c71253c55619dc02d60a82a

interval: 30s # control cycle interval

meters:
- type: template
  template: shelly-3em
  usage: grid
  host: <IP_ADDRESS>
  name: grid1

chargers:
- type: template
  template: shelly
  host: <IP_ADDRESS>
  channel: 0
  standbypower: 15
  integrateddevice: false
  heating: false
  icon: car
  name: wallbox3
- type: template
  template: shelly
  host: <IP_ADDRESS>
  channel: 0
  standbypower: 15
  integrateddevice: false
  heating: false
  icon: car
  name: wallbox4

vehicles:
- type: template
  template: nissan
  title: Nissan
  icon: car
  user: *****
  password: *****
  vin: *****
  capacity: 40
  phases: 1
  cache: 15m
  mode: now
  minCurrent: 6
  maxCurrent: 20
  name: ev2
- type: template
  template: nissan
  title: Nissan
  icon: car
  user: *****
  password: *****
  vin: *****
  capacity: 40
  phases: 1
  cache: 15m
  mode: now
  minCurrent: 6
  maxCurrent: 20
  name: ev1

loadpoints:
- title: Garage
  charger: wallbox3
  vehicle: ev2
  mode: now
- title: Hof
  charger: wallbox4
  vehicle: ev1
  mode: now

site:
  title: Zuhause
  meters:
    grid: grid1

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

Log details
I dont know what logs to collect. Couldnt find anything about Heater or temperature in the Logs.

What type of operating system are you running?
Linux
Version
v0.129.0

Was sagt denn /api/state?

{"result":{"auth":{},"availableVersion":"0.130.1","battery":[],"batteryDischargeControl":false,"batteryMode":"unknown","bufferSoc":0,"bufferStartSoc":0,"currency":"EUR","fatal":null,"greenShareHome":0,"greenShareLoadpoints":0,"gridConfigured":true,"gridCurrents":[0.53,19.42,0.89],"gridEnergy":213.032,"gridPower":4779.69,"gridPowers":[73.59,4550.63,155.47],"homePower":2461.69,"influx":{"url":"http://localhost:8086","database":"evcc","org":"","user":"evcc"},"interval":30,"loadpoints":[{"chargeCurrent":10,"chargeDuration":4440,"chargePower":2318,"chargeRemainingDuration":17521,"chargeRemainingEnergy":11281.517,"chargeTotalImport":46.797,"chargedEnergy":2890.82,"chargerFeatureHeating":true,"chargerFeatureIntegratedDevice":true,"chargerIcon":"car","chargerPhases1p3p":false,"chargerPhysicalPhases":1,"charging":true,"connected":true,"connectedDuration":0,"disableThreshold":0,"effectiveLimitSoc":80,"effectiveMaxCurrent":10,"effectiveMinCurrent":6,"effectivePlanSoc":0,"effectivePlanTime":null,"effectivePriority":0,"enableThreshold":0,"enabled":true,"limitEnergy":20,"limitSoc":80,"maxCurrent":10,"minCurrent":6,"mode":"now","phaseAction":"inactive","phaseRemaining":0,"phasesActive":1,"phasesConfigured":3,"phasesEnabled":3,"planEnergy":0,"planOverrun":0,"planProjectedEnd":null,"planProjectedStart":null,"planTime":null,"priority":0,"pvAction":"inactive","pvRemaining":0,"sessionCo2PerKWh":null,"sessionEnergy":2890.82,"sessionPrice":null,"sessionPricePerKWh":null,"sessionSolarPercentage":0,"smartCostActive":false,"smartCostNextStart":null,"title":"Garage","vehicleClimaterActive":null,"vehicleDetectionActive":false,"vehicleLimitSoc":0,"vehicleName":"ev2","vehicleOdometer":0,"vehicleRange":143,"vehicleSoc":54.617,"vehicleWelcomeActive":false},{"chargeCurrent":16,"chargeDuration":0,"chargePower":0,"chargeRemainingEnergy":11555.556,"chargeTotalImport":6.182,"chargedEnergy":0,"chargerFeatureHeating":true,"chargerFeatureIntegratedDevice":true,"chargerIcon":"car","chargerPhases1p3p":false,"chargerPhysicalPhases":1,"charging":false,"connected":true,"connectedDuration":0,"disableThreshold":0,"effectiveLimitSoc":80,"effectiveMaxCurrent":16,"effectiveMinCurrent":6,"effectivePlanSoc":0,"effectivePlanTime":null,"effectivePriority":0,"enableThreshold":0,"enabled":true,"limitEnergy":0,"limitSoc":80,"maxCurrent":16,"minCurrent":6,"mode":"now","phaseAction":"inactive","phaseRemaining":0,"phasesActive":1,"phasesConfigured":3,"phasesEnabled":3,"planEnergy":0,"planOverrun":0,"planProjectedEnd":null,"planProjectedStart":null,"planTime":null,"priority":0,"pvAction":"inactive","pvRemaining":0,"sessionCo2PerKWh":null,"sessionEnergy":0,"sessionPrice":null,"sessionPricePerKWh":null,"sessionSolarPercentage":0,"smartCostActive":false,"smartCostNextStart":null,"title":"Hof","vehicleClimaterActive":null,"vehicleDetectionActive":false,"vehicleLimitSoc":0,"vehicleName":"ev1","vehicleOdometer":0,"vehicleRange":143,"vehicleSoc":54,"vehicleWelcomeActive":false}],"maxGridSupplyWhileBatteryCharging":0,"mqtt":{"broker":"","topic":"evcc","user":"","clientID":"","insecure":false},"network":{"schema":"http","host":"evcc.local","port":7070},"prioritySoc":0,"pv":[],"pvPower":0,"residualPower":0,"siteTitle":"Zuhause","smartCostType":null,"sponsor":{"name":"","expiresAt":"0001-01-01T00:00:00Z"},"statistics":{"30d":{"avgCo2":0,"avgPrice":0,"chargedKWh":131.146693,"solarPercentage":0},"365d":{"avgCo2":0,"avgPrice":0,"chargedKWh":131.146693,"solarPercentage":0},"total":{"avgCo2":0,"avgPrice":0,"chargedKWh":131.146693,"solarPercentage":0}},"vehicles":{"ev1":{"title":"Nissan","icon":"car","capacity":40},"ev2":{"title":"Nissan","icon":"car","capacity":40}},"version":"0.129.0"}}

Ich sehe (bzw. man könnte es sehen wenn es formatiert wäre):
"chargerFeatureHeating": true,
"chargerFeatureIntegratedDevice": true,

Meine Vermutung ist, dass wir hier ein Parsing/Interpretationsproblem haben.  Beim Rendern der Templates gehen uns die Typ-Informationen verloren und wir prüfen an dieser Stelle nur auf Existenz des Parameters, aber nicht auf seinen wirklichen Wert:
https://github.com/evcc-io/evcc/blob/master/util/templates/includes/switchsocket.tpl#L4
integrateddevice ist hier vom Typ string und hat den Wert "false".
@andig Magst du da mal reinschauen?

Der Fix is (somewhat) klar. Der Code ist allerdings 9 Monate alt. @pohlinkzei ging das in einer alten Version mal "richtig"?

Nein, ich bin neuuser.

Ich vermute schwer, das ist bisher nur nicht aufgefallen, weil niemand false benutzt hat.
Wenn man es nicht braucht, trägt man es gar nicht erst ein.

 Sorry, hab ich vorher noch nie ausprobiert


Code too long?

Little bit uncertain because the error popped up in german, but:

[An error occurred: Der Index und die Länge müssen sich auf eine Position in der Zeichenfolge beziehen.
Parametername: length]

How many lines can the generator accommodate?  =/

I logged this German instead of English error for the next sprint.
The error itself is not related to the length of the generator.
Some internal operation tried to access a character beyond the available text length.
Can you send me the generator that caused the problem to<EMAIL_ADDRESS>and describe in the mail what you did to cause it?
Thanks!

Ha!  Nevermind, I figured it out!  Letting me know it wasn't a length error made me take a second look at the more recent parts I added and I realized that some of my variables weren't matching up!!


Uptime Kuma only showing last 11mins on status page

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

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

🛡 Security Policy

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

📝 Describe your problem

I only see the last 11minutes, I was under the impression this would show the last 24 hours?
📝 Error Message(s) or Log
No errors
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
UNRAID 7
🌐 Browser
Chrome
🖥 Deployment Environment

Runtime:
Database:
Filesystem used to store the database on:
number of monitors:

That's just the current status bar (AFAIK showing up to the last 40 minutes). You can see much more detail drilling down in your monitor and selecting a time span in your graph.

That's just the current status bar (AFAIK showing up to the last 40 minutes). You can see much more detail drilling down in your monitor and selecting a time span in your graph.

I see the extended stuff in the backend, is there no way to have this data shown on the status page?

Ah, I see what you mean. I'm usually only looking at backend. For the status pages, there is a discussion around this topic here #637 . So you can contribute there and close this here as duplicate/ungoing discussion.

Counfiguring the heartbeat range for the status page is tracked here

https://github.com/louislam/uptime-kuma/issues/1888

https://github.com/louislam/uptime-kuma/issues/637 is about adding the ping graph (the one showing the latency over time)
In v2, this should be possible from a performance perspective, but needs implementing in the frontend.