ValueError: Unknown keywords in config file: By "keep_prob" did you mean "output_prob"?

I created my own configuration file with NETWORK parameter 'keep_prob', but I got this error:
ValueError: Unknown keywords in config file: By "keep_prob" did you mean "output_prob"?
"keep_prob" is not a valid option.
Then I check  this link: http://niftynet.readthedocs.io/en/dev/config_spec.html, and I found the parameter 'keep_prob', can anyone solve this? Thank you!!
(By the way, I also check the source code in: http://niftynet.readthedocs.io/en/dev/_modules/niftynet/utilities/user_parameters_default.html#add_application_args, 'keep_prob' is in there.)

Hi there,
I think that the most likely explanation is that you don't have the latest version of niftynet: this feature was added recently. Try pulling the latest version and seeing if this problem persists?

Hi, I install the latest version of niftynet via pip, but I still got the same error. My server's OS is Ubuntu 17.10 (GNU/Linux 4.13.0-43-generic x86_64), and I build the environment via conda. Here are the error messages:
CRITICAL:tensorflow:Optional Python module cv2 not found, please install cv2 and retry if the application fails.
WARNING:niftynet: From ~/anaconda3/envs/test/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Use the retry module or similar alternatives.
NiftyNet version 0.3.0
INFO:niftynet: Import [BRATSApp] from ~/niftynet/extensions/VIPCUP/wtnet/brats_seg_app.py.
Traceback (most recent call last):
  File "~/anaconda3/envs/test/bin/net_run", line 11, in <module>
    sys.exit(main())
  File "~/anaconda3/envs/test/lib/python3.6/site-packages/niftynet/__init__.py", line 64, in main
    system_param, input_data_param = user_parameters_parser.run()
  File "~/anaconda3/envs/test/lib/python3.6/site-packages/niftynet/utilities/user_parameters_parser.py", line 151, in run
    _check_config_file_keywords(config)
  File "~/anaconda3/envs/test/lib/python3.6/site-packages/niftynet/utilities/user_parameters_parser.py", line 276, in _check_config_file_keywords
    _raises_bad_keys(config_keywords, error_info='config file')
  File "~/anaconda3/envs/test/lib/python3.6/site-packages/niftynet/utilities/user_parameters_parser.py", line 311, in _raises_bad_keys
    key, closest, EPILOG_STRING, error_info))
ValueError: Unknown keywords in config file: By "keep_prob" did you mean "output_prob"?
 "keep_prob" is not a valid option.

======
For more information please visit:
http://niftynet.readthedocs.io/en/dev/config_spec.html
======

@wyli When I try that command in a new conda environment I get errors asking for packaging, nibabel, etc. See #145

Thanks @peter850706 for tracking this down!

@wyli @Zach-ER @fepegar Thanks all of you for the replies!


🐛 [firebase_auth] IncompatibleClassChangeError

Bug report
Describe the bug
As soon as the verifyPhoneNumber triggers a reCaptcha test (sometimes not required),
the app crashes instantly with the below stack-trace:
FATAL EXCEPTION: GoogleApiHandler
E/AndroidRuntime(10822): Process: com.app.test, PID: 10822
E/AndroidRuntime(10822): java.lang.IncompatibleClassChangeError: Found class com.google.android.gms.auth.api.phone.SmsRetrieverClient, but interface was expected (declaration of 'com.google.android.gms.auth.api.phone.SmsRetrieverClient' appears in /data/app/~~O1OQSVswb36VloNHm5AcPw==/com.app.test-OlpMv3pGUGBlcQXTIRaXfg==/base.apk)
E/AndroidRuntime(10822): 	at com.google.android.gms.internal.firebase-auth-api.zzvu.zzb(com.google.firebase:firebase-auth@@21.0.0:15)
E/AndroidRuntime(10822): 	at com.google.android.gms.internal.firebase-auth-api.zztw.zzu(com.google.firebase:firebase-auth@@21.0.0:13)
E/AndroidRuntime(10822): 	at com.google.android.gms.internal.firebase-auth-api.zzto.zzd(com.google.firebase:firebase-auth@@21.0.0:3)
E/AndroidRuntime(10822): 	at com.google.android.gms.internal.firebase-auth-api.zztn.accept(Unknown Source:6)
E/AndroidRuntime(10822): 	at com.google.android.gms.common.api.internal.zacj.doExecute(com.google.android.gms:play-services-base@@17.1.0:2)
E/AndroidRuntime(10822): 	at com.google.android.gms.common.api.internal.zaf.zac(com.google.android.gms:play-services-base@@17.1.0:6)
E/AndroidRuntime(10822): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zac(com.google.android.gms:play-services-base@@17.1.0:167)
E/AndroidRuntime(10822): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zab(com.google.android.gms:play-services-base@@17.1.0:139)
E/AndroidRuntime(10822): 	at com.google.android.gms.common.api.internal.GoogleApiManager$zaa.zaa(com.google.android.gms:play-services-base@@17.1.0:105)
E/AndroidRuntime(10822): 	at com.google.android.gms.common.api.internal.GoogleApiManager.handleMessage(com.google.android.gms:play-services-base@@17.1.0:145)
E/AndroidRuntime(10822): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(10822): 	at com.google.android.gms.internal.base.zar.dispatchMessage(com.google.android.gms:play-services-base@@17.1.0:8)
E/AndroidRuntime(10822): 	at android.os.Looper.loop(Looper.java:223)
E/AndroidRuntime(10822): 	at android.os.HandlerThread.run(HandlerThread.java:67)

Steps to reproduce
Steps to reproduce the behavior:

Input Phone Number & fire verifyPhoneNumber

