Latest version of kendo (2017.1.118) breaks angular-kendo-window

Hello,
I just upgraded to latest kendo version and now I get error about myKendoWindow is undefined in the following code snippet, error is because there is no myKendowWindow on the scope for some reason
modalRenderDeferObj.promise.then(function () {
                    if(scope.options.position === undefined){
                    /*
                        Following line throws the error because
                        myKendowWindow is undefined
                    */
                      scope.myKendoWindow.center();
                    }
                    scope.myKendoWindow.open();
                    scope.$on($modalStack.NOW_CLOSING_EVENT, function (e, setIsAsync) {
                        scope.done = setIsAsync();
                        scope.myKendoWindow.close();
                    });
                    var modal = $modalStack.getTop();
                    if (modal) {
                        // Notify {@link $modalStack} that modal is rendered.
                        $modalStack.modalRendered(modal.key);
                    }
                });

Thanks
Ketul

Found the problem:
So if you have Kendo UI professional version and install using NPM package described @ http://docs.telerik.com/kendo-ui/intro/installation/npm#kendo-ui-professional then you will get jQuery version 3.1.1 which essentially breaks something inside kendo and hence we no longer get myKendowWindow on the directive scope.
If you open jQuery from Telerik's CDN under it's latest version https://kendo.cdn.telerik.com/2017.1.118/js/jquery.min.js then jQuery version is 1.12.3!! and not 3.1.1 which NPM Package forces
If you use jQuery version 1.12.3 then everything works, I will test out with jQuery 2.2.4 as thats the one what kendo used to use before and check if angular-kendo-wwindow works with that

Any further thoughts on this? I've just had this after using the latest jquery version for a while, and now needing to downgrade after seeing this issue.

Can you provide a plunkr við this. You can fork the demo on this repo home page

Any news on this? Have similar issue: jquery 1.12.3 - everything ok, window opens as expected, jquery 3.3.1 - window open fails (window dom is adding, but it is hidden).

