项目启动不起来

flutter run失败，项目启动不了

你这个log看不全也看不出问题

这是完整的报错（已经‘梯子’后再flutter packages get），本人mac
Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install...
125.7s (!)
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  - Flutter
  - android_intent
  - connectivity
  - device_info
  - flutter_webview_plugin
  - fluttertoast
  - package_info
  - path_provider
  - permission_handler
  - share
  - shared_preferences
  - shared_preferences_macos
  - shared_preferences_web
  - sqflite
  - url_launcher
  - url_launcher_macos
  - url_launcher_web
  - webview_flutter

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `android_intent` from
`.symlinks/plugins/android_intent/ios`
-> Fetching podspec for `connectivity` from
`.symlinks/plugins/connectivity/ios`
-> Fetching podspec for `device_info` from
`.symlinks/plugins/device_info/ios`
-> Fetching podspec for `flutter_webview_plugin` from
`.symlinks/plugins/flutter_webview_plugin/ios`
-> Fetching podspec for `fluttertoast` from
`.symlinks/plugins/fluttertoast/ios`
-> Fetching podspec for `package_info` from
`.symlinks/plugins/package_info/ios`
-> Fetching podspec for `path_provider` from
`.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `permission_handler` from
`.symlinks/plugins/permission_handler/ios`
-> Fetching podspec for `share` from `.symlinks/plugins/share/ios`
-> Fetching podspec for `shared_preferences` from
`.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `shared_preferences_macos` from
`.symlinks/plugins/shared_preferences_macos/ios`
-> Fetching podspec for `shared_preferences_web` from
`.symlinks/plugins/shared_preferences_web/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `url_launcher` from
`.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `url_launcher_macos` from
`.symlinks/plugins/url_launcher_macos/ios`
-> Fetching podspec for `url_launcher_web` from
`.symlinks/plugins/url_launcher_web/ios`
-> Fetching podspec for `webview_flutter` from
`.symlinks/plugins/webview_flutter/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local
  because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_c_7_9.txt exists! Returning
  local because checking is only perfomed in repo update
  CDN: trunk Relative path:
  Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning
  local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_f_4_e.txt exists! Returning
  local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.7.5/FMDB.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path:
  Specs/c/7/9/Reachability/3.2/Reachability.podspec.json exists! Returning
  local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.7.2/FMDB.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.7.2/FMDB.podspec.json exists!
   Error installing Reachability
[!] /usr/bin/git clone https://github.com/tonymillion/Reachability.git
/var/folders/27/wclcy9wn37j1pvd5s0f2sjm00000gp/T/d20200409-6288-13h24pg
--template= --single-branch --depth 1 --branch v3.2

Cloning into
'/var/folders/27/wclcy9wn37j1pvd5s0f2sjm00000gp/T/d20200409-6288-13h24pg'...
fatal: unable to access 'https://github.com/tonymillion/Reachability.git/':
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:14
2:in `rescue in execute_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:13
9:in `execute_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downl
oader/base.rb:154:in `block in executable'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downl
oader/git.rb:79:in `block in clone'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:17
3:in `block in ui_sub_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.r
b:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:17
2:in `ui_sub_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downl
oader/git.rb:77:in `clone'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downl
oader/git.rb:45:in `download!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downl
oader/base.rb:82:in `block in download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:15
7:in `block in ui_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.r
b:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:15
6:in `ui_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downl
oader/base.rb:80:in `download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:10
8:in `download_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:75
:in `download_request'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache
.rb:171:in `download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache
.rb:154:in `block in uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache
.rb:181:in `in_tmpdir'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache
.rb:153:in `uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache
.rb:33:in `download_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:42
:in `download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/pod_so
urce_installer.rb:117:in `download_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/pod_so
urce_installer.rb:69:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:557
:in `install_source_of_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:508
:in `block (2 levels) in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.r
b:86:in `titled_section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:507
:in `block in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:490
:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:490
:in `install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:249
:in `block in download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.r
b:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:248
:in `download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:157
:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command/install.
rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in
`run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:52:in
`run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/bin/pod:55:in `<top
(required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:
↳
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/un
iversal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir
/Users/xucongmac/flutter/flutter/bin in PATH, mode 040777
Cloning into
'/var/folders/27/wclcy9wn37j1pvd5s0f2sjm00000gp/T/d20200409-6288-m25sr2
'...
Note: checking out 'd1fc235264cc0f84924115e844ea4dd1ba391c7b'.
     You are in 'detached HEAD' state. You can look around, make
     experimental
     changes and commit them, and you can discard any commits you make in
     this
     state without impacting any branches by performing another checkout.

     If you want to create a new branch to retain commits you create, you
     may
     do so (now or later) by using -b with the checkout command again.
     Example:

       git checkout -b <new-branch-name>

     Cloning into
     '/var/folders/27/wclcy9wn37j1pvd5s0f2sjm00000gp/T/d20200409-6288-13h24p
     g'...
     fatal: unable to access
     'https://github.com/tonymillion/Reachability.git/': LibreSSL
     SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

[!] Automatically assigning platform `iOS` with version `8.0` on target
`Runner` because no platform was specified. Please specify a platform for
this target in your Podfile. See
`https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install
Error launching application on iPhone 8.

你这个log看不全也看不出问题

完整的我已经发出来了

[!] Error installing Reachability
[!] /usr/bin/git clone https://github.com/tonymillion/Reachability.git

这是啥意思啊？

pod 安装下载库的的时候失败了，这个很多因素影响，你可以把你本地的 CocoaPods 换成 1.7 左右的版本，我现在用的才是 1.6.1

我降到了1.7的版本，还是报错；按照报错的提示执行了pod repo update，但flutter run还是继续报错
Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install...                                              1.0s
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  - Flutter
  - android_intent
  - connectivity
  - device_info
  - flutter_webview_plugin
  - fluttertoast
  - package_info
  - path_provider
  - permission_handler
  - share
  - shared_preferences
  - shared_preferences_macos
  - shared_preferences_web
  - sqflite
  - url_launcher
  - url_launcher_macos
  - url_launcher_web
  - webview_flutter

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `android_intent` from
`.symlinks/plugins/android_intent/ios`
-> Fetching podspec for `connectivity` from
`.symlinks/plugins/connectivity/ios`
-> Fetching podspec for `device_info` from
`.symlinks/plugins/device_info/ios`
-> Fetching podspec for `flutter_webview_plugin` from
`.symlinks/plugins/flutter_webview_plugin/ios`
-> Fetching podspec for `fluttertoast` from
`.symlinks/plugins/fluttertoast/ios`
-> Fetching podspec for `package_info` from
`.symlinks/plugins/package_info/ios`
-> Fetching podspec for `path_provider` from
`.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `permission_handler` from
`.symlinks/plugins/permission_handler/ios`
-> Fetching podspec for `share` from `.symlinks/plugins/share/ios`
-> Fetching podspec for `shared_preferences` from
`.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `shared_preferences_macos` from
`.symlinks/plugins/shared_preferences_macos/ios`
-> Fetching podspec for `shared_preferences_web` from
`.symlinks/plugins/shared_preferences_web/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `url_launcher` from
`.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `url_launcher_macos` from
`.symlinks/plugins/url_launcher_macos/ios`
-> Fetching podspec for `url_launcher_web` from
`.symlinks/plugins/url_launcher_web/ios`
-> Fetching podspec for `webview_flutter` from
`.symlinks/plugins/webview_flutter/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local
  because checking is only perfomed in repo update
[!] Unable to find a specification for `Reachability` depended upon by
`connectivity`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or
 with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod
install` by default.

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:362:
in `find_cached_set'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:332:
in `specifications_for_dependency'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:139:
in `search_for'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:248:
in `block in sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:241:
in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:241:
in `sort_by'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:241:
in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specif
ication_provider.rb:53:in `block in sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specif
ication_provider.rb:70:in `with_no_such_dependency_error_handling'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specif
ication_provider.rb:52:in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:75
4:in `push_state_for_requirements'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:74
6:in `require_nested_dependencies_for'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:72
9:in `activate_new_spec'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:68
6:in `attempt_to_activate'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:25
4:in `process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:18
2:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:i
n `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/resolver.rb:88:i
n `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer/analyz
er.rb:939:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/user_interface.r
b:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer/analyz
er.rb:937:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer/analyz
er.rb:118:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:398
:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:221
:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/user_interface.r
b:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:220
:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/installer.rb:156
:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/command/install.
rb:51:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in
`run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/lib/cocoapods/command.rb:52:in
`run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.7.0/bin/pod:55:in `<top
(required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:
↳
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/un
iversal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir
/Users/xucongmac/flutter/flutter/bin in PATH, mode 040777
[!] Automatically assigning platform `ios` with version `8.0` on target
`Runner` because no platform was specified. Please specify a platform for
this target in your Podfile. See
`https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
pod repo update
Error running pod install
Error launching application on iPhone 8.

最后解决了，知道了这么解决的了。只要在ios文件下执行下pod update就可以了。反正就是胡乱搞了一天，终于可以启动项目了


Base config clean-up

Move some ur site config specific things out of base config & address https://github.com/PickNikRobotics/moveit_studio_ur_ws/pull/284#issuecomment-2197104789

Great change, ty


feat: add code copy && format code

resolve #30

cc @hanzhenfang @Si-ege @juxianzheng PTAL

This state will be restored when the component is re-rendered


Update Carthage build support

This pull request updates the PMKiOS scheme and fixes the issue #307 .

Is this still necessary?

No, with the latest carthage version I can build PromiseKit.
Thanks.


Update base docker image

Currently we are using alpine 3.6 which is old. We should move to the latest alpine linux, or see if we can build a more minimal image from scratch.

Hey @jimsheldon, can I work on this issue?


Google home app cannot control colour of lights

Home Assistant release with the issue:
0.80.1
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.os
Component/platform:
Deconz/lights
Description of problem:
Google home can control colour of lights when I speak to my Google Home devices. But it doesn't show the option to change the colour on the new interface on the android app. You can directly control the lights in the new home app. On/off and brightness works, but it didn't seem to recognise that lights are colour lights, even though speaking to Google assistant does enable colour changes
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Are you using the cloud or manual method? Not sure if it matters but might be worth mentioning.  FWIW I did the manual method and I have the same issue.

I'm using the manual integration rather then cloud.

This is not a home assistant issue. This is a google home app limitation currently.

Is it? I've no evidence but I thought I saw a video showing that other integrations with Google home could control light colour.

I've seen some user reports on Reddit about direct hue integration, lifx and smart things allow for color control in the Google home app.

Sounds like people are just on different builds for their google home devices/google home app though. Nothing to do with home assistant as it already exposes the option to change colours. I've got direct hue integration and haven't got colours in the google home app only.

This seems to be resolved. Can we close this?

Well, I still can't control colours. But I guess it might be because of something that's not home assistant related according to the above. I'm on the latest build of the home app.

The options to change color in the app are not visible to anyone yet actually, only smart displays can do it for the time being.  This is not anything in Home Assistant's control unfortunately.

Ah, ok. In which case, cool let's close it!


RBAC mechanism

run  skydive-functional-tests-backend-elasticsearch

run skydive-functional-tests-backend-elasticsearch

run  skydive-selenium-tests

run skydive-selenium-tests

run tests

@eranra You can set the rbac.policy configuration parameter (or the SKYDIVE_RBAC_POLICY environment variable) with "p, admin, capture, write, deny" to completely disable a feature when using no authentication backend

@lebauce, I was looking on skydive.yml.default to try and understand  the details of "p, admin, capture, write, deny" and it is a bit of a puzzle without more explanations. Can yo add more remarks/documentation  so it will be easier to follow.

@eranra There is a pending pull request on the Skydive documentation regarding RBAC : https://github.com/skydive-project/skydive.network/pull/11/

Good ... looks much better maybe reference from the default etc file ... also 'p', and 'g' you might want to explain what they do  and what is the complete list of options for 'object's

@eranra The documentation links to the bundle policy that "contains all the possible objects" but, as the PR is not merged yet, the link does not exist yet. You can use this one for now : https://github.com/lebauce/skydive/blob/rbac/rbac/policy.csv

Perfect 👍


Cannot create declaration files from static factory class returned from a function.

TypeScript Version:
2.8 and 2.9

Search Terms:
Cannot create declaration files from static factory class returned from a function.
Code
(pay special attention to class SomeClass)
namespace Test {
    export interface IType<TInstance = object> {
        new(...args: any[]): TInstance;
    }

    export function ClassFactory<TBaseClass extends IType, TClass extends any, TFactory extends any, TNamespace extends object>
        (namespace: TNamespace, base: { $__type: TBaseClass }, getType: (base: TBaseClass) => [TClass, TFactory], exportName?: keyof TNamespace, addMemberTypeInfo = true)
        : TClass & TFactory & { $__type: TClass } {
        return null;
    }

    export function FactoryBase<TBaseFactory extends IType>(baseFactoryType: TBaseFactory) {
        return class FactoryBase {
            static 'new'?(...args: any[]): any;
            static init?(o: object, isnew: boolean, ...args: any[]): void;
        };
    }

    function TestDec<T>(c:T):T { return null; }

    export namespace Loader {
        export var _SomeClass = ClassFactory(Loader, void 0,
            (base) => {
                @TestDec
                class SomeClass {
                     static readonly SomeClassFactory = class Factory extends FactoryBase(null) {
                        static 'new'(): SomeClass { return null; }
                        static init(o: SomeClass, isnew: boolean) {
                        }
                    };
                }
                return [SomeClass, SomeClass["SomeClassFactory"]];
            }
        );
    }
}

The code compiles and runs OK, no problems.  The issue is that when I enable the flag to export declarations as well I get this error:

Scripts/testscript.ts(20,20): error TS4025: Exported variable '_SomeClass' has or is using private name 'SomeClass'.

Expected behavior:
It is expected that the d.ts files are generated without giving me issues.  Without declarations it compiles fine. The partial workaround (see below) makes the error pointless.
Actual behavior:
Error message (see above).
Other Details:
This works:
namespace Test {
    export interface IType<TInstance = object> {
        new(...args: any[]): TInstance;
    }

    export function ClassFactory<TBaseClass extends IType, TClass extends any, TFactory extends any, TNamespace extends object>
        (namespace: TNamespace, base: { $__type: TBaseClass }, getType: (base: TBaseClass) => [TClass, TFactory], exportName?: keyof TNamespace, addMemberTypeInfo = true)
        : TClass & TFactory & { $__type: TClass } {
        return null;
    }

    export function FactoryBase<TBaseFactory extends IType>(baseFactoryType: TBaseFactory) {
        return class FactoryBase {
            static 'new'?(...args: any[]): any;
            static init?(o: object, isnew: boolean, ...args: any[]): void;
        };
    }

	function TestDec<T>(c:T):T { return null; }

    export namespace Loader {
        export var _SomeClass = ClassFactory(Loader, void 0,
            (base) => {
                // @TestDec <- CANNOT ADD DECORATORS, CANNOT SUPPORT ANGULAR, ETC., WITHOUT UGLY WORKAROUNDS
                var c = class SomeClass {
                     static readonly SomeClassFactory = class Factory extends FactoryBase(null) {
                        static 'new'(): SomeClass { return null; }
                        static init(o: SomeClass, isnew: boolean) {
                        }
                    };
                };
                return [c, c["SomeClassFactory"]];
            }
        );

    }
}

Notice however that I lost the @TestDec decorator doing this above (YES, I know a decorator is just a function). Not a very pleasant experience for Angular users.
Now, the following code I change SomeClassFactory to protected and it works ONLY if declarations are turned off; HOWEVER, when declarations are turned are on, this also fails with error: testscript.ts(22,20): error TS4094: Property 'SomeClassFactory' of exported class expression may not be private or protected. It's protected for a reason - I do not want people to see it in the code completion list on the exported property.
namespace Test {
    export interface IType<TInstance = object> {
        new(...args: any[]): TInstance;
    }

    export function ClassFactory<TBaseClass extends IType, TClass extends any, TFactory extends any, TNamespace extends object>
        (namespace: TNamespace, base: { $__type: TBaseClass }, getType: (base: TBaseClass) => [TClass, TFactory], exportName?: keyof TNamespace, addMemberTypeInfo = true)
        : TClass & TFactory & { $__type: TClass } {
        return null;
    }

    export function FactoryBase<TBaseFactory extends IType>(baseFactoryType: TBaseFactory) {
        return class FactoryBase {
            static 'new'?(...args: any[]): any;
            static init?(o: object, isnew: boolean, ...args: any[]): void;
        };
    }

	function TestDec<T>(c:T):T { return null; }

    export namespace Loader {
        export var _SomeClass = ClassFactory(Loader, void 0,
            (base) => {
				// @TestDec <- CANNOT ADD DECORATORS, CANNOT SUPPORT ANGULAR, ETC., WITHOUT UGLY WORKAROUNDS
                var c = class SomeClass {
                     protected static readonly SomeClassFactory = class Factory extends FactoryBase(null) {
                        static 'new'(): SomeClass { return null; }
                        static init(o: SomeClass, isnew: boolean) {
                        }
                    };
                };
                return [c, c["SomeClassFactory"]];
            }
        );

    }
}

It's very frustrating to have it compile and run PERFECTLY, but then fail to generate declaration files.  I keep getting blocked at every turn and it's driving me nuts lol. It's days like this I just want to switch back to pure JavaScript and save time (except then I realize all the bugs I'll probably get which would offset any time saved coding it lol ... :*( ).

Please see https://github.com/microsoft/TypeScript/issues/35822


Does this project use a queue

Hi, does this use a queue for the video transcoding process?

Just wrap the code you want to queue into a Job class and dispatch it:
https://laravel.com/docs/5.4/queues#class-structure

Thanks for the info!


some questions in run model about TypeError!

when I run the example census_income_demo.py, a problem occured,I dont know how to solve it,can you give some advices? thanks.
Training data shape = (10000, 100)
Validation data shape = (1000, 100)
Test data shape = (1000, 100)
Traceback (most recent call last):
File "E:\softWare\conda\envs\AppKG\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 558, in make_tensor_proto
str_values = [compat.as_bytes(x) for x in proto_values]
File "E:\softWare\conda\envs\AppKG\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 558, in
str_values = [compat.as_bytes(x) for x in proto_values]
File "E:\softWare\conda\envs\AppKG\lib\site-packages\tensorflow\python\util\compat.py", line 65, in as_bytes
(bytes_or_text,))
TypeError: Expected binary or unicode string, got Dimension(100)
During handling of the above exception, another exception occurred:
File "E:\softWare\conda\envs\AppKG\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 562, in make_tensor_proto
"supported type." % (type(values), values))
TypeError: Failed to convert object of type <class 'tuple'> to Tensor. Contents: (Dimension(100), 16, 8). Consider casting elements to a supported type.

Hello! We recently have updated our implementation to TensorFlow 2.5 and merged the Keras logic altogether since it's now a part of the TensorFlow library now - can you try that again?


Naive fix for #3796

In reference to #3796. I think the reason why ellipses throw an exception here is because currently they get scaled along the geodetic surface normal, so defaulting the center to zero causes problems later. You could default the value to zero and then use scaleToGeocentricSurface instead, but I don't know if doing that has any broader implications.

I took a quick look at this and the problem is much more widespread and goes beyond ellipses.  Basically, none of the xxxGeometryUpdater functions correctly handle the case where a required property is defined but evaluate to undefined.  We should not default to a value here.  I believe the correct fix is to update all of the xxxGeometryUpdater._onEntityPropertyChanged functions to check for required parameters and set themselves to "no geoemtry" mode (meaning nothing gets drawn).  For Ellipse, this means updating the else block that stars around line 478 with something like this at the top.
if(!defined(center) || !defined(semiMajorAxis) || !defined(semiMinorAxis)) {
    if (this._fillEnabled || this._outlineEnabled) {
        this._fillEnabled = false;
        this._outlineEnabled = false;
        this._geometryChanged.raiseEvent(this);
    }
    return;
}

The code would be extremely similar for the other updates, but let's just start with ellipse and make sure it fixes the problem in an ideal way.

Also, thanks for taking a stab at this @lasalvavida!

Closing since this isn't the correct approach


Move up the "Sponsored by Rerun" section

Closes https://github.com/emilk/egui/issues/2903
Rendered

Done in https://github.com/emilk/egui/pull/3392 instead


Is there a reason behind keeping redundant code?

Correct me if I am wrong, but once you get to this point in the code, aren't you guaranteed that the source and target are both the same data type, on account of comparing the internal class names?
if (!valIsBool) { return 'first argument is not a boolean; second argument is'; }
if (!otherIsBool) { return 'second argument is not a boolean; first argument is'; }

// ...

if (!valIsNumber) { return 'first argument is not a number; second argument is'; }
if (!otherIsNumber) { return 'second argument is not a number; first argument is'; }

If this is an oversight, then would you like me to submit a PR?

No, because ES6 introduced Symbol.toStringTag, which changed Object#toString from reporting the "internal class" (which no longer exists) to reporting "a string value that the user can override". The user could have passed two values that have the same toStringTag, but are not in fact the same types.


Create manage-kubernetes-api-server-flags.md

article describes how to change Kubernetes api-server configuration flags.
Proposed changes
Added article covering how to modify Kubernetes api-server configuration flags.

Deploy preview for modest-edison-79d82e ready!
Built with commit a785a1b9439ef2334147397dad3789cf807bc5f8
https://deploy-preview-7270--modest-edison-79d82e.netlify.com

Strongly agree.

@ivansharamok - Hi - closing this based on technical review. Thank you!


Android cannot locate methods in Intents

Expected Behaviour
Android to build successfully
Actual Behaviour
Getting these errors:
BarcodeScanner.java:178: error: cannot find symbol
intentScan.putExtra(Intents.Scan.SHOW_FLIP_CAMERA_BUTTON, obj.optBoolean(SHOW_FLIP_CAMERA_BUTTON, false));
^
symbol:   variable SHOW_FLIP_CAMERA_BUTTON
location: class Scan
BarcodeScanner.java:179: error: cannot find symbol
intentScan.putExtra(Intents.Scan.SHOW_TORCH_BUTTON, obj.optBoolean(SHOW_TORCH_BUTTON, false));
^
symbol:   variable SHOW_TORCH_BUTTON
location: class Scan
BarcodeScanner.java:180: error: cannot find symbol
intentScan.putExtra(Intents.Scan.TORCH_ON, obj.optBoolean(TORCH_ON, false));
^
symbol:   variable TORCH_ON
location: class Scan
BarcodeScanner.java:181: error: cannot find symbol
intentScan.putExtra(Intents.Scan.SAVE_HISTORY, obj.optBoolean(SAVE_HISTORY, false));
^
symbol:   variable SAVE_HISTORY
location: class Scan
BarcodeScanner.java:183: error: cannot find symbol
intentScan.putExtra(Intents.Scan.RESULT_DISPLAY_DURATION_MS, "" + obj.optLong(RESULTDISPLAY_DURATION));
^
symbol:   variable RESULT_DISPLAY_DURATION_MS
location: class Scan
BarcodeScanner.java:192: error: cannot find symbol
intentScan.putExtra(Intents.Scan.ORIENTATION_LOCK, obj.optString(ORIENTATION));
^
symbol:   variable ORIENTATION_LOCK
location: class Scan
BarcodeScanner.java:254: error: cannot find symbol
intentEncode.setAction(Intents.Encode.ACTION);
^
symbol:   variable Encode
location: class Intents
BarcodeScanner.java:255: error: cannot find symbol
intentEncode.putExtra(Intents.Encode.TYPE, type);
^
symbol:   variable Encode
location: class Intents
BarcodeScanner.java:256: error: cannot find symbol
intentEncode.putExtra(Intents.Encode.DATA, data);
cordova --version 6.0.4
cordova platforms Android

Attempting to build in Android Studio 2.2.3
Plugin version
phonegap-plugin-barcodescanner 6.0.8

Exact same error here. Does anyone have a solution?

@justinhenricks builds fine for me from the CLI and AndroidStudio. For some reason in your setup the .aar for ZXing is not being imported into the project which is why you get the above errors. When you open the project in AndroidStudio do you do File->New-Import Project and select the $Project_name/platforms/android directory?

I managed to fix it.  For me this was the issue:
I had the "Cordova QR Scanner" plugin installed as well (https://github.com/bitpay/cordova-plugin-qrscanner),  along with this plugin.
Apparently, both plugins don't work side by side.  Removing the  "cordova-plugin-qrscanner"  plugin did the trick for me. I can now build it for Android without errors.
I hope this helps.

This actually ended up being our exact situation as well. QR Scanner and Barcode Scanner cannot be installed at the same time! Good to know, consider this closed. Thanks!


Automate the crosplane setup via Kind and create Makefile for flying start

https://github.com/ranjith-ka/Devops/tree/main/minikube/crossplane
Completed this stuff


Fix #162

Fix #162

there was an unfixed NAME_REG_EXP in src/supervisor/supervisor.js

See also:

https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/159
https://github.com/GoogleCloudPlatform/cloud-functions-emulator/commit/781f45eac8300c8c99938cad30a4673b101d5ff4

I just signed CLA


Add rubocop

Taking a stab at adding rubocop to the repo, as suggested in #1124
I've already addressed some of the simpler Cops that can utilize the --auto-correct option.
Each correction for a given cop was made in a separate commit, so to make reviewing easier (I hope).
The flow I've used was as follows:

Pick a Cop / set of violations in the .rubocop_todo.yml
Create a local branch with the Cop name
Make 1 or more updates to code, or move a todo item into the main .rubocop.yml config.
Merge the Cop branch back onto the add_rubocop branch with the --no-ff option.

This PR gets the offenses down to 652, but there is still more work to do!

Hold off on review for the moment.

This looks good! I saw that you split the work with @dks17, great because this doesn't have it done at once. I hope in the future, we can add it to travis. When this is ready, just remove the "on hold" label.
I would squash the commits at the end because they are a lot, but we can do it at merge time.
Thanks @Evan-M !!

Yeah, 👍@dks17 for helping out with this!
I tried local 'feature/cop' branches with merge commits for each cop, but it doesn't look like the ref hierarchy made it up to github.  In any event, I think I'll try @dks17's approach with the rest of this PR, and have a single commit for each cop fix.
Also, I know I've seen travis running the rubocop code, but it always feels like it blocks test from running.  I know that codeclimate can utilize rubocop, so maybe that would work better? https://docs.codeclimate.com/docs/advanced-configuration
And I agree that squashing these commits at the end makes sense, but lets get all the commits reviewed beforehand!

I merged #1126, but then ran into all kinds of rebase and/or merge duplicates and other silliness.
If an attempt to make sure that this PR ends up in a reviewable and mergeable state, I cherry-picked the commits that @dks17 made in #1126 back to this branch, squashed all my previous merge commits (such that there is one commit per set of cop violation fixes), and did some --fixup commits + git filter-branch revisionist history magic.
This of course required a force-push.  So if anyone else has checked-out or forked this branch, I apologize in advance!  To get back to valid state, rename your existing checkout/fork, re-checkout or re-fork a clean copy of the updated branch, and rebase your changes against the new copy.

I have just pull master into rubocop branch.
Almost each new PR in master branch brings some conflicts and offences. With every PR it seems we will never overtake master branch.
Should be better merge rubocop branch into master now?

@dks17 Agreed, we don't have frequent PRs merged lately, but this could take a while to be finished.
Rebase it, we make sure Travis passes and we will merge it (squashing)

That happens when there are no inherited settings to merge with from an
included file (in this case, there are no Excludes for the
Metrics/BlockLength nor the
Metrics/LineLength cops inherited from .rubocop_todo.yml).
If you comment out the inherit_from: .rubocop_todo.yml at the top of the
.rubocop.yml file, you will see more warnings where there is nothing to
merge.
On Sat, Apr 28, 2018, 1:18 AM Konstantin<EMAIL_ADDRESS>wrote:

@Evan-M https://github.com/Evan-M
I have got many warnings in console like these:
Warning: unrecognized parameter Metrics/BlockLength:inherit_mode found in .rubocop.ymlWarning: unrecognized parameter Metrics/LineLength:inherit_mode found in .rubocop.yml
Do you thing these configuration parameters were set properly?
Metrics/BlockLength:
inherit_mode:
merge:
- Exclude
- ExcludedMethod
Metrics/LineLength:
inherit_mode:
merge:
- Exclude
It seems there is no effect if these properties are commented.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lynndylanhurley/devise_token_auth/pull/1125#issuecomment-385152082,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYICsyywdBXju2v1UAOfF_BMus08T7Nks5ttCXkgaJpZM4S5kcU
.

That happens when there are no inherited settings to merge with from an
included file (in this case, there are no Excludes for the
Metrics/BlockLength nor the
Metrics/LineLength cops inherited from .rubocop_todo.yml).
If you comment out the inherit_from: .rubocop_todo.yml at the top of the
.rubocop.yml file, you will see more warnings where there is nothing to
merge.

I did not use auto correction (manually only) then ran the tests.

I've been using the -a option in conjunction with --only <COP_NAME>. Then I review all the changes via git add --patch, and make sure the tests pass before committing the changes.
I also frequently use rubocop --only <COP_NAME> --format worst to check the violations before running with -a option.
¯_(ツ)_/¯
@krzysiek1507 To your point though, running rubocop -a against all cops, kinda feels like biting off more than you could chew.

I saw a lot of pull requests with rubocop -a, green tests and new bugs introduced.
In this case, it's better but it is still hard to review it because of 2.5k additions and 1.9 deletions.

We can always split this PR into smaller by cherrypicking.

@Evan-M Is this still on hold? because we can merge and you continue it in another PR, so it doesn't keep growing

@krzysiek1507 @Evan-M I reviewed the PR and it looks good, as I don't see more activity from the author and I don't want to lose this work, I will merge it.  About frozen_string_literal, most of the files have it, so I don't it bad adding it


Respect skipSpecialTokens option in the decodingCallback function

I want to show the live transcription process as the transcription happens, and don't want it to show special characters. Right now, regardless of how you set skipSpecialTokens in the decoder options, it will include special characters in the decodingCallback function under .text. I fixed that so it follows the skipSpecialTokens option. I've verified it in the WhisperAX app.

Thanks @shawiz ! I will let @ZachNagengast  chime in. On a separate note, we are currently lowering the "Eager mode" from the app layer down to the library so it can be built on without extra user code. Just mentioning it now, in case you had to rewrite or copy-paste code to use it so far.

Thanks guys!


[BUG] Image stuck in Removing

Describe the bug
Unable to delete image and it will stuck in Removing state
https://github.com/harvester/harvester/assets/5169694/0a5bffa9-e00e-404b-b54c-804c8cfcf789
To Reproduce
Steps to reproduce the behavior:

Install Harvester with any nodes
Create an image by URL
Delete the image

Expected behavior
Image should be deleted successfully
Environment:

Harvester ISO version: v1.2-04b7f9d7-head
ui-source Option: Auto
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal DL360 3 nodes

Additional context
Occurred this in daily automation test occasionally.

In the current Harvester implementation, the image deletion is asynchronous with Longhorn resource deletion (i.e. backing image, backing image data source, and backing image manager). That may be the reason for this ticket if some operations kept being applied during the not-synced time window.
We would try to make the image deletion synchronous with Longhorn resource for #4293 , maybe we could recheck this after #4293 is solved. Thanks.


Fixes typo in init.rb #trivial

s/privilidged/privileged/ and nothin' more. 🐴

          1 Warning

  :warning:
  Tests were not updated

          1 Message

  :book:
  @notjosh is not a contributor yet, would you like to join the Danger org?

  Generated by :no_entry_sign: danger

Nice one! Want to be in on the Danger org with such a massive amazing PR?

( and useful - thanks )

Ha, I'm delving into Danger on a project at the moment. If(/when) there's a real PR, let's do the org thing then.


can we exclude resources?

can we exclude resources?
eg. i am running aws2tf against an account that belongs to an organisation and i do not have permissions so everytime i run the script it gives me an error on that section
excluding organizations would remove this error

Can you give me an example of what you'd like ?

currently just the organisation to avoid seeing the errors

The start point for aws2tf , is to use and aws cli command to get either a single unique identifier or a list of them to form the basis of a terraform import command.
Unfortunately the aws cli doesn't have a filter by ou option. The "filter" essentially happens when IAM denies access.
The best I could do here is to silently fail those resources.
But that will leave the issue of resources you can access referencing the stuff you were unable to import.
Hence the minimum requirement for aws2tf that you have a minimum of "ReadOnly" access for the resources you are trying to import.
In your case what are the resource types that are in another ou ?

i see .. well we have only one ou
anyways .. it was just a question
thank you


Poetry setup for dndme

Wanted to see how painful it would be to convert this to using poetry.

Going to close this since there is no interest. Maybe in the future.


[Bug] NPM Start is Failing

The build is failing and server can't be started
As a check .... i started foundation sites and its working properly
Poke @kball @rafibomb for the bug fix
Here is the errors log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 silly lifecycle<EMAIL_ADDRESS>no script for prestart, continuing
7 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>8 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
9 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/opt/lampp/htdocs/zurb/fork/building-blocks/node_modules/.bin:/usr/local/heroku/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/lampp/bin:~/.composer/vendor/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/harman/git-apps/hub-linux/bin/:/home/harman/.config/composer/vendor/bin
10 verbose lifecycle<EMAIL_ADDRESS>CWD: /opt/lampp/htdocs/zurb/fork/building-blocks
11 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'gulp bb' ]
12 silly lifecycle<EMAIL_ADDRESS>Returned: code: 1  signal: null
13 info lifecycle<EMAIL_ADDRESS>Failed to exec start script
14 verbose stack Error<EMAIL_ADDRESS>start: `gulp bb`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:194:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:194:7)
14 verbose stack     at maybeClose (internal/child_process.js:899:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid<EMAIL_ADDRESS>16 verbose cwd /opt/lampp/htdocs/zurb/fork/building-blocks
17 error Linux 4.4.0-66-generic
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
19 error node v7.9.0
20 error npm  v4.2.0
21 error code ELIFECYCLE
22 error errno 1
23 error<EMAIL_ADDRESS>start: `gulp bb`
23 error Exit status 1
24 error Failed at the<EMAIL_ADDRESS>start script 'gulp bb'.
24 error Make sure you have the latest version of node.js and npm installed.
24 error If you do, this is most likely a problem with the foundation-building-blocks package,
24 error not with npm itself.
24 error Tell the author that this fails on your system:
24 error     gulp bb
24 error You can get information on how to open an issue for this project with:
24 error     npm bugs foundation-building-blocks
24 error Or if that isn't available, you can get their info via:
24 error     npm owner ls foundation-building-blocks
24 error There is likely additional logging output above.
25 verbose exit [ 1, true ]

I'm not seeing the failure... could be the node version (we've been recommending 6 series, not 7 series), or something else... is there any more log that you can share? Not seeing much in this stack trace.
Also have you rerun npm install since pulling? There might be a package difference

Yup NPM Install and chmod 777 did the trick!
Closing this ..... thanks @kball


Languages and sample text for Tai Tham

According to the Wikipedia article about Tai Tham, the script is used for three languages: Northern Thai whose BCP47 code is nod; Tai Lü khb; and Khün kkh. Currently, the Noto website only lists Northern Thai; perhaps it should be extended?
Also, Unicode has just added @Arloka’s UDHR translation to Khün into their collection. So it might be good to update the sample text for Noto Sans Tai Tham.
However, we still have a problem with Noto Sans Tai Tham: it looks like it’s actually rather broken. However, that font bug is unrelated to the sample text and the set of languages on the Noto website.

cc @mhosken

Bear in mind that there are two distinct font styles for Tai Tham. There is the Lanna style, used for nod, and then there is the Khuen style used for khb and khn. It is unlikely that a single font will meet the needs of both language groups.

@mhosken, can you confirm that Lü khb and Khün kkh share the same typographic style when written in the Tai Tham script Lana? If Lü and Khün do share the same style, I’ll ask OpenType to add kkh to the list of ISO 639-3 language codes for the existing OpenType language system tag XBD, which currently lists Lü khb as the only language for it. If Lü and Khün don’t share the same style, I’ll ask OpenType to register a new language system tag for selecting Khün letterforms.
By the way, are there illustrations that show the difference between the two distinct typographic styles when writing Tai Tham Lana? Noto Sans Tai Tham could certainly support both styles as localized letterforms via loca features. According to Wikipedia, Northern Thai nod “native speakers are presently illiterate in the traditional script”; and again according to Wikipedia, Lü khb is now written in the New Tai Lue script Talu. If Wikipedia is correct, Khün seems to be the only language presently written in Tai Tham. In that case, the default typographic style for Noto Sans Tai Tham should probably be the Khün letterforms. Still, we could also support Northern Thai letterforms if we knew how they look, hence the question whether there’s illustrations.

Hello ! I am Sangdang who created Tai Tham font (Lü and Khün stype). Lü and
Khün fonts is same style. And some characters are different from Lanna Such
as uni1A4B, uni1A22 ext. Some words are same meaning but different writing
as ᨾᩮ᩠ᨦᩨ (Khün)/ ᨾᩮ᩠ᩋᩨᨦ (Lanna). I don't know much about the computer (I
don't know how to say.) But we are want to have our font (Lü and Khün) come
into computer and mobile. Especially  in Google Translation. We don't know
how to do. Anyone can help us. We are grad to help which we can. Thank you
very much.
2016-06-28 13:57 GMT+05:30 Sascha Brawer<EMAIL_ADDRESS>
@mhosken https://github.com/mhosken, can you confirm that Lü khb and
Khün kkh share the same typographic style when written in the Tai Tham
script Lana? If Lü and Khün do share the same style, I’ll ask OpenType to
add kkh to the list of ISO 639-3 language codes for the existing OpenType
language system tag
https://www.microsoft.com/typography/otspec/languagetags.htm XBD, which
currently lists Lü khb as the only language for it. If Lü and Khün don’t
share the same style, I’ll ask OpenType to register a new language system
tag for selecting Khün letterforms.
By the way, are there illustrations that show the difference between the
two distinct typographic styles when writing Tai Tham Lana? Noto Sans Tai
Tham could certainly support both styles as localized letterforms via loca
features. According to Wikipedia
https://en.wikipedia.org/wiki/Northern_Thai_language#Script, Northern
Thai nod “native speakers are presently illiterate in the traditional
script”; and again according to Wikipedia
https://en.wikipedia.org/wiki/Tai_Lü_language#Old_Tai_L.C3.BC, Lü
khb is now written in the New Tai Lue script Talu. If Wikipedia is
correct, Khün seems to be the only language presently written in Tai Tham.
In that case, the default typographic style for Noto Sans Tai Tham should
probably be the Khün letterforms. Still, we could also support Northern
Thai letterforms if we knew how they look, hence the question whether
there’s illustrations.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/nototools/issues/249#issuecomment-228985069,
or mute the thread
https://github.com/notifications/unsubscribe/AQ-EXoSW2GFzlWdUuLaDR4TOhJmMfgRVks5qQNsMgaJpZM4I_LpS
.

@Arloka, the following two glyphs are from your font “A Tai Tham KH”. If I understand correctly, these  letterforms use the typographic style of Lü khb-Lana and Khün kkh-Lana. How would uni1A22 and  uni1A4B look in the typographic style of Northern Thai nod-Lana?

Hello
The deference between Khun and Lanna, i has compared and sent to you here.
i created Tai Tham LK New (Lanna font style) also. Thanks a lot.
2016-06-28 17:49 GMT+05:30 Sascha Brawer<EMAIL_ADDRESS>
@Arloka https://github.com/Arloka, the following two glyphs are from
your font “A Tai Tham KH”. If I understand correctly, these letterforms use
the typographic style of Lü khb-Lana and Khün kkh-Lana. How would uni1A22
and uni1A4B look in the typographic style of Northern Thai nod-Lana?
[image: uni1a22_1a4b]
https://cloud.githubusercontent.com/assets/1527880/16414806/2516b3f2-3d3a-11e6-999c-5f161cd10acb.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/nototools/issues/249#issuecomment-229032554,
or mute the thread
https://github.com/notifications/unsubscribe/AQ-EXsJauw7sGQWj9-OsFmCrl40VJo_kks5qQRFvgaJpZM4I_LpS
.

At a high level, Lü and Khün do share the same style. But there can be subtle differences between the two languages in some fonts. Therefore, I would suggest allocating codes for all three languages. But then I'm of the school of thought that says all languages should be accessible from OT, particularly when it comes to non-Roman scripts.
The main proposal document for the Tai Tham scripts discusses the different high level styles. While you could make two completely different fonts via loca, it may not be the best approach. But then Android is somewhat limited in its font support in this regard.

@brawer The issue is noto sans tai tham it's not standard style for "Tai Tham Font". Because

It's not beautiful. (Look like handwriting.)
People difficult to read.
Some script is wrong.

Now "noto sans tai tham" available on android 6.0.1, Users complain and can not communicate with others easily.
So, I think "A Tai Tham KH" is standard style for all Lue, Khun and Lanna, but "A Tai Tham KH" is not available on android 6.0.1

U+1A4B shows a lot of variation in Northern Thailand.  For example, look at the alphabet at http://wrdingham.co.uk/lanna/tamra.gif .   (The alphabet continues overleaf.)  The first letter is U+1A4B LETTER A, and it looks very like the Tai Khuen glyph.  Note that the horns on U+1A24 TAI THAM LETTER LOW KXA and U+1A2A TAI THAM LETTER LOW SA are great sweeping affairs, not timid projections like the font's.  The vowels above fit between the horn and the body.  There are a couple of examples in the foreword on the left.

I am Northern Thai, the Tai Tham unicode (we call it “thua mueang” and I don't know where is the word “Tai Tham” come from) is wrong, it's not Northern Thai. It should be extended. for instance, I cannot type the word eat (“kin” : Northern Thai) for n sounds and so on https://r12a.github.io/scripts/taitham/block#char1A20. And importantly, Northern Thai has only 33 consonants (not 42) because we are Buddhism so our language has 33 consonants like Balinese language.

Maybe I will extend it, if I can

@rangsiwut: I have couple of questions (anybody though can provide their answers)
** "It's not beautiful. (Look like kids handwriting.)"
-- could you share lots of images or website or other information where we could find what is considered as a "beautiful" version of this script?
** "Some script is wrong."
-- could you provide info on what's wrong (preferably as a text or Unicode) and a sample what it should be instead?
We want to make the script better.

Rather than asking for documents to show what is a beautiful font and handing them to someone who has no understanding of the script, its complexities and typographic traditions, may I suggest that you find a font designer who is willing to do the necessary research to create a good font.
Tai Tham is the most complex encoding for a normal writing system and still has issues being resolved. Producing a Tai Tham font is more difficult than for most other SEAsian scripts. Don't rush this. Take the time and get it right.
@brawer in response to your 18/Jun/2016 question (so long ago, sorry). Yes the character shown is in a northern Thai style. But both glyphs are astoundingly ugly; particularly uni1A22.


Cyt 615 add spdx and cyclone dx read SBOM hook implementations

Latest working draft of the CycloneDX input SBOM hook.

This includes adding any vulnerabilities from the CycloneDX SBOM into the observations section of the CyTRICS SBOM

Change in mapping requirements: It turns out that a CycloneDX component can have nested subcomponents. Mapping these subcomponents to the components section of the CyTRICS software entry format would fit better than mapping the CycloneDX services section to the CyTRICS components section since CycloneDX services are it's won section in the SBOM (rather than being part of individual CycloneDX component entries)

Some CycloneDX-exclusive component data is currently added to the metadata section of the corresponding CyTRICS software entry, while the rest needs to be transformed into formats that are JSON-serializable

In the CyTRICS schema working group I was thinking that it would be nice to be able to track what CycloneDX/SPDX identifier is associated with software entries, which would enable SBOM conversion to preserve a stable identifier for a roundtrip conversion from CycloneDX -> CyTRICS/internal -> CycloneDX.


17.6 Summary qmlscene

Sorry, I'm totally new in QT but when I read:

Open the folder where your CityUI project is a start the UI with qmlscene main.qml

I really don't have any idea about what you are talking about...
Could you please elaborate a bit more?
Do you plan a chapter on qmlscene?
Alain

You can execute command "qmlscene main.qml" in command line.
https://doc.qt.io/qt-5/qtquick-qmlscene.html

Seems we should add the link there. Thx for pointing out.


Can serialize serde_json::Value, but can't deserialize it

I'm getting a WontImplement error.
I suppose I'm surprised I'm able to serialize a value I can't ever deserialize and I'm wondering if I'm doing something wrong!
I'm not entirely sure which of the WontImplement cases I'm hitting either.
I'm looking into storing as a String or Vec<u8> instead.

Can you show the definition of your struct you're trying to deserialize to and the exact error you're getting? There's no way to help you if we don't know what you're doing.

Oh yes, my bad.
    #[test]
    fn postcard_test() -> Result<(), Box<dyn std::error::Error>> {
        #[derive(Debug, Serialize, Deserialize, Eq, PartialEq)]
        struct Json(serde_json::Value);

        let json = Json(serde_json::json!({"foo": "bar"}));

        let bytes = postcard::to_allocvec(&json)?;
        let json2 = postcard::from_bytes(&bytes)?;

        assert_eq!(json, json2);

        Ok(())
    }

So, serde_json::Value uses some of the "the details of deserialization are in the format" features of Serde.
This is fine for JSON, but non-self-describing binary formats like postcard can't generally do this for deserialization. This is mentioned in the docs.
You COULD have a wrapper type for each of the variants of serde_json::Value, but they are currently defined to encode "directly" on the wire, so no enum variant is present on the wire.
Unfortunately, I think getting "WontImplement" is correct in this case.


Do not check pause condition again after resume (fix infinite loop) (backport #13141)

Summary of the changes / Why this improves CrateDB
pauseConsumption was both used in the consume loop to pause iteration and again on resume after a pause.
This could lead to a infinite pause-resume-pause-loop because there are cases where pauseConsumption would always return true again after the pause: If the current requests/item uses up enough memory to move IsUsedBytesOverThreshold over the threshold without there being any other activity on the cluster.
The requests are only freed up after execution, if the execution is paused it would never get freed up.
Fixes https://github.com/crate/crate/issues/13123
(cherry picked from commit 78785b4a63bdd42b0ec0fe1d7e7cf14ac84141d5)
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

ok to test

Closing it in favor of https://github.com/crate/crate/pull/13155


[🐛 BUG] tgb.toggle("{value}") does not work but tgb.toggle(value="{value}") works

What went wrong? 🤔
From Stack Overflow
With this code, toggle does not move:
from taipy.gui import Gui
import taipy.gui.builder as tgb

def on_toggle(state):
    print("toggled")

value = False

with tgb.Page() as page:
    tgb.toggle("{value}", on_change=on_toggle)

if __name__ == "__main__":
    Gui(page).run(debug=True)

It works when I replace the toggle with:
tgb.toggle(value="{value}", on_change=on_toggle)

Expected Behavior
No response
Steps to Reproduce Issue
No response
Solution Proposed
No response
Screenshots
No response
Runtime Environment
No response
Browsers
No response
OS
No response
Version of Taipy
No response
Additional Context
No response
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%.
[ ] Create a related issue in taipy-doc for documentation and Release Notes if relevant.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

This is a known error. This should have been fixed:
https://github.com/Avaiga/taipy/issues/994
https://github.com/Avaiga/taipy/issues/1218
Could you test it and close it if it works on develop?

Indeed fixed in develop


updated tc-tool

Describe what your pull request addresses (Please include relevant issue numbers):

related to https://github.com/unfoldingWord-dev/translationCore/issues/4319

Please include detailed Test instructions for your pull request:

Standard Test Instructions for PR Review Process:

[ ] Double check unit tests that have been written
[ ] Check for documentation for code changes
[ ] Check that there are not inadvertent commits to tC Apps when reviewing a tC Core PR
[ ] Checkout the branch locally and ensure that app runs as expected

[ ] Ensure tests pass
[ ] Open and watch the console for errors
[ ] Make sure all actions perform as expected
[ ] Import and Load a new Project
[ ] Load a tool and perform basic actions
[ ] Switch tools and perform basic actions
[ ] Switch project to an existing project
[ ] Load a tool and perform basic actions
[ ] Switch tools and perform basic actions
[ ] Next time reverse the order of importing after loading an existing project

[ ] Reviewer should double check the DoD in the ISSUE, including the “spirit” of the story
[ ] Ask Ben or Koz if you have any concerns about implementation (especially UI related)

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Clarify wording that you're about to delete the whole history

What
Clarify wording that you're about to delete the whole history
Screenshot

Is it ok for you to change just the message from "Do you really want to clear?" to "Do you really want to clear history?"

[ ] Do you really want to clear history?
[ ] Do you really want to clear all history?


Apps crache iphone 6+ ios10.2

All applications crache, I am obliged to reboot the iphone to be able to reuse the apps
iphone 6+ ios10.2 Cydia b9

Are you on beta 7?did you triple check your installed tweaks?try to remove every tweak you extra installed and try to use your apps again!

not work, same pb


Update kubeflow-roles manifests

Context
Each charm has a set of manifest files that have to be upgraded to their target version. The process of upgrading manifest files usually means going to the component’s upstream repository, comparing the charm’s manifest against the one in the repository and adding the missing bits in the charm’s manifest.
What needs to get done
https://docs.google.com/document/d/1a4obWw98U_Ndx-ZKRoojLf4Cym8tFb_2S7dq5dtRQqs/edit?pli=1#heading=h.jt5e3qx0jypg
Definition of Done

Manifests are updated

No changes in the upstream file for roles. This charm does not have image.


question on LDAP queries on users.json

For my task, I need to access one of the attribute "accountEnabled" stored in .cache/users.json
I can run ldap queries on stuff in .cache/azure.json, but have no idea on how to query stuff in .cache/users.json.
Anyone knows how?

You can only query the values in azure.json. This is the file with the entire ldap database in it. You need to write and use a customizer to adjust/add values (function customizer.ModifyLDAPUser). Once the values are in the azure.json, you can query them.

got it. Thank you!


Update to PowerShell command $true is not a parameter

Changed from Get-InformationBarrierPoliciesApplicationStatus -All $true to Get-InformationBarrierPoliciesApplicationStatus -All as -All is now a switch.  Thanks,

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@chrfox Please merge this PR. Thanks.

investigating with PG

merged


How do I save the pages the videos are downloaded from and then the videos? TIA

I looked through the command line switches but do not see a way to save the pages of the videos as well as the videos.  I have youtube-dl.exe in a directory by itself and python in its own directory elsewhere on the drive.
Do I need to make some sort of batch file on windows with the command to save the video pages first and then a separate command to save the videos?
TIA

Use --write-pages.


frp: 0.39.1 -> 0.40.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/fatedier/frp/releases.
meta.description for frp is: "Fast reverse proxy"
meta.homepage for frp is: "https://github.com/fatedier/frp"
meta.changelog for frp is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0/bin/frps had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0/bin/frpc had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 0.40.0 with grep in /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0
found 0.40.0 in filename of file in /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
frp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A frp https://github.com/r-ryantm/nixpkgs/archive/a6bbbcbbbe077db595960efd72a9f8f3f9412a15.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0
ls -la /nix/store/wzphr1731043wa406fg0dwi1l5pk9ksa-frp-0.40.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

frp

Maintainer pings
cc @Br1ght0ne @kalbasit for testing.

Change looks good to me.


idlharness.js checks that attribute getters on a global do not require an explicit 'this'

idlharness.js checks that attribute getters on a global do not require an explicit 'this'. The relevant code is:
            if (gotValue) {
                assert_equals(propVal, getter.call(undefined),
                              "Gets on a global should not require an explicit this");
            }

under IdlInterface.prototype.test_member_attribute
While Firefox seems to behave this way, the latest Web IDL specification does not seem to have any mention of this (unless I missed something).
Relevant specification:

Attribute getters
Says to use 'this' value and does not mention anything about using something else when there is no explicit this.

Unlike for operations, where the spec does say:

Otherwise, if the interface on which the operation appears has an [ImplicitThis] extended attribute, and the this value is null or undefined, then O is the ECMAScript global object associated with the Function object.

The specification for  [ImplicitThis] clearly states that it applies to operations but NOT attribute getters, and that throwing is the right thing to do for attribute getters.

@heycam Did I understand the Web IDL specification correctly?

The IDL spec here got update in https://github.com/heycam/webidl/pull/217 that makes it clear that attributes on the global do in fact use the global as this if undefined or null are passed.

This issue has been moved to https://github.com/w3c/web-platform-tests/issues/7170; please continue all discussion there.


Add support for name and version to bump release

Corresponding atomic reactor PR: https://github.com/projectatomic/atomic-reactor/pull/525

LGTM


[Feature-14832][Listener]Implementation of Listener Mechanism

This closes https://github.com/apache/dolphinscheduler/issues/14832
Purpose of the pull request
This pull request adds a new type of alert plugin instance: global alert plugin instance.  The global alert plugin instance will receive and post all system-generated events by default. Now support 10 types of events.
Brief change log

add a global alert group (id: 2) which users cannot modify/delete, the global alert instance will be added into/ removed from this group automatically.

In addition to the original alarm instance type, add a new option for global alarm instances.

add 10 types of events: ServerDownListenerEvent, ProcessDefinitionCreatedLitenerEvent, ProcessDefinitionUpdatedLitenerEvent, ProcessDefinitionDeletedLitenerEvent, ProcessStartListenerEvent, ProcessEndListenerEvent, ProcessFailListenerEvent, TaskStartListenerEvent, TaskEndListenerEvent, TaskFailListenerEvent. The event will be saved in table t_ds_listener_event.

In addition to AlertBootstrapService, add ListenerEventPostService in AlertServer: get pending listener events from t_ds_listener_event, get global alert instances and post these events.

database change

insert global alert group into t_ds_alertgroup
add instance_type, warning_type in t_ds_alert_plugin_instance. alert instance type: 0 normal; 1 global. warning_type: warning type of normal alert instance which existed in plugin_instance_params previously.
new table t_ds_listener_event: save global listener events, which is simpler than t_ds_alert.

Brief change log

Due to OSPP time constraints, some improments need to be done in future PRs.

Refine global alert instances: when creating global alert instance, we can choose event types to subscribe to. The current global alert instance subscribes to all events by default. If we can choose event types,  there is no longer a need for the default admin warning group. We can create a global alert instance that only subscribe to ServerDownListenerEventto replace the default admin warning group.
Is it necessary to choose warning type for normal alert instances? In order to be compatible with the logic of normal alert instances, we have reserved the option of warning type (success, fail, all).  It is necessary for global alert instances to choose event types. However, for normal alert instances, the generation of events is manually triggered by the user (select the alarm strategy and the alarm group bound to the workflow), the types of events generated (ProcessEndEvent, ProcessTimeoutEvent, and ProcessFailEvent) are also fixed. Users have already explicitly bound the alert group and normal alert instances, and the event types which normal alert instance can subscribe to are also fixed, it is fine to send the message directly througn these normal instances. Is it still necessary for users to choose the warning type for normal alert instances?
listener_event and alert: alert content can be abstracted as listener events, and the content stored in t_ds_listener_event is actually alert which global alert group need to process.  In this submission, we just add limited logic of global alert events, which is relatively independent with alert.  It’s difficult to merge listener_event and alert in this submission because t_ds_alert contains process_definition_code, project_code and other information besides the event itself, And the process of generating alerts in WorkflowExecuteRunnable and ProcessAlertManager is relatively complex. Afterwards, we can consider merging the two.

Codecov Report

Merging #14981 (13d0477) into dev (8f16fd7) will increase coverage by 0.08%.
Report is 3 commits behind head on dev.
The diff coverage is 46.68%.

:exclamation: Current head 13d0477 differs from pull request most recent head 32593b9. Consider uploading reports for the commit 32593b9 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14981      +/-   ##
============================================
+ Coverage     38.95%   39.03%   +0.08%
- Complexity     4599     4628      +29
============================================
  Files          1231     1245      +14
  Lines         43354    43762     +408
  Branches       4795     4811      +16
============================================
+ Hits          16887    17083     +196
- Misses        24594    24786     +192
- Partials       1873     1893      +20

Files
Coverage Δ

...phinscheduler/alert/plugin/AlertPluginManager.java
3.33% <ø> (+0.89%)
:arrow_up:

...scheduler/api/controller/AlertGroupController.java
80.00% <100.00%> (+1.42%)
:arrow_up:

.../api/controller/AlertPluginInstanceController.java
100.00% <100.00%> (ø)

.../org/apache/dolphinscheduler/api/enums/Status.java
100.00% <100.00%> (ø)

...scheduler/common/sql/ClasspathSqlScriptParser.java
75.40% <100.00%> (-0.87%)
:arrow_down:

.../master/runner/WorkflowExecuteRunnableFactory.java
0.00% <ø> (ø)

...org/apache/dolphinscheduler/alert/AlertServer.java
0.00% <0.00%> (ø)

...che/dolphinscheduler/common/enums/WarningType.java
0.00% <0.00%> (ø)

...lphinscheduler/dao/entity/AlertPluginInstance.java
61.11% <0.00%> (-3.60%)
:arrow_down:

...y/event/ProcessDefinitionDeletedListenerEvent.java
0.00% <0.00%> (ø)

... and 19 more

... and 25 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

LGTM


Address comments during backport Dataflow PR/423 for Apache Beam PR/918

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @peihe
CC: @dhalperi

Basic pass, LGTM.


Combining useQuery with useTrait in one React Component

Wanted to re-open the discussion from #20
Don't need to decide on this immediately, just want to have it open for visiblity and discussion. It's gotten in the way multiple times past two weeks for me.
Context:
It's not possible to do this:
function FooDisplay() {
  const entity = useQueryFirst(Foo); // <- entity doesn't exist on first mount
  const fooSnapshot = useTrait(entity, Foo); // <- errors because entity can't be undefined

  return
{fooSnapshot?.value}

}

Instead you're currently supposed to the following to make sure the entity exists first:

function FooGetter() {
  const entity = useQueryFirst(Foo); // <- entity doesn't exist on first mount
  return entity && <FooDisplay /> // <- only mount display once entity exists
}

function FooDisplay({entity}) {
  const fooSnapshot = useTrait(entity, Foo);
  return
{fooSnapshot.value}

}

Why it's not ideal
Mounting components conditionally is not the ideal way to "toggle" in a lot of scenarios. Either because expensive effects are executed on mount, or simply because we'd rather control visibility directly, instead of triggering React tree-updates, i.e. in r3f setting <mesh visible={showElement} instead of un-mounting/mounting the mesh.
Keeping previous functionality
I understand the reasoning of being able to differentiate between did the entity not exist or does the entity exist, but doesn't have the trait. I don't think it's a usecase that comes up enough to justify the overhead. In most cases you just want to display the data once it's there. If you do care about that distinction, you can still do:
const trait = useTrait(entity, Foo);
const entityExistButHasNoTrait = useMemo(() => entity && !trait, [entity, trait]);

I think it's more important that the tools we provide work well together out of the box and can be combined. Getting an entity from the world (i.e. not passed as prop) and reacting to one of its traits is a common thing and should not require you to split up into two different components every time. Additionally there is the potential runtime cost associated with triggering a mount. Imo practicality should go over "sematic correctness" in this case.
As mentioned above, open to discussion, don't need to decide immediately.

Resolved by https://github.com/pmndrs/koota/pull/28


document how to run the kfctl executable on MacOS Catalina

via Boris L in kf-discuss:
"the kfctl executable is not signed, as a result, by default, Mac with OS Catalina and above will not run it. Look here https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac for a solution. Either kfctl should be signed, or this link should be added to documentation."

/cc @sarahmaddox

some screenshots that might be useful (depending upon how detailed we want to get)
The  first is what they'll see if they try to run kfctl from the command line.

If they go to the file in the Finder and right-click, then select 'open', they'll see this, and can click on 'open'.  From then on they can invoke from the command line okay.

/assign


Multiple membership in camps and art

Users shouldn't be able to participate in more than one camp and one art project
(from @pandamichal)

Question:
This is not the case in the real world, people participate in multiple art projects.
Also there is no technical reason why they can't be part of more than one camp.

Also, if https://github.com/Midburn/spark/issues/748 is implemented, might get users stuck.

Actually, maybe for art it's ok to have multiple memberships...at theme camp, we can't approve because they getting the tickets number according to Spark listing. Art (this year) did it through the Dreams listing.
I'll consult with Eithan about it.

@achieven what is the current behavior?
If users can participate in more than one camp that's a bug.

@amotenko I don't know the business logic. As far as iv'e read this thread,  @pandamichal should consult and give us back an answer.

OK I tried it now on staging.
Camps are good (Multiple membership not allowed - that's desired)
Art is not good (Multiple membership not allowed - that's not desired)


Svärd och Svartkonst: background image update

Updated the Character Sheet background image for a better digital experience (no need to have lines to write on)
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[x] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Suggest DPGs for Google's Startups

[x] Amreen to review the list
[x] Amreen to create a short list of relevant DPGs
[x] Amreen to send to Google folks

Initial list here: https://docs.google.com/spreadsheets/d/1I90yHT0p9F5_5YYZV2jP2xLrd4yzIRQYrd7QcasgeM4/edit#gid=0


Add a faq chapter in Running-Alluxio-On-Docker.md

fix #12207
Add a FAQ chapter to the document.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/11428/
Test PASSed.

Thanks for improving the documentation!

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.4 please


Initial Setup

arch-tool version: 0
Python version: 3.8+
Operating System: any

Description
Initial setup
What I Did
Start of project.

Initial project layout created with cookiecutter & cookiecutter-pypackage


CLI should support Terraform

Reliably CLI should be able to provide suggestions for other tools

So for the command structure, as we now have support for tf and plan files. It may be worth having the base command reliably scan terraform default to tf files and use a flag variable for plan scanning.
$ reliably scan terraform . # scans local dir for tf files
$ reliably scan terraform ./path/to/dir # scans dir for tf files
$ reliably scan terraform some.tf
$ reliably scan terraform --plan some_plan.json

I'm thinking more people may want to focus on tf files than the overall plan scan.
@mick-roper, what do you think?


APP-5239 : add namespace

@mfebrianto If possible to merge this PR, I can provide a description to it:
The use this package with the latest Flutter versions, which relies on the latest Gradle versions, which migrated the namespace from AndroidManifest to build.gradle or else it won't run.
I can't build my app anymore after updating Flutter and Gradle since I depend on this package.


unexpected token import express 'from express'l

I believe this may be part of the babel thing. do we need to add a babel file to the project? do we need to add any other type of configuration?

Fixed with babel


Routing

How can I tell the controller to look in the Features folder and not to view/page folders when showing a certain page? Which part of the code?
Thank you very much

Right here:
https://github.com/jbogard/ContosoUniversityCore/blob/master/src/ContosoUniversityCore/Startup.cs#L39
And you'll find the appropriate package in the .csproj


Write-Progress since 7.2.0 sets CursorVisible to $true

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Run the script:
[Console]::CursorVisible = $false
Write-Host "Before wp - " -NoNewLine
[Console]::CursorVisible
0..10 | % {
    Write-Progress -Activity test -Status test -PercentComplete $_
    Start-Sleep -s 0.1
}
Write-Host "After wp - " -NoNewLine
[Console]::CursorVisible

Expected behavior
Write-Progress shouldn't affect the state of CursorVisible
Actual behavior
PS > .\script.ps1
Before wp - False
After wp - True

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

@SteveL-MSFT can you please take a look to see if this behavior is intentional?

I see where the cursor visibility is being changed, I'll submit a PR, should be a simple fix.


Cooperate with ShellCheck extension

Hi. I really appreciate this extension and how much easier it makes Bats test writing. Thank you so much for creating and maintaining it!
I use another VSC extension, timonwong.shellcheck, to lint my Bash code with ShellCheck. Both ShellCheck and that extension support linting Bats files.
However, the ShellCheck extension only lints files that have the "ShellScript" language identifier. And your wonderful extension creates a new configured language identifier, "Bats (Bash Automated Testing System)". So timonwong.shellcheck won't run on Bats files while your extension is enabled.
When I want to lint my Bats files, I disable your extension, manually set the individual file as a ShellScript, then fix issues. I have 45 Bats files in this project so far, and it's barely an eighth completed.
I opened an issue for this with them, thinking a fix was on their side. But they pointed out that they have an API for other extensions to interface with. https://github.com/vscode-shellcheck/vscode-shellcheck/blob/master/doc%2FAPI.md
It seems like the way for Bats language support to be enabled and linted by ShellCheck is if you could please hook into their API. I'd help if I could, but I tend to write bash scripts, not javascript extensions so I'm not sure how much help I could be beyond beta testing.
Thanks!

Hi,
Thank you for your great feedback and proposed enhancement !
What you said make sens. With all the detail you already gave to me, I gonna look at it for sure.
Please note that maintenance and contribution are made on my personal time off, so do not expect to high reactivity.

Please note that maintenance and contribution are made on my personal time off, so do not expect to high reactivity.

I understand. I appreciate your willingness to consider this enhancement.
Again, please let me know if I can assist in any way. Thanks!


Convert shells to commands.

I've ported things mostly as they were, from a functionality perspective there's mainly minor differences here and there. More significant changes are:

a somewhat different entry point
dropping the duplicated plugin asset removal/linking functionality
removing the test for the install command in production mode (the supposed difference when installing assets didn't exist (anymore))

Are failure tests something that should be included? Hard to implement them in integration tests, so it would most likely have to be done by testing the command classes directly, and require some refactoring in order to be able to mock certain parts to simulate failures.

Are failure tests something that should be included?

Up to you if you think the additional effort is worth it. I personally have never used this shell (which is kinda why I neglected to upgrade it).

Are failure tests something that should be included?

Up to you if you think the additional effort is worth it. I personally have never used this shell (which is kind of why I neglected to upgrade it).

Well, I haven't used it either :)
I'll test it with one of the command tests and see if it's too much hassle.

Ok, I've refactored the commands and added tests for failure conditions. When I was halfway through I thought it might not really be worth the hassle, but I was already half way through, so... here it is :)
I think I should also add support for verbosity, all this NPM noise that's being shown by default seems a tad much.

Hmm, Travis is missing from the checks (but it ran (and failed)), haven't seen that before.

Tests are fixed now, but Travis is still missing.
https://travis-ci.org/github/FriendsOfCake/bootstrap-ui

@ndm2 There ya go :slightly_smiling_face:.

Good good... I've seen that quite a few people had this problem, seemingly after the new design/layout has been introduced.

@ndm2 Is this good to merge?

I'd think so.


Deprecated?

Hey
Getting the following when i install the helm package?
NAME:   bk-agent
LAST DEPLOYED: Sat May 11 19:31:49 2019
NAMESPACE: buildkite
STATUS: DEPLOYED

RESOURCES:
==> v1/Secret
NAME                TYPE    DATA  AGE
bk-agent-buildkite  Opaque  2     0s

==> v1/ServiceAccount
NAME                SECRETS  AGE
bk-agent-buildkite  1        0s

==> v1beta1/Deployment
NAME                DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
bk-agent-buildkite  4        0        0           0          0s

NOTES:
#### THIS CHART IS DEPRECATED! ####

Is this deprecated? Should I be installing/running this in a different way?

you must using chart from https://github.com/helm/charts/tree/master/stable/buildkite which is of course depreciated in favor in the chart in https://github.com/buildkite/charts/tree/master/stable/agent
You need run:
https://github.com/buildkite/charts#add-buildkite-helm-chart-repository
then install chart:
https://github.com/buildkite/charts/tree/master/stable/agent

@rimusz perfect, thank you. I somehow missed that it changed from stable/buildkite to buildkite/agent.


Save status count is not coming properly .

Below is the link of issue :-
https://drive.google.com/drive/folders/1w4K6L6I5IrdFm7JZ2o3_Z24ktknqJuvw

save count is working properly


[stable/drone] drone server and restricted pod security policies

What this PR does / why we need it:
Add settings for drone server:

server.httpPort
server.securityContext

In k8s cluster with restricted pod security policies drone server fails to start because of:

Error: container has runAsNonRoot and image will run as root and
something like "failed to bind to port 80"

Solution: Set server.httpPort to > 1024 and server.securityContext.runAsUser to > 0.
Checklist

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

/ok-to-test

/lgtm


docs: fix readme usage example

I tried to use this library today and had trouble. It seems the implementation changed, but the docs hadn't been updated.

@bobbyg603 Sorry for the long delay in merging this! Thank you for your patience—I’ll make sure to respond faster next time. Appreciate your contribution!


adding swr-provider to solid-start router root crashes the ssr

Adding the SWRProvider to the root of the ProjectFiles leads to a pnpm error
Error when evaluating SSR module /src/entry-server.tsx: failed to import "solid-swr"
Only works if vite config "ssr" rule is disabled

hey, thanks for the issue report
I am not using ssr myself, so please provide a minimal reproducible example

maybe this is also related to https://github.com/tronikelis/solid-swr/issues/64 ?

@crazydaisyew can you check with 5.0.2 ?


PR | draft | workin progress | Howto define "impl_outer_event!" for Instantiable Pallets

Came across the reported issue when working for Refactor Treasury Pallet into Smaller Components #7143,
Story in short:: bounties ( Instantiable Pallets ) has dependency on treasury ( Instantiable Pallets ), as part of bounties test code (test.rs), defined "impl_outer_event!" as below ...

with this hit with an error "the trait bound Test: pallet_treasury::Trait<DefaultInstance> is not satisfied in tests::Event", Snapshot of the error ...

Links to reproduce the issue

repo link | ( branch :: issue-7143-pallet-treasury-refactor )

Gist Link to test error log

Link to Code lib.rs| frame/bounties/src/lib.rs

Link to test.rs

Link to Macro expanded code

Plz ignore it, raised at wrong place ...


Fix #56: Implement the cos() and tan() math functions

I've also written tests in the corresponding test files, please have
a look. But on the command line (after compiling the source), do:

from math import *
print(cos(1))
[ results will be displayed here ]
print(tan(1))
[ results will be displayed here ]

@ThakeeNathees, thanks for the assistance and idea here. I've updated the tests and it works as expected. :)


cannot access MaxAdListener

Launching lib/main.dart on 2201116SG in debug mode...
Running Gradle task 'assembleDebug'...
/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:19: error: cannot access MaxAdListener
      flutterEngine.getPlugins().add(new com.applovin.applovin_max.AppLovinMAX());
                                ^
  class file for com.applovin.mediation.MaxAdListener not found
1 error

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 39s
Exception: Gradle task assembleDebug failed with exit code 1

romanmakarenko@Romans-Air moon_calendar_flutter % flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 3.1.0-0.0.pre.1268, on macOS 12.4 21F79 darwin-arm, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Community Edition (version 2019.3.5)
[✓] VS Code (version 1.63.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

I had a similar issue. You need to add a dependancy to Applovin to your build.gradle file.
Take a look at the build.gradle file in the example project. Should look something like this...
implementation 'com.applovin:applovin-sdk:+'

@roma7481
Here is what you need in your build.gradle...
implementation 'com.applovin:applovin-sdk:11.4.3'

^that could work as well. Or 1.0.3 might fix it as well.


pull request for e2e test at 11/14/2016 21:45:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add call for papers to KG

Currently, the call for papers is only available in the HTML. It should also be added to the KG and then read from the KG to put it in the website.

Suggestion: I would not store this text in a CSV file, because that hard to edit. An option would to store it in a plain txt file.

How should we access to the cfp if it is in a plain text file? Are rmlmapper able to get that data?

I created a function for that described with FnO. Not yet available in the latest release tho, but I can give you a local build :)

Example of the mapping would be enough

Here you go:
- p: ex:cfp
  o:
    - function: idlab-fn:readFile
      parameters:
        - [idlab-fn:path, "cfp.txt"]


Release Camunda Platform Helm Chart v8.2.25

Before opening the PR:

[x] Run make release.chores
[x] Create a PR with the printed URL
[x] Trigger Renovate to ensure that all deps are updated (to avoid any delayed sync from Renovate service).

After opening the PR:

[x] Take a final look at the release commits (version bump and release notes)
[x] Make sure that all checks in the PR passed
[x] If everything in place, add release label to the PR
[ ] Follow up the release workflow and make sure it succeeded (double-check the releases page)

If the release is a minor version bump (e.g. from 8.2.x to 8.3.0):

[ ] Make sure the regression test matrix is updated: located at .github/workflows/test-regression.yaml

[ERROR] Not all Camunda Platform components are updated!
Current versions from Camunda Helm repo:
- camunda-platform-9.2.0
- elasticsearch-19.19.3
- identity-9.2.0
- keycloak-17.3.6
- postgresql-13.2.24

I'm ignoring this because it's not relevant. obviously identity isn't going to be updated to 9.2.0,   and elasticsearch is not going to jump 2 major versions.


I love this game ❤

Hi to all, this is not really an issue, but I really wanted to tell you guys how much I loved playing this.
Thank you very much 🙏 ❤

😀  thank you so much!


xen: drop 4.16

Description of changes
While Xen 4.16 has not yet reached EOL, it isn't convenient for us to keep shipping it, as it'll reach EOL a couple of days after NixOS 24.11 releases.
Things done

Built on platform(s)

Invalid: package is being removed.

24.11 Release Notes

[x] Removed spurious release note from #324911.

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

LGTM in principle. I worry about incorrectly claiming that 4.16 has left upstream security support prematurely, though. I personally think that dropping 4.16 without message would be acceptable in this case, as it has only been in the tree for a month, and has not really been in a state where users can directly use it without getting deep into the weeds in that time; I would strongly suspect that anyone putting in the work to use such an experimental feature would not choose to start by using a version that was a few months from deprecation, and would be savvy enough to find out why this happened even if they did.
Does Xen have a regular release/deprecation schedule that means they’ll always be deprecating a version shortly after our November releases? If so, perhaps we could instead reword the message to say that it’s either unsupported or will very soon be, or something, so that we can mark the versions about to be insecure before release as common practice.

I personally think that dropping 4.16 without message would be acceptable in this case, as it has only been in the tree for a month, and has not really been in a state where users can directly use it without getting deep into the weeds in that time; I would strongly suspect that anyone putting in the work to use such an experimental feature would not choose to start by using a version that was a few months from deprecation, and would be savvy enough to find out why this happened even if they did.
That does indeed make a lot of sense. Altered the PR to just drop 4.16.

Does Xen have a regular release/deprecation schedule that means they’ll always be deprecating a version shortly after our November releases?
Xen's schedule is anything but regular, unfortunately.


Custom Twig Lexer and Load Custom Twig extension

Is there any  way to Custom Twig Lexer and Load Custom Twig extension with timber?

I just found the way #1161

Glad to hear @karboom! Thanks also for posting the issue reference for future Googlers