Expected behavior
Should not crash
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.0.6, on macOS 11.3.1 20E241 darwin-x64, locale en-IN)
    • Flutter version 2.0.6 at /Users/itznotabug/FlutterCore/flutter
    • Framework revision 1d9032c7e1 (2 weeks ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/itznotabug/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 90.0.4430.212

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.12.3
Flutter SDK 2.0.6
app 1.0.0+1

dependencies:
- cached_network_image 3.0.0 [flutter flutter_cache_manager octo_image]
- cloud_firestore 2.1.0 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- country_code_picker 2.0.1 [flutter modal_bottom_sheet collection universal_platform]
- crypto 3.0.1 [collection typed_data]
- cupertino_icons 1.0.3
- device_info 2.0.0 [flutter device_info_platform_interface]
- expandable_page_view 1.0.4 [flutter]
- faker 1.3.0
- firebase_auth 1.1.4 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.1.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_spinkit 5.0.0 [flutter]
- flutter_staggered_grid_view 0.4.0 [flutter]
- font_awesome_flutter 9.0.0 [flutter]
- get 4.1.4 [flutter]
- google_sign_in 5.0.3 [google_sign_in_platform_interface google_sign_in_web flutter meta]
- modal_progress_hud 0.1.3 [flutter]
- pin_code_fields 7.1.0 [flutter]
- shared_preferences 2.0.5 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 3.0.0 [flutter meta]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- archive 3.1.2 [crypto path]
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.2.0
- clock 1.1.0
- cloud_firestore_platform_interface 5.0.1 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.0.1 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.15.0
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase_auth_platform_interface 4.2.2 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.1.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.0.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.0.1 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- google_sign_in_platform_interface 2.0.1 [flutter meta quiver]
- google_sign_in_web 0.10.0 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- http 0.13.3 [async http_parser meta path pedantic]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.2 [archive meta xml]
- intl 0.17.0 [clock path]
- js 0.6.3
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- modal_bottom_sheet 2.0.0 [flutter]
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- path 1.8.0
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- petitparser 4.1.0 [meta]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- process 4.2.1 [file path platform]
- quiver 3.0.1 [matcher]
- rxdart 0.26.0
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- source_span 1.8.0 [charcode collection path term_glyph]
- sqflite 2.0.0+3 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- universal_platform 1.0.0-nullsafety
- uuid 3.0.4 [crypto]
- vector_math 2.1.0
- win32 2.0.5 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.1.0 [collection meta petitparser]

I am currently expriencing the same thing. Does anyone know how to fix this?

Haven't been able to reproduce this with the official example

@markusaksli-nc Encountered this crash on a MI A2, Samsung A70 as well as on the Android Emulator on 11.

Hi @ItzNotABug  I believe this bug has been fixed in the latest google service version.
Update your android/build.gradle with
buildscript {
repositories {
//...
google()
}
dependencies {
    //...
    classpath 'com.google.gms:google-services:4.3.8'
}

}

Thanks for the update @harrowmykel
It was indeed a bug in the phone-auth library, more info. here
This seems to be fixed in the latest firebase-bom:28.0.1 update.
Closing this issue now.

Why are you setting the native android sdk version manually? The FlutterFire plugins already set this version internally.
https://github.com/FirebaseExtended/flutterfire/blob/4b893b13664f39643fb8cd3d42c5e8d260e9fd82/packages/firebase_core/firebase_core/android/gradle.properties#L2
If at all possible you should avoid overriding this manually because it will lead to issues like this.
Also using com.google.gms:google-services:4.3.8 instead of the recommended com.google.gms:google-services:4.3.3 has also been known to cause issues before. Please try to follow the official tested and supported versions mentioned in the official documentation at https://firebase.flutter.dev/docs/installation/android.

@markusaksli-nc I'm not sure why the internally defined version did not properly update the firebase bom version.
Might have been the issue that I had not directly added  firebase_core as the dependency.
But afaik, the transitive should've added that.
Anyway, thanks for the info.


Dynamic shape width?

Hi,
I am using this library to generate a hierarchal chart in PowerPoint using rectangles and text. I am looking for a way to set the width of a shape to the width the text object within will require.
For example; a rectangle containing "Foo Bar" will scale to the width of all 7 characters, whereas "Foo" will produce a smaller rectangle with the same height.
I have looked through the API and am unable to find a call that will allow for the width to be calculated beforehand.
Any suggestions to remedy this issue would be appreciated.

Hi @kurtismash ,
There's an autoFit option but it only adjusts the height as needed.  Mimicking PowerPoint's ability to fit a shape to width based upon text is not something i've managed to do yet.  AFAIK the PPTX file produced has already has its w value determined - there's no option that performs that upon rendering - so it's not easily reverse engineered.

Thank-you for the response. I had a look at the XML from a pptx and saw that it's already determined. I've got round this by using a div and getting the width from that, but it's very approximate.


Handle RFC 2822 offsets #4035

Addresses #4035

This looks fine but needs a test. cc @TracyGJG

Closing in favor of #3938


Fix for 40072

Summary
Added link for compiler options to each page per @BillWagner's commment. However, I left Advanced Options untouched since similar instructions were already provided.
Fixes #40072

Internal previews

📄 File
🔗 Preview link

docs/csharp/language-reference/builtin-types/struct.md
docs/csharp/language-reference/builtin-types/struct

docs/csharp/language-reference/compiler-options/code-generation.md
docs/csharp/language-reference/compiler-options/code-generation

docs/csharp/language-reference/compiler-options/errors-warnings.md
docs/csharp/language-reference/compiler-options/errors-warnings

docs/csharp/language-reference/compiler-options/language.md
docs/csharp/language-reference/compiler-options/language

docs/csharp/language-reference/compiler-options/miscellaneous.md
docs/csharp/language-reference/compiler-options/miscellaneous

docs/csharp/language-reference/compiler-options/output.md
docs/csharp/language-reference/compiler-options/output

docs/csharp/language-reference/compiler-options/resources.md
docs/csharp/language-reference/compiler-options/resources

docs/csharp/language-reference/compiler-options/security.md
docs/csharp/language-reference/compiler-options/security

thanks @BillWagner and i hope the vacation was restful!


getLocation() not working v2.2.7

Hi fellaz,
I just upgraded to v2.2.7 and the map.getMyLocation() is no more working
My code goes as follows:
Init Map:
var mapDiv = document.getElementById("routeMaps");
        map = plugin.google.maps.Map.getMap(mapDiv, {
            controls: {
                myLocationButton: true
            },
            gestures: {
                'scroll': true,
                'tilt': true,
                'rotate': true,
                'zoom': true
            }
        });
        map.one(plugin.google.maps.event.MAP_READY, onMapReady);

Get location:
function onMapReady() {
        map.animateCamera({
            target: {lat: -26.129903, lng: 28.105539},
            zoom: 10,
            tilt: 20,
            bearing: 140,
            duration: 1000
        }, function () {
            var option = {
                enableHighAccuracy: true, // use GPS as much as possible
                timeout: 3000
            };
            try {
                map.getMyLocation(option, locationSuccess, positionError);
            } catch (e) {
                plugin.google.maps.LocationService.getMyLocation(option, locationSuccess, positionError);
            }
        });

    }

the map is successfully animating in but its not calling the try catch block, Even if i place them out of that camera callback function.
But one thing for certain its prompting that the app needs to use location services, any idea what could be happening,
The getMyLocation method is neither calling the success or failure callback
The last time i was using v2.0.0 getMyLocation was working
Thanks in advance

What devices are you testing this on? Genymotion?

No i am using a real device, v2.0.0 used to work now with v2.2.7 its another case

What device?

Internal code of map.getMyLocation and plugin.google.maps.LocationService.getMyLocation are the same, and no JS error occurs. So, you just needs only one method plugin.google.maps.LocationService.getMyLocation()

Please show me the screen captures of your device for these pages:

system settings > location
system settings > about your device
The app info page of your app

For examples:

system settings > location

system settings > about your device

The app info page of your app

v2.0.0 useed to work on the same device

Umm, looks like the code should work without problem. I will check the snippet code later.

Yah i expected it to work too, and i am getting ideas of going to earlier versions if this cant be solved now

Try:
controls: {       myLocationButton: true,        myLocation: true }

@innoflash Could you try this?
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />

$ cordova plugin list
com.googlemaps.ios 2.6.0 "Google Maps SDK for iOS"
cordova-plugin-googlemaps 2.2.7 "cordova-plugin-googlemaps"

sure thing, will implement this first thing tomorrow morning, will certainly give you feedback

This really worked, thanks dude, thanks a lot


Rancher security-scan-runner-scan runs on an etcd node, would like to run on a worker node

Environment:
Rancher Cluster:
Rancher version: 2.6.5
Number of nodes: 8
Node OS version: RHEL 7.9
Downstream Cluster:
Number of Downstream clusters: 1
Node OS: RHEL 7.9
RKE/RKE2/K3S version: RKE2
Kubernetes version: v1.23.7+rke2r2
CNI: Calico Enterprise
Longhorn:
Longhorn version: N/A
CPU per node: N/A
Memory per node: N/A
Disk type: HDD/SSD/NVMe N/A
Network bandwidth between the nodes: N/A
Other:
Underlying Infrastructure: AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal : KVM
Any 3rd party software installed on the nodes: Encase / Tanium
Customer’s main time zone: EDT
Issue Description:
User have an RKE2 downstream cluster that has Rancher CIS benchmark 2.0.4 deployed to it (https://github.com/rancher/charts/tree/dev-v2.6/charts/rancher-cis-benchmark/2.0.4). When scheduling a scan they are seeing the pod that gets spawned from the security-scan-runner-scan job getting started on the etcd nodes of the cluster.
Business impact:
Due to security reasons and network policy within their cluster they need this job/pod to run on nodes that are assigned as workers in the cluster.
Troubleshooting steps:
Run a scan:
$ kubectl get pods -n cis-operator-system  -o wide
NAME                                                            READY   STATUS      RESTARTS   AGE   IP             NODE              NOMINATED NODE   READINESS GATES
cis-operator-674585f475-dthhw                                   1/1     Running     0          15h   <IP_ADDRESS>   vks-az2-worker2   <none>           <none>
patch-sa-z5f2t                                                  0/1     Completed   0          15h   <IP_ADDRESS>   vks-az1-worker2   <none>           <none>
*security-scan-runner-scan-h5q9m-br8sg                           1/1     Running     0          73s   <IP_ADDRESS>    vks-az3-etcd0     <none>           <none>*
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-2d2nf   2/2     Running     0          71s   <IP_ADDRESS>   vks-az1-worker3   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-98992   2/2     Running     0          70s   <IP_ADDRESS>   vks-az2-etcd0     <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-b4v8l   2/2     Running     0          70s   <IP_ADDRESS>    vks-az3-worker1   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-bf2ws   2/2     Running     0          70s   <IP_ADDRESS>   vks-az1-etcd0     <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-dwh6c   2/2     Running     0          70s   <IP_ADDRESS>   vks-az3-etcd0     <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-f8d5j   2/2     Running     0          71s   <IP_ADDRESS>    vks-az1-worker1   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-gqqp6   2/2     Running     0          70s   <IP_ADDRESS>   vks-az1-worker2   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-j6x5w   2/2     Running     0          70s   <IP_ADDRESS>   vks-az2-worker3   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-k2xj6   2/2     Running     0          70s   <IP_ADDRESS>   vks-az2-worker2   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-mhnks   2/2     Running     0          68s   <IP_ADDRESS>   vks-az2-worker0   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-mphn9   2/2     Running     0          70s   <IP_ADDRESS>    vks-az2-worker1   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-tmzfk   2/2     Running     0          70s   <IP_ADDRESS>   vks-az1-worker0   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-tp2nk   2/2     Running     0          70s   <IP_ADDRESS>    vks-az3-worker0   <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-wcxx2   2/2     Running     0          70s   <IP_ADDRESS>    vks-az1-cp0       <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-wttpf   2/2     Running     0          71s   <IP_ADDRESS>    vks-az2-cp0       <none>           <none>
sonobuoy-rancher-kube-bench-daemon-set-92b9912a8f0741f3-xt7m4   2/2     Running     0          70s   <IP_ADDRESS>    vks-az3-cp0       <none>           <none>

Layout of the cluster it is running in:
$ kubectl get nodes -o wide
NAME                        STATUS   ROLES                  AGE   VERSION          INTERNAL-IP    EXTERNAL-IP   OS-IMAGE                                      KERNEL-VERSION                CONTAINER-RUNTIME
vks-az1-cp0                 Ready    control-plane,master   16h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az1-etcd0               Ready    etcd                   16h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az1-external-gateway0   Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az1-worker0             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az1-worker1             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az1-worker2             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az1-worker3             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-cp0                 Ready    control-plane,master   16h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-etcd0               Ready    etcd                   16h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-external-gateway0   Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-worker0             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-worker1             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-worker2             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az2-worker3             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az3-cp0                 Ready    control-plane,master   16h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az3-etcd0               Ready    etcd                   16h   v1.23.7+rke2r2   <IP_ADDRESS>   <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az3-worker0             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1
vks-az3-worker1             Ready    worker                 15h   v1.23.7+rke2r2   <IP_ADDRESS>    <none>        Red Hat Enterprise Linux Server 7.9 (Maipo)   3.10.0-1160.71.1.el7.x86_64   containerd://1.5.13-k3s1

Repro steps:
Run a CIS scan:
$ kubectl get jobs -n cis-operator-system -l cis.cattle.io/controller=cis-operator
NAME COMPLETIONS DURATION AGE
security-scan-runner-scan-6xb6c 0/1 57s 58s

$ kubectl get pods -n cis-operator-system -l cis.cattle.io/controller=cis-operator -o wide
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
security-scan-runner-scan-6xb6c-2gw2l 1/1 Running 0 78s <IP_ADDRESS> vks-az2-etcd0 <none> <none>

Looking at the toleration on the job/pod for the security-scan-runner it allow it to run on any of the control plane/etcd nodes of the cluster:
$ kubectl get jobs -n cis-operator-system -l cis.cattle.io/controller=cis-operator -o yaml
tolerations:
- operator: Exists

Their control plane/etcd nodes have the standard taints for the respective components:
$ kubectl get nodes vks-az1-etcd0 -o json | jq -r .spec.taints
[
{
"effect": "NoExecute",
"key": "node-role.kubernetes.io/etcd"
}
]
$ kubectl get nodes vks-az1-cp0 -o json | jq -r .spec.taints
[
{
"effect": "NoSchedule",
"key": "node-role.kubernetes.io/control-plane"
}
]

Looking at the golang code for the cis-operator I believe that toleration is coming from this portion of the code https://github.com/rancher/cis-operator/blob/master/pkg/securityscan/job/job.go#L91:L93 . Due to security reasons and network policy within their cluster they need this job/pod to run on nodes that are assigned as workers in the cluster.
Workaround:
Is workararound available and implemented? NO
Actual behavior:
See above.
Expected behavior:
Configure the scan to work on a worker node.
SURE 5079

the cis operator adds a wildcard toleration to this job so that it can be scheduled on any node. i have added env variable in cis operator (PR: https://github.com/rancher/cis-operator/pull/181) for this so that user can change these tolerations using values.yaml file of the chart .

yes this is the right approach to allow configuring tolerations @vardhaman22
Can we also create the backport issue for this and add the change for 2.6.x too?

/backport v2.6.11

Validated on rancher v2.7-head(9bb8d56), provisioned a RKE2 v1.25.6+rke2r1 cluster(2-cp, 3-etcd, 3-w)
Scenario 1 :

Installed CIS benchmark chart 3.0.1-rc7 with overrideTolerations set to false

securityScanJob:
  overrideTolerations: false
  tolerations: []

Ran the permissive profile scan and validated tolerations are added on security-scan-runner-scan job:

tolerations:
        - operator: Exists

Scenario 2 :

Installed CIS benchmark chart 3.0.1-rc7 with overrideTolerations set to true with empty tolerations.

securityScanJob:
  overrideTolerations: true
  tolerations: []

Ran the permissive profile scan and validated tolerations are NOT added on security-scan-runner-scan job.
Ran the scan couple of times and validated security-scan-runner-scan pod getting scheduled on worker nodes:

security-scan-runner-scan-4c8jd-bqngv   1/1   Running   0   16s   <REDACTED>  cis-test-rishabh-cis-w-d06ac77a-895jb   <none>  <none>

Scenario 3 :

Installed CIS benchmark chart 3.0.1-rc7 with overrideTolerations set to true and with tolerations:

securityScanJob:
  overrideTolerations: true
  tolerations:
        - effect: NoExecute
          key: node-role.kubernetes.io/etcd
          operator: Equal

Ran the permissive profile scan and validated above tolerations are added on security-scan-runner-scan job.


Updated Webpa project to reflect xmidt-org structure

Some repositories previously in github.com/Comcast have been moved to github.com/xmidt-org.  There are also repositories in that organization that weren't on this page, so I added them.  We don't have logos yet.

Thanks @kristinaspring for the contribution!


Formatting issue

Line to line, lyrics text is center justified, but the entire body of the lyrics text is left justified.

Fixed in beta 0.2


[BUG] Reserve workspace works only horizontally...

For both horizontal and vertical reservation request from status bars

in attached image eww reserves vertical space, but hyprland gives it horizontal :)

how is this an aquamarine issue
open an issue at hl and bisect

You just fixed it ¯_(ツ)_/¯
Thanks anyway.


[FEATURE]: Link race result to a race participant

Feature Summary
When a multiplayer race ends, the Result row is not linked to a RaceResult row.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'm working on this


absolute path from the build invocation, require('/config/stuff.json')

I've read about relative path hell https://github.com/substack/node-browserify/issues/635, and would like to make browserify work with a few absolute paths to replace the require('../../../../config/stuff.json') in require('/config/stuff.json')
Why couldn't browserify keep a reference to the path where it is initiated and use it for the '/some/path' ?

@cauburtin That's explained in the issue you linked to :) https://github.com/substack/node-browserify/issues/635#issuecomment-34383767. For what you want see http://stackoverflow.com/a/27609116. You might alternatively be able to use NODE_PATH (on which case you might need to drop the leading /).

yes, thanks I remember seeing that question too, and your answer there.
But that config folder is just containing 2 files, it's at the root of an inner app inside the global project (with all the node_modules), I wouldn't feel good to index config with node_modules, it's something that goes with that app, not an external dependency at all

@cauburtin I think it's cumbersome that local stuff and dependencies installed via the package manager aren't more distinct, but that's how the node module system works (where a leading / means it's an absolute path). Node is agnostic to how something got in node_modules. Anyway, if you want that and you only need it for Browserify bundling and not node, you can do it with pathmodify, which is a wrapper around a custom module-deps resolver function (setting that directly isn't properly exposed via Browserify right now.)


luks initrd module segfaults with yubikey

Describe the bug
At boot I get the prompt Enter two-factor passphrase: and can enter any password. After pressing enter I get a segmentation fault from BusyBox with formatting information about printf.
Steps To Reproduce

set up an luks encrypted volume with yubikey passphrase following the wiki
boot into the configuration
enter any characters and press enter

Expected behavior
The luks volume is opened and boot continues.
Screenshots

Additional context
my nixos config:
Notify maintainers
@vcunat
@ctem
@oxij
Metadata
I can't boot into the system but I am running on the newest nixos-unstable release at the time.
my configuration.nix

I don't need to touch my yubikey in the process at all. Or is there some other setting I could disable and where would I find it?

I found the problem. My /boot/crypt-storage/default got wiped and pbkdf2-sha512 segfault when not enough arguments are provided.


AttributeError: 'ConfigDict' object has no attribute 'data'

Traceback (most recent call last):
File "tools/test.py", line 219, in
main()
File "tools/test.py", line 126, in main
cfg.data.test.test_mode = True
File "/home/user01/.conda/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/config.pye 507, in getattr
return getattr(self._cfg_dict, name)
File "/home/user01/.conda/envs/open-mmlab/lib/python3.7/site-packages/mmcv/utils/config.pye 48, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'data'

怎么解决的？


Publish release to pip registry

To make it easy to include this project as a library, it should be published to the pip registry.

Version v0.1.0 has been released: https://pypi.org/project/cloud-resource-matcher/


angularfire 2 UNMET PEER DEPENDENCY

I am getting that error when trying to run "npm install angularfire2 firebase --save"
please, help ...

You should report this in the AngularFire2 repo. This repo is for the AngularFire library compatible with Angular 1.

thanks for advise


GH-40328: [C++][Parquet] Allow use of FileDecryptionProperties after the CryptoFactory is destroyed

Rationale for this change
See #40328
What changes are included in this PR?
Changes FileKeyUnwrapper so it can hold a shared pointer to a KeyToolkit and remain usable after the CryptoFactory that created it is destroyed. Also changes CryptoFactory to store a shared pointer to a KeyToolkit instead of storing a KeyToolkit inline.
Are these changes tested?
Yes, I've added a new unit test for this
Are there any user-facing changes?
This changes functionality for users of the C++ API in a non-breaking way, allowing them to use the FileDecryptionProperties returned from a CryptoFactory without having to keep the CryptoFactory alive.

GitHub Issue: #40328

@github-actions crossbow submit -g cpp

@github-actions crossbow submit -g cpp


Gh updates

@sdgilley,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Locking issue

Locking in chainbase is broken. TImed locks need to use universal time instead of local time.

Fixed


No Esc button while browsing finder from pock

I am trying to edit a file in Vim and started browsing in finder from Pock menu. I don't see Esc button to save the file while in Vim. I have to close the finder browser to get the Esc back.

If anyone else is facing this problem and want the Esc button back, you can double press Ctrl and it will close the Pock Strip. Double pressing Ctrl again will restore the finder browser at the exact place where you're browsing.

The esc button was not added on folder presentation intentionally since you can use fn key or the double ctrl shortcut to reach the desired key.
I'll move this to enhancement and I'll add an option to enable esc key in folder presentation too 👍


Support Nuki Opener (Bridge HTTP API 1.9.0)

Hello the adapter in the future will support the new Nuki opener synonymous?

I'm currently working on the support of the Nuki Opener, which will definitely be supported in future releases. I do not own one at the moment, which makes it a little challenging.
In that course the adapter will also be renamed to nuki-extended.

Do you own one? Are you able to support testing?

yes I have one installed and could assist in testing

I also own a nuki opener and in case you need more testing I would also support you in testing your nuki-extended adapter

@AntiHeld889 @twitowski has one of you the Nuki Web API enabled and a valid token generated?
If so, could you please run the following command in a Linux console and post the result?
curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer <TOKEN>' 'https://api.nuki.io/opener/intercom'

Replace <TOKEN> (including both parenthesis) with your Nuki Web API token.
Thanks,
Zefau

Result:
{"code":500,"description":"The server encountered an unexpected condition which prevented it from fulfilling the request","homeRef":"/","reasonPhrase":"Internal Server Error","uri":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1"}

Same for me. I opened an issue at https://developer.nuki.io/t/endpoint-opener-intercom-throws-500/2625?u=zefau

@AntiHeld889 Could you please try and run the following command as well?
http://<bridgeIp>:8080/lockState?nukiId=<NukiOpenerId>&token=<token>

Does this open your door?
What about the tomorrow command as well?
http://<bridgeIp>:8080/lockState?nukiId=<NukiOpenerId>&deviceType=2&token=<token>

See https://developer.nuki.io/t/nuki-opener-api-error/2576/2?u=zefau

This is working for me:
Status:
http://<IP_ADDRESS>:8080/lockState?nukiId=XXXXXXXX&deviceType=2&token=yyyyyy
{"mode": 2, "state": 1, "stateName": "online", "batteryCritical": false, "success": true}
Tür öffnen
http://<IP_ADDRESS>:8080/lockAction?nukiId=XXXXXXXX&deviceType=2&action=3&token=yyyyyy
{"success": true, "batteryCritical": false}
Dauermodus aktivert
http://<IP_ADDRESS>:8080/lockAction?nukiId=XXXXXXXX&deviceType=2&action=4&token=yyyyyy
{"success": true, "batteryCritical": false}
Dauermodus deaktiviert
http://<IP_ADDRESS>:8080/lockAction?nukiId=XXXXXXXX&deviceType=2&action=5&token=yyyyyy
{"success": true, "batteryCritical": false}

Thanks so far. Could you additionally provide the payload received by calling /smartlock?
I need the information of the index OpenerAdvancedConfig of that payload in order to add those as states.

@AntiHeld889 Could you actually please send me the whole paypload (not only OpenerAdvancedConfig). This would make it easier to know which states to create.
Thanks and Cheers,
Zefau

Hi, yes I can do, but I can not do it before Monday.

Hi, here is it
[{"deviceType": 0, "nukiId": 344057445, "name": "Wohungstür"},{"deviceType": 2, "nukiId": 455019402, "name": "Haustür", "firmwareVersion": "1.0.4", "lastKnownState": {"mode": 2, "state": 1, "stateName": "online", "batteryCritical": false, "timestamp": "2019-09-15T13:36:51+00:00"}}]

Sorry, I was wrong. I meant by Nuki Web API.
You can install it via SSH in the /opt/iobroker/node_modules directory:
npm i https://github.com/Zefau/ioBroker.nuki2.git#nuki-extended

Top, mache ich gleich mal.

Sorry about the late response.
New v2.0.0 is working perfectly with the opener so far. Will do some testing later.

@AntiHeld889 @twitowski Any issues so far? Or any requests for improvements / features?

No issuses so far :) is it possible to see if RingtoOpen or Dauermodus is activatet or off?

The state state.lockState holds that information, according to the API documentation (see https://api.nuki.io/#!/Smartlock/get -> model).
If  state.lockState has the value 3 it turns to RING_TO_OPEN_ACTIVE.

v2.0.0-rc.3 has been release with some bug fixes. I appreciate if you give it a try.
If no more errors are found, v2.0.0 will be release shortly.

Feature added with nuki-extended v.2.0.0 (see https://github.com/Zefau/ioBroker.nuki2/projects)


Lots of crashes(?) in the program

The piskel program crashes when i import images or just try to close the program. It's not really much of a crash: the program goes unfocused and gives error sound when I click, though nothing is lost. With image importing this happens with PNGs as single images and spritesheets. With closing whether with the button or alt+f4. Then, pressing f4 refocuses the program and everything works. To close the program i need the task manager.
I'm using the newest version (downloaded today), though the same or similar things happened with 0.10.x.
I'm on windows 10.
The crashes don't seem to be affected by anything, like the images complexity.
Everything seems to work on the website, to i have a resort :/

Thanks for logging the issue!
Both the scenarios you describe normally trigger the display of a prompt.
At the end of the import there is usually a prompt "are you sure you want to replace your sprite" and when closing the application with unsaved changes, there is a prompt about "unsaved changes".
For instance when I finish the import of an image here is what I get on OSX with the desktop application:

Do you see any message when completing the import? I am wondering if there could be a bug with win10 and prompts.

Alright, i found roughly what's going on. The screen generates, making everything else unclickable (with the error sound). There is a region in the middle of the browser (not necessarily the screen) which does not make the sounds. If you click a bunch, you can find the rough frame of the message and also the buttons (opposite order on windows). The mouse cursor doesn't change on the buttons.
Screenshots: before crash and after with an outline of the message.

Thanks for the investigation! I'm guessing you are seeing this issue more often with v0.14.0 because the prompt at the end of the import step is a relatively recent addition.


source scripts/bootstrap.sh failed on macbook (m1 chip)

when I download the project  and execute the 'source scripts/bootstrap.sh'
the output is :
WELCOME TO...
     █
     █
 ▄   █   ▄                                █     █
 ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀

▀█▄       ▄█▀   █     █     █  █      █    █     █    █▄▄▄▄▄▄█  █
▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █
▄██▀▀█   █▀▀██▄  █     █     █   ▀▄▄▄▄▀█    ▀▄▄   ▀▄▄   ▀▄▄▄▄▀   █
▀▀    █   █    ▀▀
BOOTSTRAP! Bootstrap may take a few minutes; please be patient.
Downloading and installing packages into local source directory:
Setting up CIPD package manager...Traceback (most recent call last):
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 795, in
sys.exit(main())
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 787, in main
return EnvSetup(**vars(parse())).setup()
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 457, in setup
result = step(spin)
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/env_setup.py", line 549, in cipd
rosetta=self._rosetta,
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 357, in init
bootstrap(client, silent, rosetta=rosetta)
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 311, in bootstrap
tmp.write(client_bytes(rosetta))
File "/Users/kohleradmin/Development/Matter/connectedhomeip/third_party/pigweed/repo/pw_env_setup/py/pw_env_setup/cipd_setup/wrapper.py", line 240, in client_bytes
conn.request('GET', path)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1392, in connect
super().connect()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 936, in connect
(self.host,self.port), self.timeout, self.source_address)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
TimeoutError: [Errno 60] Operation timed out
is it a network issue?

you find any solutions ???

you find any solutions ??? @yusheng-jia

I switch to another WIFI ,and not happened again.


"Cannot create property 'prev' on boolean 'false'" error if "sourceMap" is set to "true" with<EMAIL_ADDRESS>

Module build failed: TypeError: Cannot create property 'prev' on boolean 'false'
    at Promise.resolve.then.then (../node_modules/postcss-loader/lib/index.js:125:47)

    {
      loader: 'postcss-loader',
      options: {
        sourceMap: true,
        ...
      },
    },

These lines are the culprit:
https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L93
https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L125
<EMAIL_ADDRESS>works fine
<EMAIL_ADDRESS>OSX 10.12.4
Node.js 7.10.0
<EMAIL_ADDRESS>

Thats weird 😛 , you don't need to set sourceMap: false  no source map is the default, still needs to be fixed I wonder why this happens tbh

i got the same error with the sourceMap set to 'true'  ;)

hmm.... 😛 on it

@polco oh sorry my fault, this error appears when it's set to true, not false

@le0nik @polco Please post your config (webpack.config.js)  aswell just in case :)

@michael-ciniawsky my config is huge and complex. Here's the styles loaders part:
    {
      loader: 'style-loader',
      options: {
        sourceMap: env.isDev,
      },
    }
    {
      loader: 'css-loader',
      options: {
        modules: true,
        importLoaders: 4,
        localIdentName: '[local]--[hash:base64:8]',
        minimize: {
          options: {
            safe: true,
            sourcemap: env.isDev,
          },
          // Otherwise it changes order of `z-index` which breaks our styles
          zindex: false,
        },
        sourceMap: env.isDev,
      },
    },
    {
      loader: 'resolve-url-loader',
      options: {
        sourceMap: env.isDev,
      },
    },
    {
      loader: 'postcss-loader',
      options: {
        sourceMap: env.isDev,
        plugins: getPostcssPlugins,
      },
    },
    {
      loader: 'sass-loader',
      options: {
        sourceMap: env.isDev,
      },
    },

The error happened when env.isDev was set to true.
My postcss.config.js file is empty(i pass plugins through the postcss-loader options)
module.exports = {};

webpack config:
webpackConfig.module.rules.push({
	test: /\.less$/,
	include: /src/,
	use: [
		{ loader: 'style-loader', options: { sourceMap: true } },
		{ loader: 'css-loader', options: { importLoaders: 2, root: config.get('ui-asset-url'),  sourceMap: true } },
		{ loader: 'postcss-loader', options: { sourceMap: true } },
		{ loader: 'less-loader', options: { sourceMap: true } }
	]
});

postcss.config.js
var cssnano = require('cssnano');

module.exports = {
	plugins: [
		cssnano({
			sourcemap: true,
			autoprefixer: {
				add: true,
				remove: true,
				browsers: ['last 2 versions']
			},
			safe: true,
			discardComments: {
				removeAll: true
			}
		})
	]
};

Looks like the reason it happens is in this line https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L76
loaderUtils.getOptions always returns the same object in case of options(query gets parsed and a new object is returned every time) and when you delete sourceMap for one file it's always undefined after that.

Guys I can't reproduce the issue locally, but both of you use sourcemap: true in cssnano, could you both try without that? 🙃

@le0nik I see what you mean, mom I need another check for https://github.com/postcss/postcss-loader/blob/master/lib/index.js#L79 to avoid the delete options.x

tried it, still broken :/

This error happens too for me, here is my webpack.config-part:
{
                test: /\.less$/,
                use: ExtractTextPlugin.extract({
                    fallback: 'style-loader',
                    use: [{
                        loader: 'css-loader',
                        options: {
                            minimize: true,
                            sourceMap: true
                        }
                    }, {
                        loader: 'postcss-loader',
                        options: {
                            plugins: function () {
                                return [
                                    require('autoprefixer')(config.autoprefixer),
                                    require('css-mqpacker')(),
                                    require('postcss-sprites')({
                                        spritePath: 'tmp/'
                                    })
                                ]
                            }
                        }
                    }, {
                        loader: 'less-loader',
                        options: {
                            sourceMap: true
                        }
                    }]
                })
            },

Error goes away, when I remove the two sourcemap-options (don't aks why they were in there and not in post-css :-)

Yep confirmed it happens after the first file is processed by the laoder, I have a fix but a few minutes please 😛

No worries and hurry from my side, it's monday morning after all :-D

yeah, it works with the previous version, so no rush :)

I was working in parallel on this and did just see this issue as I wanted to make a PR. :)