I try to debug with chrome. Fails lines:
 modalRenderDeferObj.promise.then(function () {
                    if(scope.options.position === undefined){
                      scope.myKendoWindow.center();
                    }
                    scope.myKendoWindow.open();

scope.myKendoWindow is undefined. If I look Batarang scopes: scope with same id HAS myKendoWindow property. Maybe it doesn't at the moment, when is executing myKendoWindow.Open()?

This is not compatible with jquery 3.x. Sorry, but all contributions are welcome.
But you can use jsquery 2.x and 1.x

It's a pitty, cause kendo ui by itself is supporting jquery 3.1.1. Kendo prerequisities

As a temporary solution I added delay. I hope, on slow computers it will work also:
modalRenderDeferObj.promise.then(function () {
                    setTimeout(function() {
                        if (scope.options.position === undefined) {
                            scope.myKendoWindow.center();
                        }
                        scope.myKendoWindow.open();

                        scope.$on($modalStack.NOW_CLOSING_EVENT,
                            function(e, setIsAsync) {
                                scope.done = setIsAsync();
                                scope.myKendoWindow.close();
                            });
                        var modal = $modalStack.getTop();
                        if (modal) {
                            // Notify {@link $modalStack} that modal is rendered.
                            $modalStack.modalRendered(modal.key);
                        }
                    }, 100);
                });


feat: add extra_flags attribute to pkl_project

Should resolve #23

Can you add a test to flex this behaviour please.

If we want to avoid spaces, we can .strip() the values, but then it makes it impossible for users to have values with spaces.
repository_ctx.execute() (ref) doesn't wrap the command in a shell afaik, so no need to escapes spaces.

I’ve added tests and introduced environment and properties alongside extra_flags.
Let me know if you have any additional feedback!
cc @KushalP @sitaktif @holzensp


EROFS Error on Ubuntu

Hi, everyone.
Clear install of the VSCode with Apc Customize UI++ gives the following error:
Apc Extension failed: Error: EROFS: read-only file system, rename '/snap/code/148/usr/share/code/resources/app/out/bootstrap-amd.js' -> '/snap/code/148/usr/share/code/resources/app/out/bootstrap-amd.js.apc.extension.backup'

Fix: https://github.com/drcika/apc-extension/issues/49#issuecomment-1646332813

Fix: #49 (comment)

Hm. In my understanding 'claiming ownership of the installation directory' means going to the path /snap/code/148/usr/share/code/resources/app/out and run sudo chown -R username:groupname .. Correct me if I am being wrong here, but that's what I did and it didn't help, unfortunately. Let me know if you need some additional info to address the matter.

Redid my previous steps just with another way of installing Visual Studio Code. Instead of installing it from Ubuntu App Center,  I downloaded the .deb package from the official website, unpackaged it and then claimed ownership of the directory it has been installed in. Thanks for your time, resolved.


Resurrect all saved native crashes

Goal
Grab and send all the native caches we have on disk before attaching them to the resurrected sessions. The cleanup will be done after all the sessions are resurrected.
Testing
Added new unit test at the PayloadResurrectionService level, which tests the functionality added to NativeCrashDataSourceImpl.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1492  👈
#1491
#1490
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bidetofevil and the rest of your teammates on  Graphite

LGTM. Do we also need to avoid calling sendCachedSessions on the DeliveryService or will that come in a future PR?

Those methods are called as part of the old resurrection workflow, which looks for the old payloads.
My original intent was to put the code that calls them behind the feature flag because I don't want two things looking at the same set of native crash files. That change would be made in the PR where I wire this up to the SDK
But thinking about this now, it may make sense to keep some of the logic around once we ship v2, as it will conceivable allow us to resurrect old session payloads without adding any awareness of them in the new resurrection service. That may be one way of getting some backwards compat in the new delivery layer without added anything there explicitly. We should think about that...

Merge activity

Oct 9, 1:58 PM EDT: A user started a stack merge that includes this pull request via Graphite.


Market Fee calculations

Logic.js line 224
planet.exportMarketFees = planet.exportRevenue ( this.taxRate + this.brokerFees ) / 100
Line appears to be concatenating taxRate and brokerFees as string instead of number.
Issue reported by user "depresor" from reddit. Thanks!

Several inputs changed from type text to type number. This issue shouldn't happen again.


ingress syncer agent

agent running on workload clusters, watches ingress and annotates DNS records in the control plane with required changes.
verification:
make local-setup MCTC_WORKLOAD_CLUSTERS_COUNT=1

Update the config/manager/manager.yaml to contain the necessary environment variable and update the image policy (N.B. Do not copy/paste this, the hyphens from github are bad for the YAML parser):
    containers:
        - command:
            - /controller
            args:
            - --leader-elect
            image: controller:latest
            imagePullPolicy: Never
            env:
            - name: AWS_ACCESS_KEY_ID
            value: <AWS_ACCESS_KEY_ID>
            - name: AWS_SECRET_ACCESS_KEY
            value: <AWS_SECRET_ACCESS_KEY>
            - name: AWS_DNS_PUBLIC_ZONE_ID
            value: <AWS_DNS_PUBLIC_ZONE_ID>
            - name: ZONE_ROOT_DOMAIN
            value: <ZONE_ROOT_DOMAIN>

Load the image into kind:
export KUBECONFIG=./hack/kubeconfigs/mctc-control-plane.kubeconfig
make kind-load-controller

deploy the image:
make deploy-controller

Target the workload cluster you wish to run on:
export KUBECONFIG=./hack/kubeconfigs/mctc-workload-1.kubeconfig

Create the control plane secret
Update the samples/syncer/secret.yaml from the hack/kubeconfigs/mctc-control-plane.kubeconfig and apply it:
kubectl create -f samples/syncer/secret.yaml

Run the agent locally:
make run-agent

Create the sample application (in a second terminal also targetting the workload cluster):
export KUBECONFIG=./hack/kubeconfigs/mctc-workload-1.kubeconfig
kubectl apply -f ./samples/syncer/application.yaml

Wait for  the agent to log:
certificate secret in place for  host adding dns endpoints	{"host": "s6yxqyfx3awf53iasbk7a6.pb.hcpapps.net"}

Then after a few moments (for propagation) dig the host:
dig s6yxqyfx3awf53iasbk7a6.pb.hcpapps.net

once it is resolving, curl it:
curl -k https://s6yxqyfx3awf53iasbk7a6.pb.hcpapps.net

is this covering the first three points here: https://github.com/orgs/Kuadrant/projects/9/views/4?pane=issue&itemId=19502318 ?

is this covering the first three points here: https://github.com/orgs/Kuadrant/projects/9/views/4?pane=issue&itemId=19502318 ?

Yes.

Moved the PR: https://github.com/Kuadrant/multi-cluster-traffic-controller/pull/70


ODM Tools:  Error in Updating ODM Controlled Vocabularies

horsburgh[CodePlex] A few people have reported that they are still getting errors in updating their ODM Controlled Vocabulary tables using ODM Tools. I suspect this has something to do with special characters not being escaped correctly, but we need to test this thoroughly
and figure it out.

sreeder[CodePlex] Error is associated with the Database.


Add coverage report (codecov)

Adding external coverage support. Using codecov because I think the flags functionality sound interested. It's especially useful here, where I want to know how much coverage I have including the integration tests, but want to migrate coverage from integration tests to unit tests.

Probably need to do some path fixing since this is a pretty weird use case here.

Seems to work. The trick is that I have to pretend I'm not on Travis -- I'm not actually doing coverage for this repo, I'm doing it for dwhswenson/openpathsampling. I just happen to upload from Travis, just as I could have done from my laptop.


Ionic beta.16 reorder list throws error. Using Ionic 4 with VueJs

Bug Report
Ionic Info
Run ionic info from a terminal/cmd prompt and paste the output below.
Beta.16

Describe the Bug
Sometimes I get this error:
reorder node not found
ReorderGroup.canStart | @ | ej7i9is4.entry.js?db64:107
-- | -- | --
  | canStart | @ | ej7i9is4.entry.js?db64:82
  | pointerDown | @ | gesture.js?a52d:246
  | handleMouseDown | @ | gesture.js?a52d:69

And on doing drag/drop I get this
Uncaught TypeError: reorderGroup.complete is not a function
    at VueComponent.reorderedsss (RouteForm.js?e195:218)
    at invoker (vue.runtime.esm.js?2b0e:2023)
    at HTMLElement.fn._withTask.fn._withTask (vue.runtime.esm.js?2b0e:1822)
    at Object.Hn (ionic.core.js?1390:6)
    at Object.t.emit [as vn] (ionic.core.js?1390:6)
    at Object.emit (ionic.core.js?1390:6)
    at ReorderGroup.onEnd (ej7i9is4.entry.js?db64:201)
    at onEnd (ej7i9is4.entry.js?db64:85)
    at pointerUp (gesture.js?a52d:332)
    at HTMLDocument.handleMouseUp (gesture.js?a52d:88)

Steps to Reproduce
I have ion-reorder-group list in modal.
Related Code
In HTML
<ion-list>
      <ion-reorder-group @ionItemReorder="reorderedEvent" disabled="false">
      <ion-item>
        <ion-label>
          Item 1
        </ion-label>
        <ion-reorder slot="end"></ion-reorder>
      </ion-item>

      <ion-item>
        <ion-label>
          Item 2 (default ion-reorder slot="start")
        </ion-label>
        <ion-reorder slot="start"></ion-reorder>
      </ion-item>
    </ion-reorder-group>
  </ion-list>

In VueJs component I have method.
reorderedEvent(detail) {
            const reorderGroup = document.querySelector("ion-reorder-group");
            reorderGroup.complete();
        },

I have tried both .complete() with ion-reorder-group element selector and even (detail) parameter but for both I get
RouteForm.js?e195:218 Uncaught TypeError: reorderGroup.complete is not a function
    at VueComponent.reorderedsss (RouteForm.js?e195:218)
    at invoker (vue.runtime.esm.js?2b0e:2023)
    at HTMLElement.fn._withTask.fn._withTask (vue.runtime.esm.js?2b0e:1822)
    at Object.Hn (ionic.core.js?1390:6)
    at Object.t.emit [as vn] (ionic.core.js?1390:6)
    at Object.emit (ionic.core.js?1390:6)
    at ReorderGroup.onEnd (ej7i9is4.entry.js?db64:201)
    at onEnd (ej7i9is4.entry.js?db64:85)
    at pointerUp (gesture.js?a52d:332)
    at HTMLDocument.handleMouseUp (gesture.js?a52d:88)

Expected Behavior
A clear and concise description of what you expected to happen.
Additional Context
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, screenshots, OS if applicable, etc.

Hi @manucorporat, Please could look into this if I am doing anything wrong or ionic have a bug related to reorder list?
I am using reorder list in modal.

This issue is not exclusive to Vue, same thing happens on @ionic/angular. Reorder node not found and list is frozen. Calling complete on ev.detail.complete() does not work.

I believe this is related to https://github.com/ionic-team/ionic/issues/16068 & https://github.com/ionic-team/ionic-docs/issues/160#issuecomment-442873630
I thought the issue was just in the preview test but I haven't had a chance to debug it.

I saw that #16068 is closed, so I replied here. Nothing that I found on issue tracker helped, neither implementing onInit or adding detail.complete to itemReorder event.

@stripathix, you have to call    ev.detail.complete(); inside your ionItemReorder event.

I am also seeing this issue with a slight caveat... after doing ev.detail.complete() in the ionItemReorder handler, it stopped the error on the first time, but if i close and reopen the page again then it throws the reorder node not found error as soon as I click one of the reorder handles.

Can confirm the same behavior in rc0 w/ angular described by @daem0ndev .  I can resort lists the first time I navigate to a page, but if I navigate away and return, I get the following.

Quick addendum.  I was so focused on trying to figure out bug, I just realized that it seems to be benign.  The reorder works as well as the event handler.


Imagepicker on iOS sometimes gets stuck at .present()

Which platform(s) does your issue occur on?

iOS 12.1
Emulator :  iPhone 7, iPhone X, iPhone XR - iOS 12.1
Devices : iPhone 7 - iOS 12.1.4

Please, provide the following version numbers that your issue occurs with:

CLI: 5.2
Cross-platform modules: 5.2
Runtime(s): 5.2 ( iOS ) (works fine on Android with 5.2)
Plugin(s): nativescript-imagepicker is at ^6.1.0, everything else comes from tns create
Built on : macOS Mojave 10.14.3 with XCode 10.1

Please, tell us how to recreate the issue in as much detail as possible.

run tns create to generate a project. Generate a plain TypeScript project, with the Hello World template. The problem also occurs with Angular.
install the plugin with the simple tns plugin add nativescript-imagepicker
add the permission lines in the Info.plist file

<key>NSPhotoLibraryUsageDescription</key>
<string>Description text goes here</string>

in the main-view-model.ts file, add the import line :

import * as imagepicker from "nativescript-imagepicker";

and replace the onTap() function with this :
    onTap() {
        let context = imagepicker.create({mode: "single"});
        context
            .authorize()
            .then(function () {
                return context.present();
            })
            .then(function (selection) {
                console.log("selected image");
            }).catch(function (e) {
                console.log("caught : ", e);
            });
    }

run the app with a simple tns run ios
tap the button to pop the imagepicker
pick an image or hit the "cancel" button if possible.

Doing steps 6 and 7 repeatedly will break the feature and make the imagepicker stuck. You can no longer pick an image (tapping it does nothing) nor can you go back. The "cancel" button gives a visual feedback on being tapped but does nothing. The user is forced to close the app.
Nothing is displayed in the console.
Sometimes, "if you're lucky", it breaks on the first attempt. Sometimes, 2nd, 4th, 5th. Sometimes it works even after picking 20 images. In those cases, restart the app on the device or emulator.
Usually it breaks around the 4th.
This also occurs in "multiple" selection mode. Images can be selected but the "done" button gets stuck instead (like the "cancel" button).

I've also had it occur on the sample demo provided in this repo. I just built and ran the demo, without touching any file. Tested on an iPhone 7 emulator. It worked fine initially for over 10 sequential image selection, then I closed the app (hit home button twice and slide the app up) and started it again. It immediatly broke, I couldn't pick an image nor cancel the imagepicker.

Same problem here. I haven't noticed this problem prior to upgrading to NS 5.2.

Same problem here on iphone 8 Plus (iOS 12.1.4)

Same problem as well after updating to {N} 5.2.

+1 reported via t-1397525.
I've reproduced the issue using this basic demo and the steps despised by @TsotneShonia .
On my side, it seems that the issue is reproducible on iPad with iOS 12.1.4 (I was not able to hit the issue on iPhone X, iPhone XR). The result is that hitting the  CANCEL is not working (but again as @TsotneShonia noticed there is the visual effect of tapping the button - its just not closing the modal)

Thanks everyone for confirming the issue, adding details to it, and bringing a fix.
However, I must report that the issue persists for me, despite the fix. It now behaves slightly differently.
First, I can no longer reproduce it on simulators, only on devices.
I reproduced it on both an iPhone 7 with iOS 12.1.4 and iPhone 5S with iOS 11.3.1.
The difference is that now, it can no longer break while it's being used. If it works on the first attempt, it will keep working until I close the app. But it can still "break" on the first usage. I'm testing it on this repo, with the vanilla demo.
According to my tests, there's roughly one chance out of 3 that the image picker starts broken. The symptoms look like they are the same.

Same for me, using NS 5.2 and iPhone 8 with iOS 12.1.4
After updating plugin, it worked every time in simulator.
However, for me it is breaking 100% of the times in the device.

Fixed with latest release of<EMAIL_ADDRESS>

I'm definitely still getting this on device, but less often. Trying to figure out when/why, but it's pretty random.

Same here, it still occurs, even with<EMAIL_ADDRESS>

Before updating to 6.1.1 i would get the "stuck" behaviour, but right after updating to 6.1.1 it crashes with:
JavaScript stack trace:
1   qb_imagePickerControllerDidFinishPickingAssets@file:///app/tns_modules/nativescript-imagepicker/imagepicker.js:103:22
2   UIApplicationMain@[native code]
3   start@file:///app/tns_modules/tns-core-modules/application/application.js:275:26
4   run@file:///app/tns_modules/tns-core-modules/application/application.js:303:10
5   bootstrapNativeScriptApp@file:///app/tns_modules/nativescript-angular/platform-common.js:185:26
6   bootstrapApp@file:///app/tns_modules/nativescript-angular/platform-common.js:103:38
7   bootstrapModule@file:///app/tns_modules/nativescript-angular/platform-common.js:87:26
8   anonymous@file:///app/main.js:10:57
9   evaluate@[native code]
10  moduleEvaluation@[native code]
11  promiseReactionJob@[native code]
JavaScript error:
file:///app/tns_modules/nativescript-imagepicker/imagepicker.js:103:22: JS ERROR TypeError: this._resolve is not a function. (In 'this._resolve(assets)', 'this._resolve' is undefined)

Ok, the crash was a one-time thing, but i also get the hang when picking in 6.1.1

Hello, @TsotneShonia
We've just published 6.1.2 to npm with fix for the issue.
Can you confirm on your side that it is fixed and reply to this thread in order to close the issue?
Regards

Hello, @DimitarTodorov
I confirm it is working as expected now.
Thank you all very much.

I think the problem still occurs with version 6.2.0
with tns version 5.2.0

Same here, the problem still occurs occasionally @6.2.0 ...

Same issue with @7.1.0

I ran into the same issue with imagepicker version 7.1.0 on iphone 11 emulator. It is able to run only once after restarting the application. I added a delay between authorize() and present() and it solves the issue for me.


TensorFlowLite: failed to load native library: Library tensorflowlite_jni not found; at  /system/lib64

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  downloaded .aar file from https://mvnrepository.com/artifact/org.tensorflow/tensorflow-lite/1.13.1
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: Samsung Galaxy A5
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.13.1
Python version: 3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: NA
GPU model and memory: NA

You can collect some of this information using our environment capture script
You can also obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the current behavior Trying to load .tflite file on Android device. Getting error "TensorFlowLite: failed to load native library: Library tensorflowlite_jni not found; at  /system/lib64". It is not able to find the tensorflowlite_jni.so at /system/lib64 path. If I push the file to /system/lib64 path in device it works
Describe the expected behavior: It should work without the requirement of external push
Code to reproduce the issue: 1. Generate a .tflite file after model training on desktop
2. download .aar file from https://mvnrepository.com/artifact/org.tensorflow/tensorflow-lite/1.13.1
3. Build Android binary using downloaded .aar file and .tflite file along with Android Application trying to load .tflite file
4. Run time error while app is trying to load the .tflite file
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
04-17 17:50:00.518  4470  4470 W System.err: TensorFlowLite: failed to load native library: Library tensorflowlite_jni not found; tried [/system/lib64/libtensorflowlite_jni.so] 04-17 17:50:00.519  4470  4470 W System.err: TensorFlowLite: failed to load native library: Library tensorflowlite_jni not found; tried [/system/lib64/libtensorflowlite_jni.so] 04-17 17:50:00.528  8077  8077 D OpenGLRenderer: Skia GL Pipeline 04-17 17:50:00.539  5932  5959 V ContactsProvider_EventLog: contents_sample_query: [ uri = content://com.android.contacts/contacts(usr:0), pkg = com.samsung.android.bixby.service(6596), prj = [name_raw_contact_id, contact_last_updated_timestamp], sel = name_raw_contact_id <= 1 AND ( contact_last_updated_timestamp ><PHONE_NUMBER>060 OR (contact_last_updated_timestamp =<PHONE_NUMBER>060 AND name_raw_contact_id > 1 )), selArg = null, so = contact_last_updated_timestamp ASC LIMIT 300, cv = null, dur = 27, ret = 0, trw = false ] 04-17 17:50:00.541  8077  8077 D EmergencyMode: [EmergencyManager] android createPackageContext successful 04-17 17:50:00.543  4470  4470 E system_server: No implementation found for long org.tensorflow.lite.NativeInterpreterWrapper.createErrorReporter(int) (tried Java_org_tensorflow_lite_NativeInterpreterWrapper_createErrorReporter and Java_org_tensorflow_lite_NativeInterpreterWrapper_createErrorReporter__I) 04-17 17:50:00.544  4470  4470 E Zygote  : System zygote died with exception 04-17 17:50:00.544  4470  4470 E Zygote  : java.lang.UnsatisfiedLinkError: No implementation found for long org.tensorflow.lite.NativeInterpreterWrapper.createErrorReporter(int) (tried Java_org_tensorflow_lite_NativeInterpreterWrapper_createErrorReporter and Java_org_tensorflow_lite_NativeInterpreterWrapper_createErrorReporter__I) 04-17 17:50:00.544  4470  4470 E Zygote  :     at org.tensorflow.lite.NativeInterpreterWrapper.createErrorReporter(Native Method) 04-17 17:50:00.544  4470  4470 E Zygote  :     at org.tensorflow.lite.NativeInterpreterWrapper.(NativeInterpreterWrapper.java:73) 04-17 17:50:00.544  4470  4470 E Zygote  :     at org.tensorflow.lite.NativeInterpreterWrapper.(NativeInterpreterWrapper.java:54) 04-17 17:50:00.544  4470  4470 E Zygote  :     at org.tensorflow.lite.Interpreter.(Interpreter.java:114) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.hardware.VirtualProximityService.initTflite(VirtualProximityService.java:184) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.hardware.VirtualProximityService.onCreate(VirtualProximityService.java:99) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.app.ActivityThread.handleCreateService(ActivityThread.java:3757) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.app.ActivityThread.access$1400(ActivityThread.java:237) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.os.Handler.dispatchMessage(Handler.java:106) 04-17 17:50:00.544  4470  4470 E Zygote  :     at android.os.Looper.loop(Looper.java:214) 04-17 17:50:00.544  4470  4470 E Zygote  :     at com.android.server.SystemServer.run(SystemServer.java:802) 04-17 17:50:00.544  4470  4470 E Zygote  :     at com.android.server.SystemServer.main(SystemServer.java:624) 04-17 17:50:00.544  44
04-17 17:50:00.544  4470  4470 E Zygote  :     at com.android.server.SystemServer.main(SystemServer.java:624) 04-17 17:50:00.544  4470  4470 E Zygote  :     at java.lang.reflect.Method.invoke(Native Method) 04-17 17:50:00.544  4470  4470 E Zygote  :     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 04-17 17:50:00.544  4470  4470 E Zygote  :     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945) 04-17 17:50:00.545  4470  4470 D AndroidRuntime: Shutting down VM

@schawla1988
would you share the below deatils to help you out the above problem,
1- build script which use to compile android app?
2- your handset cpu abi version(adb shell getprop ro.product.cpu.abi)?
3- sdk and ndk version which you configure with tensorflow?

I faced the same problem, @schawla1988 's solution is not working for me, could anybody have idea?
Thanks.

It looks like you're trying to reference the shared library from a system service? In which case, it's your responsibility to put the native shared library where it can be used.


[Python] Update the .flake8 config file to lint all existing Python scripts.

The utils/dev-scripts/at-to-filelist, utils/dev-scripts/split-cmdline and utils/build-parser-lib scripts needed to be reformatted with the black tool to agree with the linter.

@swift-ci please test


NTR: 2-keto-3-deoxy-L-rhamnonate aldolase activity

As a child of GO:0016832.  Proposed definition: Catalysis of the reaction 2-dehydro-3-deoxy-L-rhamnonate = pyruvate + (S)-lactaldehyde.
This is EC <IP_ADDRESS>, http://www.enzyme-database.org/query.php?name=<IP_ADDRESS>.
Thanks,
Ingrid

Hi Ingrid. Could you please also supply a PMID to be used as a reference. Thanks

PMID 18754683
Thanks!

GO:0106099
Done.


Camera doesn't turn with screen rotation on Acer Iconia B1-730HD

Reported by Sjoerd Dirk Meijer
https://plus.google.com/+MarkRoth8/posts/RZAcmwCQq2Y
Acer Iconia B1-730HD
Android version: 4.4.2
IAFW version: F9.EE
Kernel version: 3.10.20
Reproduced on a number of additional devices including Kindle Fire, Nexus 7 and HP Slate 8Pro.
Workaround: rotate the tablet 180 degrees, then the orientation of the camera and ScratchJr will match.

Moved from LLK/scratchjr-private#215
/cc @markroth8

Android 4.4 no longer supported, closing stale issue


ios build failed

Hi,
I installed the module and and linked the library and when I run the ios build fails and shows following error

Can you tell me how to solve this

Hi I also encountered the same problem. Have you solved it?

Same. The repository either needs to be fixed or archived.

Also having trouble building. Seems to be a problem with RCTBatchedBridge in RNCustomKeyboardKit.m.

Same problem

any progress???


[BUG] search_all is bugged

File "BuildCallSrv.py", line 109, in NextResult
    self._Result = self._Service.search_all(self._Query)
  File "/usr/lib/python2.7/site-packages/py_bing_search/py_bing_search.py", line 25, in search_all
    while results.total > len(results) and len(results) < limit:
AttributeError: 'tuple' object has no attribute 'total'

Fixed by e70b199d4c5f6318917905f6034f179d205d281b courtesy of @john2x


ENYO-1285: Marquee Text is ellipsis but does not roll when content

Issue:
The node.scrollWidth will return the correct value when the text inside the div is more wider than the div visible area. Else the node.scrollWidth will return the div size itself. In this case both the node.scrollWidth and node.getBoundingClientRect().width will be the same and the resultant marquee distance will be 0 so the marquee won't work.
But the text-overflow: ellipsis is applied to the node starting from the div width and inside text content width is same. Which causes the issue.
Fix:
Remove the text-overflow : ellipsis from the node if the node.scrollWidth and node.getBoundingClientRect().width are same.

1.Remove the text-overflow : ellipsis from the node if the node.scrollWidth and node.getBoundingClientRect().width are same

Changed the math.floor into math.ceil to upper round marquee distance value

@anishlg , it looks like high code operation for render and contentChanged. But, I don't have other solution in mind. Please look at little bit more on other solution.

closing out per Anish - jira was solved with a different pr.


feat: Started on the GUI for the minimum viable product

Start on the GUI for the minimum viable product.
We can start linking some of the gui with out "backend"

Can you add on to the README a bit of documentation on how to use the GUI editor?


Extend #597 with docs changes

This updates https://github.com/gruntwork-io/terratest/pull/597 to include docs updates as well.
As a bonus, I ported over the docker setup we have in terragrunt here so you can run the docs site locally.

Thanks for reviews! Will merge this in now.


Is TrivialInitAtomic being used?

I found the TrivialInitAtomic is a bit problematic.

First, with atomic_ref, one should align the value object to std::atomic_ref<T>::required_alignment, which is not enforced in our implementation.
Second, compare_exchange in atomic_ref incurs extra overhead if std::has_unique_object_representations_v<T> does not hold. e.g. T has padding.

Is this data structure being used? I don't see any reference to it. One would probably want something like the following or use https://en.cppreference.com/w/cpp/utility/launder (or https://en.cppreference.com/w/cpp/memory/start_lifetime_as) to do type punning instead.
#ifdef __cpp_lib_atomic_ref
    // If the object does not have a unique object representation, the
    // cmpxchg operation is implemented using a busy loop. We fallback to
    // std::atomic in this case.
    template<bool IsUnique>
    struct AtomicImpl;

    template<>
    struct AtomicImpl<true>
    {
      using Val = T;
      using Ref = std::atomic_ref<T>;
      static constexpr size_t ALIGNMENT = Ref::required_alignment;
    };

    template<>
    struct AtomicImpl<false>
    {
      using Val = std::atomic<T>;
      using Ref = std::atomic<T>&;
      static constexpr size_t ALIGNMENT = alignof(Val);
    };

    static constexpr bool IS_UNIQUE =
      std::has_unique_object_representations_v<T>;

    using Val = typename AtomicImpl<IS_UNIQUE>::Val;
    using Ref = typename AtomicImpl<IS_UNIQUE>::Ref;
    static constexpr size_t ALIGNMENT = AtomicImpl<IS_UNIQUE>::ALIGNMENT;
#else
    using Val = std::atomic<T>;
    using Ref = std::atomic<T>&;
    static constexpr size_t ALIGNMENT = alignof(Val);
#endif

I was wrong about the second point. Actually, I was misled by the libc++ implementation as it is not yet standard-compliant. Per ISO C++20, compare_exchange examines equality on value representations of the object. Hence, if the object is padded, compare_exchange is non-wait-free busy loop. This applies to both std::atomic and std::atomic_ref. This is not yet effective with clang/libc++ as __builtin_clear_padding is not yet implemented by clang.

It doesn't look like it is used anymore.  It was written for an earlier version of the Pagemap that had some complex initialisation issues.  I think we could drop.  @nwf would that be okay with you?


Give us the colorschemes

i dont like how configurated the p10k by @jseashell
I want just configure with my personal taste and then
i will just add the colorscheme to my p10k .
we could tell us in that like we can add that color and etc .
by the way great job

if u have the dracula theme on your terminal in my case gnome-terminal ... with that gist will use the colors
our John https://gist.github.com/jemadux/4019ade6580d062794111e7988d261e0

@jemadux Can you clarify your request -- are you asking that I extract the environment variables that I've applied Dracula hex codes to in files/.p10k.zsh so that you can apply it to your own p10k configuration? In theory, I could specify the environment variables that I set, but I will warn that it is a pretty manual process to apply the colors to the various options that come out of the p10k configuration wizard. I just tried p10k configure on my local setup and vastly changed the options. There were non-dracula colors included, as one might expect after looking at the way .p10k.zsh maps colors to environment variables. What I recommend is manually applying the colors to your own configuration wizard results (consider making a backup of your ~/.p10k.zsh beforehand), then creating a PR with screenshot so that I can include it in the files for others to use. I can add subdirectories to files/ where other recommended .p10k.zsh configurations can live. The current config could be moved to files/default/.p10k.zsh and your new one would follow suit as files/<you-pick-the-name>/.p10k.zsh

@jseashell yes i want the hexcodes .

@jemadux Colors aren't hexcodes. Scroll about halfway down this page to find the colorcoldes reference https://github.com/Powerlevel9k/powerlevel9k/wiki/Stylizing-Your-Prompt


replace zh to /zh in content/zh/docs/tutorials/ directory

replace zh to /zh in content/zh/docs/tutorials/ directory

/cc @tengqm
done

/reopen

Many thanks for this clean up.
/lgtm
/approve

/hold cancel


⚠ SceneTime has degraded performance

In 2436cc7, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 5341 ms

Resolved: SceneTime performance has improved in 104d991.


Subplots not working

I tried to create subplots without datashade option. It worked perfectly but when I try to do the same thing with datashade=True, I couldn't see any differentiation in the color for the two varaibles. May be both of the plots are being displayed with the same color. Not sure what is happening in the background
df.hvplot.scatter(x='timestamp', y='col_A'], groupby=[], datashade=True) * df.hvplot.scatter(x='timestamp', y='col_B'], groupby=[], datashade=True)

