chore: incremental fixes to experimental Renovate workflow (part 3)

Details

Fixes gitAuthor to use an accurate bot email
Switches json5 for json in self host config to attempt to fix error while parsing it

Motivation
See #685
Context
See #685
Pull request checklist

[ ] PR title respects Conventional Commits (starts with fix:, feat:, etc, and is suitable for user-facing release notes)
[ ] PR contains no breaking changes, OR description of both PR and final merge commit starts with BREAKING CHANGE:
[ ] (if applicable) Addresses issue: #0000
[ ] Added relevant unit tests for your changes
[ ] Ran yarn precheckin
[ ] Verified code coverage for the changes made

:tada: This PR is included in version 2.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Workaround #3, activate logging, fixed update to Citrus 2.7.1

Test are now working with Citrus 2.7.1. Issue #3 fixed by temporarily adding dependency on citrus-selenium module. Also activated proper console logging (including errors and stack traces) and fixed rest docs documentation with Citrus

Thanks a lot ! Will check it out immediately (as I'm finally back in Jolokia business for a new release ;-)
btw, please let me know when a release with the selenium dep issue resolved is released.

Yes of course, I will do that. By the way this is only related to Groovy. In Java the optional usage of these classes is causing no problems. I managed to find a solution which is also working with Groovy though.

Ah, ok. strange that the Groovy handling is different.


Feature: Save the size of a folder.

What feature or improvement do you think would benefit Files?
Sometimes I need to know the size of a folder. But if I leave this option active, I will have CPU problems.
The application could evaluate the folder size once, only when it is modified, or place an option in the navigation bar to calculate this (this last option would change the folder size value.

Requirements

save the folder size value: without calculating every time I open a folder.
the user has the option to update the folder size with a button on the navigation bar.

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4391
Comments
No response

Perhaps this could be done using a hashing algorithm 👀

Thanks for the feedback, We're tracking this in #13752. You can check there or click subscribe in the right sidebar for updates.
You can right now you the properties window


upload-symbols high memory usage, brings system to a halt

Operating system: macOS
Operating system version: 11.6
Firebase version: 8.4.0
What steps will reproduce the problem:

Build project (Unity) to Xcode, finish build in Xcode

What is the expected result?
upload-symbols to finish after some time with a resonable amount of memory usage
What happens instead of that?
upload-symbols process stays open, uses more or less 100% cpu (1 core) all the time and brings my system almost to a standstill with more than 4gb used by upload-symbols.  Upload-symbols is a child process of the xcode build. It does not happen on every build. The same did not happen in 8.2.0.
Please provide any other information below, and attach a screenshot if possible.
I can see it in the ps output like this:
/bin/sh /Users/.../build/iOS/Pods/FirebaseCrashlytics/run -gsp /Users/.../build/iOS/GoogleS
ervice-Info.plist
/Users/.../build/iOS/Pods/FirebaseCrashlytics/upload-symbols -gsp /Users/.../build/iOS/GoogleService-Info.plist --build-phase
I realize that this is not much information to work with, so let me know if I can provide any stack traces from the running process or log entries that would help (and ideally info on how to retrieve it).

Hey @kjyv - I'm going to close this and talk on the ios-sdk Issue


FR: Suggest converting an android project to a JVM-only project if possible

Is your feature request related to a problem? Please describe.
In some cases, android projects may use no android APIs/features. In these cases, these projects could be converted wholly to JVM projects and offload the work that the comparatively-expensive AGP plugin does.
I think the logic could be:

No android.* APIs used from the Android SDK.
No android dependencies used.
No android build features used (buildconfig, viewbinding, compose).
No android resources defined.

Describe the solution you'd like
Advice produced in this case!
Describe alternatives you've considered

Additional context

This feature already exists, partially. See here. It uses a heuristic to determine if an Android module "could" or "should" be a JVM module. If you run ./gradlew lib:projectHealth on an Android module that uses limited or no Android features, you should see "module advice" telling you you could turn it into a JVM module. The reason task also supports providing more information about why this advice is emitted (or not).
As far as I know, we have no real users of this "module advice" feature yet, so we don't know how useful it is, if at all. Feedback is very welcome!


[Bug]: child bridge restarting signal 1 error

What happened?
Restarting child bridge loads but then fails with signal 1 and then restarts constantly
Device Type
Doorbell (Supported)
Plugin Version
v3.0.x (Best Effort)
HomeBridge Version
v1.7.x (Supported)
NodeJS Version
v20 (Supported)
Operating System
Raspbian 10+ (Supported)
Relevant log output
6/19/2024, 1:25:51 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:25:51 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:25:58 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:26:00 PM] [homebridge-eufy-security] Launched child bridge with PID 3333
[6/19/2024, 1:26:03 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:26:03 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:26:03 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:26:04 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:26:04 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:26:11 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:26:14 PM] [homebridge-eufy-security] Launched child bridge with PID 3353
[6/19/2024, 1:26:17 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:26:17 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:26:17 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:26:18 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:26:18 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:26:25 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:26:27 PM] [homebridge-eufy-security] Launched child bridge with PID 3413
[6/19/2024, 1:26:30 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:26:31 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:26:31 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:26:32 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:26:32 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:26:39 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:26:41 PM] [homebridge-eufy-security] Launched child bridge with PID 3437
[6/19/2024, 1:26:44 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:26:44 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:26:44 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:26:46 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:26:46 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:26:53 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:26:55 PM] [homebridge-eufy-security] Launched child bridge with PID 3456
[6/19/2024, 1:26:58 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:26:58 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:26:58 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:26:59 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:26:59 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:27:06 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:27:08 PM] [homebridge-eufy-security] Launched child bridge with PID 3479
[6/19/2024, 1:27:11 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:27:11 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:27:12 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:27:13 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:27:13 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:27:20 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:27:22 PM] [homebridge-eufy-security] Launched child bridge with PID 3499
[6/19/2024, 1:27:25 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:27:25 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully
[6/19/2024, 1:27:25 PM] Loaded 4 cached accessories from cachedAccessories.0E35953ECB1A.
Error: listen EADDRINUSE: address already in use :::59551
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at Server.listen (node:net:2008:7)
    at EventedHTTPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/util/eventedhttp.ts:164:20)
    at HAPServer.listen (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/HAPServer.ts:377:21)
    at Bridge.<anonymous> (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1368:18)
    at step (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /var/lib/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)
[6/19/2024, 1:27:26 PM] [homebridge-eufy-security] Child bridge process ended
[6/19/2024, 1:27:26 PM] [homebridge-eufy-security] Process Ended. Code: 1, Signal: null
[6/19/2024, 1:27:33 PM] [homebridge-eufy-security] Restarting Process...
[6/19/2024, 1:27:36 PM] [homebridge-eufy-security] Launched child bridge with PID 3567
[6/19/2024, 1:27:39 PM] Registering platform 'homebridge-eufy-security.EufySecurity'
[6/19/2024, 1:27:39 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v3.4.2 child bridge successfully

config
{
    "bridge": {
        "name": "Homebridge 2C14",
        "username": "0E:AA:41:84:36:2A",
        "port": 51634,
        "pin": "397-53-293",
        "sudo": true
    },
    "accessories": [
        {
            "accessory": "Script2",
            "name": "Apple TV 4K",
            "on": "/var/lib/homebridge/appletv_on.sh",
            "off": "/var/lib/homebridge/appletv_off.sh",
            "state": "/var/lib/homebridge/appletv_state.sh",
            "fileState": "/var/lib/homebridge/script1.flag",
            "on_value": "true"
        },
        {
            "name": "Messenger",
            "services": {
                "ifttt": {
                    "key": "dzCxrUIBLsxyZTQ_sgKCez"
                }
            },
            "messages": [
                {
                    "name": "Garden Gate Open",
                    "type": "ifttt",
                    "event": "garden_gate_open",
                    "value1": "Garden",
                    "value2": "Gate",
                    "value3": "Open",
                    "priority": 0,
                    "sound": "pushover"
                }
            ],
            "accessory": "HomebridgeMessenger"
        }
    ],
    "platforms": [
        {
            "name": "Nest",
            "googleAuth": {
                "issueToken": "https://accounts.google.com/o/oauth2/iframerpc?action=issueToken&response_type=token%20id_token&login_hint=AJDLj6LQu-SMCQLMJfOUep6S7tCefs5nTjzrPuEUy3fu3FRvuEGo7y0lYEOwboyx2QFqXHp6tnOd4Me8LOLUNclN5yKcIemH0w&client_id=733249279899-44tchle2kaa9afr5v9ov7jbuojfr9lrq.apps.googleusercontent.com&origin=https%3A%2F%2Fhome.nest.com&scope=openid%20profile%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fnest-account&ss_domain=https%3A%2F%2Fhome.nest.com&include_granted_scopes=true&auto=0",
                "cookies": "__Secure-3PSID=aQjFgVkgpW4f9lA4krehqVufgxzbsuk1VFpgdCREEmm2E9C6bj3cTDjVqI7Fm2wdKO57lA.; __Secure-3PAPISID=3GNlhLengu5_IYEr/AUx9pp3NU2YF2HFuB; NID=511=qL4vvHktlmgumG8TgxB9xtOAhK0ENhEAZ3ZU3TpJfPGJNdOxDEFXjMDvc0yQwVaiWG_Gx-3znXyGcRGSpTnfDA_2rTo4sDhRcenkf7dH01BCI5gR_rtPouKGEyNGQkAK1HpMupoNdtQLMO8sM6hwH3Al7LpVSDcF0gNct9ZM7jgkhvWGKzrU4V8A1a7ocN0FyKW-BARii-odUOdmUi1VrL_G; __Host-3PLSID=s.GB|s.youtube:aQjFget56aBZ8Ae4HOboQu9y-oOx8QWW7T-_y61HgeW0lN-GRXvVN7xPAHcNEWPpGfOLtw.; LSOLH=_SVI_EL3Ku-jJgoEDGAMiP01BRURIZl9xemRwSHo1dXJucndZUmhkck00andxWkF2YWJvQmN1VG5PYy1SOGRkU1VuTFlNVFA5MFM2MHNrUQ_:28222289:f242; __Secure-3PSIDCC=APoG2W8W0AUDBJc2zvBp11CZqkbkxbnbCFbRde8nZWojcW8lcrTJrLB-V6OcDipDot1fBw2Abg"
            },
            "options": [
                "HomeAway.Disable"
            ],
            "hotWaterDurationMinutes": 120,
            "platform": "Nest"
        },
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "SmartThings-v2",
            "app_url": "https://graph-eu01-euwest1.api.smartthings.com/api/smartapps/installations/",
            "app_id": "d8a68a81-0df1-43ac-b819-00ae189cf573",
            "access_token": "c7007305-f379-40ea-b1c6-f0c43a7c6f61",
            "direct_port": 8000,
            "temperature_unit": "C",
            "validateTokenId": false,
            "logConfig": {
                "debug": false,
                "showChanges": true,
                "hideTimestamp": true,
                "hideNamePrefix": true,
                "file": {
                    "enabled": true,
                    "level": "good"
                }
            },
            "platform": "SmartThings-v2"
        },
        {
            "name": "BraviaTVOS",
            "warn": true,
            "error": true,
            "extendedError": true,
            "tvs": [
                {
                    "active": true,
                    "name": "Extension TV",
                    "ip": "<IP_ADDRESS>",
                    "port": 80,
                    "manufacturer": "Sony",
                    "model": "Bravia",
                    "serialNumber": "00000000",
                    "wol": false,
                    "refreshInputs": false,
                    "polling": 10,
                    "sheduledRefresh": 12,
                    "inputs": [],
                    "apps": [],
                    "channels": [],
                    "commands": [],
                    "macros": [],
                    "remote": [],
                    "displayOrder": [
                        "inputs",
                        "apps",
                        "channels",
                        "commands",
                        "macros"
                    ],
                    "speaker": {
                        "active": true,
                        "output": "speaker",
                        "increaseBy": 1,
                        "reduceBy": 1,
                        "accType": "lightbulb"
                    },
                    "appName": "Extension TV"
                }
            ],
            "platform": "BraviaOSPlatform"
        },
        {
            "platform": "EufySecurity",
            "username"<EMAIL_ADDRESS>            "password": "urndjbGso769pBmQ32L!",
            "ignoreStations": [
                "",
                "T8400P2020360F34",
                "T8400P2021092A22",
                "T8400P322312480C"
            ],
            "ignoreDevices": [
                "",
                "T8400P2020360F34",
                "T8400P2021092A22",
                "T8400P322312480C"
            ],
            "enableCamera": true,
            "pollingIntervalMinutes": 30,
            "hkHome": 1,
            "hkAway": 0,
            "hkNight": 3,
            "hkOff": 63,
            "enableDetailedLogging": false,
            "_bridge": {
                "username": "0E:35:95:3E:CB:1A",
                "port": 59551
            },
            "country": "GB",
            "CameraMaxLivestreamDuration": 60,
            "cleanCache": true,
            "cameras": [
                {
                    "serialNumber": "T8210P0020270232",
                    "enableCamera": true,
                    "enableButton": true,
                    "motionButton": true,
                    "rtsp": false,
                    "unbridge": true,
                    "forcerefreshsnap": false,
                    "useCachedLocalLivestream": true,
                    "videoConfig": {
                        "audio": true
                    },
                    "talkback": false,
                    "talkbackChannels": 1,
                    "hsv": false,
                    "hsvRecordingDuration": 20,
                    "hsvConfig": {},
                    "experimentalRTSP": false,
                    "snapshotHandlingMethod": 1,
                    "immediateRingNotificationWithoutSnapshot": false
                },
                {
                    "serialNumber": "T8124P2122402C87",
                    "rtsp": false,
                    "enableCamera": "true",
                    "unbridge": false,
                    "videoConfig": {
                        "audio": true,
                        "maxWidth": 640,
                        "maxHeight": 480,
                        "maxFPS": 15,
                        "useSeparateProcesses": true
                    },
                    "experimentalRTSP": false,
                    "enableButton": false,
                    "motionButton": false,
                    "snapshotHandlingMethod": 3,
                    "useCachedLocalLivestream": true,
                    "talkback": false
                }
            ],
            "experimentalMode": false,
            "preferLocalConnection": false
        },
        {
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": true,
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "platform": "TplinkSmarthome"
        }
    ],
    "disabledPlugins": [
        "homebridge-plugin-eufy-security",
        "homebridge-apple-tv-remote",
        "homebridge-alexa",
        "homebridge-skyq-tvremote",
        "homebridge-sky-q-no-logs",
        "homebridge-arlo-v2",
        "homebridge-harmony",
        "homebridge-smartthings",
        "homebridge-nest"
    ]
}

I deleted the child bridge and it seems to have worked.  Thanks for your input.


Extend transactron documentation

Recently we added new functionalities to transactron:

single caller methods
simultaneus transactions
ready_function

We should extend "Advanced concepts" section with information about those features.

The ready_function functionality is still not merged. For other two, they are still pretty much experimental (but are now somewhat tested thanks to your work on V core).
Documenting stuff is pretty important, but for now I think that documenting the features which are actually in use has priority. I've added PR #491 for this purpose.


Add support for maps

Maps will have the following syntax:
{"foo" => 123} # Type: Map(String, Int)

Don't worry about empty maps for now. We'll handle that separately. Please refer the Fika language hacking guide inside /docs to understand the steps involved in adding new syntax to Fika.

@emilsoman in Elixir, %{a: 1} and %{:a => 1} are exactly equal. Will {a: 1} and {:a => 1} be different in Fika?

How do we differentiate this from records. I mean, not by syntax but by the actual underlying use case.
In the end, we translate Record to erlang map, so am guessing Fika Maps would also be Erlang maps.

@sreecodeslayer that's my concern as well. In Elixir, atom-maps are just syntatical sugar for the %{term => term} syntax.

In Fika: {a: 1} is a record and not a map at all. The only similarity records have with maps is that they both contain key-values, but records are really just static structures that are not meant to grow dynamically. That's why their type is actually just their record structures themselves. For example. A record {foo: "123"} has a type {foo: String}. Changing this during runtime would mean the type itself changes. But maps on the other hand grow dynamically without changing their types.
Maps are for cases when the keys are only known at runtime (think of something like HTTP headers). If we already know they keys beforehand, that's a use case for records (example: a User record that's read from the DB). Records give us type safety when accessing them and are better for passing around entities with fixed structures. Hope that makes sense.