This is strange, I've set sourceMap to 'inline', but the error persists. I tried printing the value of options in /index.js#L99 and the config is getting loaded for the first file, (with map set to { inline: true, annotation: false }), but for the others is false...

Fixed in https://github.com/postcss/postcss-loader/commit/c4f006472a85d3bc36ae3f2f0e750291fd732b7b
Released in v2.0.1

I'm using 2.0.1 and still get the error
{
test: /.scss$/,
use: [
{
loader: 'style-loader'
},
{
loader: 'css-loader',
options: {
sourceMap: true
}
},
{
loader: 'postcss-loader',
options: {
plugins: [autoprefixer]
}
},
{
loader: 'sass-loader',
options: {
sourceMap: true,
precision: 8
}
}
]
}

Issue also persists for me with version 2.0.1. Is it worth reopening this issue?

I would say so

The check between options.inWebpackConfig ? useConfig() : loadConfig() is flanky I'm working on a solution (again 😛 ), but it is a nasty bug happening 'setup related'.

Please try the fix branch and provide feedback 😛 npm i -D postcss/postcss-loader#fix

[Hopefully 😛] fixed by https://github.com/postcss/postcss-loader/commit/e764761
Released in v2.0.2
Reopen if still regressions

Said. Still got this error with v2.0.2:
Here is my loader configure:
 {
        test: /\.less$/,
        use: [
          {
            loader: 'style-loader'
          },
          {
            loader: 'css-loader',
            options: {
              sourceMap: true
            }
          },
          {
            loader: 'postcss-loader'
          },
          {
            loader: 'less-loader',
            options: {
              sourceMap: true,
              modifyVars: theme
            }
          }
        ]
      }