https://github.com/pyviz/holoviews/issues/2704 I think you need to specify color_key or maybe separate cmaps / colors (haven't tested)?
df.hvplot.scatter(x='timestamp', y='col_A'], groupby=[], datashade=True, cmap=['red']) * df.hvplot.scatter(x='timestamp', y='col_B'], groupby=[], datashade=True, cmap=['blue'])

Yeah, there is no color cycle by default you would have to declare explicit cmaps in this case.

Datashader has separate cmap and color_key arguments for this reason, to allow having a color cycle default independent of the color map default.  Will this approach not work here as well?

@ahuang11 Thanks. I tried with the options and it works for me. But I guess since it uses datashade parameter, the plot can't show legends even if it is set to True by legend=True


Use structs rather than maps for the metadata

Right now, we're using nested maps as the data structure for the metadata we get back, which directly parallels the data being returned from Kafka. We would like to, instead, return structs for the metadata, the topics, and the partitions.

closed with: https://github.com/jacklund/kafka_ex/commit/722a7768fc32a3bead68bd5df5a8dd68d7c43523


Increasing test coverage

Related to #5

Codecov Report

Merging #13 (b2a998f) into master (caac308) will increase coverage by 1.93%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #13      +/-   ##
=========================================
+ Coverage    6.28%   8.21%   +1.93%
=========================================
  Files          13      13
  Lines         207     207
  Branches       24      24