That seems like a nice separation! Maybe we could define the delimiter differently as well? It seems for me that using {} for tuples, maps and records leaves too much cognitive overload upon the programmer, who would have to read between the curly brackets to determine which data type is being used

I suggest changing records to something like %{}, @{}, ${}, because then if we want to introduce structs, we can treat them as named records, using Elixir-like syntax: %Name{}, @Name{} or $Name{} in the above cases

Point noted @polvalente . If this was confusing to contributors, this is a potential cause of confusion for users as well. But at the same time, as language hackers we may be thinking of this differently until we actually start to write code in Fika. The notation we use has been successfully used before, for example, in Crystal lang (https://crystal-lang.org/reference/ - check out Hash(maps for us), Tuple and NamedTuple(we call them records)). After Fika is ready for users, we'll make sure we get feedback and iterate on not just maps, but ALL syntax.

@emilsoman if not picked by anyone, i'll take this for the weekend 😁

@sreecodeslayer feel free!


str change to s like in question

File(s) Modified: 1-Two-Sum.py, 2-Add-Two-Numbers.py, etc...
Language(s) Used: python, javascript, etc...
Submission URL: _https://leetcode.com/submissions/detail/xxxxxxxxx/_

Fill in the PR template

Thanks for contributing, @harjotsbhatia! Please fill in the template so that I can quickly check if your code has been tested.


Line length rule, E501, incorrectly handled in some circumstances

ruff version and settings
ruff version:
ruff --version
ruff 0.0.292

ruff settings:
--select ALL --ignore D203,D212,T201,D100,D101,D103 --line-length=120

Description
The line length rule, E501, doesn't seem to always be handled correctly. I'm not really sure about all the different cases, but below I demonstrate one case where ruff complains about # noqa: E501 being applied to a line where it's unnecessary, i.e: RUF100 [*] Unused `noqa` directive (unused: `E501`), but flake8 correctly handles it.
Code
from dataclasses import dataclass

@dataclass
class Context:
    really_long_variable_name_that_exceeds_limit_set_at_some_point_probably_during_cli_command_of_the_ruff_tool: bool

def main() -> None:
    # Correct, ruff doesn't complain if 'noqa: E501' is added.
    context = Context(really_long_variable_name_that_exceeds_limit_set_at_some_point_probably_during_cli_command_of_the_ruff_tool=True)  # noqa: E501

    # Correct, ruff doesn't complain if 'noqa: E501' is added.
    _ = context.really_long_variable_name_that_exceeds_limit_set_at_some_point_probably_during_cli_command_of_the_ruff_tool  # noqa: E501

    # Incorrect, ruff complains if 'noqa: E501' is added: 'RUF100 [*] Unused `noqa` directive (unused: `E501`)'
    Context(really_long_variable_name_that_exceeds_limit_set_at_some_point_probably_during_cli_command_of_the_ruff_tool=True)  # noqa: E501

Result
To check the linting result, I ran 2 commands: One for ruff and one for flake8:
ruff command: ruff check ruff_e501_check.py --select ALL --ignore D203,D212,T201,D100,D101,D103 --line-length=120 --isolated
flake8 command: flake8 --max-line-length=120 ruff_e501_check.py
ruff output:
> ruff check ruff_e501_check.py --select ALL --ignore D203,D212,T201,D100,D101,D103 --line-length=120 --isolated
ruff_e501_check.py:17:128: RUF100 [*] Unused `noqa` directive (unused: `E501`)
Found 1 error.
[*] 1 potentially fixable with the --fix option.

ruff incorrectly reports an unused noqa issue directly on line 17.
flake8 output:
> flake8 --max-line-length=120 ruff_e501_check.py

flake8 correctly does not report an issue.
If I remove the # noqa: E501 from line 17, and re-run the commands I get this:
ruff output:
> ruff check ruff_e501_check.py --select ALL --ignore D203,D212,T201,D100,D101,D103 --line-length=120 --isolated

ruff incorrectly does not report an issue.
flake8 output:
> flake8 --max-line-length=120 ruff_e501_check.py
ruff_e501_check.py:17:121: E501 line too long (125 > 120 characters)

flake8 correctly reports an issue on line 17.

I’ll take a look at this specific case when I’m back at my computer, but note that we have slightly different rules around when we flag E501 violations which are spelled out in the rule documentation. For example, we don’t consider a line to be too long if only a pragma comment (like a noqa) exceeds the line limit.

The problematic line by itself is 125 characters long. I also tried with an even longer variable name, that was 139 characters by itself, and that also showed the same problem.
Looking at the rules, it seems like this could be a case where the rules are applied differently in ruff than in flake8.
https://docs.astral.sh/ruff/rules/line-too-long/

In the interest of pragmatism, this rule makes a few exceptions when determining whether a line is overlong. Namely, it:
Ignores lines that consist of a single "word" (i.e., without any whitespace between its characters).

My specific case is this, with this amount of indentation at the beginning:
            self.x = Context(
                a_really_long_variable_name_that_exceeds_the_set_limits=config.A_REALLY_LONG_VARIABLE_NAME_THAT_EXCEEDS_THE_SET_LIMITS,  # noqa: E501, RUF100
            )

I suppose that this is a "single word".
If this makes sense to you also, you can close this. I was just surprised about it.

Hmm, it seems it is precisely because Ruff does not include this behavior of Black. If I add fmt: skip for Black, Ruff correctly reports E501 🤔

I'm not sure I fully follow the issue, but Ruff will avoid flagging E501 if your string ends in a long URL that starts before the line length limit.

(Happy to keep discussing and answering questions as always, but gonna close as I believe this is all consistent with our intended behavior and docs.)

I use ruff in individual projects with strict rules, but I have an overarching CI workflow that runs on all projects, and uses less strict rules (flake8, isort, etc.). That other workflow complains about E501 in cases where ruff does not (mainly, long URLs).
To workaround, I can write my URL strings like "https:""//....". That way, ruff doesn't recognize the URL, and RUF100 will not be raised.


[UIFlow 2.0] [JP] System-WLAN STA

Translate the "WLAN STA" in UIFlow 2.0 under the System category into Japanese.

Translation has finished.


Required and nullable is ignored

Consider the following definition:
            "ArticleDto": {
                "required": [
                    "OriginalStoryBrokeOn",
                    "CreatedOn",
                    "UpdatedOn",
                    "IsActive",
                    "Tags",
                    "Categories",
                    "ConfidenceScore"
                ],
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string",
                        "format": "uuid",
                        "nullable": true
                    },
                    "title": {
                        "type": "string"
                    },
                    "synopsis": {
                        "type": "string"
                    },
                    "originalStoryBrokeOn": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "createdOn": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "updatedOn": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "body": {
                        "type": "string"
                    },
                    "isActive": {
                        "type": "boolean"
                    },
                    "tags": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "categories": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ArticleCategories"
                        }
                    },
                    "country": {
                        "type": "string",
                        "nullable": true
                    },
                    "stateProvince": {
                        "type": "string",
                        "nullable": true
                    },
                    "city": {
                        "type": "string",
                        "nullable": true
                    },
                    "slug": {
                        "type": "string"
                    },
                    "confidenceScore": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "additionalProperties": false
            },