ERROR in ./~/css-loader?{"sourceMap":true}!./~/postcss-loader/lib!./~/less-loader/dist?{"sourceMap":true,"modifyVars":{"primary-color":"#00a5ff","link-color":"#00a5ff","font-size-base":"14px","@animation-duration-slow":".2s","@animation-duration-base":".1s","@animation-duration-fast":".05s"}}!./~/antd-mobile/lib/style/index.less
Module build failed: TypeError: Cannot create property 'prev' on boolean 'false'
    at Promise.resolve.then.then (D:\Corp\Project\node_modules\postcss-loader\lib\index.js:131:47)
 @ ./~/antd-mobile/lib/style/index.less 4:14-160 18:2-22:4 19:20-166
 @ ./~/antd-mobile/lib/style/index.web.js
 @ ./~/antd-mobile/lib/button/style/index.web.js
 @ ./src/modules/home/index.jsx

@Meeeeow Please try with { sourceMap: true } in postcss-loader aswell, postcss.config.js still works with sourceMap option, otherwise the source map is discarded by postcss-loader anyways (without throwing an Error, i will check that again 😛 )

@michael-ciniawsky Thanks, it works.

FYI I think this error occurs if the loader is set to pass sourceMaps:
use: [
            {
              loader: 'css-loader',
              options: {
                modules: true,
                minimize: true,
                importLoaders: 1,
                localIdentName: '[local]--[hash:base64:5]',
                sourceMap
              }
            },
            {
              loader: 'postcss-loader',
              options: {
                sourceMap
              }
            },
            {
              loader: 'sass-loader',
              options: {
                sourceMap
              }
            }
          ]