=========================================
+ Hits           13      17       +4
+ Misses        177     173       -4
  Partials       17      17

see 1 file with indirect coverage changes


Chaining assignments on object

Issue #90
Adding paragraph "chaining assignments on object"

Thanks for contributing!


Workflow for publishing a new release to PyPi

To ensure continuous development and process automation, define a github workflow for publishing the package to PyPi

Hi @andreasnuesslein can you please set in PyPi new publisher? Im preparing new github workflow 'publish.yml'
how to

hey @AdamFiser ; done!  can you take care of the publish.yml?


Issue with weather forecast module when using weather.org

When I turn on precipitationProbablility it never displays anything. Just says loading

I believe I fixed this issue. I have submitted a commit with the change


A tab might not close

Testing #145585
Closes the tab. This makes the tab object invalid and the tab should no longer be used for further actions.
Not if the tab is dirty and the user cancels the dialog.

Maybe the promise should return an array of the closed tabs or something along those lines. How will the user know which tabs are still good? How do we know what tabs are cancelled from group.CloseEditors?

Workbench tends to return a boolean, but interestingly not for closeEditors, only closeEditor.

Workbench tends to return a boolean, but interestingly not for closeEditors

Wonder if we should enhance it to turn an array of booleans that way we know which closes were successful and which were not


[FEATURE]:  Add a control for overlay

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
After completing the onApprove function, I would like to be able to manage the overlay. It would make more sense for it to remain visible while the backend is processing. Rather than creating a new overlay.

Describe the solution you'd like
Maybe a possible solution will be having a dispatch to show and hide the overlay.
Describe alternatives you've considered
The alternative that I have is to create my own overlay.
➕ Anything else?
No response

Hi @gersanco, apologies for the delay in an acknowledgement / response for this issue. I'll take this request to the product team and see if this is something that is either 1. Achievable (and how) or 2. an enhancement we can add to the backlog.

@devchristina Thanks so much 😄


Incorrect GIR for gobject.TypeCValue in GNOME 45.3 SDK

/var/home/ian/src/zig-gobject/bindings/src/gobject-2.0.zig:5641:126: error: unknown-length pointer to opaque not allowed
pub const TypeValueCollectFunc = *const fn (p_value: *gobject.Value, p_n_collect_values: c_uint, p_collect_values: [*]gobject.TypeCValue, p_collect_flags: c_uint) callconv(.C) ?[*:0]u8;
                                                                                ~~~~~~~^~~~~~~~~~~

The GIR for TypeCValue is incorrectly representing it as a union with no fields, which is translated to an opaque type. However, there actually are union fields, they just aren't present in the GIR as of the GNOME 45.3 SDK.
This issue has already been fixed upstream, but the fix is not present in the GNOME 45.3 SDK.

No longer relevant, as the GNOME 45 preset was removed.


Error occured after updating 4.1.0 in xcode 9.2

@sahabe1 Could you clean and rebuild from Product menu in Xcode and let me know if the problem still exist

still facing same issue

@sahabe1 Are you using Swift 3.2 or 4 ?

@sahabe1 This is SwifterSwift version, I meant your project that you are using SwifterSwift in


The gaiaDB installation could (maybe) be simplified by using makefile

Would it be easier if the entire gaiaDB install (start docker container and initializeDatabase) were handled with a single "make" command?

This would mean that there is no need to connect to DB before initializing

Would this mean more "hard to download" software?

[ ] initializeDatabase would need to be its own distinct R function (not inside the package) for this to be worthwhile. Saved in inst dir

This will be closeable once the containerize branch is merged to main or gets its own repository


Update concepts-networking.md

Updates to networking VNET and Private DNS details as per previous request #77489. niklarin already approved.

@GennadNY : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver - this is new merge request as per our conversation and @niklarin already approved as its same with #77489

Merging with PR review edits per approval in https://github.com/MicrosoftDocs/azure-docs/pull/77489. Thanks.


show Description or logger on console before x-prompt question

Hi ,
I have a use case where I need to Display a message/description/logger/info kind of statement on console as soon as i run my command(let say ng g idp) and after displaying to message it should prompt for question. Currently what is happening x-prompt question prompt at very first and after that logger or message comes. Is there any property which we can use in schema.json that will display desired message.
I'm aware of this description property but is do not display anything on console.
required use case
->ng g idp
This Generator create and add IDP code is your application. Please answer following question.
? enter name
? enter client id
and I don't want to use inquirer for prompting questions

Hi @nehaGI,
The description will be ignored when using prompts as in that case the value of x-prompt will be used as the question/description.
I am not following what you mean by you don't want to use inquirer for prompting questions. You are using x-prompt so inquirer will be used.