It clearly defines what fields are required and nullable, but the generation doesn't use these, so everything is nullable when it really isn't.

I also experience this issue.
Here is a minimal reproducible sample:
{
  "openapi": "3.0.3",
  "info": {
    "title": "Parser Test",
    "description": "Parser Test",
    "version": "1.0.0"
  },
  "externalDocs": {
    "url": "/"
  },
  "servers": [],
  "tags": [],
  "paths": {},
  "components": {
    "schemas": {
      "User": {
        "type": "object",
        "nullable": true,
        "properties": {
          "a": {
            "type": "string",
            "nullable": false
          }
        }
      }
    },
    "examples": {}
  }
}

This snippet generates the following dart code:
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint

import 'package:json_annotation/json_annotation.dart';

part 'user.g.dart';

@JsonSerializable()
class User {
  const User({
    this.a,
  });

  factory User.fromJson(Map<String, Object?> json) => _$UserFromJson(json);

  final String? a;

  Map<String, Object?> toJson() => _$UserToJson(this);
}

But for my understanding, this should actually mark a as String (and therefore required) instead of String?.

Can I somehow help solve the problem? Or someone is already doing this. Just a very critical thing...

I already have the code and offered to do a pull request. I didn’t get a response.

Yes, I am work on it

@JohnGalt1717  @Darkildo Check branch 1.15
  swagger_parser:
    git:
      url: https://github.com/Carapacik/swagger_parser
      ref: 1.15
      path: swagger_parser

Turns out, I was just writing my swagger docs incorrectly and required_by_default: false is actually just vastly more desirable.
I apologize for that.
A swagger doc were all required parameters are annotated with required: true is much easier to generate that one which doesnt do that but assumes all parameters to be required.


Cannot use my custom model

I've converted custom model myself and put it to "custom" folder. But container always tries to download it. If I dont specify web address of the model it shows the following error:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
And it also deletes my data!
Actually I don't see any improvement against the original faster-widget container TBH, exept  new directory "custom".
Is it possible just to start a container with my local custom model that I already have on my server?

Local custom folders are not supported. It will be deleted on every start - just like in the original addon.
Try to upload it to somewhere. gitlab, hf.co, or any webservice. (you can also use your ha's webfolder) Take care to the structure: model.bin, vocabulary.txt, config.json, and the hash file should be located in the target folder.

I'm using a standalone cuda version. What is the structure of hash file?

BTW, sometimes I also got this error on startup:
TypeError: AsrModel.init() missing 1 required positional argument: 'version'
like  #8
So there is a chance that container "sees" my model, but fails due to another error.

BTW, sometimes I also got this error on startup: TypeError: AsrModel.init() missing 1 required positional argument: 'version' like #8 So there is a chance that container "sees" my model, but fails due to another error.

That is another, confirmed issue. Your original issue is not relevant for this.....
You can grab any hash.json from any model from here: https://huggingface.co/Hungarians
if a hash has invalid content, it will raise only a warning....
Anyways, you can create your correct hash values by md5sum command on linux

I managed to upload my model to the web, started container, and ended up from what I've started:
TypeError: AsrModel.init() missing 1 required positional argument: 'version'
INFO:main:Downloading custom model whisper-medium-ru to /data

TypeError: AsrModel.init() missing 1 required positional argument: 'version'
is totally different as you opened the case:
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
The first is resolved by the v1.1.1 release.
The second implicates some other error. Can you please share your yaml file?

I can confirm that v1.1.1 works..
But my custom model works a lot worse than the original one. There are speed and connection issues. I guess I have to wait for official models...


Output IAM email address for GCS bucket access

With this information, we can then request a service account key with the gcloud CLI tool.
https://cloud.google.com/sdk/gcloud/reference/iam/service-accounts/keys/create
From there we can then configure Medusa to use the bucket and key.

We should just optionally create the bucket


Feature: Change devtools location

Currently it's always located in the bottom right, would be nice and useful if it could be moved with a prop, or even the possibility to apply own styles for it.

Good suggestion, but kind of swamped and not sure when I can get around to this. Id happily review a PR though 😁

Might take a look at it, if I can find the time :)