And the postcss.config.js also includes the map property:
map: process.env.NODE_ENV === 'development' ? 'inline' : false

But map inside postcss.config.js isn't supported atm :), this is debateable, but I left it on purpose, because it doesn't fit into the way one enables sourcemaps 'normally'  with webpack (consistency).
Please use { sourceMap: true } in webpack.config.js

@gregorskii removing of
map: true

fixed my issue, thanks


Feature/issue 699 cout cerr

Summary:
Removes references of std::cout and std::cerr from all of Stan source. In places where std::cout was used, I added extra arguments taking a pointer to an std::ostream.
src/stan/command/print.hpp and src/stan/command/command.hpp were moved to CmdStan and there's a corresponding pull request there for this issue.
Intended Effect:
Removes std::cout and std::cerr from our code base.
How to Verify:
grep for std::cout and std::cerr. All tests pass.
Side Effects:
Lots of extra arguments, but this should not affect any behavior. This is going to be a little painful for rstan and pystan, but I've gotten cmdstan working, so I'll help out.
Documentation:
I didn't add additional API doc, but if you think I need it before it goes in, let me know.
Reviewer Suggestions:
@bob-carpenter

Is there a reason for this branch in light of https://github.com/stan-dev/stan/tree/feature/issue-1361-writer_callback?
All of this effort (especially with the interfaces) will be duplicated, and the inevitable merge conflict will be a giant
mess.
On Jun 18, 2015, at 5:02 AM, Daniel Lee<EMAIL_ADDRESS>wrote:

Summary:
Removes references of std::cout and std::cerr from all of Stan source. In places where std::cout was used, I added extra arguments taking a pointer to an std::ostream.
src/stan/command/print.hpp and src/stan/command/command.hpp were moved to CmdStan and there's a corresponding pull request there for this issue.
Intended Effect:
Removes std::cout and std::cerr from our code base.
How to Verify:
grep for std::cout and std::cerr. All tests pass.
Side Effects:
Lots of extra arguments, but this should not affect any behavior. This is going to be a little painful for rstan and pystan, but I've gotten cmdstan working, so I'll help out.
Documentation:
I didn't add additional API doc, but if you think I need it before it goes in, let me know.
Reviewer Suggestions:
@bob-carpenter
You can view, comment on, or merge this pull request online at:
https://github.com/stan-dev/stan/pull/1502
Commit Summary
699: moving print.hpp to cmdstan
699: removing unused dump_writer
699: removing unused print() function that had explicit std::cout
699: removing unused constructor that uses std::cin
699: stan_csv -- adding argument for std::ostream
699: removed all std::cout and std::cerr except for src/stan/services/command.hpp
699: removed command.hpp (finally) and updated tests
699: removing the rest of std::cout and std::cerr
Merge branch 'develop' into feature/issue-699-cout-cerr
File Changes
D src/stan/command/print.hpp (210)
M src/stan/command/stanc_helper.hpp (6)
M src/stan/io/dump.hpp (381)
M src/stan/io/stan_csv_reader.hpp (45)
M src/stan/lang/generator.hpp (1)
M src/stan/mcmc/chains.hpp (14)
M src/stan/mcmc/fixed_param_sampler.hpp (4)
M src/stan/mcmc/hmc/nuts/adapt_dense_e_nuts.hpp (2)
M src/stan/mcmc/hmc/nuts/adapt_diag_e_nuts.hpp (2)
M src/stan/mcmc/hmc/nuts/adapt_unit_e_nuts.hpp (2)
M src/stan/mcmc/hmc/nuts/dense_e_nuts.hpp (4)
M src/stan/mcmc/hmc/nuts/diag_e_nuts.hpp (4)
M src/stan/mcmc/hmc/nuts/unit_e_nuts.hpp (4)
M src/stan/mcmc/hmc/static/adapt_dense_e_static_hmc.hpp (4)
M src/stan/mcmc/hmc/static/adapt_diag_e_static_hmc.hpp (4)
M src/stan/mcmc/hmc/static/adapt_unit_e_static_hmc.hpp (2)
M src/stan/mcmc/hmc/static/dense_e_static_hmc.hpp (2)
M src/stan/mcmc/hmc/static/diag_e_static_hmc.hpp (2)
M src/stan/mcmc/hmc/static/unit_e_static_hmc.hpp (2)
M src/stan/model/model_header.hpp (1)
M src/stan/model/util.hpp (83)
D src/stan/services/command.hpp (764)
M src/stan/services/init/init_adapt.hpp (28)
M src/stan/services/init/init_windowed_adapt.hpp (23)
M src/stan/services/io/write_iteration.hpp (9)
M src/stan/services/optimization/do_bfgs_optimize.hpp (4)
M src/test/performance/utility.hpp (2)
M src/test/test-models/stanc.cpp (2)
M src/test/unit/io/dump_test.cpp (52)
M src/test/unit/io/mcmc_writer_test.cpp (20)
M src/test/unit/io/stan_csv_reader_test.cpp (37)
M src/test/unit/lang/generator_test.cpp (2)
M src/test/unit/lang/parser_generator_test.cpp (3)
M src/test/unit/lang/reject/reject_helper.hpp (12)
M src/test/unit/lang/utility.hpp (5)
M src/test/unit/mcmc/chains_test.cpp (117)
M src/test/unit/mcmc/hmc/hamiltonians/base_hamiltonian_test.cpp (1)
M src/test/unit/optimization/bfgs_minimizer_test.cpp (94)
M src/test/unit/optimization/bfgs_test.cpp (68)
M src/test/unit/services/init/command_init_test.cpp (12)
M src/test/unit/services/io/write_iteration_test.cpp (6)
M src/test/unit/services/mcmc/run_markov_chain_test.cpp (2)
M src/test/unit/services/mcmc/sample_test.cpp (2)
M src/test/unit/services/mcmc/warmup_test.cpp (2)
M src/test/unit/services/optimization/do_bfgs_optimize_test.cpp (17)
Patch Links:
https://github.com/stan-dev/stan/pull/1502.patch
https://github.com/stan-dev/stan/pull/1502.diff
—
Reply to this email directly or view it on GitHub.

@betanalpha, I realize this effort was partially duplicated, but this fix is a lot simpler than the one on that branch. That branch has a lot more going on and it isn't ready for a pull request, as far as I can tell.
This one is ready to go; there are only a few changes to the code base. The rest of the changes are to get the tests working.
Regarding the other branch, I'll help get that in; I'd like to split that up into multiple pull requests so it's manageable.

I understand that we’re waiting on the writer callback but I don’t get what
short-term problems this fixes.  It’s just going to add work for the interface
devs + the refactoring devs.
On Jun 18, 2015, at 3:20 PM, Daniel Lee<EMAIL_ADDRESS>wrote:

@betanalpha, I realize this effort was partially duplicated, but this fix is a lot simpler than the one on that branch. That branch has a lot more going on and it isn't ready for a pull request, as far as I can tell.
This one is ready to go; there are only a few changes to the code base. The rest of the changes are to get the tests working.
Regarding the other branch, I'll help get that in; I'd like to split that up into multiple pull requests so it's manageable.
—
Reply to this email directly or view it on GitHub.

Here is what it fixes:

long-term problem: std::cout and std::cerr have unexpected behavior through the interfaces. In the worst case, it crashes.
arbitrary problem: this is holding us up for v2.7.0 release

Well, this is a moot point until I can get the performance tests working again.

Yeah, but the same long-term problem gets fixed by the writer callback
which wouldn’t require a bunch of new code to be written in the meantime.
Was this tagged for 2.7.0 arbitrarily or does it have a real immediate effect?
On Jun 18, 2015, at 4:18 PM, Daniel Lee<EMAIL_ADDRESS>wrote:

Here is what it fixes:
long-term problem: std::cout and std::cerr have unexpected behavior through the interfaces. In the worst case, it crashes.
arbitrary problem: this is holding us up for v2.7.0 release
Well, this is a moot point until I can get the performance tests working again.
—
Reply to this email directly or view it on GitHub.

See the comments on the code.  None of them is super critical, but the highest priority is getting both 0 and &stringstream inputs to make sure neither way segfaults.

@bob-carpenter, I went through and made the code changes. I also added a lot of tests checking the behavior with both a stringstream and a null stream.

Great.  Thanks.


Get capacitance matrix from PostProcessor after Q3D simulation

Description of the feature
We are unable to get the capacitance matrix from the post processor or the "matrices" member of the Q3D object after running a Q3D simulation. Please provide a way for us to access this data in memory. Thanks!
Steps for implementing the feature
No response
Useful links and references
No response

I am tagging so I can see the response.

To be clear, I am trying to understand if there is a way to get the capacitance matrix in memory without first exporting to file and then importing it.

Hi @obrienpja yes it is.
please have a look at this example
https://aedt.docs.pyansys.com/examples/05-Q3D/Q3D_Example.html#sphx-glr-examples-05-q3d-q3d-example-py
the get_solution_data does what you need.

Hi @maxcapodi78
We were looking through that example but weren't able to sus out a means to extract the actual numerical values of the capacitance matrix.
That example is what we had been working through, but couldn't see the means to get the matrix from q.matrices[0]
Were we just being blind to an obvious variable? We know we could export to txt/csv and then read that in.