"properties": {
"project": {
"info": {
"type": "string",
"x-prompt": "ruf/idp-auth library lets you easily setup Infinity IdP Authentication for Client-side Web Apps. To set it up, it asks few questions. Details of the questions can be found on this page https://wiki.fnis.com/x/tQ_RYgI, Hit Enter to continue."
},
I have above snippet , currently what is does is it x-prompt this as question and a ? comes before statement. What my requirement is that I was to show this statement on console as very first thing, and I want this statement to look like normal message not as a question.
you can ignore my words "and I don't want to use inquirer for prompting questions"

@nehaGI, displaying a message prior to the prompts is not possible.

Closing as per above comment.


#1424: Defend against missing 'datasets' key in datasets/list response.

Fixes #1424.

Can you also update the system_test as was done in #1421?

Can you also update the system_test as was done in #1421?

Tricky:  Datasets are top-level objects, so it isn't guaranteed that there won't be any already existing for a given project.

Touche. Fine as is. I should have thought more than just the one tiny thought.

LGTM


[Feature] Add color to the console

Add console colors, maybe could be great to add custom colors by the user with regex.
Like, add if the string contains "ERROR" underline the whole line or just the word "ERROR".

I like this idea. I will create a PR to implement this :)


Place links to the page sources to ease the contribution process.

Like a "suggest edit" button that links to the file on GitHub. This would significantly lower the bar for crowd-sourced information.

Hi @dokempf,
I have already placed such links at the end of the opening paragraph of each page:
https://github.com/DE-RSE/learn-and-teach/blob/61c7f69b4f71bafae3324fcd76b473ee85c0e846/_pages/learn.md#L11
Are you looking for something else?


Fix vfmPlugin export

Fixed vfmPlugin exporting as the wrong name

Thanks for you contribution!
Released in 3.4.10


The date in URL path to blog post is off

Bug report
Steps to reproduce
When using theme-blog:

Create a post filename: 2020-08-07-date-demo.md

# Date Test

Just a test.

View the post with vuepress dev blog

What is expected?
The URL to the post should be http://localhost:8080/2020/08/07/date-demo/
What is actually happening?
The URL to the post is http://localhost:8080/2020/08/06/date-demo/ instead (noticed the date is one day off)
Other relevant information
NOTE: I am in EST timezone. Not sure if that's important of not.

Output of npx vuepress info in my VuePress project:

Environment Info:

  System:
    OS: macOS 10.15.6
    CPU: (4) x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
  Binaries:
    Node: 14.5.0 - /usr/local/bin/node
    Yarn: 1.19.2 - ~/.yarn/bin/yarn
    npm: 6.14.5 - /usr/local/bin/npm
  Browsers:
    Chrome: 84.0.4147.105
    Edge: Not Found
    Firefox: 79.0
    Safari: 13.1.2
  npmPackages:
    @vuepress/core:  1.5.2
    @vuepress/theme-default:  1.5.2
    vuepress: ^1.5 => 1.5.2
  npmGlobalPackages:
    vuepress: Not Found

Which version of blog theme are you using?

It's using  @vuepress/theme-blog version 2.3.0

Ah, I found a workaround today. If I use the following frontmatter to set a full date (including timezone) that match to my locale, then the page path generated would work fine:
---
title: test blog
date: 2020-08-15T00:00:00-05:00
---


Use a git submodule instead of squashing commits

I cannot make a PR since this needs two branches, one of which is a squashed branch:
https://github.com/x-hgg-x/tzdb/tree/generated
https://github.com/x-hgg-x/tzdb/tree/v0.5.x
Steps to reproduce:

Create a new generated branch with only the generated data, and squash the branch to leave only one commit, then push it on Github.
Switch to the main branch, delete the src/generated folder and commit, then run the command git submodule add -f -b generated -- ./ src/generated.

After modifying the generated data, we can then do the following :
cd src/generated
git checkout generated
git add .
git commit --amend --no-edit  # Don't keep history for the generated files
git push
cd ../..
git add src/generated
git commit -m 'update'
git push

That's a good idea! Especially because my current squashing workflow breaks git blame. I will use a submodule for future commits

It seems that Cargo cannot update the submodule when using a git dependency in Cargo.toml:
$ cargo c
    Updating git repository `https://github.com/x-hgg-x/tzdb/`
    Updating git submodule `./`
error: failed to get `tzdb` as a dependency of package `test_tzdb v0.1.0`

Caused by:
  failed to load source for dependency `tzdb`

Caused by:
  Unable to update https://github.com/x-hgg-x/tzdb/

Caused by:
  failed to update submodule `src/generated`

Caused by:
  object not found - no match for id (354a93ba8eb5c17db1df5b303ef9ced04b7c5073); class=Odb (9); code=NotFound (-3)

It also doesn't work with CARGO_NET_GIT_FETCH_WITH_CLI=true:
...
Caused by:
  failed to update submodule `src/generated`

Caused by:
  failed to fetch submodule `src/generated` from ./

Caused by:
  process didn't exit successfully: `git fetch --tags --force --update-head-ok ./ '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)
  --- stderr
  fatal: Couldn't find remote ref HEAD

I think this is a bug of Cargo, since manually cloning with the git command works.
Using the remote url instead of the relative path in the .gitmodules file solves the problem:
[submodule "src/generated"]
    path = src/generated
    url = https://github.com/x-hgg-x/tzdb
    branch = generated

Implemented in #127.


Support multiple allOf schemas in the OpenAPI Importer

Is your feature request related to a problem? Please describe.
I have the following allOf schema: https://github.com/vellum-ai/vellum-client-generator/pull/105/files#diff-b12ee94bc4f8259a3297c5b14fb6de75f26cde867436407eb55eed59c03fb3f8R1480-R1503

it extends two schemas, one's a reference and one's defined inline.
The referenced schema is polymorphic

It appears that because of the getSingularAllOf function, any schema that implements multiple allOf entries will be skipped entirely. This results in allOf: [] during the intermediate OpenAPI IR.
Describe the solution you'd like
Support for schemas that utilizes multiple allOf entries.
Describe alternatives you've considered
We could nest objects within properties, but this would lead to a less idiomatic API for us.
Additional context
See fern-x-vellum for more details.

We've made improvements to the OpenAPI importer, specifically related to polymorphism, over the last year. Closing this as it's likely been resolved and there's not an easy OpenAPI spec for me to repro the problem with.


Read-only upload can not be removed by password

Unable to remove a Read-only upload even if the password is correct.
But the edit is working well.

when sending the GET request the console prints this error : decryptWithPassword is not defined

Wasn't this fixed in 2.0.4 by 4c57c27?
I'm testing the danielszabo99/microbin docker image, presumably running 2.0.4, and the issue is still there.

I found a workaround to get a read-only paste deleted, so long. It does delete if there is no text/code content i.e. paste is empty:

Edit the paste with the password.
Just delete all the code/text. Does not matter if there is still an attachment. Save that edit.
Now Remove accepts the password and removes the paste altogether.


Issue mounting with Enzyme

I get the following error when mount()ing components with enzyme:
TypeError: Cannot set property dataset of [object HTMLElement] which has only a getter
It seem to happen if the component contains any elements like Button and Textfield. Is there something I need to wrap the elements with in my tests or something along those lines?

hi, can i know what actually solved the issue?

There are a variety of things that mdc does that require properties that are avaialable in real browser but not in JSDOM. This polyfill simply makes sure these things are available in your testing environment.


resources with pre-install hook never install on upgrade

Output of helm version:
version.BuildInfo{Version:"v3.2.4", GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688", GitTreeState:"clean", GoVersion:"go1.13.12"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-06-27T00:38:11Z", GoVersion:"go1.14.4", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.11", GitCommit:"436254b798f772bcb8e67dcfe122e46500eeb254", GitTreeState:"clean", BuildDate:"2020-06-17T11:41:28Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Metal
I have tried to install the bitnami/metallb chart. In it there is a pre-install hook on the secret for the memberlist. That secret is never installed even though it is rendered correctly with the --debug flag. I can install the output from the --debug result. If I remove the pre-install hook then the secret is created correctly so I can only assume this is some issue with the helm cli itself.
client.go:222: [debug] Deleting "infrastructure-metallb-memberlist" in infrastructure...
client.go:225: [debug] Unable to get obj "infrastructure-metallb-memberlist", err: secrets "infrastructure-metallb-memberlist" not found
client.go:239: [debug] Attempted to delete "infrastructure-metallb-memberlist", but the resource was missing

I am using metallb as a dependency for the infrastructure chart and installing with helm upgrade

Let us know if you find anything. This is the first case I've heard about pre-install hooks not working, which leads me to believe it might be isolated to the chart in question.
If there were other reports we would've heard about it shortly after 3.2.4 was released - pre-install hooks are quite common.

What reason could there be for a pre-install hook not to run? Like I said its rendering correctly with --debug option

Here's the cases where pre-install hook works fine:

Install chart as standalone release
Chart with pre-install hook is a dependency for a release that was never installed

Here's the cases where pre-install hook is failing:

Chart with pre-install hook is added as a dependency to another chart that has already been installed.

So the pre-install hook only fails when running helm upgrade

pre-install hooks are intended to be run prior to helm install installing the requested resources. If you need the hook to run prior to an upgrade as well, add the pre-upgrade annotation:
annotations:
  "helm.sh/hook": pre-install,pre-upgrade

There are several examples of this in the charts repository, and in the documentation.
Working as intended.

@bacongobbler but why does the resource just not install at all??? That is the point

https://github.com/helm/charts/issues/5167


Char/updates v5

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
16 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.2%) to 69.622%

Files with Coverage Reduction
New Missed Lines
%

compass/models/rad_data.py
16
66.67%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.2%

Covered Lines:
2835

Relevant Lines:
4072

💛  - Coveralls


Compatibility with other tools

It'd be nice for this to support compatibility with rvm and avn out of the box to avoid having to hack in compatibility manually.
There's a small library that easily allows this type of compatibility and is easy to integrate.