Option to disable osu!framework applications from blocking compositors

As discussed in https://github.com/ppy/osu-framework/issues/4642, we probably want an option to disable the compositor-blocking default behaviour of SDL, which can be controlled via SDL_HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR.
We may even want this to be the default, since I believe other applications like browsers/electron apps don't block the compositor. This is a low-priority issue for us.

Fixed by #4976


Getting no response

I've create this secret backend:
$ vault kv get configserver/tdev-wssc-configserver
====== Data ======
Key         Value
---         -----
password    fakepassword
username    fakeuser

And,
$ vault kv get configserver/application
====== Data ======
Key         Value
---         -----
password    fakepassword
username    fakeuser

Also, I've been able to configure and kick off a config server with vault backend:
server.port: 8888

security.user.name: root
security.user.password: s3cr3t

spring:
  application:
    name: tdev-wssc-configserver

  profiles:
    active: vault

  cloud:
    vault:
      enabled: true
      host: ${vault_server_host:localhost}
      port: ${vault_server_port:8200}
      scheme: ${vault_server_scheme:https}
      connection-timeout: 5000
      read-timeout: 15000
      fail-fast: true
      config:
        order: -10
      ssl:
        trust-store: file:keystore.jks
        trust-store-password: secret

      authentication: TOKEN
      token: 0658089f-4327-6476-64c3-279a08cea50e

      generic:
        enabled: true
        backend: ${vault_generic_backend:configserver}
        # profile-separator: '/'
        default-context: ${vault_generic_default_context:application}

    # explicitly disable the config client, otherwise we run into a timeout on startup
    config:
      enabled: false

So, after that:
$ curl http://root:s3cr3t@localhost:8888/configserver/tdev-wssc-configserver

Nevertheless, I'm getting no response.
Also I've tried with:
$ curl http://root:s3cr3t@localhost:8888/tdev-wssc-configserver/default
$ curl http://root:s3cr3t@localhost:8888/secret/tdev-wssc-configserver/default

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Added 2 apps to showcase: Smart Heat and WYQS

I have momentarily commented Apple URL in WYQS app. Might be they forgot to pay for the charity apple developer program and url does not work. I'll restore the URL when it will be live again.

What's the reason for the package-lock file change?

NPM warned on install that package.lock was done with an older version, it was upgraded automatically by newer NPM version. No reason to keep package.lock changes sorry for unintentionally commit.

No problems, if you can remove or do another PR with this excluded I'll merge it in.


Add Init on github

Upload the project skelleton done before the creation of the github on github

Story Points: 3

Real Story Points: 3


make error "duplicate" cheaper

Change Summary
For #883 - replaces ValLineError::duplicate with ValLineError::into_owned which avoids the need to convert JsonInput to Python data when handling errors.
This is made possible by changing JsonInput to have Arc on the array and object variants. I used SmallVec inside those variants to avoid double-allocating for small lists & maps. Overall this shouldn't impact performance much, ideally will make it a bit tidier in #883.
Related issue number
N/A
Checklist