Please open the issue since our questions for information has not been resolved.


Add The yandere puppet show (piano) by Acid-notation

Song Name
The yandere puppet show (piano)
Artist Name
Acid-notation
Source
Youtube
Youtube Link
t4AoD0JU_CI
Direct File Link
No response
Song ID
722366
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 54615662
Downloaded: No

accept


Allow pubsub_numsub to accept the aioredis.Channel instances

If that's would be a nice addition to the library, I'm willing to work on it.
I can also search through other methods of Pub/Sub to ensure that all of the methods accept the aioredis.Channel instances where appropriate.

We are going to be updating this package dramatically in #891 . Let us know if this feature is still not implemented in that updated PR!

It seems there is no more aioredis.Channel. Everything is a string now, so I guess that issue should be closed


Test Grpc.Tools as part of C# distribtests

@kkm000  In this PR I'm trying to setup automated tests for the Grpc.Tools msbuild integration logic (by extending our C# distribtests which test the nuget packages we build), but it seems that I'm having a problem when Grpc.Tools is being used on Linux and Mac in a test for "classic" .csproj
For some reason, I'm getting this error:
/Volumes/BuildData/tmpfs/src/github/grpc/workspace_csharp_macos_x86/test/distrib/csharp/DistribTest.sln (default targets) ->
(Build target) ->

	/Volumes/BuildData/tmpfs/src/github/grpc/workspace_csharp_macos_x86/test/distrib/csharp/DistribTest/DistribTest.csproj: error : /Volumes/BuildData/tmpfs/src/github/grpc/workspace_csharp_macos_x86/test/distrib/csharp/DistribTest/DistribTest.csproj: Invalid type 'ystem.IO.Path' used in static method invocation

	 1 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:00.2346210

Any ideas what could be wrong? On windows, everything works as expected and so it does with a dotnet SDK csproj project (non-classic).

No, looks totally mysterious! So this is mono, right? Does this reproduce on Linux+mono, too? I can try to repro. Do you know the mono version?
There is only one place where System.IO.Path is referenced is Google.Protobuf.Tools.props:11 and 12. Probably start from there.
I would try msbuild /pp:output.xml in the test environment and grab that file. This is essentially a composed single huge XML file as seen by msbuild after all files are composed into a project. Maybe this is a real typo but somewhere else, even in another package, and they have a conditional path for mono? Then our reference would be a red herring.

But I do not see any imports outside of our own in this project.