See this comment for a fix: https://github.com/kennethreitz/autoenv/issues/45#issuecomment-18232652


A POC Mips Single Cycle model

In order to evaluate the current framework I have started to implement the set of remaining components:

[x] split box for instructions
[ ] Alu (not functionally complete yet, but can be instantiated)
[ ] Ctrl unit (in early stage)
[ ] Branch unit

I have made some changes to the vizia implementations of some components to make them better fit to use.  Even if we decide to make breaking changes to the underlying storage format, I think it is useful to bringup a complete design. We can then draw some conclusions on what initial design decisions worked well and what did not work well.
Its one thing to evaluate features based on toy examples, another to actually use them. I hope to have something to show when back in Luleå, progress have been pretty good.

POC work is in the ]instr_decode](https://github.com/perlindgren/syncrim/tree/instr_decode) branch.
To work with realistic models is very inconvenient programmatically, instead I use the re-load feature (so you edit the json in the editor and save) then you can hot-load the model in SyncRim (not sure if hot-loading is supported in EGui yet).
The file mips_single_cycle.json holds the wip model. (It was created from cutting/pasting/editing output from the examples.)


missing next and next_url in JSON responses from an instance deployed on Fly

👋 thank you for an incredibly useful project!
I have noticed that my deployed instance on Fly does not include the next and next_url keys even for a truncated response :

This is publically accessible here: https://collectif-objets-datasette.fly.dev/collectif-objets.json?sql=select+*+from+mairies
However when I run the dataset server locally with the same data I get these next keys for the exact same query:

I am wondering if I've missed some config or something specific to deployments on Fly.io?
I am running datasette v0.62, without any specific config :

locally poetry run datasette data/collectif-objets.sqlite
for the deploy : poetry run datasette publish fly data/collectif-objets.sqlite

as visible in the Makefile. The very limited codebase is public but the sqlite db is not versioned yet because it is too large.

oh and by writing this I just realized the difference: the URL on fly.io is with a custom SQL command whereas the local one is without.
It seems that there is no pagination when using custom SQL commands which makes sense
Sorry for this useless issue, maybe this can be useful for someone else / me in the future.
Thanks again for this wonderful project !


latest v1.0.7 does not seem to run anything

Hello
I just noticed there was a new release which seems to have broken our workflow.
It looks like the action isn't actually executing anything. The task doesn't report a failure and the workflow continues, yet there is no output in the logs and it did not do what it is supposed to do.
When reverting back to v1.0.6 everything works as expected.
I am running selfhosted agents with node 16.

Hi @Flasheh the bug has been fixed. Please let us know if you are still facing this issue.

@t-dedah I can confirm that the issue has been resolved.
That was quick, thank you 😃


change name

This is an early project so I think changing the name isn't to late
vuido isn't sounding that great, I mean it looks ugly and is scratching my ears when somebody is saying it
I have some ideas for the new name:

vue-desktop
vue-native
vuetron(this is also kinda ugly)

If someone has other ideas let's vote them

I'm absolutely open for ideas, though Vuido sounds quite good for me 😄. Maybe we pronounce it differently?
I thought about libui-vue for a while, but I didn't want to use a generic name like this, for the same reasons Electron is not called chromium-destkop, for example. Vuetron came to my mind too, but it's already used.


Add some more tests and checks

This pull request is a continuation of addition of some tests and checks.

The altitude checks were added to prevent creation of an orbit with negative altitude. This might yield unexpected results at some places, for example, in the lithobrake event.

Questions

It looks like @pytest.mark.skipif("czml3" not in sys.modules, reason="requires czml3") gets repeated for each test in test_czml.py. Could we instead have a global pytestmark to skip the whole module if czml3 is not installed?

pytestmark = pytest.mark.skipif("czml3" not in sys.modules)

ALL_PROPAGATORS in twobody/propagation.py  seem to not contain markley and danby. This seems to be contrary to the name of the variable. Is this expected? If not, should we include all the propagators in ALL_PROPAGATORS?

In #1253, you had advised to make expected_doc as a fixture. It seems that there are more expected_doc's inside the tests. Is it necessary to have a fixture for each of them?

@astrojuanlu Could you let me know what do you think about the above questions?
Thanks!

The logic when building the ALL_PROPAGATORS macros is wrong! 😱
We are only including the propagators which are shared among the elliptic, parabolic and hyperbolic ones. Thank you for noticing this @Yash-10! 🚀

This could be fixed by doing:
ALL_PROPAGATORS = set(ELLIPTIC_PROPAGATORS + PARABOLIC_PROPAGATORS + HYPERBOLIC_PROPAGATORS)

Thanks @jorgepiloto for your answer! Also, while we were on that module, I noticed that the "Note" inside cowell's docstring mentioned poliastro.integrators. I thought it was removed some time back and I hence changed the docstring to mention scipy's solve_ivp.

About having a global marker: yes, absolutely! I didn't know having a pytestmark would "apply marks at the module level" https://docs.pytest.org/en/6.2.x/example/markers.html#marking-whole-classes-or-modules
In #1253 I suggested to make expected_doc a fixture in case we wanted to reuse it for more than 1 test. If not, every test can have their own expected_doc and that's fine.

(And pending on the comment @jorgepiloto left)

Thanks @astrojuanlu I added the global pytest marker.


Music-META export should be Music-Representation

It's in the title. Could the name of the export option be changed ?

Since the export takes very long, we might consider to remove it (or create a link to the cidoc2representation scriot:
https://github.com/polifonia-project/tonalities_pilot/blob/main/scripts/cidoc2representation.py


Integration with VS extensions gallery is a mess.

That's really confusing.

just to be clear. Are the icons the source of confusion?

No. That there are pages of entries for Typescript is the source of confusion. There should be one entry, and it should be the latest stable version - perhaps a second for beta is understandable. Not a new entry for each and every version.

We don't control the ordering or search results for this dialog, unfortuntely

You do control the identity and publication of the extension though, surely? The confusion isn't the ordering, nor it is the icons, it is that there are multiple (and very many) "extensions" appearing for TypeScript, when the only difference between them is version. There should be just one extension in the gallery, which is always the latest stable version of TypeScript - I concur with the idea of a different extension for Beta. This would then also permit auto-update notifications in the VS notifications window when new releases are made.

We're not going to revoke the previous versions for the sake of these search results -- people may need the prior versions for compatibility or other reasons.

VS extensions gallery caters for previous versions. I'm not suggesting you remove them completely, I'm only asking that you do what ever other extension throughout the gallery does.


Device manager

Hello, and thank you a lot for this repo.
Reproduce
I installed the nvidia driver:
kubectl apply -f https://raw.githubusercontent.com/shelmangroup/coreos-gpu-installer/master/daemonset.yaml

Then the device manager:
kubectl apply -f https://raw.githubusercontent.com/kubernetes/kubernetes/master/cluster/addons/device-plugins/nvidia-gpu/daemonset.yaml

Then submit a pod:
kind: Pod
apiVersion: v1
metadata:
  name: nvidia-pod
spec:
  containers:
    - name: nvidia
      image: 'nvidia/cuda'
      command:
        - bash
        - -c
        - "exec sleep 60000"
      resources:
        limits:
          nvidia.com/gpu: 1

The issue
I just have a little issue, the bin/lib are not available from within the pod.
When I copy the content of /opt/nvidia to /home/kubernetes/bin/nvidia on the host, everything works like a charm.
After a docker inspect on my container, I figure out the mount was mounting on /home/kubernetes/bin/nvidia,:
            {
                "Type": "bind",
                "Source": "/home/kubernetes/bin/nvidia",
                "Destination": "/usr/local/nvidia",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },

but the local host path should be /opt/nvidia as specified in the installation driver:
          - name: NVIDIA_INSTALL_DIR_HOST
            value: /opt/nvidia

Investigation
I tried to redeploy the driver-installer-deamonset with /home/kubernetes/bin/nvidia as NVIDIA_INSTALL_DIR_HOST and updated volume, but the init-pod return an error:
overlayfs: filesystem on 'bin' not supported as upperdir

I don't know how I could setup that information on the Device Manager, and it seems to be hardcoded https://github.com/GoogleCloudPlatform/container-engine-accelerators/blob/70a1113ee4ceb413e21c54ca943bc2f4b984117d/cmd/nvidia_gpu/nvidia_gpu.go#L33?
I am running a wrong version of the device manager ?
What version of device manager daemonSet manifest are you using ?
Thank you.

apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
  name: nvidia-gpu-device-plugin
  namespace: kube-system
  labels:
    k8s-app: nvidia-gpu-device-plugin
    addonmanager.kubernetes.io/mode: Reconcile
spec:
  template:
    metadata:
      labels:
        k8s-app: nvidia-gpu-device-plugin
      annotations:
        scheduler.alpha.kubernetes.io/critical-pod: ''
    spec:
      priorityClassName: system-node-critical
      tolerations:
      - key: "nvidia.com/gpu"
        effect: "NoSchedule"
        operator: "Exists"
      hostNetwork: true
      hostPID: true
      volumes:
      - name: device-plugin
        hostPath:
          path: /var/lib/kubelet/device-plugins
      - name: dev
        hostPath:
          path: /dev
      containers:
      - image: "k8s.gcr.io/nvidia-gpu-device-plugin@sha256:0e79da6998a61257585e0d3fb5848240129f0fa5b4ad972dfed4049448093c33"
        command: ["/usr/bin/nvidia-gpu-device-plugin", "-logtostderr", "-host-path=/opt/nvidia"]
        name: nvidia-gpu-device-plugin
        resources:
          requests:
            cpu: 50m
            memory: 10Mi
          limits:
            cpu: 50m
            memory: 10Mi
        securityContext:
          privileged: true
        volumeMounts:
        - name: device-plugin
          mountPath: /device-plugin
        - name: dev
          mountPath: /dev

Observe this line: command: ["/usr/bin/nvidia-gpu-device-plugin", "-logtostderr", "-host-path=/opt/nvidia"]

/usr/bin/nvidia-gpu-device-plugin --help
Usage of /usr/bin/nvidia-gpu-device-plugin:
  -alsologtostderr
    	log to standard error as well as files
  -container-path string
    	Path on the container that mounts '-host-path' (default "/usr/local/nvidia")
  -host-path string
    	Path on the host that contains nvidia libraries. This will be mounted inside the container as '-container-path' (default "/home/kubernetes/bin/nvidia")
...

Why I didn't think to check that ?
It works ! Thanks a lot !

No problem! Have fun k8s GPU-ing! ;)


Total PubIPs -> Public IPs

change in filters Total PubIPs -> Public IPs

verified in devnet
version : ac5cd85
the filter is now written as Free Public IP's

https://app.testlodge.com/a/26076/projects/40893/suites/234374?expand_section=426668#case_4152354


Compile gRPC Python extension as a C++ only

This fixes a temporary hack where we shelled out
to make on Mac (clang compiler) because it errored
passing gnu99 to a c++ compiler.

Scratch that, boringssl is still a c-c++ hybrid so we can't do that yet.


Release Advanced Search as stand alone Drupal module

Islandora Advanced Search supports Boolean search for Solr indexed fields.  Currently, it does require facets and Apache Solr; however, there are tickets (https://github.com/Islandora/documentation/issues/1819, https://github.com/Islandora/documentation/issues/1822) to explore if it can be setup without facets and possibly Solr.
One can assume that even with Solr, there would be many other Drupal users who would like to have this functionality.  Thus, releasing this as stand alone Drupal module may provide additional visibility and use outside of Islandora as well.
It does use node_has_term from Islandora in the islandora_advanced_search_form_block_form_alter.  If that can be moved to configuration or documentation, this module can be made into a separate Drupal module.
Current installation should be able to uninstall the submodule and install this module, then setup the block again!

Just note which I mentioned during our Tech call today, the two things which I found Advanced Search sub-module requires components from Islandora Core module are:

"node_has_term" is located at https://github.com/Islandora/islandora/blob/cf82e8f392c081221781fd568cfc11d1bde7fd87/modules/islandora_advanced_search/islandora_advanced_search.module#L90-L99, which prevent the Advanced Search block to be added to Block Layout.
The visibility of the config route at /admin/config/search/advanced in the Configuration page.

We split the submodule from Islandora core module to have it work as a stand-alone Drupal module https://github.com/digitalutsc/advanced_search
We also developed a couple of new features (in islandora_lite branch) when we implemented Advanced Search for our Islandora Lite stack:

Added Lucene Search capability (commit)
Added Simple Search block which is associated with Advanced Search Results View Page (commit).

@nigelgbanks, please kindly review. Thanks.

@kylehuynh205 cheers for pinging me, I've been on a long break from work and haven't been following along with developments for some time. I'll do a review on Monday.

Sorry took me a while to get around to this.
For references the differences from what's currently in the main branch of islandora https://github.com/digitalutsc/advanced_search/compare/8.x-1.x...islandora_lite
To test the islandora_lite branch I just removed the existing module from the isle-dc demo setup and did a git clone and switched branches before installing the module.

N.B Had some super weird glitch with the default search view that I don't think is related to this at all (in that it wouldn't display results). When building a new search page manually though everything was fine so I suspect there is something odd in the yaml configuration that is used to setup the isle-dc demo.  So for those looking to replicate my steps be aware.

I tested with search_api_solr version 4.2.0 which should use Lucene as the default query processor but I didn't see the All option in the advanced search form when testing as was mentioned in the README. Maybe additional steps are required? Ah seems there is some additional settings for the module configuration which controls this feature. Enabling that feature did get it to show up, but then using that as a search field didn't seem to give any results at all maybe more configuration is required?
For the Simple search block I also had the same issue in that it didn't seem to filter the results. Not sure what is going on there yet.
As a side note I've used the built-in form for the view to do similar behaviour to simple search block using the filter criteria Fulltext search  and exposing the view form as a block. Though that doesn't integrate with the advance search block as this one does by populating the All option on submission. Though it does work with Ajax.
I guess it depends on if the intention is to have something similar to how the view filter criteria form block works, for example the search for calico would generate a Solr search query like:
(tm_X3b_en_field_description:("calico")^1 tm_X3b_und_field_description:("calico")^1 tm_X3b_en_field_edited_text:("calico")^1 tm_X3b_und_field_edited_text:("calico")^1 tm_X3b_en_rendered_item:("calico")^1 tm_X3b_und_rendered_item:("calico")^1 tm_X3b_en_title:("calico")^8 tm_X3b_und_title:("calico")^8)
The above depends on your sites configuration.
Where as with the All field I get a query like:
{!boost b=boost_document}  "calico"
In reviewing the standard query processor aka lucene query processor in this case calico should be searched across the default field which is typically id by default hence why I get no results.
This check seems to remove the ability to limit the block to display only on particular content models which I've and potentially others have used for collection only searches. I'm not sure the intention for adding it?
I very much like the idea of having a field in the advanced search block that allows one to "search all fields", though I think we need to define those fields in a way that is similar to the existing functionality in Solr Search API module. We could use the same existing configuration most likely.

As for releasing the module completely separate from islandora, I'm not sure its worth the burden to support for the wider Drupal community. I don't have the bandwidth to fix non-islandora related issues from others use cases and it would expand the scope of the module in some ways, making maintenance harder. I wouldn't appose the decision though, but I'm also unlikely to do much work to support non-islandora use cases.

Sorry, @nigelgbanks about taking long time to get back to this issue. I found that {!boost b=boost_document} is the reason which cause the no search results. I comment it out in this commit  and Lucene seach is working as expect.
I am wondering if this line is needed for a specific use case ? I comment it out in the original branch 8.x-1.x  and everything still works. Thanks.

@kylehuynh205 there is a solr field boost_document that is used to change the order of results this document has a pretty good overview. This particular field is used by search_api_solr to what extent is this important to users I do not know. Though what I can glean from the solr documentation is that it's only valid for eDismax queries, so it makes sense that it messes with the lucence query.


Documentation add on request

Client setup it may be useful for people to al least have a note that set up their url as such:
http://example.com/report/
bash -c "$(curl http://example.com/report/index.php?/install)"
At least as a noob this caused me a bit of frustration in the first run test
I would get to this part and started thinking I botched a config file somewhere, or didn't set up the nginx portion properly just trying to save another noob from having this happen :)
Although I am grateful for the experience it gave me setting up the server multiple times.

You can edit the wiki if you have a GitHub account


Switching back to regular node-mysql

Switching back to regular node-mysql would be to prefer since there has been problems due to mysql2 been in a idle state to long.
Adjustment on how to handle namedPlaceholders will have to be sorted out to successfully do the switch.

Added branch and a checklist

Success


unrecognized compiler option ‘-mindirect-branch-register’

In my local system, when I try to build the wamr or wamr-sdk and so on, there is the following error:
[  2%] Building C object CMakeFiles/vmlib.dir/home/junxian.xjx/workspace/wasm-micro-runtime/core/shared/platform/linux/bh_assert.c.o
cc: error: unrecognized command line option ‘-mindirect-branch-register’
make[2]: *** [CMakeFiles/vmlib.dir/home/junxian.xjx/workspace/wasm-micro-runtime/core/shared/platform/linux/bh_assert.c.o] Error 1
make[1]: *** [CMakeFiles/vmlib.dir/all] Error 2
make: *** [all] Error 2
I just workaround it like this:
diff --git a/wamr-compiler/CMakeLists.txt b/wamr-compiler/CMakeLists.txt
index ed2198c..c349f88 100644
--- a/wamr-compiler/CMakeLists.txt
+++ b/wamr-compiler/CMakeLists.txt
@@ -97,9 +97,9 @@ include (${IWASM_DIR}/compilation/iwasm_compl.cmake)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat -Wformat-security")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wconversion -Wsign-conversion")
-if (WAMR_BUILD_TARGET MATCHES "X86_." OR WAMR_BUILD_TARGET STREQUAL "AMD_64")
-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mindirect-branch-register")
-endif ()
+#if (WAMR_BUILD_TARGET MATCHES "X86_." OR WAMR_BUILD_TARGET STREQUAL "AMD_64")
+#set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mindirect-branch-register")
+#endif ()
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstack-protector-strong --param ssp-buffer-size=4")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,-z,noexecstack,-z,relro,-z,now")