[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes where applicable
[ ] Pydantic tests pass with this pydantic-core (except for expected changes)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review


iOS 15 Flutter 2.10.3 got crash because of EXC_BAD_ACCESS KERN_INVALID_ADDRESS

Steps to Reproduce

Temporarily speaking, the crash only showed on one user's phone.
The user use iOS 15.0.1 iPhone 6s

Expected results:
App should not crash.
Actual results:
Crashed: io.flutter.1.raster
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000537b9e7e0

Crashed: io.flutter.1.raster
0  libobjc.A.dylib                0x2430 objc_release + 16
1  Flutter                        0x293104 (missing UUID be105c8b7c053a8ba51f83e291732357)
2  Flutter                        0x297978 (missing UUID be105c8b7c053a8ba51f83e291732357)
3  Flutter                        0x1997a8 (missing UUID be105c8b7c053a8ba51f83e291732357)
4  Flutter                        0x5b388 (missing UUID be105c8b7c053a8ba51f83e291732357)
5  Flutter                        0x516c78 (missing UUID be105c8b7c053a8ba51f83e291732357)
6  Flutter                        0x48f838 (missing UUID be105c8b7c053a8ba51f83e291732357)
7  Flutter                        0x3cc584 (missing UUID be105c8b7c053a8ba51f83e291732357)
8  Flutter                        0x3ccaa0 (missing UUID be105c8b7c053a8ba51f83e291732357)
9  Flutter                        0x2fd380 (missing UUID be105c8b7c053a8ba51f83e291732357)
10 Flutter                        0x3cc078 (missing UUID be105c8b7c053a8ba51f83e291732357)
11 Flutter                        0x3cdadc (missing UUID be105c8b7c053a8ba51f83e291732357)
12 Flutter                        0x3ccd68 (missing UUID be105c8b7c053a8ba51f83e291732357)
13 Flutter                        0x3d4e14 (missing UUID be105c8b7c053a8ba51f83e291732357)
14 Flutter                        0x2fbbf0 (missing UUID be105c8b7c053a8ba51f83e291732357)
15 Flutter                        0x2ff1bc (missing UUID be105c8b7c053a8ba51f83e291732357)
16 CoreFoundation                 0xa5fdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
17 CoreFoundation                 0x30348 __CFRunLoopDoTimer + 1016
18 CoreFoundation                 0x2afdc __CFRunLoopDoTimers + 324
19 CoreFoundation                 0xaeb4 __CFRunLoopRun + 1948
20 CoreFoundation                 0x1dd8c CFRunLoopRunSpecific + 572
21 Flutter                        0x2ff088 (missing UUID be105c8b7c053a8ba51f83e291732357)
22 Flutter                        0x2fe848 (missing UUID be105c8b7c053a8ba51f83e291732357)
23 libsystem_pthread.dylib        0x2458 _pthread_start + 116
24 libsystem_pthread.dylib        0xab0 thread_start + 8

Code sample

Logs

Crashed: io.flutter.1.raster
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000537b9e7e0

Crashed: io.flutter.1.raster
0  libobjc.A.dylib                0x2430 objc_release + 16
1  Flutter                        0x293104 (missing UUID be105c8b7c053a8ba51f83e291732357)
2  Flutter                        0x297978 (missing UUID be105c8b7c053a8ba51f83e291732357)
3  Flutter                        0x1997a8 (missing UUID be105c8b7c053a8ba51f83e291732357)
4  Flutter                        0x5b388 (missing UUID be105c8b7c053a8ba51f83e291732357)
5  Flutter                        0x516c78 (missing UUID be105c8b7c053a8ba51f83e291732357)
6  Flutter                        0x48f838 (missing UUID be105c8b7c053a8ba51f83e291732357)
7  Flutter                        0x3cc584 (missing UUID be105c8b7c053a8ba51f83e291732357)
8  Flutter                        0x3ccaa0 (missing UUID be105c8b7c053a8ba51f83e291732357)
9  Flutter                        0x2fd380 (missing UUID be105c8b7c053a8ba51f83e291732357)
10 Flutter                        0x3cc078 (missing UUID be105c8b7c053a8ba51f83e291732357)
11 Flutter                        0x3cdadc (missing UUID be105c8b7c053a8ba51f83e291732357)
12 Flutter                        0x3ccd68 (missing UUID be105c8b7c053a8ba51f83e291732357)
13 Flutter                        0x3d4e14 (missing UUID be105c8b7c053a8ba51f83e291732357)
14 Flutter                        0x2fbbf0 (missing UUID be105c8b7c053a8ba51f83e291732357)
15 Flutter                        0x2ff1bc (missing UUID be105c8b7c053a8ba51f83e291732357)
16 CoreFoundation                 0xa5fdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
17 CoreFoundation                 0x30348 __CFRunLoopDoTimer + 1016
18 CoreFoundation                 0x2afdc __CFRunLoopDoTimers + 324
19 CoreFoundation                 0xaeb4 __CFRunLoopRun + 1948
20 CoreFoundation                 0x1dd8c CFRunLoopRunSpecific + 572
21 Flutter                        0x2ff088 (missing UUID be105c8b7c053a8ba51f83e291732357)
22 Flutter                        0x2fe848 (missing UUID be105c8b7c053a8ba51f83e291732357)
23 libsystem_pthread.dylib        0x2458 _pthread_start + 116
24 libsystem_pthread.dylib        0xab0 thread_start + 8

[✓] Flutter (Channel stable, 2.10.3, on macOS 11.6 20G165 darwin-arm, locale
    zh-Hans-CN)
    • Flutter version 2.10.3 at /Users/Shared/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (5 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/blake/Library/Android/sdk
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = /Users/blake/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

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

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

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.75

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

• No issues found!

@flutter-symbolizer-bot this force ios flutter#v2.10.3 arm64 release
Crashed: io.flutter.1.raster
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000537b9e7e0

Crashed: io.flutter.1.raster
0  libobjc.A.dylib                0x2430 objc_release + 16
1  Flutter                        0x293104 (missing UUID be105c8b7c053a8ba51f83e291732357)
2  Flutter                        0x297978 (missing UUID be105c8b7c053a8ba51f83e291732357)
3  Flutter                        0x1997a8 (missing UUID be105c8b7c053a8ba51f83e291732357)
4  Flutter                        0x5b388 (missing UUID be105c8b7c053a8ba51f83e291732357)
5  Flutter                        0x516c78 (missing UUID be105c8b7c053a8ba51f83e291732357)
6  Flutter                        0x48f838 (missing UUID be105c8b7c053a8ba51f83e291732357)
7  Flutter                        0x3cc584 (missing UUID be105c8b7c053a8ba51f83e291732357)
8  Flutter                        0x3ccaa0 (missing UUID be105c8b7c053a8ba51f83e291732357)
9  Flutter                        0x2fd380 (missing UUID be105c8b7c053a8ba51f83e291732357)
10 Flutter                        0x3cc078 (missing UUID be105c8b7c053a8ba51f83e291732357)
11 Flutter                        0x3cdadc (missing UUID be105c8b7c053a8ba51f83e291732357)
12 Flutter                        0x3ccd68 (missing UUID be105c8b7c053a8ba51f83e291732357)
13 Flutter                        0x3d4e14 (missing UUID be105c8b7c053a8ba51f83e291732357)
14 Flutter                        0x2fbbf0 (missing UUID be105c8b7c053a8ba51f83e291732357)
15 Flutter                        0x2ff1bc (missing UUID be105c8b7c053a8ba51f83e291732357)
16 CoreFoundation                 0xa5fdc __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 28
17 CoreFoundation                 0x30348 __CFRunLoopDoTimer + 1016
18 CoreFoundation                 0x2afdc __CFRunLoopDoTimers + 324
19 CoreFoundation                 0xaeb4 __CFRunLoopRun + 1948
20 CoreFoundation                 0x1dd8c CFRunLoopRunSpecific + 572
21 Flutter                        0x2ff088 (missing UUID be105c8b7c053a8ba51f83e291732357)
22 Flutter                        0x2fe848 (missing UUID be105c8b7c053a8ba51f83e291732357)
23 libsystem_pthread.dylib        0x2458 _pthread_start + 116
24 libsystem_pthread.dylib        0xab0 thread_start + 8

This looks similar to https://github.com/flutter/flutter/issues/99313 and per this comment, also occurs on 2.10.3 per OP's log.
Labeling for further investigation from team.
/cc @chinmaygarde

@BlakeWuh Sorry, only public members of Flutter org can trigger my services.
Check your privacy settings as described here.

@BlakeWuh Please note this and you may not be able to get results from the bot until you are a public member of Flutter org.

The backtrace contains the SyncSwitch, so as with the others, my suspicion is that https://github.com/flutter/flutter/issues/99313 is not related, and this is instead related to the other memory corruption issues.


User-ability check

Description:
For more information see the link below.
https://github.com/ballerina-platform/ballerina-standard-library/blob/main/docs/library-development-process.md#usability-check

No usability issues were found. Hence closing the issue.


Update Changelog script to include changes in lib dependencies.

It also changes the log format, as git shortlog groups the commits by author (or other options, but they always have to grouped) and that can get a bit verbose when also including commits from the other libraries.
Also, an advantage of not grouping by author is that the commits are listed historically.
As part of this PR I've also updated the changelog from v0.2.63, as this is the last tag used for MakeCode live, so it'll be useful to have this info when presenting MS the changelog for deployment.

@JohnVidler if possible it'd be great to merge this before releasing the next tag, to be able to include this info in the changelog.


Dockerfile: Add mwitkow/go-proto-validators

Add support for --govalidators_out option, as --govalidators_out=gogoimport=true:.

Thanks @QuentinPerez for :+1:.  Looking forward to the merge as well as the docker image on dockerhub, so that I can replace the image from my local one to the public one on dockerhub.

Hi @QuentinPerez, I've added additional commit to include the validator protobuf file into the image.
By the way, here is the image I'm using for our build process, which contains those two commits:
https://hub.docker.com/r/keinohguchi/protoc/

Thx @keinohguchi, cc @steeve

Thanks @QuentinPerez and @steeve!  I'll use my private docker image for our use but love to see it in your dockerhub, so that we're in sync with the upstream.
Thank you so much for sharing this usuful container!

Seems @steeve is busy with something.  I'll go with my special image for now but looking forward to see the merge as well as the new image with the go-proto-validators support.
Great job, @QuentinPerez and @steeve!

Sorry for the lag, I was on vacation, thanks @QuentinPerez for keeping up !


Collapsible Subheaders (in a list)

Issue Description
Collapsible subheaders (within a list in particular)

Issue Type

[ ] New Feature
[x] Enhancement
[ ] Bug
[ ] Other

Expected Behavior

Collapse the section underneath when the caret (pointing down) is clicked and change caret to point to the right, and open the section when the caret (pointing right) is pressed and change the caret to point down again.
Current Behavior

N/A

Steps to Reproduce

Environment

Component Version:
Browser Name and Version:
Operating System and version (desktop or mobile):

@laurunning Is this a feature request?

Hello, I wanted to provide an additional consideration regarding the design. I think we should include a bottom border on each subheader that is expandable/collapsible because when one is next to another in the current design, they blend together.

Hi all, as the expand/collapse header is developed, could we look at the way the font is displaying the parentheses? When centering the caret icon, it is difficult to align it exactly because the parentheses are so low, but I understand that is just part of the font. Will it change with OCS?

Closing as duplicate, since will be resolved by upcoming work done for #1320 and #1321


Inverting differenced values - wrong starting point

In Chapter 5, there's a paragraph about reverting differenced values to the original scale, with the following code:
df['pred_foot_traffic'] = pd.Series()
df['pred_foot_traffic'][948:] = df['foot_traffic'].iloc[948] +
➥ pred_df['pred_AR'].cumsum()

However, df['foot_traffic'].iloc[948] is not the last point of training data, but the first point to predict, isn't it? So shouldn't the code actually use df['foot_traffic'].iloc[947] ?

Hi @Mkranj , I have found a similar issue in Chapter 5 as well. When the author applies the inverse transformation to the ARMA(2, 2) model for the hourly bandwith dataset, it proposes the following code.
df['pred_bandwidth'] = pd.Series()
df['pred_bandwidth'].iloc[9832:] = df['hourly_bandwidth'].iloc[9832] + predictions['sarimax'].cumsum()

Which gives a MAE of 14. Nevertheless, the index of the initial point for the difference is wrong, as it should be the last point of the training set. Therefore, the code should apply the addition with respect to the index 9831 as follows:
df['pred_bandwidth'] = pd.Series()
df['pred_bandwidth'].iloc[9832:] = df['hourly_bandwidth'].iloc[9831] + predictions['sarimax'].cumsum()

To verify this result, you can use the following code, which operates on the whole array:
df_final = train_diff.copy(True)
assert len(df_final) == len(train_diff)
df_final.loc[df.index[0]] = df.iloc[0]
df_final = df_final.sort_index()
assert len(df_final) == (len(train_diff) + 1)
df_final = pd.concat([df_final["hourly_bandwidth"], predictions["sarimax"]]).cumsum()
assert len(df_final) == len(df)

Which returns the same result as the fixed code. The variables are:

train_diff results from the difference with drop of the nan value.
df is the whole dataset as it is loaded with pd.read_csv.
predictions is the DataFrame with the three different models, including sarimax -> ARMA(2,2).


Fix a bug introduced by 79706357c73ded02615d0445db7503b646ff9547 whic…

Motivation:
Fix a bug where a thread can get stuck in spinning on an infinite while loop.
The bug was introduced in 79706357c73ded02615d0445db7503b646ff9547
Modification:
Use isEmpty() instead of peek() to check if task queue is empty
Bug:
peek() is implemented in a similar way to poll() for the MPSC queue, thus it is more like a consumer call, so it is possible that we could have multiple thread call peek() and maybe one thread calls poll() at at the same time. This lead to multiple consumer scenario, which violates the multiple producer single consumer condition and could lead to a thread spinning in an infinite loop inside peek().

@wyzhang can you please sign our ICLA and let me know once done:
https://netty.io/s/icla

@netty-bot test this please

@normanmaurer signed ICLA

@wyzhang thanks a lot!


Keyboard kit game added

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #2925

Mark the task you have completed ✅

[ x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x ] I have performed a self-review of my own code or work.
[x ] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generates no new warnings.
[x ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x ] I have added screenshot for website preview in assets/images
[ x] I have added entries for my game in main README.md
[ x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[ x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @ayushlohmod ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @ayushlohmod !
You have to follow proper guidelines you are missing out on lot of thing please go through the documentation you should not miss any point !
For now I am closing your PR as many changes are needed to be done !!

Thank you  @ayushlohmod , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Add workaround for ARM based macs

ARM based macs caused dependency issues with indy-vdr and ursa-bbs-signatures
Solution checks for architecture and updates DOCKER_DEFAULT_PLATFORM
Closes #2311

Thanks for this PR!  Sorry you ran into this — we try to keep the getting started guides working.  Obviously we need to take another look and make sure that all are working. Thanks for your patience.
@andrewwhitehead — can you please review this PR and give it a go on your Mac?  Thanks!

Looks reasonable, although I think anybody running Linux on an ARM Mac would have the same issue. Hopefully we'll have a compatible release of indy-vdr soon (0.4), although we'll need to get ursa-bbs-signatures published as well.

@andrewwhitehead — could you please look at the test failure?  I assume this is unrelated, but just to be sure.

Confirmed that it runs on my M1 Mac. The integration test failure I saw was due to a timeout connecting to storage, probably something in Github's backend.


feat: handle expired quotes

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3665

PR #3671   👈

This comment was auto-generated by Graphite.


Segmentation fault (core dumped)

System information

OS Platform and Distribution :CentOS Linux release 7.7.1908
-TensorFlow version:2.3.0

I try to convert the tensorflow offical image caption model to TFLite model
And Now I have successfully convert the model using tf.lite.TFLiteConverter.from_concrete_functions
as following:
@tf.function
def evaluate(img_tensor_val):
    temp_input = tf.expand_dims(img_tensor_val, 0)
    img_tensor_val = image_features_extract_model(temp_input)
    img_tensor_val = tf.reshape(img_tensor_val, (img_tensor_val.shape[0], -1, img_tensor_val.shape[3]))
    hidden = decoder.reset_states(batch_size=1)

    features = encoder(img_tensor_val)

    dec_input = tf.expand_dims([tokenizer.word_index['<start>']], 0)
    result = []

    for i in range(max_length):
        predictions, hidden, attention_weights = decoder(dec_input, features, hidden)
        print(predictions.shape)
        # result.append(predictions)
        predicted_id = tf.random.categorical(predictions, 1)[0][0]
        #
        #
        result.append(predicted_id)
        #
        #
        # if predicted_id == 3:
        #     return result
        # # result.append(tf.gather(tokenizer.index_word, predicted_id))
        # #
        # # if tf.gather(tokenizer.index_word, predicted_id) == '<end>':
        # #     return result
        #
        dec_input = tf.expand_dims([predicted_id], 0)
    return result

export_dir = "./"
tflite_enc_input = ''
ckpt.f = evaluate
to_save = evaluate.get_concrete_function(tf.TensorSpec(shape=(299, 299, 3),dtype=tf.dtypes.float32))

converter = tf.lite.TFLiteConverter.from_concrete_functions([to_save])
converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
                                       tf.lite.OpsSet.SELECT_TF_OPS]
tflite_model = converter.convert()
open("converted_model.tflite", "wb").write(tflite_model)

And I Visualize the converted_model.tflite by Netorn:
But when I invoke the interpreter the problem came:
LOG:
2020-10-03 12:11:24.049222: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-10-03 12:11:30.184705: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcuda.so.1
2020-10-03 12:11:30.213363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:af:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.72GiB deviceMemoryBandwidth: 836.37GiB/s
2020-10-03 12:11:30.213414: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-10-03 12:11:30.219666: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-10-03 12:11:30.223018: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-10-03 12:11:30.224419: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-10-03 12:11:30.227861: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-10-03 12:11:30.230195: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-10-03 12:11:30.236320: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.7
2020-10-03 12:11:30.239374: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-10-03 12:11:30.239829: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-10-03 12:11:30.248265: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency:<PHONE_NUMBER> Hz
2020-10-03 12:11:30.249524: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5615faa7fa90 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-10-03 12:11:30.249552: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-10-03 12:11:30.381691: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5615faaec0c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-10-03 12:11:30.381734: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Tesla V100-SXM2-32GB, Compute Capability 7.0
2020-10-03 12:11:30.383860: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:af:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.72GiB deviceMemoryBandwidth: 836.37GiB/s
2020-10-03 12:11:30.383900: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-10-03 12:11:30.383930: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-10-03 12:11:30.383944: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-10-03 12:11:30.383959: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-10-03 12:11:30.383973: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-10-03 12:11:30.383987: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-10-03 12:11:30.384002: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.7
2020-10-03 12:11:30.387738: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-10-03 12:11:30.387786: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-10-03 12:11:31.156790: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-10-03 12:11:31.156840: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-10-03 12:11:31.156853: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-10-03 12:11:31.160006: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 30098 MB memory) -> physical GPU (device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:af:00.0, compute capability: 7.0)
**(299, 299, 3)**
INFO: Created TensorFlow Lite delegate for select TF ops.
2020-10-03 12:11:31.760387: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:af:00.0 name: Tesla V100-SXM2-32GB computeCapability: 7.0
coreClock: 1.53GHz coreCount: 80 deviceMemorySize: 31.72GiB deviceMemoryBandwidth: 836.37GiB/s
2020-10-03 12:11:31.760470: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
2020-10-03 12:11:31.760523: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcublas.so.10
2020-10-03 12:11:31.760551: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcufft.so.10
2020-10-03 12:11:31.760577: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcurand.so.10
2020-10-03 12:11:31.760601: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusolver.so.10
2020-10-03 12:11:31.760625: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcusparse.so.10
2020-10-03 12:11:31.760647: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudnn.so.7
2020-10-03 12:11:31.763282: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2020-10-03 12:11:31.763329: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-10-03 12:11:31.763346: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2020-10-03 12:11:31.763360: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2020-10-03 12:11:31.766083: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 30098 MB memory) -> physical GPU (device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:af:00.0, compute capability: 7.0)
**INFO: TfLiteFlexDelegate delegate: 51 nodes delegated out of 2014 nodes with 51 partitions.**

**Segmentation fault (core dumped)**

The invoke of Interpreter
def load_image(image_path):
    img = tf.io.read_file(image_path)
    img = tf.image.decode_jpeg(img, channels=3)
    img = tf.image.resize(img, (299,299))
    img = tf.keras.applications.inception_v3.preprocess_input(img)
    return img, image_path

image = load_image('./test.jpg')[0]
print(image.shape)

interpreter = tf.lite.Interpreter(model_path='./converted_model.tflite')
input_details = interpreter.get_input_details()
interpreter.allocate_tensors()
interpreter.set_tensor(input_details[0]['index'], image)
interpreter.invoke()

raw_prediction = interpreter.tensor(
    interpreter.get_output_details()[0]['index'])()
print(raw_prediction)

Please tell me what 's the problem of the program?What's the meaning of 'Segmentation fault (core dumped)' ?

@DavidInWuhanChina,
On trying to convert the model to TF Lite, I am facing an error stating TypeError: reset_states() got an unexpected keyword argument 'batch_size'. Please find the gist of it here.
Could you please share the SavedModel file or the .pb file you are using to convert the model, as well as the converted_model.tflite, so that we can reproduce the issue on our end. Thanks!

@DavidInWuhanChina,
On trying to convert the model to TF Lite, I am facing an error stating TypeError: reset_states() got an unexpected keyword argument 'batch_size'. Please find the gist of it here.
Could you please share the SavedModel file or the .pb file you are using to convert the model, as well as the converted_model.tflite, so that we can reproduce the issue on our end. Thanks!

The link of checkpoint is here.The link of converted_model.tflite is here.After I switch the GPU to CPU, Now I can print the raw_prediction = 293.But it's different from the expected sequence List.Why?Can we figure out the correct concrete_functions?

Was able to reproduce the issue.
Session crashes on running the code with GPU. Whereas, with CPU the raw_prediction output is printed. Please find the attached gist. Thanks!

Was able to reproduce the issue.
Session crashes on running the code with GPU. Whereas, with CPU the raw_prediction output is printed. Please find the attached gist. Thanks!

I have edit the gist.Now the colab crashed when I try to interpreter  the TfLite model.Why?

@abattery any idea on this?

Flex delegate enforces using CPU kernels not the GPU kernels in the TF core project since the mobile environment does not have equivalent capability of the training environment. When you need to convert your TF model for TFLite, please make sure use GPU kernels instead of CPU kernels.

@abattery don't we need to mention this on https://www.tensorflow.org/lite/guide/ops_select ?

@terryheo Good point. We should mention this in the above page.

@abattery Is this the case even if the only conversion you're doing is to fp16? I'm not looking to deploy on a mobile device. I just wanted faster performance on a GPU server.

Only Flex operators will work on CPU kernels, which Flex portion will be small in the TFLite model. You can delegate most of TFLite builtin operators to the OpenCL backend for the server case via GPU delegate. +CCing @terryheo

@terryheo  could you provide more details regarding GPU delegation on the server side?

You can use OpenCL supports on x86 servers
It's experimental and only tested with NVidia CUDA OpenCL 1.2.
If you want to try, please check the following link.
https://www.tensorflow.org/lite/guide/build_cmake#opencl_gpu_delegate

@DavidInWuhanChina  Could you please try on latest stable version of tf 2.5 or 2.4.1 and let us know if this is still an issue.Thanks!

I believe I am still having this issue, even with TensorFlow 2.8.0. I created a simple example of a Keras model with a single Flex operation, converted it to TFLite and run inference on the TFLite model. Here are the exact same notebooks, except one runs on the CPU and the other runs on the GPU:

CPU
GPU

The CPU session runs fine, but the GPU sessions crashes when running inference on the TFLite model.

Flex delegate enforces using CPU kernels not the GPU kernels in the TF core project since the mobile environment does not have equivalent capability of the training environment. When you need to convert your TF model for TFLite, please make sure use CPU kernels instead of GPU kernels.

If this is still the culprit, I am still not quite sure how to "use CPU kernels instead of GPU kernels". I don't think https://www.tensorflow.org/lite/guide/ops_select is updated to explain this issue.

@[DavidInWuhanChina] Please can you confirm Image captioning with Tensorflow Lite worked or not ?

DavidInWuhanChina, Please can you confirm Image captioning with Tensorflow Lite worked or not ?

DavidInWuhanChina, If Tensorflow lite is working,Please can you share the working Code base with Fix...It is also failing for me.


After warping, change the player's orientation to face the goal

Per David, sometimes when you spawn, you can't see the goal on the screen because you are not facing it. We could change the player's orientation after warping so that the goal is at the center of the screen.
An alternative would be to persistently show the goal on the HUD; David likes that idea, personally I think changing orientation is sufficient.

it technically is persistently shown, it just might be hidden in the corner of the helmet?


Subscribing in subscription loses inner subscription

I am not 100% sure where to go with this one (but pretty sure its meteor-rxjs), or even if I am doing something wrong.
I have an outer subscription that is waiting on the user to login, then triggers an inner subscription that fetches data for the logged in user.
The issue is that the find for the inner subscription does not return the data. I know the objects are in the local mongo. I know the find function is called. It just doesnt return the data. However, if I pull the find out of the login subscription. It returns the data just fine. Here is some code
Angular4 + typescript

//user class
   private userState: BehaviorSubject<string> = new BehaviorSubject(null);
    whenLoggedIn() : Observable<string> {
        return this.userState;
    }

//ui controller

   ngOnInit() {
        let thiss = this;
        this.test = this.users.whenLoggedIn()
        .subscribe(user=>{
            if(user == "loggedIn"){
                thiss.findData();
            } else {
                thiss.ngOnDestroy();
            }
            this.loggedIn = user;
        });
    }

    ngOnDestroy() {
        if(this.subThMod) {
            this.subThMod.unsubscribe();
        }
    }

findData() {
        this.subThMod = this.thWaMe_OuSe.findAll()
            .subscribe(val=>{
               debugger;
            });
}

    public findAll(): Observable<ModelThWaMe_OuSe[]> {
      //Model = substantiated mongo collection observable
        var ret = this.Model.find({})
            .auditTime(50)
            .do(()=>{
                CommonLogic.debug(this, "ThWaMe_OuSe:findAll_idList");
            })
            .map(raws => {

                return raws.map(raw=> {
                    return this.newModel(raw);
                });
            });

        return ret;
    }

the flow is this start->outerSub["loggedOut"]->ngOnDestroy()->outerSub['loggedIn']->findData()
then the debugger never hits.
However, 'findData()' constructor the debugger hits when the user is logged in (with user data).
I think its an meteor-rxjs issue due to this function works as expected when replaced with pure RXJS
function findData(){
  Rx.Observable.interval(1000).mapTo("inner")
  .subscribe((valI)=>{
    console.log(valI);
  });
}

Here will constantly output "inner" to the console as expected.
here is a jsbin for my situation and also what I would expect using pure RSJS.
http://jsbin.com/giliqip/edit?js,console
Thanks for your help.

I believe this was an issue with Hot and cold observables, and the data was coming back before I had subscribed.


Bug fix transform and committor

Description
Fix few bugs in transform and committor modules.
Committor now runs the forward also in the training step to apply the preprocessing if present.
Status

[x] Ready to go

Fixes #122


Update useQueries.md

useQueries does not accept an array or an object with options, you can add them as shown above, I think it should be in the doc

useQueries accepts an array with query option objects - so the original sentence is perfectly fine. Also, we've changed the api of useQueries for v4, so the whole sentence is obsolete soon.

If I try to add an array with options then I always get an error .... but if I try to add the options without an array then It works just fine, and I even get autocomplete for them. Do you have any idea why it behaves differently for me? I am using it with TS. By the way... What have you changed for v4? and when is the date of release?

I can't help you if you don't show the code. But please no screenshots. A codesandbox reproduction or a typescript playground!
changes for v4 are here: https://react-query-beta.tanstack.com/guides/migrating-to-react-query-4
note that the useQuery api for v4 has changed!

Yes, of course, I would not have done a screenshot, here is a ts playground click here as you will see,  I can add any options without {} or [] as a ''list'' but with {} or [] I always get an error. Did I implement something wrong? Let me know pls if you need any info about it. Thank you

but, your code is alright the way it is?
The docs say:

The useQueries hook accepts an array with query option objects identical to the useQuery hook.

and the useQuery hook can be called with:
useQuery({ queryKey: myKey, queryFn: myFn, staleTime: 0, refetchOnWindowFocus: true })

This is known as the object syntax for useQuery, and it's documented here: https://react-query.tanstack.com/guides/query-functions#using-a-query-object-instead-of-parameters

Hi, yes it is working fine,
So that it means, that I have not dug enough deep into the doc, but to be honest I could be a bit clearer or a simple example on that page in the doc, but you are right, and with your explanation I totally understand. The only thing was that we have not used the object syntax for useQuery and therefore It was strange for me. Again thx for your help now is everything clear.
Have a nice week


There is no Motion blur in the gameplay (MBMB)

For some reason in combat master. The motion blur only appears when I move the cursor in the menus, it does not appear in gameplay

This is probably because the game is locking the mouse cursor in gameplay.
The shader uses screen cursor position differences to apply the effect, so it won't work if the cursor is locked in place.


Bug in markdown code

Adding this Markdown code fail in viewer:
```cmake
cmake_minimum_required(VERSION 2.8.8)
project(catch_builder CXX)
include(ExternalProject)
find_package(Git REQUIRED)

ExternalProject_Add(
    catch
    PREFIX ${CMAKE_BINARY_DIR}/catch
    GIT_REPOSITORY https://github.com/philsquared/Catch.git
    TIMEOUT 10
    UPDATE_COMMAND ${GIT_EXECUTABLE} pull
    CONFIGURE_COMMAND ""
    BUILD_COMMAND ""
    INSTALL_COMMAND ""
    LOG_DOWNLOAD ON
   )

# Expose required variable (CATCH_INCLUDE_DIR) to parent scope
ExternalProject_Get_Property(catch source_dir)
set(CATCH_INCLUDE_DIR ${source_dir}/include CACHE INTERNAL "Path to include folder for Catch")

It is probably due to a bug in markdown library...

It renders fine when loaded e.g. in IPython.
In GUI:
Traceback (most recent call last):
  File "hlava/qtui/item_window.py", line 169, in go_to
    self.show_item(item)
  File "hlava/qtui/item_window.py", line 111, in show_item
    self.view_widget.show_item(item)
  File "hlava/qtui/view_widget.py", line 35, in show_item
    html = item._repr_html_()
  File "hlava/items/formats/md.py", line 31, in _repr_html_
    'markdown.extensions.def_list'])
  File "/home/honza/anaconda/lib/python2.7/site-packages/markdown/__init__.py", line 494, in markdown
    return md.convert(text)
  File "/home/honza/anaconda/lib/python2.7/site-packages/markdown/__init__.py", line 375, in convert
    newRoot = treeprocessor.run(root)
  File "/home/honza/anaconda/lib/python2.7/site-packages/markdown/extensions/codehilite.py", line 218, in run
    placeholder = self.markdown.htmlStash.store(code.hilite(),
  File "/home/honza/anaconda/lib/python2.7/site-packages/markdown/extensions/codehilite.py", line 123, in hilite
    return highlight(self.src, lexer, formatter)
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/__init__.py", line 87, in highlight
    return format(lex(code, lexer), formatter, outfile)
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/__init__.py", line 66, in format
    formatter.format(tokens, realoutfile)
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/formatter.py", line 95, in format
    return self.format_unencoded(tokensource, outfile)
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/formatters/html.py", line 838, in format_unencoded
    for t, piece in source:
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/formatters/html.py", line 684, in _wrap_div
    for tup in inner:
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/formatters/html.py", line 697, in _wrap_pre
    for tup in inner:
  File "/home/honza/anaconda/lib/python2.7/site-packages/pygments/formatters/html.py", line 727, in _format_lines
    parts = value.translate(escape_table).split('\n')
TypeError: expected a character buffer object


[Bug] IsekaiScan.com: Not working anymore

Device information

Tachiyomi version: <IP_ADDRESS>
Android version: 11

Source information

Name: IsekaiScan.com
Extension version: 1.2.19

Steps to reproduce

Open any manga using IsekaiScan or browse any manga

Expected behavior
It should of open the managa like with any other extensions
Actual behavior
It loads for some time (untill its timeout) and then stops and go back to previous page.
Other details
Recently the hole website was down (for several days) and when it went back online it became impossible to use the IsekaiScan.com extension du to probably changes that was done to the website (maybe more security)

No manga support here go to tachiyomi-extensions repo

Oups I forgot aniyomi was the anime fork... 😅

So you can close it now


Warn that 'WebView' has moved to 'react-native-webview'

This pull request adds a warning to the getter for WebView that warns users that it has moved to react-native-webview, and that it will be removed in a future release.
A new generic warnMoved function has also been added that can be used to create these warnings for other APIs/components that get moved out in the slimmening.
The warning looks like this:
'WebView' has moved to another module and will be removed from 'react-native'
in a future release. You can instead import it from the module 'react-native-webview
  import {WebView} from 'react-native-webview';

Test Plan:
I have tested this in RNTester, and the warning appears as expected. Flow and ESLint have also been ran.
Release Notes:
Help reviewers and the release process by writing your own release notes. See below for an example.
[GENERAL] [ENHANCEMENT] [Libraries/Utilities/warnMoved.js] - Added new warnMoved function to warn users that an import has moved to another module
[GENERAL] [MINOR] [Libraries/react-native/react-native-implementation.js] - Added a warning to the WebView export

I really want to land this but Facebook hasn’t yet swapped over to the community one and we need to build a tad bit of infrastructure to support pulling in those 3rd party modules.
Can we delay adding this warning for a few weeks until we can make that switch?

That sounds good!
I wonder, maybe for cases like this we could have an __FB__ or __OSS__ variable, so stuff could be stripped out of bundles like they can with if(__DEV__) blocks

That seems reasonable but I would worry that it would make it too easy for FB to have a diverging version of react-native which would be detrimental for everyone. For now, I'd rather keep the pressure on us to fix our stuff and get out of the way of progress. :) We currently have the work to migrate to the community WebView on our short term roadmap

For the JS side of things, perhaps we should try and make a codemod to help rewrite imports of {WebView}. I imagine that's only a small part of the work that needs to be done, however!

Writing a codemod would be great! The community will need that when they upgrade to the version without WebView. If you don't want to work on it I'm sure there is someone around who would appreciate that opportunity!

What's the status of this PR?

Looks like I have to resolve a merge conflict, but I think the issue @TheSavior brought up above might still be relevant (I also need to still split this up into a separate helper function too)

@empyrical do you wanna pick this back up or close it?

It looks like I took so long to pick this back up that there is another warning in place on master now. Sorry about that! 😅
I can pick this back up though, it would still be useful for the generic "warnOnce()" function so all the warnings in react-native-implementation.js don't need to add x_warning_showed variables, hopefully cleaning things up a bit.

Yes exactly! A generic warning function is still valuable. Do you wanna modify your existing PR to do that or close this one and open a new one?

I've modified this PR instead of making a new one 👍


Update DG to use GFMD instead of HTML

Codecov Report
Patch and project coverage have no change.

Comparison is base (5743f8b) 59.38% compared to head (78cbd8e) 59.38%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #166   +/-   ##
=========================================
  Coverage     59.38%   59.38%
  Complexity      530      530
=========================================
  Files           108      108
  Lines          2073     2073
  Branches        218      218
=========================================
  Hits           1231     1231
  Misses          759      759
  Partials         83       83

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

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


Add the ability to toggle a pane's split direction

Summary of the Pull Request
Add the ability to toggle a pane's split direction

Switch from horizontal to vertical split (and vice versa)
Propogate new borders through to children.

References
#10665

PR Checklist

[x] Closes #10665
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
[x] Schema updated.
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed
Ran terminal, created multiple panes in different orientations, ran command through command palate and verified that they displayed properly in the new orientation.

I'm not sure what is up with the CI, everything builds fine and all of the tests appear to pass locally (there is a lot of noise in the output of Invoke-OpenConsoleTests so I'm not sure if a failure got hidden in the scrolling).

I kicked the CI, hopefully that'll pass. Otherwise, the fix should be in main now, merging with main should fix the issues.

@zadjii-msft This PR could also use a second reviewer. (Let me know if the pings are annoying, I'm not sure what the procedure should be.)

No worries. Sorry about any delays - a good portion of the team is out this week (and probably next week too), just as an fyi

Of course. I understand that everyone can be busy and have other
priorities. I know that I've been a particularly demanding new contributor,
too.
On Wed, Jul 21, 2021, 15:00 Mike Griese @.***> wrote:

No worries. Sorry about any delays - a good portion of the team is out
this week (and probably next week too), just as an fyi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/pull/10713#issuecomment-884420981,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPGCIJ2KPVPG7TEVIASQ4LTY4KLPANCNFSM5AURXLOA
.

s/demanding/enthusiastic/g 😄

I am mildly in favor of keeping it as is (since I chose the name in the first place, obviously), but am happy to be convinced either way and can change it to the consensus. To me, at least, TogglePaneSplit is unambiguous and just a more terse version of Toggle[Pane]SplitOrientation since afaict there is no meaningful "you can[not] split this pane" action that could also exist. On the other hand I did write something to the effect of "split orientation" in many of the comments (but not in the command description). :shrug:

IMO I like toggleSplitOrientation the best - togglePaneSplit kinda makes me think it's going to like, zoom the pane, or split it out into a new tab, or something like that

I renamed all of the *PaneSplit items to be *SplitOrientation instead

Once again I am unsure what is up with the CI and its tests failing. I'm not seeing anything in the merge from main that should have broken the build.

Wow, you're just unlucky with those failures. The Feature Tests are rarely flaky, but they aren't perfect. You've just gotten a bad roll of test flakiness as of late.


Converting on-prem publishing pages

[ ] Bug
[ ] Enhancement
[X] Question
To transform on prem publishing pages, does the script have to be run from the server where the source pages exist?

Nope you can run  outside farm. Uses CSOM or Web services to talk to both environments, these don’t need to be on farms servers. I know some orgs block internet access from servers.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Russell gove<EMAIL_ADDRESS>Sent: Wednesday, November 20, 2019 9:33:07 PM
To: SharePoint/sp-dev-modernization<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [SharePoint/sp-dev-modernization] Converting on-prem publishing pages (#373)
[ ] Bug
[ ] Enhancement
[X] Question
To transform on prem publishing pages, does the script have to be run from the server where the source pages exist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-modernization%2Fissues%2F373%3Femail_source%3Dnotifications%26email_token%3DACC7Z4KTO5FCMFVZSH3DTWTQUWUJHA5CNFSM4JPZTJL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H25TF6A&data=02|01|paul.bullock%40capacreative.co.uk|2d85d3b476d6408297cf08d76e013c57|b65b38dfdc4640ca92b9547172742753|0|0|637098823891296305&sdata=YE%2BvbA8d%2FKTAApr04gkEYv%2BDlnmgv9TBkq5NmWKBq98%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACC7Z4MAWWKCQK6PNIYUSHLQUWUJHANCNFSM4JPZTJLQ&data=02|01|paul.bullock%40capacreative.co.uk|2d85d3b476d6408297cf08d76e013c57|b65b38dfdc4640ca92b9547172742753|0|0|637098823891296305&sdata=3C57d4FJe%2BDCop2CnCizpqvnVG4bnIET51BfGvmrFXU%3D&reserved=0.

Thanks Paul
Sent from my iPhone

On Nov 20, 2019, at 4:44 PM, Paul Bullock<EMAIL_ADDRESS>wrote:
Nope you can run outside farm. Uses CSOM or Web services to talk to both environments, these don’t need to be on farms servers. I know some orgs block internet access from servers.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Russell gove<EMAIL_ADDRESS>Sent: Wednesday, November 20, 2019 9:33:07 PM
To: SharePoint/sp-dev-modernization<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [SharePoint/sp-dev-modernization] Converting on-prem publishing pages (#373)
[ ] Bug
[ ] Enhancement
[X] Question
To transform on prem publishing pages, does the script have to be run from the server where the source pages exist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-dev-modernization%2Fissues%2F373%3Femail_source%3Dnotifications%26email_token%3DACC7Z4KTO5FCMFVZSH3DTWTQUWUJHA5CNFSM4JPZTJL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H25TF6A&data=02|01|paul.bullock%40capacreative.co.uk|2d85d3b476d6408297cf08d76e013c57|b65b38dfdc4640ca92b9547172742753|0|0|637098823891296305&sdata=YE%2BvbA8d%2FKTAApr04gkEYv%2BDlnmgv9TBkq5NmWKBq98%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACC7Z4MAWWKCQK6PNIYUSHLQUWUJHANCNFSM4JPZTJLQ&data=02|01|paul.bullock%40capacreative.co.uk|2d85d3b476d6408297cf08d76e013c57|b65b38dfdc4640ca92b9547172742753|0|0|637098823891296305&sdata=3C57d4FJe%2BDCop2CnCizpqvnVG4bnIET51BfGvmrFXU%3D&reserved=0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Think this one can be closed


fixed bug:上传完成时，应该发送TransferCompletedEvent 而不是TransferStartedEvent

使用断点续传上传，当获取进度条时。在完成时会给我发送TransferStartedEvent  事件。应该发送TransferCompletedEvent  事件

 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.luzhzh seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Coverage decreased (-73.9%) to 17.42% when pulling c20e91d6691af23b8bcccafca6133965a7235235 on luzhzhsoft:master into 2b29687e15f2cc71fb3a50f28be1d6d30c40c86a on aliyun:master.