It seems to be a mono problem. Currently the distrib tests are using xbuild for mono builds. Switching to msbuild solves the problem partially (will investigate more), but it also means that Grpc.Tools codegen integration might not work well on systems that are still using xbuild (which is otherwise still supported by Grpc C#).
https://github.com/grpc/grpc/blob/1805e2e4312806dedb63281a17af5ec6703b0e6a/test/distrib/csharp/run_distrib_test.sh#L27

Are we still supporting xbuild? Xamarin has pretty much dropped it the moment MS opensourced MSBuild. No point for them to spend effort supporting it any more. This is straight from the horse's mouth, nearly 3 years ago:
https://github.com/NuGet/Home/issues/3567#issuecomment-251298985

Anyways, that soon won't matter, since MSBuild has been open sourced and ported to Mac/Linux. We are in the process of dropping xbuild and instead shipping MSBuild.
Initially we're shipping MSBuild side by side with xbuild,. From the command-line you choose between them by running either the "xbuild" or "msbuild" command. In Xamarin Studio, you can opt in to using MSBuild in Preferences. The next phase will be for XS to use MSBuild by default, but allow opting out and using xbuild (in case of regressions). Eventually we'll drop xbuild entirely.

Looking back, I did not even try compiling with xbuild and our tooling. I kind of assumed it was obsolete already back when I started the integration project. Maybe we should just declare it dead?

adhoc C# distribtest run: https://source.cloud.google.com/results/invocations/945c769d-b881-4a6a-a629-c6cf08ffd9dd/targets/github%2Fgrpc/tests
Known failures:
https://github.com/grpc/grpc/issues/18477


Lab 5 level 5

Description:
Hi for lab 5 level 5 f method, im having trouble coming up with a recursive solution.
I understand that Log(11, "").flatMap(x -> Log.of(3 * x + 1, "3(" + x + ") + 1")) will give me Log(34, "3(11)+1") and
Log(34, "3(11)+1").flatMap(x -> Log.of(x / 2, x + " / 2")) will give me Log(17, "3(11)+1 34/2") etc but i cant think of how to implement this
any help is appreciated
Code Snippets
Attach code snippets (if any)
Screenshots
Screenshots (if any)

hello! you can try implementing the recursive call in the flatMap itself.
for example, using this: "Log(34, "3(11)+1").flatMap(x -> Log.of(x / 2, x + " / 2"))",
instead of flatMap(x -> Log.of(x / 2, x + " / 2")), you could call the recursive function in place of Log.of(x / 2, x + " / 2"), since the recursive function will return a Log type anyways. depending on your flatMap implementation, the base case should be appended to the back. hope it helps!

For recursion, it helps to think about the base case and what it would return and work your way backwards to achieve the desired results. In this case, the base condition would always return a Log object with a value of 1 and "1" as its String. Think of how this return could be used by the previous recursive call and returned upwards to achieve the expected results.

try to put your function f(x) when you call flatMap() to concatenate the string, such that you can get the recursion

resolved! thanks everyone for the help greatly appreciate it


Deployment on Heroku

Deploy the API on heroku server and setup git hook for continuous deployment

Issues Encountered

SQLite3 is not supported on Heroku, thus Heroku-Postgres was used as Production DB
Issues were coming in Production Postgres thus, Stage environment was set with Local Postgres.
Schema changes were not reflecting on Heroku platform as, DB Reset is required every time.
Pushing a subdirectory as root folder of heroku deploy instead of whole git repo. git subtree concept was also explored but finally editing the Procfile solved it.

Heroku setup done by ee65ef9b2ccec6d8e836ee3cc2de78324e16b314, bd2ebeff107b008f76ee92c3085b293f1db052ac, 794678a5244237c66ecab02c9a7861d9d2ce5504, 9bc132c3f450bbd028609eb4bd115cfc8822566f, 4f628ca76f5dd22a32f1861c36157e74d58e1f5d
Production DB as PostgreSQL done by e0fc786cdf124409137f8c52bca970f0adf6c70c, e0ebf074ff9e1373f4bce03090b692d5431d3aad
Stage ENV done by bd1b404ffeb7133cb640207ed383ab8f60b0f9b7

Issue resolved by https://github.com/jaykay12/Auth-API/pull/11


Can't call .edit() of null

When adding a new code annation with content in an uninitialized project's editor there is an uncaught exception

fixed by c83f9ecff394f071900ece06aa2100f0fbb70fe9


Problem with the BREAD system

Hello,
We have a strange problem creating BREADs. We are able to create them by associating them with the right table. Once the form it is created, we can see it with the show option, but if we try access it through resources to view the table or to add records, the program crashes and takes us to the login page of the dashboard, without any warning or undertandable error messe.
The example provided is working correctly, also we have seen that the fields listed in it, are less than the fields in the database.
What could be the problem?
Regards,

The problem seems to be happening in this line of ResourceService.php
[2020-07-22 14:11:14] local.ERROR: Undefined property: stdClass::$id {"userId":1,"exception":"[object] (ErrorException(code: 0): Undefined property: stdClass::$id at /path to public_html/laravel/app/Services/ResourceService.php:135)
[stacktrace]

I don't know what could be causing the problem.
Could you paste the table structure for which you are trying to create BREAD?
And the table structure for which you are trying to create relationships.


Decouple Cart from Orders read model

We should rely on the ClientOrders read model instead.

Just to make sure I understand correctly the scope of this issue

order lines should be removed from Orders read model

order lines should be added to the ClientOrders read model

order details view (/show/:id) should rely on ClientOrders of a specific client

That way we'll decouple what is my understanding of the cart (order lines) from order itself.

The order itself will know about the state of the order, the date and related customer

Let me know if my understanding is correct

I think that both Orders and ClientOrders should have their own order lines so that client and admin views are fully decoupled from each other.

Exactly, each with their own order lines.


In this milestone project we build project schema

In this project we :

Create a new app
Build the project schema

Create and run the necessary migration files
Named table and column names according to the project ERD diagram
Add Foreign Keys

Hi @KayLemba,
Thanks 😊


Unexpected delay forking a process

5 timesRepeat: [
    | t |
    t := Time millisecondsToRun: [
        [] forkAt: Processor userBackgroundPriority.
    ].
    Transcript show: 'fork to background took ' , t printString , ' ms'; cr.
].

The above produces times ranging from 250 to 300 ms. I am running emulated on an ARM processor in a virtual machine on macOS so am not surprised that things are a bit sluggish, but this seems surprising.

That would explain a lot! I'm working on a rebuild now...

Yes, I was running a debug build without realizing it. It seems that the change happened about the same time I got a new machine (ARM instead of x86) and blamed it on all the performance issues. Now Jade is back to its snappy performance. Thanks so much (I'm giving a demo this afternoon at ESUG).

UPDATE: I poked it several times and it now seems to have built without error...
My rebuild attempt gets an error: "Cannot open include file 'ActiveXHost.h': No such file or directory". I believe I'm up-to-date and did a clean and build of 7.1.

Yes, there is a project dependency issue. When switching between release/debug, you'll need to do a complete solution rebuild. Seems you got past it though.


Trigger prod bundle release for v0.20.10

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

/lgtm
/approve


Restrict field_member_of in islandora_defaults.

Right now its wide open and you can assign something to be a child of a basic page and other such tomfoolery.  It's not perfect, but we can define an entity reference view that restricts the autocomplete to only collections and paged content.  If we want to go further and restrict pages to paged content and everything else to collections, we'd have to break those out into their own content types to use two different settings for field_member_of.

I agree that's tomfoolery but we are in the middle of loading (into 7.x) some scrapbooks that have pages.... and foldouts on some pages, which we are modeling as children of pages.  Maybe what is filtered out or in could be a configurable option?

It's all config @mjordan.  What I'm suggesting is to update the field config to use a view instead of leaving it wide open.  You can always edit that view or configure the field to restrict by content type or not at all.
However, I'm still looking for the line between giving implementors freedom and providing a more guided experience out of the box.  It's a tricky balance.  So if this sounds totally undesirable, we can just document how to do it for those who are interested.

Using a View to constrain what shows up as allowable types, that can be tweaked for local needs, sounds optimal.


WIP: Fix webmock dependency

We use http 0.8 and that is incompatible with previous versions of webmock.

Seems like the tests are incompatible with the newer webmock, though  ¯\_(ツ)_/¯

Is there somehow a way of making this work?

@pxlpnk that's the plan, I mainly created the PR to double-check that it is not an issue with my environment.

:+1:
On 7/23/15, Boris Bügling<EMAIL_ADDRESS>wrote:

@pxlpnk that's the plan, I mainly created the PR to double-check that it is
not an issue with my environment.

Reply to this email directly or view it on GitHub:
https://github.com/contentful/contentful-importer.rb/pull/21#issuecomment-124063104

--
Andreas Tiefenthaler
Software Engineer
www.contentful.com

Seems like bumping http fixed this ¯\_:computer:_/¯

Such computers. We might want to bump the http version in the other gems too then.


General data flow design questions

@fabrice-v Looking at the last few PRs, I have a general question about the data pipeline in the current project - right now here is the workflow:

Stream read CSV to memory
Validate CSV text while text is in memory
Write protobuf representation

At a high level, Google wants (based on my understanding):

Convert GTFS CSV to persisted protobuf representation (.pb file)
Load persisted protobuf representation into memory and validate it

So the potential mismatch right now is that all of the validation baked into the CSVtoProtoConverter won't get run on any GTFS PB files.
There is a question of what pre-validation needs to happen even before the CSV->PB conversion can happen. I'd suggest figuring out where this line is and what validation needs to happen before and after PB conversion, and push as much validation to post-PB as possible.
Thoughts off the top of my head:

All PB string fields could be validated after PB conversion. This would include IDs.
Looking at the .proto I see that lats and longs are a Google .proto type. But it seems they are just doubles, and could be validated after PB conversion.
Enum values need to be validated as valid values before PB conversion. For example, if the only valid enum values in GTFS are 0 and 1, and you see a 2, you don't have a .proto enum value to map this too in the conversion (unless you create an explicit "bad data" enum value).

An open question is what happens to bad data that fails the pre-PB validation. Does this record just get omitted from the PB representation of the data? Do you create explicit "bad data" enum values to be able to still write record to the PB representation? Do you halt the validation process entirely until the error is fixed?

Closing as outdated with annotation-based architecture


docs(readme): update install instructions

fix: updated 'entry array' to 'main array of entry object' and gave example of implementation
to help clarify issue found at https://stackoverflow.com/questions/66322997/webpack-hot-middleware-setup-with-single-entry-point

This PR contains a:

[ ] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update
[x] docs update

Motivation / Use-Case

Breaking Changes

Additional Info

@charlie763 Sorry for delay, can you accept CLA?

@charlie763 Sorry for delay, can you accept CLA?

@alexander-akait no worries! I just signed a CLA.

Thank you


Assets/memory as files

Adds a way to use embedded assets (or any memory) as if they were files. Useful for porting things that expect data to be in files.
One minor issue is that:
File::add_buffer_file("some/dir/file.thing", ...);
directory_exists("some/dir");

will return false.

This coupled with palette mode should make some ports a (comparitive) breeze- really nice work, thank you!


🚧Set up dependabot

Description:
Setup dependabot for the project by creating a dependabot YAML file.
Use the YAML below:
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  - package-ecosystem: "nuget" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
      interval: "daily"
    reviewers:
      - "KinsonDigital/CASL"
    target-branch: "develop"
    labels:
      - "dependency update"

Refer to Auto Dependency Updates for more info

Acceptance Criteria

[x] Dependabot set up

ToDo Items

[X] Change type labels added to this issue.  Refer to the Change Type Labels section below.
[X] Priority label added to this issue.  Refer to the Priority Type Labels section below.
[X] Issue linked to the correct project (if applicable).
[X] Issue linked to the correct milestone (if applicable).
[x] Draft pull request created and linked to this issue (only required with code changes).

Issue Dependencies
No response
Related Work
No response
Additional Information:
Change Type Labels

Change Type
Label

Bug Fixes
🐛bug

Breaking Changes
🧨breaking changes

New Feature
✨new feature

Workflow Changes
workflow

Code Doc Changes
🗒documentation/code

Product Doc Changes
📝documentation/product

Priority Type Labels

Priority Type
Label

Low Priority
low priority

Medium Priority
medium priority

High Priority
high priority

Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Closed due to the organization deciding not to use dependabot.


Consider Jib

Might allow us to do the same things we're doing today with less code.
https://itnext.io/jib-getting-expert-docker-results-without-any-knowledge-of-docker-ef5cba294e05

Jib looks pretty awesome. I saw a talk about it on VelocityConf. They could even do debugging and hot code swap inside the docker image. Mind blown.


concat result not correct for particular dataset

MCVE Code Sample
data here: https://www.dropbox.com/sh/8eist9mmlf41mpc/AAB8yp6ERz-b4VYozL8tsj-ma?dl=0
import xarray as xr
import numpy as np

print(xr.__version__) #

ds1 = xr.open_dataset('tas_Amon_NorESM1-ME_rcp26_r1i1p1_200601-206012.nc')
ds2 = xr.open_dataset('tas_Amon_NorESM1-ME_rcp26_r1i1p1_206101-210112.nc')

print(np.allclose(ds1.lat , ds2.lat), np.allclose(ds1.lat_bnds , ds2.lat_bnds)) # True, True

ds3 = xr.concat((ds1,ds2), dim='time')

print(ds3.lat.shape == ds1.lat.shape) # False

Expected Output
0.14.1
True True
True

since ds3.lat should be identical to ds1.lat
Problem Description
I've encountered a particular NetCDF dataset which is not handled correctly by the Xarray concat operation. It's a climate dataset with 96 latitude points which has been split into two time segments. After concatenation (dim = 'time') there are suddenly 142 latitude points even though the latitude arrays are completely identical AFAIK.
As a workaround, I've tried to reindex the result (ds3) as follows
ds4 = ds3.reindex_like(ds1.drop_dims('time'))

but that yields an incomplete field after the year 2061. This can be seen by issuing:
ds4.tas.isel(time=-1).plot()

with white areas indicating missing data. There is no missing data in the source files.

Are they completely identical? I see you've used np.allclose to assert that they are identical rather than np.array_equal. You might want to try concat with compat='override'?

good point,np.array_equal(ds1.lat , ds2.lat) yields False whereas np.allclose() reported True.
How to use compat='override' in this case? I tried
ds3 = xr.concat((ds1,ds2), dim='time',compat='override',coords='minimal')

But this didn't work.

Looks like instead of using compat you can tell concat to just use the indexers (so lat, lon etc.) from the leftmost object using join='left', so it will ignore the (small) differences and return you
ds3 = xr.concat([ds1,ds2], dim='time', join='left')

<xarray.Dataset>
Dimensions:    (bnds: 2, lat: 96, lon: 144, time: 1152)
Coordinates:
    height     float64 2.0
  * lon        (lon) float64 0.0 2.5 5.0 7.5 10.0 ... 350.0 352.5 355.0 357.5
  * lat        (lat) float64 -90.0 -88.11 -86.21 -84.32 ... 86.21 88.11 90.0
  * time       (time) object 2006-01-16 12:00:00 ... 2101-12-16 12:00:00
Dimensions without coordinates: bnds
Data variables:
    time_bnds  (time, bnds) object 2006-01-01 00:00:00 ... 2102-01-01 00:00:00
    lat_bnds   (time, lat, bnds) float64 -90.0 -89.05 -89.05 ... nan nan nan
    lon_bnds   (time, lon, bnds) float64 -1.25 1.25 1.25 ... 356.2 356.2 358.8
    tas        (time, lat, lon) float32 244.75986 244.83588 ... nan nan
Attributes:
    institution:            Norwegian Climate Centre
    institute_id:           NCC
    experiment_id:          rcp26
    source:                 NorESM1-ME 2011  atmosphere: CAM-Oslo (CAM4-Oslo-...
    model_id:               NorESM1-ME
    forcing:                GHG, SA, Oz, Sl, BC, OC
    parent_experiment_id:   historical
    parent_experiment_rip:  r1i1p1
    branch_time:            56940.0
    contact:                Please send any requests or bug reports to noresm...
    initialization_method:  1
    physics_version:        1
    tracking_id:            fd266701-a253-4b74-91e1-5c0213483ba2
    product:                output
    experiment:             RCP2.6
    frequency:              mon
    creation_date:          2012-05-16T19:40:05Z
    history:                2012-05-16T19:40:05Z CMOR rewrote data to comply ...
    Conventions:            CF-1.4
    project_id:             CMIP5
    table_id:               Table Amon (01 February 2012) 81f919710c21dca8a17...
    title:                  NorESM1-ME model output prepared for CMIP5 RCP2.6
    parent_experiment:      historical
    modeling_realm:         atmos
    realization:            1
    cmor_version:           2.7.1

Is that what you're after? Best to check through the data explicitly

Thanks Nicolas. This indeed gives a dataset with the correct dimensions but there is missing data

I've also tried join='override' but this raises an IndexError.

Since lat is a dimension coordinate or "index variable" you want join="override" instead of compat="override".
A PR to make the docs clearer on this would be appreciated!

Unfortunately, join='override' raises an IndexError.

---------------------------------------------------------------------------
IndexError                                Traceback (most recent call last)
 in
----> 1 ds6 = xr.concat((ds1,ds2), dim='time',join='override')
~/anaconda3/lib/python3.6/site-packages/xarray/core/concat.py in concat(objs, dim, data_vars, coords, compat, positions, fill_value, join)
131             "objects, got %s" % type(first_obj)
132         )
--> 133     return f(objs, dim, data_vars, coords, compat, positions, fill_value, join)
134
135
~/anaconda3/lib/python3.6/site-packages/xarray/core/concat.py in _dataset_concat(datasets, dim, data_vars, coords, compat, positions, fill_value, join)
299     datasets = [ds.copy() for ds in datasets]
300     datasets = align(
--> 301         *datasets, join=join, copy=False, exclude=[dim], fill_value=fill_value
302     )
303
~/anaconda3/lib/python3.6/site-packages/xarray/core/alignment.py in align(join, copy, indexes, exclude, fill_value, *objects)
269
270     if join == "override":
--> 271         objects = _override_indexes(objects, all_indexes, exclude)
272
273     # We don't reindex over dimensions with all equal indexes for two reasons:
~/anaconda3/lib/python3.6/site-packages/xarray/core/alignment.py in _override_indexes(objects, all_indexes, exclude)
53         for dim in obj.dims:
54             if dim not in exclude:
---> 55                 new_indexes[dim] = all_indexes[dim][0]
56         objects[idx + 1] = obj._overwrite_indexes(new_indexes)
57
IndexError: list index out of range

Ah thanks, there is a bug here.
xarray is trying to overwrite indexes for the bnds dimension but there are no indexes associated with that dimension. As a work around, you can assign values for bnds: ds1["bnds"] = [0,1] and ds2["bnds"] = [0,1] and then use join="override"


Leaky splits updates

Change log

removed brain_key argument from compute_leaky_splits() as there is no functional value in saving a leaky splits index on a dataset (it doesn't directly persist anything, it just uses a similarity index)
use embeddings and similarity_index argument naming/functionality for consistency with other methods like compute_uniqueness() and compute_representativeness()
only return index for from compute_leaky_splits() for consistency with other brain methods
added thresh property to index for consistency with DuplicatesMixin.thresh
added leak_ids property to index for consistency with DuplicatesMixin.duplicate_ids
optimized the implementation of leaks_view() and no_leaks_view()
added (back) warnings when the input splits contain overlaps or the similarity index doesn't contain samples from the splits

Example usage
import fiftyone as fo
import fiftyone.brain as fob
import fiftyone.zoo as foz
import fiftyone.utils.random as four

# Load some COCO data
dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    max_samples=1000,
    persistent=True,
)

# Set up splits via tags
dataset.untag_samples(dataset.distinct("tags"))
four.random_split(dataset, {"train": 0.7, "test": 0.3})

# Compute embeddings
model = foz.load_zoo_model("mobilenet-v2-imagenet-torch")
dataset.compute_embeddings(model, embeddings_field="embeddings")

# Find leaks
index = fob.compute_leaky_splits(
    dataset,
    split_tags=["train", "test"],
    embeddings="embeddings",
)

print(index.thresh)  # 0.2
print(index.leak_ids)  # ['XXXX', ...]

leaks = index.leaks_view()
no_leaks_view = index.no_leaks_view()
leaks_for_sample = index.leaks_for_sample(index.leak_ids[0])

session = fo.launch_app(leaks)

This is definitely a lot cleaner. I’ll give it a thorough look on Monday.
what do you think about having an EmbeddingsBrainMethodMixin or something similar that handles the boilerplate around embeddings and models? It seems strange to me to duplicate that code every time.

@brimoor I haven't had a chance to thoroughly test yet. If this is necessary please let me know and I'll prioritize it now.


Guide: Adapting your CEP Webview panel to UXP

This one will be a bit more art than science. What we're looking for is perhaps:

A quick comparison of CEP webview vs UXP UI APIs
Things to look out for
How to plan out your UI migration

As far I know:

OS-dependent (difference for Win and Mac users)
No mixed content in UXP
More recent browser engine but depends on OS
Also the question is whether to compare CEP Iframe vs UXP Webview or CEP itself vs UXP Webview. Since CEP doesn't have a Webview tag.
Many limitations for usage in Marketplace

Thanks @jardicc! These are great topics to consider as part of this guide.

We should also

mention this. Whether this works or not. I don't know yet https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage I the case when devs used iframe within CEP.


[WIP] Lazily build hashtable for map

I try to port the new implementation of Lazily build hashtable to prestosql.
This PR contains
prestodb/presto#12198 New implementation of lazily build hashtable
prestodb/presto#13371 Fix MapBlock.ensureHashTableLoaded
We confirmed 6% performance improvement in the test with query including map type that need to be built.

Here is the motivation of this PR:
We discovered a performance regression related to nested column and hashtable (map type).
The regression happened after https://github.com/prestosql/presto/commit/79f480bc807954c4486b670c42015fb9c396f010 since Prestosql 300.
Some more discussion had happened on slack: https://prestosql.slack.com/archives/CP1MUNEUX/p1571181759073600
This issue becomes more significant if you have a schema where a map is inside a nested structure (eg. struct<col1 int, col2 map<varchar, varchar>>).
When user query col1, because the lack of nested pruning feature in Presto, col2 will be read and a lot of CPU time are spent on building the hashtable.
Here are some benchmark results on our production data:

We measured 100% improvement on some of our queries with this patch. The overall improvement on our workload is about 6%.

@oneonestar I rewrote most of this because the original code was a mess.  The new code is here: https://github.com/prestosql/presto/pull/2015


Style date on home page

Add .event-date to date
Move date above post description

Added styling for dates on the excerpt page.


matplotlib version fix

[Issue]
In Jupyter Notetook, importing cv2 and matplotlib failes.

For cv2: kernels dies.
For matplotlib: it says RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

[Cause]
We install the latest matplotlib when deploying this packaget to S+ Camera. It looks like matplotlib has been updated and now it's not compatible to S+ Camera platform's numpy version(0xd).
[Solution]
We fix matplotlib version to 3.3.2.

@ks6088ts Can you review the updated code?

@ks6088ts Can you review the updated code?

Approved.
Thanks for the fix :)


Decimal are localized

Hello.
I just cloned and built the repo, but when I try the code in the readme, I get a FormatException because my locale is fr-FR and Convert.ToDouble(String) wants a comma and not a dot for separating decimal.
It works if you add Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US"); at the start of Main (but dunno if that implies other things or if I need to change other variables like CurrentUICulture)
Cheers.

Hi,
There are probably a few issues surrounding i18n in the code, as I'm working in en-GB, so probably haven't noticed them. I'll try and take a look to see if I can fix them.
I think the correct fix is to specify the locale at the point of conversion. That way you can still use your own locale when building. I don't think it's right that anyone should be forced to use a particular locale to get it to work.

Hi @minirop I've added a fix that should resolve this issue without having to change the default locale. Please let me know if this fixes the issue.
There may be more i18n issues in the code. As I only use English locales, I'm not really able to give it proper testing.

That also what I found, and it works. (see you on Wren.NET now ^^)


Reduce code/Allow Indirect lambda to be passed to minimal api

I've been working on code reducing and solving a problem with passing indirect lambda to minimal api.

Hi @0-gravity, sorry, I was on vacation and did not have time to look at this. I'm not quite sure what you mean by "indirect lambda" without reading through your code first. Do you have an example?

Hi @0-gravity, sorry, I was on vacation and did not have time to look at this. I'm not quite sure what you mean by "indirect lambda" without reading through your code first. Do you have an example?

It is related to this issue: https://github.com/dotnet/fsharp/pull/15277#issuecomment-1624353445
For example, if instead of:
get "some-path" (fun (x: Guid) -> ...)
we define and use:
let getter = fun (x: Guid) -> .. ... ... get "some-path" getter
then compiler will replace parameter name 'x' by 'delegateArg0'


Fix powerpc64-unknown-linux-gnu and sparc64-unknown-linux-gnu

bors r+

bors retry

bors retry

bors retry


How is the recognition effect on Chinese?

At present, our model only supports English, so it should have almost no support for Chinese now.


screensaver only appears in the lower left corner

see title, for some reason I can only see a minimalized screensaver instead of fullscreen, see picture attached.
MacBook Pro 15" 2019
let me know if there is anything I can do to help you debug this :)

You're not the first one to report this and it's a not so cool one
I'll try to take a look into it early next year, in the meantime can you try the famous "reinstall" and see if it works? 😅
https://github.com/pedrommcarrasco/Brooklyn/issues/66

Hi Pedro,
I just reinstalled it, it worked like twice and now it's back in the lower-left corner

Sounds like I'll have some fun 😓
Going to be a hard one since I can't reproduce it but let's have hope!

again let me know if you need me to debug anything :)
enjoy your holidays!