Hi,
Are you using Mac OS, seems your default compiler is clang, and -mindirect-branch-register only works on GCC.
The product-mini/platforms/darwin is prepared for Mac OS and you can build it without any modification.
As for the wamr-compiler, yes, currently the CMakeLists file is only for linux/GCC, to build it with clang, we need to comment line 101:
# set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mindirect-branch-register")

and set WAMR_BUILD_PLATFORM to "darwin" at line 7:
set (WAMR_BUILD_PLATFORM "darwin")

We have enhanced the CMakeLists.txt to check the C compiler, if it is clang, the flag -mindirect-branch-register will be disabled by default.


[FEATURE] Support dynamic allocation for Spark 3.4

Code of Conduct

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

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
We can refer to https://github.com/apache/incubator-uniffle/blob/master/patch/spark/spark-3.2.1_dynamic_allocation_support.patch
We should add the patch for Spark 3.4. You can use the ut of Spark to verify the effect of this patch.
Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

@LuciferYang @summaryzb Could you help me with this issue?

volunteering, please assign this to me


ucp: node-local support dump works on all nodes

Signed-off-by: Trapier Marshall<EMAIL_ADDRESS>

please do not merge yet.  subsequent paragraph also needs a boost.

not gonna have time at the moment to finish that second lift.  will do it in a follow-up.


Docs version unknown

@kosack - Why is your docs version unknown?