Same here but it only occurs on my external 4K Monitor when i have the lid closed on the MBP. While it's open the Screensaver has the normal size on both screens (External and Internal).

This is happening to me also on my Macbook Pro 2018, without external displays or anything.
If it helps this is also happening with SaveHollywood screensaver.

It makes the same with other third-part screensavers idk why

I made this:
The file Brooklyn.Saver has been intalled and left on the file where I did the download, so I moved it from Desktop towards its path, which is:
/Users/USERNAME/Library/Screen Savers.
I've fixed it like this.
Cheers!

2017 Macbook Pro 15" same issue. tried downloading it (works a couple of time), tried installing with Brew with the same results.

I have tried this, and the minimization still occurs on screen, any new thoughts?

I made this:
As I downloaded the installer on Desktop, I've left it in there. Then I installed it but I saw this common issue when it began to run. So I moved it from Desktop towards its path, which is:
/Users/USERNAME/Library/Screen Savers.
I've fixed it like this.
Cheers!

I have attempted the fix suggested here with no resolve, the issue is the same of a minimized screen saver in the lower left corner. Any new thoughts or updates to this issue?


Fix scrolling in mobile browser

Hi,
There was problem in scrolling in mobile app. I have fix it with setTimeout in onStart Event.
Thanks

Hi,
There was problem in scrolling in mobile app. I have fix it with setTimeout in onStart Event.
Thanks

Hey,
Please explain what the issue was and attach a video if necessary.
Also there are so many unrelated changes in this commit.
And the pr is from your main branch.

Title: Fix Mobile Scrolling Issue
Description:
This Pull Request addresses the issue where scrolling on mobile devices was not functioning correctly. The fix includes changes to the touch event handling and CSS adjustments to ensure smooth scrolling.
Changes Made:

Adjusted touch event handling for better responsiveness.
Updated CSS for improved scrolling behavior.

Notes:
Please review the changes in the context of the provided video to confirm that the issue is resolved. This PR is based on the fix-scroll-issue branch.

https://github.com/user-attachments/assets/ca667234-e4e8-4b92-b137-8265d94bbe1c

After fixing the issue. scrolling work fine
https://github.com/user-attachments/assets/029d20f7-7d62-4ec7-bc6c-881efcd94da6

See the videos before and after that demonstrates the issue and how the fix resolves it.