that's strange!  I'm not sure - it used to work correctly. Hopefully it will start working again when the next tagged release is made (hopefully this week)

No, that was removed years ago, and it's worked fine since then.  We replaced it with a custom system that detects and sets the version based on the latest git tag.  On local copies the version gets set correctly, so it's something to do with the travis build. Not much has changed there, but it could be an updated dependency broke something. This was certainly working on the automatic docs as of a month ago.
for example, i get:
ctapipe-info --version

*** ctapipe version info ***

version: 0.5.2.post509+git02986f2

And it works when I build the sphinx docs myself.

Is this related to some of the travis CI tests failing? The most recent pull requests seem to be failing with the error:
The command "travis-sphinx -v --outdir=docbuild build --source=docs/" exited with 1.

The docs displays the version nicely, so this is not an issue anymore.


Update README.md

Change readme to Taipython readme

This is a PR to be merged in develop branch.
You want to merge this PR in taipython branch. Right?
You can change that by editing your PR:


How to await a tools feedback message?

In the examples for the voice-pipeline-agent, the function_calling_weather.py has an example on how to add tools to the agent. In line 43 it executes a say() function to give feedback to the user telling him that the tool is going to be used [await call_ctx.agent.say(message)] This function is not awaited and the agent returns the response before delivering the feedback message. Does anyone now how to actually make the function await this call and make it happen before the rest of the function is executed?

It first completes the function call and its associated sound, then play the filler sound. But instead it should play the filler sound first.
`class AssistantFnc(llm.FunctionContext):
"""
The class defines a set of LLM functions that the assistant can execute.
"""
@llm.ai_callable()
async def get_weather(
    self,
    location: Annotated[
        str, llm.TypeInfo(description="The location to get the weather for")
    ],
):
    """Called when the user asks about the weather. This function will return the weather for the given location."""

    # Example of a filler message while waiting for the function call to complete.
    # NOTE: This message illustrates how the agent can engage users by using the `say()` method
    # while awaiting the completion of the function call. To create a more dynamic and engaging
    # interaction, consider varying the responses based on context or user input.
    call_ctx = AgentCallContext.get_current()
    # message = f"Let me check the weather in {location} for you."
    message = f"Here is the weather in {location}: "
    filler_messages = [
        "Let me check the weather in {location} for you.",
        "Let me see what the weather is like in {location} right now.",
        # LLM will complete this sentence if it is added to the end of the chat context
        "The current weather in {location} is ",
    ]
    message = random.choice(filler_messages).format(location=location)

    # NOTE: set add_to_chat_ctx=True will add the message to the end
    #   of the chat context of the function call for answer synthesis
    speech_handle = await call_ctx.agent.say(message, add_to_chat_ctx=True)  # noqa: F841

    # To wait for the speech to finish
    # await speech_handle.join()

    logger.info(f"getting weather for {location}")
    url = f"https://wttr.in/{location}?format=%C+%t"
    async with aiohttp.ClientSession() as session:
        async with session.get(url) as response:
            if response.status == 200:
                weather_data = await response.text()
                # response from the function call is returned to the LLM
                return f"The weather in {location} is {weather_data}."
            else:
                raise Exception(
                    f"Failed to get weather data, status code: {response.status}"
                )

`

@m-aliabbas how to add filler messages when using the MultimodalAgent?


Feature request: rate limiting

A nice feature to have would be a rate limit (per client)
In a test environment Caddy accepted a huge load of requests.
I't didn't crash, but it took a lot of resources of the server, witch caused other things to crash.
Is this something: https://github.com/golang/go/wiki/RateLimiting

Thanks for the suggestion -- but let's keep all the discussion about this in one issue so we don't lose track of it. #79.
Somebody please feel free to implement this or find a way to fund this feature if you'd like it sooner than later.


bootstrap directory structure isn't showing newlines correctly - 2332850

The text snipped showing the bootstrap directory structure isn't showing newlines correctly.

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

ID: 8bc12134-33e6-ef48-6b2a-d832f3c7872f
Version Independent ID: 7f4534e1-4742-2b7d-c2c2-160f9b8cf846
Content: Edit CSS in a portal - Power Apps
Content Source: powerapps-docs/maker/portals/edit-css.md
Service: powerapps
GitHub Login: @neerajnandwana-msft
Microsoft Alias: nenandw

Thank you for reaching out. Documentation has been updated for new lines, please allow some time to reflect the changes.


[CARBONDATA-1378] support creating table in hive

support creating table in hive
create table test_carbon(int id) STORED AS CARBONDATA;

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/76/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/199/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/831/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/200/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/77/

retest please

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/832/

@cenyuhai what is the grammar for creating carbon table in hive?

@cenyuhai  Please add an example and description in PR details.

OK

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/277/

Build Success with Spark 1.6, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/153/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/908/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/909/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1194/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/563/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1426/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3072/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4316/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5204/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7141/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/5917/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/68/

Build Failed  with Spark 2.3.1, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/8817/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/572/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/2020/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/2197/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/10272/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/93/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/92/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/90/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1991/


fix(es/minifier): Don't drop ??

Description:
I'm still investigating.
Related issue:

https://github.com/vercel/next.js/issues/41992.

Investigation
                        &JsMinifyOptions {
                            compress: BoolOrDataConfig::from_bool(false),
                            mangle: BoolOrDataConfig::from_bool(false),
                            ..self.opts.clone()
                        }

works, while
                        &JsMinifyOptions {
                            compress: TerserCompressorOptions {
                                defaults: false,
                                ..Default::default()
                            }
                            .into(),
                            mangle: BoolOrDataConfig::from_bool(false),
                            ..self.opts.clone()
                        },

does not

I found the cause.

is compiled as

so we should preserve ??

Is it possible to add a reduced test case?

Has this already been fixed by #6272?

@Austaras No, as we have removing logic in more places

No, there's alreay a may_short_circuit in L668, and I've testes the input on main branch which generates identical output.

The ignore_return_value is really too long to parse for human...

Oh, if then it's possible that I was using a old base branch.

You are right, this was fixed already and I was using an old base


Hide class bars when in vehicle

Don't know if this is the best place or the best way to do it.
Also this would be an API change (?) as currently only the EclipseBar element is required to have :Show()/:Hide(). All the others could currently just be simple tables to hold their corresponding elements.
Blizzard code for this could be found in PlayerFrame.lua
Don't know whether it makes a difference using UnitHasVehiclePlayerFrameUI than UnitHasVehicleUI, but Blizz takes the former. As far as my testing did, both work the same way.

This is really something that should be handled by extending the element API. I also don't want to force "simple" elements to use frames for the sake of using frames.
A better solution would probably be to support both with and without a root frame for these class elements and handle the show/hiding based on that.
This way we aren't forcing a behavior on everyone.
A side note: Prefix your commits with what you change. You can change this through git rebase -i origin/master. You should also squash commits like these two into one through the same command.

Ok, can do an event check and hide rune for rune, totem for totem and so long from the elements update function. For this we need to pass the real event at master/ouf.lua#L58. Or is there another possibility? I thought self.unit and unit would be different when in vehicle, but I'm apparently wrong.

Ok, done runebar, soulshards and totems. Tested in-game soulshards and runebar and both work. I only tested totems on a death knight (the ghoul is a totem) and it seems to work too. Would like to test this on a shaman, but mine is only level 51 and I have to find a vehicle quest or something for that level range.
EclipseBar is trivial and holypower works exactly like soulshards. Totems would function for druid mushrooms too as they do for the dk's ghoul.
I just post this that way for a review if it is ok to do stuff that way. I'll add the rest and rebase if I get ok from you. Do you also want to have the commits one per element or the way it is now?

It should be ready for review now. Only eclipsebar is untested but should be working.


sesman: Copy IP address to pre_session_item struct

Fixes: #3167
struct pre_session_item has an entry for the start_ip_addr which is not being filled in. This is not normally needed, as the IP address of the session is passed into the session another way, but it is needed if the session selection Policy contains the 'I' selector.

LGTM, let's merge.


Add master docs link to readme

Description
Add link to next documentation version in README. Currently that version is pretty hidden with no clear way to know that even exists so this PR fixes that
Checklist

[ ] I have run cargo make pr-flow
[ ] I have reviewed my own code
[ ] I have added tests

So is this what we want to go with then?
To reiterate my points from our discussion on Discord: I believe this to be suboptimal because it doesn't work for the other languages and uses up a lot of space.
Perhaps we could try to draw more attention to the version selection on the website itself?
I'm fine with merging this for now though.

I think latest and stable versions should be in readme so its clear that docs for those exist without having to look through versions on the website. It doesn't clutter too much (imo) so I guess its fine in readme.
As for the showing versions on the site point, like i said on discord, "Yew Docs" in the navbar can just be reduced to "Yew". In addition to that, the version indicator can show a menu on hover, similar to docs.rs. What do you think about that?

It doesn't clutter too much (imo) so I guess its fine in readme.

It's fine right now but what if we added it for every language?
Our current approach of just adding all languages to the README isn't sustainable anyway so I guess it's fine.

I think latest and stable versions should be in readme so its clear that docs for those exist without having to look through versions on the website.

Yeah, I'm going to merge this for now. I still think we should make changes to the website itself to make it easier for users to realize that there even are different versions (and how to switch between them)..

As for the showing versions on the site point, like i said on discord, "Yew Docs" in the navbar can just be reduced to "Yew". In addition to that, the version indicator can show a menu on hover, similar to docs.rs. What do you think about that?

Sounds like a good start!

Our current approach of just adding all languages to the README isn't sustainable anyway so I guess it's fine.
Multiple READMEs for each language sounds like the right way to handle this to me


Fail test on warnings

Fails the linux test on warnings,
removed the check for warnings since it does not make sense now.
polkadot companion: https://github.com/paritytech/polkadot/pull/1102

I think I'll need some help with figuring out why it fails https://gitlab.parity.io/parity/substrate/-/jobs/514348