Issue in using Tensorflow lite GPU delegate on iOS device

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.13.6
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:iPhone X
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.13.1
Python version: 3.7.3
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: NA
GPU model and memory: NA

Describe the current behavior
I am trying to benchmark a custom TF lite model on Android and iOS devices with the GPU delegate option. On the Android device(Google Pixel 3), I am able to successfully benchmark the model using the Tensorflow provided benchmark utility (https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/tools/benchmark).
Running the same model on iOS device (iPhone X) without GPU delegate option works fine. However when I try to run it with the GPU delegate option I observe the following error:
tflite_camera_example[572:134773] [DYMTLInitPlatform] platform initialization successful
Loaded model 1resolved reporter
tflite_camera_example[572:134606] Metal GPU Frame Capture Enabled
tflite_camera_example[572:134606] Metal API Validation Enabled
depth_multiplier 16 != weights output channels 1
Node number 53 (MetalGpuDelegate) failed to prepare.
Node number 53 (MetalGpuDelegate) failed to prepare.
Failed to allocate tensors!
tflite_camera_example[572:134606] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
tflite_camera_example[572:134606] [MC] Reading from public effective user settings.
(lldb)
I am modifying the iOS Tensorflowlite sample camera app(https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/examples/ios/camera) as per the instructions in this video from Tensorflow : https://www.youtube.com/watch?v=a5H4Zwjp49c&feature=youtu.be to evaluate the GPU delegate option.
Describe the expected behavior
Should be able to run the inference using the GPU delegate on iOS with the same model that worked on android
Code to reproduce the issue
Other info / logs

Any update on this issue? I am also facing the same issue. Need urgent help!

commit should resolve the issue.
@manoharyes on which version do you have the issue?

@NikolayChirkov I am not building TF-lite GPU delegate from source and using it . I am modifying the TF-lite iOS camera example app to evaluate the GPU delegate, which uses pod file based method to fetch the TF-lite GPU delegate library . In the pod file both the options namely : pod 'TensorFlowLiteGpuExperimental' and pod 'TensorFlowLiteGpuExperimental', '0.0.1'  resulted in the same error described in this issue

Could you share the instructions for building the TF-lite GPU delegate for iOS ?
Any reference to sample iOS application/example that uses this prebuilt TF-lite GPU delegate would also be really useful.

Yes, I saw a similar issue after using my own built tensorflow_lite_gpu.framework.
I built it at latest master branch and have to fix minor errors in metal_delegate.mm. Then built it using
bazel build --apple_platform_type ios --cpu=ios_arm64 --cxxopt=-std=c++14 -c opt --copt -DTFLITE_GPU_BINARY_RELEASE --copt -fvisibility=hidden --linkopt -s tensorflow/lite/delegates/gpu:libtensorflowlite_gpu_metal.so
Built succeed, but when I use it in my app, I get error: Error initialization of input buffer converter

I was able to build the latest code of TF-lite GPU delegate for iOS . With this TF-lite GPU delegate library the earlier error (depth_multiplier 16 != weights output channels 1) is no longer there. However when I try to run GPU based inference on my custom model the following error is observed :
Initialized TensorFlow Lite runtime.
Created TensorFlow Lite delegate for Metal.
Metal GPU Frame Capture Enabled
Metal API Validation Enabled
Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3)
@NikolayChirkov  : Any suggestions on how to address this issue?
@tsujie : I faced a similar error when I ran GPU based inference on iOS devices with SW version below 12.0, but not on devices with version greater than or equal to 12.0

@tsujie Can build binary for ios with universal binary at once?

@weinixuehao I need to built libmetal_delegate.a firstly, then run ios universal build script to create the final framework

@tsujie if so you need to build libmetal_delegate several time for x86 armv7 arm64 ... ?
Do i uderstand correctness ?

@tsujie arm64 x86_64 compiled successfully but armv7 armv7s is failed

@weinixuehao I only built arm64 & x86_64

@tsujie

This issue has fixed?

That's weird. Looking into.

@weinixuehao I built at latest master branch. It is working now.

@tsujie
What date you built?  My is at latest master too.

@tsujie @NikolayChirkov

May be this reason which not support simulator

Both print outputs is null

@NikolayChirkov I am not building TF-lite GPU delegate from source and using it . I am modifying the TF-lite iOS camera example app to evaluate the GPU delegate, which uses pod file based method to fetch the TF-lite GPU delegate library . In the pod file both the options namely : pod 'TensorFlowLiteGpuExperimental' and pod 'TensorFlowLiteGpuExperimental', '0.0.1'  resulted in the same error described in this issue

Could you share the instructions for building the TF-lite GPU delegate for iOS ?
Any reference to sample iOS application/example that uses this prebuilt TF-lite GPU delegate would also be really useful.

Is this solved?Were you able to run it with GPU on iOS device?
I am also facing the same issue!


Working with Multidimensional Coordinates - Plotting PlateCarree projection looks strange

The pixels seem stretched; https://xarray.pydata.org/en/stable/examples/multidimensional-coords.html

Yes, this is due to an upstream change in matplotlib - see also #4364. mpl tries to infer the edges of the gridcell - which does not work if the data is not monotonic. In the short term we can fix this by passing shading="flat":
ds.Tair[0].plot.pcolormesh(ax=ax, transform=ccrs.PlateCarree(), x='xc', y='yc', add_colorbar=False)

however, mpl will eventually remove shading="flat". I am not sure what the best way forward is. mpl recommends to drop a row and column of the data (which it did earlier automatically). See:
https://github.com/SciTools/cartopy/issues/1638#issuecomment-692741908

I believe the best (albeit tedious) solution is to resample the coordinates from nxny to (nx+1)(ny+1) before passing the grid to pcolormesh. They should be resampled in such way that the new coordinate positions are on the corner of the quadrilateral as is expected by pcolormesh with flat shading. If only needs to be ensured that none of the 'new' quadliterals crosses the map boundary.
The problem with dropping the last row and column is that it will effectively lead to the position of the values on the map being shifted from their actual position, because pcolormesh assumes that position of value and coordinate different. (May be a minor shift in many cases but still.)
I could not find anything about mpl removing flat shading, are you sure about that?

I could not find anything about mpl removing flat shading, are you sure about that?

It's in the deprecation warning: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3.  Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading'].  This will become an error two minor releases later.

I believe the best (albeit tedious) solution is to resample the coordinates from nxny to (nx+1)(ny+1)

We are currently doing this (if the coordinates are monotonic). And mpl also started doing it (and now gives a warning on non-monotonic coordinates). The problem is that with non-monotonic coordinates it leads to wrong results.

If only needs to be ensured that none of the 'new' quadliterals crosses the map boundary.

I think that's not trivial - see also: SciTools/cartopy#1638 and matplotlib/matplotlib#18317 and has to be fixed upstream. There is a proposed fix, see: SciTools/cartopy#1646.

OK I see, thanks for the links.
But the warning says that shading='flat' will be removed as an option only for cases where X/Y dimensions are the same as C; not in general. Sorry, maybe that's just what you meant.
But if the grid is resampled before passing to mpl, flat shading could still be used in the future and non-monotonic coordinates for plotting wouldn't be an issue- well except for the resampling itself.. but they have a good idea for solving that in that cartopy fix. If I understand correctly, their fix 1646 might solve this issue here as well then?

I think can be closed as fixed upstream


Add a rect field to UiImage

What problem does this solve or what need does it fill?
Currently it is impossible to render a region of an image in the UI without using a texture atlas.
What solution would you like?
Adding an optional rect field to UiImage that works the same as the rect field in Sprite.
What alternative(s) have you considered?
Using a texture atlas, but this doesn't make sense in all cases.

A few steps away from UiImage == Sprite convergence :smile:
Text is the same component for both UI and world-space, so I think it would make sense for image as well. Anyways this is off-topic :p

@benfrankel I would also be in favor if they are the same component. I think custom_size could work in the UI, but I don't think anchor makes sense at all. So that either needs to be put in a seperate component, or it would just be ignored by the ui.


Feature Request: Http call on service close/killed

It would be great if a http call back can be made when a user kills/stops the app from RAM.
This stackoverflow question may give some idea: http://stackoverflow.com/a/33078782/3955513

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.

How do I reopen this? Also would like to get your feedback on this.


Wizard tests

Create a new sub page through "Page > Add Page" (double click)
Create a new sub page using the "Creation Wizard" (pick and click on "Next")
Check that you can go back in creation wizard

LGTM, nice work


[nativeImage] Let multiple Graal JDKs be declared

At the moment a single graal JDK may be configured which is troublesome as the artifact requires a matching platform.
Instead allow for a graalJdks (as a list of artifacts) to be defined. Rules for locating a suitable Graal JDK should be similar to what Jlink does to locate a matching JDK in its targetJdks list.

There's no longer a need to configure the graal: property, graalJdks: should be used instead.


[BUG] can not get right document num when using cross modal search

Describe the bug
Multi modal and cross modal search failed , after add_documents for image url, 'mq.index(index_name).get_stats()' return "{'numberOfDocuments': 0}". I tried text search text , that's ok. I tried 'wget docker_path' and its success ensure that the image url is right.
To Reproduce
follow https://medium.com/@wanli19940222/how-to-implement-text-to-image-search-on-marqo-in-5-lines-of-code-448f75bed1da ,
use my images,
after mq.index(index_name).add_documents(documents, device="cpu", processes=1, client_batch_size= 1),  excute  mq.index(index_name).get_stats(), it return "{'numberOfDocuments': 0}"
Expected behavior
return {'numberOfDocuments': 10}
Screenshots

Desktop (please complete the following information):

OS:ubuntu 18.04
Browser
Version 0.3

@pandu-k @wanliAlex

Hi, thank you for using Marqo. It seems that images are not added to you index. Can you provide the image document, which is the ‘image_docker’ in the article? Make sure Marqo can access it.

Hi, thank you for using Marqo. It seems that images are not added to you index. Can you provide the image document, which is the image_docker in the article? Make sure Marqo can access it.

the documents are as follows：
[{'image_docker': 'http://host.docker.internal:8222/1667810239.387798223.png', '_id': 0}, {'image_docker': 'http://host.docker.internal:8222/1667810239.487797999.png', '_id': 1}, {'image_docker': 'http://host.docker.internal:8222/1667810239.587798287.png', '_id': 2}, {'image_docker': 'http://host.docker.internal:8222/1667810239.687798447.png', '_id': 3}, {'image_docker': 'http://host.docker.internal:8222/1667810239.787736830.png', '_id': 4}, {'image_docker': 'http://host.docker.internal:8222/1667810239.887736766.png', '_id': 5}, {'image_docker': 'http://host.docker.internal:8222/1667810239.987736542.png', '_id': 6}, {'image_docker': 'http://host.docker.internal:8222/1667810240.087736030.png', '_id': 7}, {'image_docker': 'http://host.docker.internal:8222/1667810240.187736062.png', '_id': 8}, {'image_docker': 'http://host.docker.internal:8222/1667810240.287736030.png', '_id': 9}]
I tried 'wget docker_path' in the docker and its success ensure that the image url is right.

Thanks. The documents look good. Can you provide a full copy of your code here?

Thanks. The documents look good. Can you provide a full copy of your code here?

import marqo
import os
mq = marqo.Client(url='http://xx.xx.xx.xx:8882')
index_name = "image-search-guide"
settings = {
"model": "ViT-L/14",
"treat_urls_and_pointers_as_images": True,
}
mq.create_index(index_name, **settings)
import subprocess
local_dir = "/mnt/xxxx/database/2022_11_07_16_33/demo_marqo/"
pid = subprocess.Popen(["python3", "-m", "http.server", "8222", "--directory", local_dir], stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
import glob
import os
Find all the local images
locators = glob.glob(local_dir + "*.png")
Generate docker path for local images
docker_path = "http://host.docker.internal:8222/"
image_docker = [docker_path + os.path.basename(f) for f in locators]
print(image_docker)
documents = [{"image_docker" : image, "_id" : idx} for idx, image in enumerate(image_docker)]
print('documents:',documents)
mq.index(index_name).add_documents(documents, device="cpu", processes=1, client_batch_size= 1)
results = mq.index(index_name).get_stats()
print(results)
@wanliAlex

We also recommend you to follow the example here.

Hi, sorry for the wait. The problem is this line documents = [{"image_docker" : image, "_id" : idx} for idx, image in enumerate(image_docker)]
Can you change to
documents = [{"image_docker" : image, "_id" : str(idx)} for idx, image in enumerate(image_docker)]
and test again?

thanks, it works

We also recommend you to follow the example here.

ok


Feature Request: Specify DKIM Key Size

Hi All,
I have the issue that my DNS provider (hover) does not support 2048 long DKIM keys (they have a size limit on the TXT entry), which is why I need SMF to generate 1024bit long DKIM keys.
I have currently adjusted my local entrypoint.sh (in line 244) to support this. Would it be possible to add an environment variable for this?
Thank you!

I'd like to accept a PR with a good-named environment variable for configuring this.

See PR #110

Thank you very much for your contribution!


Fetch and store the language property

Summary
Since we already can get the language property in the REST call to get
most of the properties, we might as well store it as a property in the
database and let it be usable in selectors.
Change Type

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
I really need to add automated smoke tests for the selectors, but for now I have used:
selector: repository.properties['github/primary_language'] == 'Go'

Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 53.722% (-0.006%) from 53.728%
when pulling 09ff2ca68b3c42651c2e79a552fb800d1472c507 on jhrozek:single_language_prop
into 7f9febebd92121ad9663eed03e333e01f8f70526 on stacklok:main.


Need one restApi for check service name on building new service;

In GitLab by @wknet123 on Nov 8, 2017, 17:20

In GitLab by @yhua123 on Nov 8, 2019, 07:40
Duplicate Issue #557
UI need update

In GitLab by @liyanq528 on Nov 8, 2019, 07:40
fixed by pull request #654

In GitLab by @sokril on Nov 8, 2019, 08:14
closed

In GitLab by @sokril on Nov 8, 2019, 08:14
assigned to @liyanq528

In GitLab by @liyanq528 on Nov 12, 2019, 01:52
mentioned in merge request !654


Entity is not created if tile is not listed in initial modules API call but shows up later

I have the following situation with my Defro: ST-9724 1.6.1 P01 (v.3.3.5) pellet stove. When I launch emodule.eu site / eModule mobile app I can see the tiles:

After several seconds a new tile "DHW temperature" shows up:

If I integrate such module with Home Assistant there is no "DHW temperature" entity. It was not listed during module API call so the appropriate TileTemperatureSensor entity was not created. The tile shows up during regular updates but since there is not entity the data is not reported.
I made a workaround and manually add the entity during setup.
I wonder if such situation happens for others. I can try implement it properly but need some guidance on how to approach it.

Maybe this is related to following discussion https://github.com/mariusz-ostoja-swierczynski/tech-controllers/discussions/129

can you check branch from this PR https://github.com/mariusz-ostoja-swierczynski/tech-controllers/pull/136 does this is adding what you expecting?

I think problem here is different, that is the mentioned tile is not visible during initial configuration and it pops up later, yes?
In my case everything is visible from start.

ahh, ok I understand what you mean


Roll-your-own URI parser fails on user:pass@

https://github.com/couchrest/couchrest/blob/96ba1ca2df002e6ff1e6891e5768ad9707af1c7c/lib/couchrest.rb#L59-L82
`
@db =<EMAIL_ADDRESS>> Error:  bad URI(is not URI?)

This was working in an earlier version.
It appears Ruby has a standard module which should be used for parsing URI.
https://docs.ruby-lang.org/en/2.1.0/URI.html

Seems another dependency choking on the output, which explains why I didn't post this as an issue last time I looked at it. Digging deeper.


Oxedions/feat/scaling

New direct access method.
Replace existing but badly designed accelerated mode.
Huge performance improvement. Could even be better, but at a cost of greater complexity.
I personally think this is a good balance here (complexity vs performances).
Target is to cover all ranged roles:

hosts_file
dhcp_server
dns_server
ssh_master
pxe_stack

hosts_file being the priority, as this file is often deployed on a massive number of hosts.
direct_access role must be executed before other roles to activate it in templates.
nodes_path variable must be set for the direct_access role to work. By default, nodes_path is /etc/bluebanquise/inventory/cluster/nodes/.
Direct access method only allows standard mg_group + eq_group yml structure, other structures cannot be handled right now.

PXE nodes file would benefit of a rework: instead of listing nodes one by one, nodes would be grouped by equipment profiles.
More logical, no more scaling issues on this file.

Stall. Waiting for another development.


🚀 [Feature Request] - Add Captch in Login and Signup Form

Is your feature request related to a problem ? Please describe. ✍
Enhancement
Description
I want to implement a captcha feature in the login and signup form. As captcha helps to identify between human users and bots it is an essential part of input forms. So we should implement it in our form.
Request
If you find this issue worth implementing then please assign me.
Describe briefly how you would implement this enhancement.
Some steps to implement this enhancement-
1. First Write a function to generate a captcha
2. Compare Generated captcha with the input value
3. Result Correct or incorrect captcha

Additional context or screenshots
Additional context
Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

actually we not needed this! thanks for raising issue


Fix: "project" should be "package"

This was accidentially overlooked when writing the documentation.
Closes #11129
@Muscraft I hope I was faster than you!

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon.
Please see the contribution instructions for more information.

@bors r+

:pushpin: Commit 4efd3a31e14e464aa0738e0c8fdea19f3781e701 has been approved by epage
It is now in the queue for this repository.

@bors retry

Testing bors fix
@bors r-

@bors r=epage

:pushpin: Commit 4efd3a31e14e464aa0738e0c8fdea19f3781e701 has been approved by epage
It is now in the queue for this repository.

There still seems to be an error with this. I'll cherry-pick the commit and add it to a branch of mine that needs it. That way it can get merged.

@bors r-

Close as CI seems broken with no reason (why appveyor revives?!), and the commit is cherry-picked by #11135. Thank you for the quick fix anyway!


Invalid Powershell parameter

The instruction which states...
To enable Loop components in Teams, run Set-SPOTenant -IsLoopEnabled $true.
.. fails because -IsLoopEnabled is an INVALID argument for this PowerShell function.
The instruction immediately following which states...
To disable Loop components in Teams, run Set-SPOTenant -IsLoopEnabled $false.
... also fails for exactly the same reason.... -IsLoopEnabled is an INVALID argument for this PowerShell function.
Please updated this documentation.
Thank you.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 18bcf7c8-f92b-f0e8-75f5-71773e4a377b
Version Independent ID: 18bcf7c8-f92b-f0e8-75f5-71773e4a377b
Content: Manage Loop components in OneDrive and SharePoint
Content Source: microsoft-365/loop/loop-components-configuration.md
Service: sharepoint-online
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@srattey Thank you for your feedback. I get the same error, we will work internally and fix this document.
Thanks
Sri

@dancontoso can you help?

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Library Collision between face-api and posenet?

My posenet code works, but when I add import * as faceapi from 'face-api.js'; I start to get errors like:

Error: Argument 'x' passed to 'pad' must be a Tensor or TensorLike, but got 'Tensor'
convertToTensor — modules.js:108247
pad_ — modules.js:95597
f2 — modules.js:96538
f2 — modules.js:96538
(anonymous function) — modules.js:75986
(anonymous function) — modules.js:10545
scopedRun — modules.js:10555
padAndResizeTo — modules.js:75984
(anonymous function) — modules.js:75561
step — modules.js:75414
(anonymous function) — modules.js:75389
initializePromise
Promise
(anonymous function) — modules.js:75385

Is there a way to have both of these libraries?
Thanks for any thoughts or help! I am using Meteor and this is running on my iphone. In a regular laptop browser it works fine. Very confused! Any advice to track this down?

You have to make sure that you are using a posenet version, that utilizes the same tfjs-core version as face-api.js, or atleast make sure, that you are not ending up with 2 different versions of tfjs-core in your bundle.

Ok. Thanks!


beaver 5.1.4 - Snowflake Connection

The URL Template used under the edit driver settings for a snowflake connection is no longer used to set up the connection to Snowflake.  We are connecting with single sign-on and we use the "authenticator" option in the URL template.  Unfortunately, we had to roll back to previous version to make it work.
Ideally, it will be best to have a drop down as part of the username/password configuration which lets you select the authenticator mode
https://docs.snowflake.net/manuals/user-guide/jdbc-configure.html
authenticator=[connection option]
Specifies the authenticator to use for verifying user login credentials:
snowflake (Default) to use the internal Snowflake authenticator.
externalbrowser to authenticate using your web browser and Okta, ADFS, or any other SAML 2.0-compliant identify provider (IdP) that has been defined for your account.
https://<your_okta_account_name>.okta.com (i.e. the URL endpoint for Okta) to authenticate through native Okta (only supported if your IdP is Okta).
Default is snowflake.
We need the ability to select/enter any of the thee type of authentication options.

this is fixed in 5.1.5 (#3874 )

You can get 5.1.5 here - https://dbeaver.io/files/ea/

I'll add extra connection parameter on the main connection page.


🐛 Fixed routes uploader validation allowing .yml files

no issue

The server never supported uploading yml files

Coverage remained the same at 70.637% when pulling 4f6f4746c4dd97f3cbeb24b5ee8d766e92f63b35 on vikaspotluri123:no-yml into 4ce8a72c98ef3f4818e82aea0e2d0d874c1ce2e2 on TryGhost:master.

👍 Thanks @vikaspotluri123!


Button issue with sending messages to URL, phoneNumber, and ID.

WA-JS Version
v3.10.1
WhatsApp Version
2.3000.1016513787
Browser Version
127.0.6533.120
Operation System
windows
Steps to reproduce
Send button message using provided code:
<EMAIL_ADDRESS>'Hello', {
useInteractiveMessage: true, // False for legacy
buttons: [
{
url: 'https://wppconnect.io/',
text: 'WPPConnect Site'
},
{
phoneNumber: '+55 11 22334455',
text: 'Call me'
},
{
id: 'your custom id 1',
text: 'Some text'
},
],
title: 'Title text', // Optional
footer: 'Footer text' // Optional
});
What is expected?
Button message sent to url, phoneNumber and id three option proper send.
What is actually happening?

Scenario 1: Properly sending to URL, phoneNumber, and code.
Scenario 2: Properly sending to URL and phoneNumber.
Scenario 3:  Properly sending text to buttons for the two and three ID.
Scenario 4: Not sending to URL, phoneNumber, and ID.

Any additional comments?
No response

The error is clear
Click buttons can only be shipped alone, no other models together.


chore: fix casing per naming scheme

Fix a lot of wrong casing mostly in the docstrings but also sometimes in def/theorem names. E.g. fin 2 --> Fin 2, add_monoid_hom --> AddMonoidHom
Remove \n from to_additive docstrings that were inserted by mathport.
Move files and directories with Gcd and Smul to GCD and SMul

Thanks for these fixes. Could I ask that if (or when) you have any more fixes, to please make a new PR for them? Otherwise, reviewing becomes increasingly difficult.

bors merge


AMBARI-25155. Backport knox trusted proxy support for ambari for 2.6 (amagyar)

What changes were proposed in this pull request?
Backport of #2682 #2702 #2665 #2683
How was this patch tested?
Manually with
 curl -k -i -u sam:sam-password -X GET https://localhost:8443/gateway/default/ambari/api/v1/users

cc: @g-boros

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4932/
Test PASSed.


Missing items cause bibliography scan to fail

Can you try whether the xpi at http://zotplus.github.io/better-bibtex/#debug solves the problem for you?

Beautiful! Works almost perfectly! There's one tiny problem that was also present in previous versions: it seems that a spurious '' is added in the DOI.
[#bibliography]: #start
[@bentley_academic_2011]: #bentley_academic_2011 "Bentley, P., & Kyvik, S. (2011). Academic staff and public communication: a survey of popular science publishing across 13 countries. _Public Understanding of Science_, _20_(1), 48–63. http://doi.org/10.1177/0963662510384461"
Bentley, P., & Kyvik, S. \(2011\). Academic staff and public communication: a survey of popular science publishing across 13 countries. _Public Understanding of Science_, _20_\(1\), 48–63\. http://doi.org/10\.1177/0963662510384461
[#bibliography]: #end

Bentley, P., & Kyvik, S. (2011). Academic staff and public communication: a survey of popular science publishing across 13 countries. Public Understanding of Science, 20(1), 48–63. http://doi.org/10.1177/0963662510384461

As you can see, the link is broken as a result.
(Btw, thanks for your quick responses to my messages!)

My pleasure. Could you try the new version from the same place?

BTW that the previous test version works mean that you reference a cite key somewhere that doesn't resolve; BBT handles that more gracefully now, mainly by ignoring it. You will find ?? somewhere in your text as the reference text link.

Perfect! :D
[#bibliography]: #start
[@bentley_academic_2011]: #bentley_academic_2011 "Bentley, P., & Kyvik, S. (2011). Academic staff and public communication: a survey of popular science publishing across 13 countries. _Public Understanding of Science_, _20_(1), 48–63. http://doi.org/10.1177/0963662510384461"
Bentley, P., & Kyvik, S. \(2011\). Academic staff and public communication: a survey of popular science publishing across 13 countries. _Public Understanding of Science_, _20_\(1\), 48–63. http://doi.org/10.1177/0963662510384461
[#bibliography]: #end

Bentley, P., & Kyvik, S. (2011). Academic staff and public communication: a survey of popular science publishing across 13 countries. Public Understanding of Science, 20(1), 48–63. http://doi.org/10.1177/0963662510384461

that the previous test version works mean that you reference a cite key somewhere that doesn't resolve

I've checked the cite keys, but I'll double check anyway. Thanks once again! :)

I've scheduled 0.13.5 for release, but Travis is having issues. When https://travis-ci.org/ZotPlus/zotero-better-bibtex/builds/67999740 completes, it will automatically release the version.

@retorquere: Thank you for this. :)

(bows) you're welcome.


"TUNI Narvi Cluster" requires a refresh

TUNI Narvi Cluster note was inspired by an obsolete tutorial at wiki.eduuni. Therefore it would be nice to check if the information which is there is still up-to-date.
For instance,

[ ] the step-by-step guide on how to get an account at Narvi – is it still working?

[ ] Alternatively, we may borrow the guide from here eduuni (thanks @Blade6570 ) which has an updated guide on how to apply for an account + how to create a key-pair 🔐

[ ] the original resource had instruction on how to start an interactive job. I decided to omit this tutorial whatsoever because it may promote the bad practice of using the resources at the cluster. Specifically, a 7 days job in a tmux window almost definitely leads to an inefficient resource allocation.
[ ] Also, we (w/ @Blade6570) was thinking about adding a tiny note on how to be a "good citizen" on Narvi as now we have a ton of problem with inefficient resource allocation on the cluster especially the disk space.

Therefore, this issue tracks these points. Please, create another issue if your problem doesn't fall into these three.

Hi, I found the updated information about Narvi at https://wiki.eduuni.fi/display/tuttcsc/User+Account. Maybe some parts can be borrowed from here.

Yep, this is great. Added to the check list.


Is it possible to run Selenium IDE test case in robotframework

Originally submitted to Google Code by kkreddy1... on 27 Jan 2009

What steps will reproduce the problem?
1.Record playback option is not there in robotframework. It is difficult
to write the test cases in keyword-driven for Robot framework(Selenium IDE
having record/palyback options)
2.I would like to run the Selenium IDE test cases directly with Robot
framework. If not possible, let me know the alternative solution for the
above mentioned issue
3.
What is the expected output? What do you see instead?
Robot framework needs to be record/playback option or Selenium IDE test
cases can be executed directly from Robot framework
What version of the product are you using? On what operating system?
robotframework Version : robotframework-2[1].0.3
Operating system : Windows XP
Please provide any additional information below.
Currently I am using Selenium IDE and Robot framework test automation
tools for my project.
I have some questions regarding the above mentioned two automation
tools. Here are the questions
1- Is it possible to run Selenium IDE test case in Robot framework? If
possible, please let me know the procedure
2- If not possible, please let me know the alternative solution if
any.
3- Is it possible for record and play back the test cases with Robot
framework instead of writing test cases manually? (Record and playback
option is available in Selenium IDE)

Originally submitted to Google Code by kkreddy1... on 28 Jan 2009

Please take it as high importance.

Originally submitted to Google Code by @yanne on 13 May 2009

1 and 2)
You can export the Selenium IDE script as a Python file, and execute it through Robot
using OperatingSystem keyword Run. (See
http://robotframework.googlecode.com/svn/tags/robotframework-2.1/doc/libraries/OperatingSystem.html#Run
for details). However, in this case you only get PASS/FAIL information based on
return code, and not any details of the executed steps or failures therein.

Robot Framework does not support record and playback
While it could be possible to implement functionality that would somehow convert
Selenium IDE scripts to actual Robot Framework test cases, I think the effort is too
big for the achieved benefit, so we won't investigate it further.

Originally submitted to Google Code by nkc24nk... on 7 Aug 2012

How to use operatingsyste keyword to run py file from selenium script ?
I have use keyword "Run" to execute py file, report is pass, but not really run py file.
The log is :
INFO  Running command 'F:\ttt.py 2>&1'
Can someone tell me why?


Install and remove MinIO for storage buckets tests

As MinIO is no longer bundled with LXD, we have to build it manually for the tests and set minio.path on the LXD snap.

@tomponline @simondeziel the snap bundled MinIO pinned to a specific version, I just used the latest release here, but if it's preferable to keep the old pinned version then I can use that instead.

@tomponline @simondeziel the snap bundled MinIO pinned to a specific version, I just used the latest release here, but if it's preferable to keep the old pinned version then I can use that instead.
Might look a bit cleaner that way too, since we could just git clone and know which tag we want.

Using latest is fine for tests

This looks good for latest/edge but the same tests need to work on 5.0/edge where it'd be ideal not to download those bits.

This looks good for latest/edge but the same tests need to work on 5.0/edge where it'd be ideal not to download those bits.

This got me a bit confused. So is minio not going to be supported on 5.0/edge? If it is, then will it continue to be bundled in the snap? If not, then how else would we fetch the binaries if we don't download them?

@masnax minio will remain in 5.0/*. So ideally we would download the minio/mc binaries only if needed.

Hmm, https://github.com/canonical/lxd-pkg-snap/blob/5.0-candidate/snapcraft.yaml has no minio part at all. I'm confused, did we even shipped 5.0 with minio bundled or was that just a feature release thing?

@masnax so Tom confirmed, we never shipped the minio bundled server in 5.0/*, only the client bits. That said, the script you are modifying bails if storage_buckets is not a supported extension so please disregard all I said about 5.0 as this is already bypassed thanks to that API support check.


labeling of x axis?

is it possible?

It's not possible so far. I will try to look into it as soon as I find the time :)


Q2B

Coverage decreased (-18.8%) to 81.197% when pulling 74a7e47057916ad00536d9b490632147c3004ba8 on q2a into 8464baecb2b8525fbaf9b8b26fba9e926fb46125 on master.


Sticky Keys - Accessability

Hi, a user just commented to me about something they require.  Does a way exist to make 'Sticky Keys' in JWM?
Even some sort of external program would be fine, but if the responsibility should lie in JWM code, is this more than a trivial addition of an option
<StickyKeys>on</StickyKeys>
<!-- or perhaps something like CSA4 i.e. the modifier keys -->

I will have to gather more information on what would actually be required, but as I understand it it would make things like Control, Super, Shift, Alt into a toggle key

Another issue I was presented was the ability to find the cursor on clicking the desktop.
I am hoping for something like this:
<Mouse context="desktop" button="1">exec:find-cursor</Mouse>

The <Mouse> documentation doesn't exist on your site nor in
man jwm

Sticky keys is already handled by X11 using the xkbset program.  The window manager really shouldn't be doing that type of thing.
Using a mouse binding as you mention would probably be my preference for a way to find the mouse.  As far as the documentation is concerned, the man page is up-to-date (see the MOUSE BINDINGS section), but there is no 2.4 documentation on the website yet (it turns out I enjoy writing the code more than the documentation :smile:  ).

thanks @joewing I mean the documentation about context
<Mouse context="title" button="1">move</Mouse>

The man page and web site are the same on 2.4.0 for me...
I didn't see anything about context or button there.  sorry if I skimmed it too fast
I didn't know if there was a "desktop" context or what other contexts were available for the Mouse Element... the button part is obvious to me from using root menus and button masks in my tray buttons

I am glad you like coding more @joewing , it has made for my favorite computing experience!

The mouse binding documentation is here.

I must have a slightly older one... sorry for the trouble.... I didn't rebuild the last couple of commits, I've  been busy... as always you rock thanks Joe!

No problem!
It occurs to me that root for the desktop might not be terribly descriptive these days, though it's pretty pervasive X11 terminology...
Thanks for the kind words!

if root will work then this can be officially closed.
You deserve more than kind words, but again thanks for all you do for us!


xCertificateImport and Certificate Revocation Lists

Is it possible to use xCertificateImport on .crl's?  If so how do you get the thumbprint of a CRL?

@brettjacobson  - that is a good question. I've looked into this and I don't think this resource can be used to import a CRL. This is because behind the scenes it is using import-certificate which can't be used to perform CRL import.
That said, it "could" be possible to modify/create a resource that could import/update/remove CRL's. It would require the use of the certutil cmdlet:
certutil -addstore CA xyz.crl to add a CRL to a store.
certutil -store CA to list all CER and CRL in a CA (this would mean filtering through all the CERs to find a list of CRLs - which would be pretty error prone and even possibly problematic with different locales).
There is a Hash assigned to a CRL that could be used as an identifier for the CRL. However, there isn't a built in .NET object for managing CRL files so the hash would need manually generated.
What I'm saying in summary is that this is possible but will be fiddly and potentially unreliable. What would be good if there were some built in cmdlets created to import/export CRL's like there are for CRT files.
If I get a chance I'll look at this further.


Automate kubernetes.io blog posts into tweet PRs

We have been discussing integration of kubernetes.io blog with our current twitter workflow through RSS feeds for a while now
After experimenting with a couple of existing actions, here is the solution I would like to propose

We would like to use the upstream https://github.com/guilhem/rss-issues-action action which can query a given RSS feed on a schedule & creates an issue for every new item in the feed

I have tested this & the issues looks like this
Note that the issue name starts with Blog: as and is from the feeds

We still need to pick the issue created, parse through it & create a PR. Our current workflow expects a given string in the body of the issue, which isn't the same with the issues created with https://github.com/guilhem/rss-issues-action

https://github.com/guilhem/rss-issues-action also doesn't let us configure the output & the actions outputs are also only the issue numbers

We can work around this, by making the necessary changes in our custom parse-issue-and-create-pr action

It should be safe to assume, all the issues created from the blog will have Blog: in the title. We will have to modify https://github.com/kubernetes-sigs/contributor-tweets/blob/main/index.js to also parse issues that start with the given format & create an PR
For the PR i.e for the tweet contents, we should use the Title of the issue & also try to pick up the blog URL from the bottom of the issue body. This should be possible with string manipulation in nodejs
We should also make sure the whole contents is under the twitter character limit

So, essentially we will have two new jobs in our workflow One for https://github.com/guilhem/rss-issues-action as is (which can run once or twice every day/ hour) & the other would be parse-issue-and-create-pr with a new input parameter like `title-parse-text: 'Blog:'
Feel free to give your thoughts on this.

/sig contributor-experience


⚠ Samsung has degraded performance

In d514ec3, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2483 ms

Resolved: Samsung performance has improved in f948417.


Doc intro

update the entire introduction page

dont know how to check "lint" @vivianjeng please help~

@vimwitch wanna review this one, please.

@ChialiT  I commit the lint here: e97759c
Make sure to pull the latest code with git pull origin doc-intro before you submit another commitment

@vimwitch can you help me to write off the key feature bullet points? just a way for me to easily copy and paste, please~!

I added some changes @ChialiT @vivianjeng lmk what you think

Thank you so much, it looks great for me. <3


Update uuid for compatibility with other libraries

flutter pub get fails because use an old version of flutter:
FLUTTER_HOME: /opt/hostedtoolcache/flutter/1.22.0-12.4.pre-beta/x64
You need to update that in pipeline.

This was fixed by @wolfenrain 's PR that I just merged.


The live formatting of indentation works different than the actual final format

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.59-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs
Action Performed:

Navigate to any chat
Compose a message
Compose a message with indentation (>)
Compose another message with double indentation (>>)
Send the message

Expected Result:
Message composed with double indentation formatted correctly
Actual Result:
Message composed with double indentation is not formatted correctly, Requires space between >>
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Looks like duplicate of https://github.com/Expensify/App/issues/45154

https://expensify.slack.com/archives/C049HHMV9SM/p1731423572626789

Didn't hear back on my thread, bumping.

Chatted about this here and seeing as it is finite and easy to fix, even though it doesn't exactly align with a cohort, let's get it fixed. There has been a bunch of prior work on it in this issue so I think reopening the original, rather than tackling here makes the most sense.


[TEST] Debug CI for cae pr

DO NOT MERGE / DO NOT REVIEW
This PR is for testing purposes to find out why a test is failing on the CI Azure DevOps pipelines but passing in my local.

API change check
API changes are not detected in this pull request.

Found the issue that was causing the CI to fail: missing [SetUp] method to clear the cache in the new test class.


can we have a system tray

I trayed to patch systray (https://dwm.suckless.org/patches/systray/) but I got a lot of errors :(
can we have the patch in this fork if not, can anyone please help me patch it?

The systray patch is quite large and if you don't know C you don't really have much hope of manually patching the failed hunks yourself with Luke's build since it already has a lot of patches.
I would have liked a systray myself but I've come to just live without it, most programs have systray settings allowing you to disable it anyway

The systray patch is quite large and if you don't know C you don't really have much hope of manually patching the failed hunks yourself with Luke's build since it already has a lot of patches. I would have liked a systray myself but I've come to just live without it, most programs have systray settings allowing you to disable it anyway

I forked MentalOutlaw's DWM and added systray patch and most other patchs that Luke have


Panic on pulumi refresh after using @pulumi/aws provider 6.22.0

What happened?
I'm getting a go panic every time running pulumi refresh on one of my stacks, using @pulumi/aws provider version 6.22.0
The output is this:
pulumi:pulumi:Stack (eng-applications-dev):
    panic: value is null
    goroutine 5265 [running]:
    github.com/hashicorp/go-cty/cty.Value.LengthInt({{{0x1151c18a8?, 0x14002da5ee0?}}, {0x0?, 0x0?}})
    	/home/runner/go/pkg/mod/github.com/hashicorp/go-cty@v1.4.1-0.20200723130312-85980079f637/cty/value_ops.go:989 +0x254
    github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbForwardActionOneOf({{{0x1151c18a8?, 0x14002da5f30?}}, {0x112448260?, 0x14003f355f0?}}, 0x110368f1a?, {{0x14001c0b0c0, 0x7}, 0x0, 0x0, 0x0, ...}, ...)
    	/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:1036 +0x18c
    github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbForwardAction(0x11327e6e0?, {0x110368f1a, 0x6}, 0x5?, {{0x14001c0b0c0, 0x7}, 0x0, 0x0, 0x0, 0x14007e06330, ...}, ...)
    	/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:1014 +0x188
    github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.flattenLbListenerActions(0x112475480?, {0x110368f1a, 0x6}, {0x14008dcb770?, 0x1, 0x120?})
    	/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener.go:979 +0x240
    github.com/hashicorp/terraform-provider-aws/internal/service/elbv2.resourceListenerRuleRead({0x1151c1528?, 0x140064c6d50}, 0x140041dae00, {0x114fb13c0?, 0x14000266f00?})
    	/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/service/elbv2/listener_rule.go:617 +0x72c
    github.com/hashicorp/terraform-provider-aws/internal/provider.New.(*wrappedResource).Read.interceptedHandler[...].func9(0x14a24d0d0?, {0x114fb13c0?, 0x14000266f00?})
    	/home/runner/work/pulumi-aws/pulumi-aws/upstream/internal/provider/intercept.go:112 +0x1d4
    github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x1151c1608?, {0x1151c1608?, 0x11e6d0600?}, 0xd?, {0x114fb13c0?, 0x14000266f00?})
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20240202163305-e2a20ae13ef9/helper/schema/resource.go:795 +0x64
    github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0x1400199c2a0, {0x1151c1608, 0x11e6d0600}, 0x140052d5790, {0x114fb13c0, 0x14000266f00})
    	/home/runner/go/pkg/mod/github.com/pulumi/terraform-plugin-sdk/v2@v2.0.0-20240202163305-e2a20ae13ef9/helper/schema/resource.go:1094 +0x430
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.v2Provider.Refresh({0x1400019b2c0?, {0x14000d1acf0?, 0x11521b2e0?, 0x14001f62390?}}, {0x1400195bb30?, 0x104e78f60?}, {0x110408515, 0x15}, {0x1151c19c0?, 0x1400523c870}, ...)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.74.0/pkg/tfshim/sdk-v2/provider.go:151 +0x1a8
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2.(*providerWithPlanResourceChangeDispatch).Refresh(0x14001f62390, {0x1151c1528, 0x14005af6f00}, {0x110408515, 0x15}, {0x1151c19c0, 0x1400523c870}, {0x11503fbe0, 0x140033cd2f0})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.74.0/pkg/tfshim/sdk-v2/provider2.go:710 +0xc8
    github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Read(0x14000d6f980, {0x1151c1528?, 0x14005af6ab0?}, 0x14004a34c00)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.74.0/pkg/tfbridge/provider.go:1131 +0x6f0
    github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Read.func1({0x11521fa20?, 0x14000d6f980?})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7/muxer.go:369 +0x3c
    github.com/pulumi/pulumi-terraform-bridge/x/muxer.resourceMethod[...](0x14002cf0fc0?, 0x140035936c8, 0x140035936a8?)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7/muxer.go:322 +0xc4
    github.com/pulumi/pulumi-terraform-bridge/x/muxer.(*muxer).Read(0x14003593708?, {0x1151c1528?, 0x14005af6ab0?}, 0x11283b320?)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/x/muxer@v0.0.7/muxer.go:368 +0x5c
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler.func1({0x1151c1528, 0x14005af6ab0}, {0x1147ce7a0?, 0x14004a34c00})
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.105.0/proto/go/provider_grpc.pb.go:611 +0x74
    github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x1151c1528, 0x14005af65d0}, {0x1147ce7a0, 0x14004a34c00}, 0x1400222c540, 0x140053ee318)
    	/home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x2e8
    github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Read_Handler({0x114dfe4e0?, 0x14002cf0fc0}, {0x1151c1528, 0x14005af65d0}, 0x14003ba8080, 0x140028318a0)
    	/home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.105.0/proto/go/provider_grpc.pb.go:613 +0x12c
    google.golang.org/grpc.(*Server).processUnaryRPC(0x14002a00000, {0x1151c1528, 0x14005af6540}, {0x1151f3300, 0x140029a84e0}, 0x14004f80120, 0x14002d73830, 0x11e675a58, 0x0)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1385 +0xb8c
    google.golang.org/grpc.(*Server).handleStream(0x14002a00000, {0x1151f3300, 0x140029a84e0}, 0x14004f80120)
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1796 +0xc4c
    google.golang.org/grpc.(*Server).serveStreams.func2.1()
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1029 +0x8c
    created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 83
    	/home/runner/go/pkg/mod/google.golang.org/grpc@v1.61.0/server.go:1040 +0x150

This panic happens consistently every time I try to run pulumi refresh on this stack. I cannot reproduce the issue on other stacks that are using earlier versions of this provider.
Example
I'm not actually sure exactly how to reproduce this... other than:

update my project's version of the @pulumi/aws node module from 6.13.2 to 6.22.0
run pulumi up, which ONLY updates the provider version
run pulumi refresh

this consistently causes the go panic.
If I revert to the older node module version, and then run pulumi up (to once again update the provider in my stack's state, to use the older version)... then pulumi refresh... it no longer panics.

I can see that the error message mentions that the panic is happening inside of elbv2.flattenLbForwardActionOneOf(...) ... but I haven't touched anything related to ALB listeners in quite some time.
If more details are required about the ALB listener rules that we've got in place (or the URNs of specific resources, etc), I suppose I could try to include an (obfuscated) sample of what we're doing. Or, I can provide a more full sample, if it's through a less public channel than a github issue. Though to be honest, I have no idea which listener rules it would be breaking on, since we have several different listeners, each with different rules and configurations.
Output of pulumi about
Version      3.105.0
Go Version   go1.21.6
Go Compiler  gc

Plugins
NAME    VERSION
nodejs  unknown

Host
OS       darwin
Version  14.2.1
Arch     arm64

This project is written in nodejs: executable='/Users/daveh/n/bin/node' version='v18.14.2'

Current Stack: *****/eng-applications/dev

...

Dependencies:
NAME                              VERSION
@aws-sdk/client-secrets-manager   3.445.0
@pulumi/aws                       6.22.0
@pulumi/aws-native                0.84.0
@pulumi/command                   0.9.2
@pulumi/datadog                   4.23.0
@pulumi/github                    5.22.0
@pulumi/postgresql                3.10.0
@pulumi/pulumi                    3.92.0
@pulumi/random                    4.14.0
lodash                            4.17.21
pg                                8.11.3
@types/node                       20.9.0
@types/pg                         8.10.9
@typescript-eslint/eslint-plugin  6.10.0
@typescript-eslint/parser         6.10.0
eslint                            8.53.0
ts-node                           10.9.1
typescript                        5.2.2

Additional context
I haven't had time to do a version "bisect", to see which is the earliest version of @pulumi/aws that starts causing the panic. Right now all I know is it's somewhere between 6.13.2 (working) and 6.22.0 (broken). But I can try messing with that tomorrow if I get some time.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

after creating this issue, I just saw https://github.com/pulumi/pulumi-aws/issues/3421, which looks like it's the same issue

Hey @davejhilton, yeah this looks very much like https://github.com/pulumi/pulumi-aws/issues/3421.
That issue is fixed in 6.22.1 - please update to that and LMK if you are still having the problem!

looks like 6.22.1 fixes the issue. Thanks 👍


Alex/eslinting and refactoring

Refactored, reformatted, and fixed styling for that entire application. Style should now be more consistent and the app should run faster.


Add benchmark for BLAS operations

This PR adds benchmarks for Ginkgo's BLAS-like operations (copy, axpy, scale, dot, norm, gemm) as well as a Dense::convert_to(Dense) implementation that doesn't modify the stride of the result vector if unnecessary (thus partially addressing #748). This benchmark can be used later to check whether #733 provides decent implementations for Dense operations.
The BLAS benchmarks are not the most sophisticated thing out there, since they don't flush the cache in any way, or check for correctness/precision (though the current design allows for that), but that should not matter too much as soon as we scale up.
A benchmark test case consists entirely of problem dimensions and strides.
We have input vectors x, y: nxr, a, b: 1xr or 1x1, A: nxk, B: kxm, C:nxm, for which we can specify individual strides stride_x/y/A/B/C with stride being a shorthand for stride_x/y.
The benchmark uses the amount of FLOPs and memory movement to compute FLOP/s and B/s numbers in addition to the runtime. Please double-check those (found in get_memory() and get_flops(), I just claimed that copy does one FLOP per entry), though.
Example output on my GPU:
[
    {
        "n": 1000000,
        "r": 10,
        "stride_x": 20,
        "stride_y": 15,
        "blas": {
            "copy": {
                "time": 0.019050621900000003,
                "flops": 524917246.92725118,
                "bandwidth":<PHONE_NUMBER>.836019,
                "completed": true
            },
            "axpy": {
                "time": 0.0243559142,
                "flops": 821155791.3929588,
                "bandwidth":<PHONE_NUMBER>.715506,
                "completed": true
            },
            "scal": {
                "time": 0.018665861,
                "flops": 535737408.5235072,
                "bandwidth":<PHONE_NUMBER>.376115,
                "completed": true
            }
        }
    }
]

@tcojean Yes, I would like to finish some interface extensions (non-inplace or non-object-creating operations) and implementation changes (convert_to and move_to, mostly) first, so we can also represent conversions, transpose, permute etc. correctly.


Pluto notebook of examples

I couldn't find a better way to do this, but: I took examples.jl and turned it into a Pluto notebook. Enjoy!
ChainPlotsExamples.zip
By the way: awesome package! Thank you!

Thanks. I don't use Pluto, but many people do and will appreciate this. I plan to add docs and move the examples.jl script there, and then I will think about what to do with this Pluto version. Need to see what others do. Meanwhile, I will just let this issue open.


Gallery SliverAppBar Text better centered under iOS theme than Android.

Hi,
Seems to be TextAlign issue with SliverAppBar from home.dart in flutter_gallery example. The Android text is missing when the iOS theme is applied.
If i input 'title: new Text('Animate Slowly   ----real slowly'), ' in line 173 of home.dart then it's enough to fill up the page width under the iOS theme but it's clearly not visible when under Android theme. The text is not centered and characters are missing.
I'm not sure if I could adjust this line with something like CenterAlign, whether it's related to FlexibleSpaceBar, or other theme files. I don't have an iphone to check.
Here are some shots with the theme changing the text alignment;
Android theme home page

iOS theme home page

Android drawer theme selected

iOS drawer theme selected

@HansMuller might know.

Sorry guys, the actual code i have;
           flexibleSpace: new FlexibleSpaceBar(               title: new Text('Flut home SliverAppBar ---'),  //main page banner bottom txt, doesn't wrap               // TODO(abarth): Wire up to the parallax in a way that doesn't pop during hero transition.
If you need any logs or outputs just let me know.

Ah, was about to raise a similar issue.
It seems that, on Android, the title is always allowing for the potential of a menu button. At least that's my assumption.
Lines 143-5 of flexible_space_bar.dart show a 72.0.
          padding: new EdgeInsets.only(
            left: effectiveCenterTitle ? 0.0 : 72.0,
            bottom: 16.0
          ),


Consider shipping release tarball with vendored dependencies

Is your feature request related to a problem? Please describe.
Current approach requires internet connection in order to build slides. With vendored dependencies, i can build slides from source without internet connection by using this command: go build -mod=vendor
Describe the solution you'd like
For example, dnscrypt-proxy does this by simply maintaining vendor directory. You can also setup CI to vendor dependencies into release tarball without needing to keep vendor directory within repository. Here is the command that can be used for this: go mod vendor

Hi, there! I've set up a vendor branch if you still need this :)
https://github.com/maaslalani/slides/tree/vendor

Thank you very much!


Uid property

Now we can set the UID property like the summary, location... but if we
dont set, the lib still generate a new

Thank you for this contribution. I was looking how make this possible without using a mutable variable.
what do you think about using if !self.properties().keys().any(|key| key == "UID") { for this?

Thank you for this contribution. I was looking how make this possible without using a mutable variable.
what do you think about using if !self.properties().keys().any(|key| key == "UID") { for this?

Yes, it gets better :) I change the source for this

awesome, thank you very much :+1:


Kindly update documentaytion for components as soon as update is released.

Change Type
Correction
Proposed Changes
Very first and simple component "Alert", there is nothing named 'Alert' in lib/components/ui
Instead there is lib/components/ui/alert-dialog, and inside there are 5 files but documentation shows only 3.
Almost whole library is full of simple bugs.

I'm not sure what you're talking about.
There is an Alert and also an Alert Dialog.
I'd appreciate it if you'd open an issue for the "simple bugs" so that we can address them!
The project is still in a super early state, once the headless lib is at a stable point a lot of the bugs should go away.


Barbs in Southern Hemisphere

Hello,
Not sure if this is still active but I recently implemented this in a Leaflet map and it works very well. I actually use this to plot forecast data worldwide. The link you have referenced for the wind barbs is correct - for the Northern Hemisphere. For the Southern Hemisphere though, the lines point the other way, like so:

Hi There!
Wow, thanks for the feedback, I havent tested it in the southern hemisphere in all honesty... Could you maybe provide a link to a map showing this? Very good catch, thanks! :)

Hello,
Sorry for the delay. I appreciate you looking at this! Here is a demo site I just whipped up from our current site we are working on. Let me know if this helps! http://wridolphin.com/demo/index.php

Could you quickly try the new source? Care: now you should pass in the lat as a parameter aswell. not so elegant, but as q quick fix it should work? :)

Where is the new source ? I can't see any mirrorVel parameter .
Thanks

Hello @JoranBeaufort  , In some cases that transform is not working means while converting to png  or using in mapbox maki icon.
So , I have tried something that is working fine to flip the barbs without transform .If you want you can include it.
Just replace the   cy-bh to cy+bh.
I have set it based on your mirrorVel  parameter like this.
(this.options.mirrorVel ? (cy + bh) : (cy - bh))


[ISSUE #7659]Trim property

Which Issue(s) This PR Fixes

Fixes #7659
Brief Description

How Did You Test This Change?

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (a376fbc) 43.19% compared to head (554b9f5) 43.15%.
Report is 1 commits behind head on develop.

Files
Patch %
Lines

...cketmq/tieredstore/common/GetMessageResultExt.java
0.00%
2 Missing :warning:

...cketmq/tieredstore/provider/TieredFileSegment.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #7660      +/-   ##
=============================================
- Coverage      43.19%   43.15%   -0.05%
+ Complexity      9812     9800      -12
=============================================
  Files           1165     1165
  Lines          84461    84462       +1
  Branches       10964    10964
=============================================
- Hits           36482    36447      -35
- Misses         43454    43487      +33
- Partials        4525     4528       +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Dimension stacking extremeley slow on Forge 1.19.2

Is it a mod compatibility issue?
No
Minecraft version
1.19.2
Describe the issue
Generating new chunks is extremely slow with dimension stacking enabled. This occurs on both server and client side, running with 8 gigs of RAM. I only have the nether and sky world enabled so generating 2 more dimensions shouldn't be this slow even if the dimension the player is in is always generating new chunks as well. I have tried on a variety of 1.19.2 forge mod versions, same issue.
The chunk the player is standing in generates relatively quickly, it seems the game does not generate chunks the player is not standing in, maybe to do with render distance?

Duplicate of #130


[JANSA] Update gettext catalogs for jansa round 2

This one includes fix from https://github.com/ManageIQ/manageiq-ui-classic/pull/6787 which was necessary for the translation work to begin.
@miq-bot add_label internationalization

@himdel please review


api-documentation: Document avatar URL endpoints.

Currently, we don't have documentation for the avatar URL endpoints. Those are:

GET https://yourZulipDomain.zulipchat.com/avatar/{email}/
GET https://yourZulipDomain.zulipchat.com/avatar/{email}/medium

Among other things, we want to document and make clear:

the file type: no SVG file type (probably we want all to be PNG)
the different file size: requests to the medium endpoint will return a 500x500 px image avatar, and the default one will return <=100x100px image file

Follow ups:

Adjust a code comment on lib/storage.py/reformat_medium_filename() made on this PR

CZO thread

@zulipbot add "area: documentation (api and integrations)"


andika: 6.101 -> 6.200

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/andika/versions.
meta.description for andika is: A family designed especially for literacy use taking into account the needs of beginning readers
meta.homepage for andika is: https://software.sil.org/andika
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.200 with grep in /nix/store/11ijf2q2qcmn2f5kpznv0xjl99j7x6dv-andika-6.200
found 6.200 in filename of file in /nix/store/11ijf2q2qcmn2f5kpznv0xjl99j7x6dv-andika-6.200

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
andika

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

andika

Maintainer pings
cc @f--t for testing.

Result of nixpkgs-review pr 217478 run on aarch64-darwin 1

1 package built:

andika


Select does not hide when chose the other

Dear,
I'm very happy when use this package. But i get a problem.
If i have two or many select in one screen, i open the number one then i continue open the number one, but the number one does not close.

By the way, the other ng2-select package, whe we type and search empty result, we will get a message like "No result found", i really love it.

Thank for your support.

I had a work around for this .use ng-click-outside and listen to document.body.addEeventlistener ('mousedown'....) and call clickoutside of ng-click-outside package

@ramuda Can you share any more details about this solution? Possibly a code example?

maybe related to this


completed todos should be striked through

We should be able to review what we have done today, sometimes we need to modify things we have done, so it would be a nice idea to show the todos which have been completed at the bottom of the list with a strikethrough and also, we all enjoy seeing what we accomplished today :wink: .
Apart from this, thanks @untitaker @hobarrera and all other contributors for making my life so simple. todoman is simply amazing. :+1:

We should perhaps show them only for some time, which can be configured through todoman.conf

Your proposal consists of two parts:

Show done todos for a while in the main listing.
Use strikethrough to mark done todos.

Re 1.), This probably makes todoman a bit slower since the database query gets more complex. Note that you can already show done todos using todo list --all or todo list --done-only. I think it would be nice to have some sort of productivity tracker (similar to GitHub Pulse) as part of todoman, but as a separate command such that the normal todo list + todo done workflow doesn't query for data I don't care about at the moment.
Re 2.), see https://github.com/pimutils/khal/issues/580 for information on strikethrough-support in terminals. Strikethrough text may not work in all terminals. But since done todos are already marked with a leading [X], it is not a problem if the terminal doesn't support strikethrough.

Thanks for giving it a thought!

Re 1.), This probably makes todoman a bit slower since the database query gets more complex.

IMHO, we can perhaps give user an option to choose between the two, we can add a warning which would state that todoman gets somewhat slow if you set show-done-todos to true.

Ok so todo list --all --sort=-completed_at is already close to what you want. We will need a way to trunchate the list of done todos, and to allow you to set those options as default.

That would indeed be great!

Regarding strikethrough, I'd much rather use that for CANCELLED todos, and just show donde todos "checked" as they are now.
We can make the default command configurable, which covers your needs, since you already have flags to show the listing you want.

Latest tmux release supports strikethrough. 🎉

This depends on pallets/click#805.

Keep in mind that the Click release cycle is very slow (slower than any
maintainer would like), and then there are possibly delays by distros, so it
might make sense to hardcode this in todoman (especially if it's such a minor
feature)
On Tue, May 30, 2017 at 01:50:40PM -0700, Hugo Osvaldo Barrera wrote:

This depends on pallets/click#805.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/pimutils/todoman/issues/218#issuecomment-305004241

Hhmm.. Maybe we can patch it in ourselves in the meantime?

I don't think monkeypatching is really necessary here. I would generally avoid it.


SPHttpClientBatch POST-calls not working

I'm new to this. Sorry if I do this wrong.
But I believe something have happen to SPHttpClientBatch. My batched REST API POST calls have stopped working. The GET calls in the batch still works and the POST calls works then used separately on SPHttpClient.
Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
HTTP/1.1 200 OK
Observed Behavior
HTTP/1.1 400 Bad Request
CONTENT-TYPE: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8

{"error":{"code":"-1, Microsoft.SharePoint.Client.InvalidClientQueryException","message":"Invalid JSON. More than one value was found at the root of the JSON content. JSON content can only have one value at the root level, which is an array, an object or a primitive value."}}
--batchresponse_a67ce37e-3c36-44c1-ad03-bb8e82db89ee--

Steps to Reproduce
https://github.com/vman seems to experience the same issue. His repo: https://github.com/vman/SPFx-REST-Operations uses the same batched REST API calls. It also worked fine earlier.
private _makeSPHttpClientBatchRequest(): void {
    const spHttpClient: SPHttpClient = this.context.spHttpClient;
    const currentWebUrl: string = this.context.pageContext.web.absoluteUrl;

    const spBatchCreationOpts: ISPHttpClientBatchCreationOptions = { webUrl: currentWebUrl };
    const spBatch: SPHttpClientBatch = spHttpClient.beginBatch(spBatchCreationOpts);

    const getMyProperties: Promise<SPHttpClientResponse> = spBatch.get(`${currentWebUrl}/_api/SP.UserProfiles.PeopleManager/GetMyProperties`, SPHttpClientBatch.configurations.v1);
    const getWebTitle: Promise<SPHttpClientResponse> = spBatch.get(`${currentWebUrl}/_api/web/title`, SPHttpClientBatch.configurations.v1);

    const currentTime: string = new Date().toString();

    const batchOps: ISPHttpClientBatchOptions = {
      body: `{ Title: 'List created with SPFx batching at ${currentTime}', BaseTemplate: 100 }`
    };

    const createList: Promise<SPHttpClientResponse> = spBatch.post(`${currentWebUrl}/_api/web/lists`, SPHttpClientBatch.configurations.v1, batchOps);

    spBatch.execute().then(() => {
      getMyProperties.then((response: SPHttpClientResponse) => {
        response.json().then((props: any) => {
          console.log(props);
        });
      });

      getWebTitle.then((response: SPHttpClientResponse) => {
        response.json().then((webTitle: string) => {
          console.log(webTitle);
        });
      });

      createList.then((response: SPHttpClientResponse) => {
        response.json().then((responseJSON: any) => {
          console.log(responseJSON);
        });
      });
    });
  }

There are other threads which might not be directly related but point to the same error message:
https://github.com/OneDrive/onedrive-api-docs/issues/603
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/293f8748-aec0-4093-867e-9b25d503313e/cannot-update-messages-through-rest-batch-request?forum=Office365forDevelopers

Thanks for the feedback. We will investigate the issue.

Could you try this experiment:

Install the Fiddler tool from http://www.telerik.com/fiddler

Capture a Fiddler trace of your failing batch request

Click on the request in the Fiddler window, and press "E" for the "Replay and Edit" command

Go to the Request pane -> Inspectors -> Raw, and add an extra newline to the very end of the request text (after the "--batch_7e63aefc-758f-4ab3-92eb-29c218d3a238--")

Press  the green button "Run to completion"  to reissue your request with this change.

Let us know if the request is successful.  If so, your issue will be fixed in the next release.

Hi @pgonzal, Yes I can confirm that the fiddler trick works. Thanks!
When you say the next release, you mean the release after the 1.1.1 version of the generator right? Because I am getting the same issue in the 1.1.1 version.

Since sp-http is packed into our bootloader, and since your problem only repros when talking to a real SharePoint server, you won't need to upgrade your NPM packages.  You should see this fix as soon as we release the updated bundle to our CDN servers.  It should be sometime in the next week.  (If not, please reopen this issue!)


Feature/tag modal

Description
As a user I can add custom tags and delete tags from individual documents.
Ant Design's Modal (Animate component) is generating a new warning on render -  I found these discussions about it:
https://issuehunt.io/r/ant-design/ant-design/issues/20262
https://github.com/ant-design/ant-design/issues/22493
video
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Question, will adding a new tag that's an empty string crash the page? Or just have an empty tag added to that card?

great question by @jMisch44 and good quick test by @SomeiLam.
@sarahdherren this is really great work and super impressive. you executed best practice with the axios calls and the code structure.  I appreciate all the commits along the way.


Add NTLM and Basic authentication support

\сс @kaihaase-wd
Let's start with the fact that the testсafe has a core - Hammerhead. The Hammerhead already has Basic and NTLM authentication support. All we need is testcafe API extension:

Add a new httpAuth fixture directive:

fixture('My fixture')
	.page('https://auth-demo.aerobatic.io/protected-standard/')
	.httpAuth({
		username: 'aerobatic',
		password: 'aerobatic'
	});

which will take the object with four fields:
{
    username: 'username',
    password: 'password',
    domain: 'domain',  // Needed for the NTLM auth
    workstation: 'workstation' // Needed for the NTLM auth
}

This can be done here: https://github.com/DevExpress/testcafe/blob/master/src/api/globals/fixture.js (by analogy with the page directive)

Transmit credentials to the Hammerhead. To do this, there is a virtual getAuthCredentials method: https://github.com/DevExpress/testcafe/blob/master/src/test-run/index.js#L107

These data can be received from the our fixture in the TestRun ctor:
https://github.com/DevExpress/testcafe/blob/master/src/test-run/index.js#L42
this.test.fixture

If something is not clear, I will answer any questions.

done in #1062
documenation added in #1027


TRY_CAST  returns 0 if empty string is converted to int

From https://docs.microsoft.com/en-us/sql/t-sql/functions/try-cast-transact-sql :
TRY_CAST returns a value cast to the specified data type if the cast succeeds; otherwise, returns null.
But TRY_CAST('' AS INT) returns 0.
Is it expected?

@DiPal2 -- thank you for your question.  I believe that is the expected value, as an empty string is zero characters and represents a literal nothing.
@julieMSFT -- please verify.

try_cast(x as y) should return same as cast(x as y) on success, and cast('' as int) returns 0 so it's probably to be expected

@DiPal2 Thank you for contacting Microsoft. Yes this behavior is expected. The the try_cast did not fail. The '' is implicitly converted to an integer. An Empty string is a value of zero length which is implicitly converted to 0.

#please-close


[Question] Why llama model doesn't support input_emmbedings, what's the consideration here?

❓ General Questions
In llama.py, Model LlamaForCausalLM#forward() doesn't support input_emmbedings, what's the consideration here?

The embedding exists in LlamaModel class: https://github.com/mlc-ai/mlc-llm/blob/e366975daa0ef2cbc5328ad594026d99c2546c36/mlc_llm/relax_model/llama.py#L436-L438

Maybe related to #408 ?

Hi, now llama model supports input embeddings in the prefilling stage. Currently we have exposed the API PrefillWithEmbedStep() in C++ and prefill_with_embed() in Python which accepts input embeddings instead of input messages.


SignalPlotXY: Marker size and shape is ignored

Hi,
I was testing the SignalPlotXY as alternative plot for my app, noticing that the markers are drawn always and independent  of the the size/shape. I don't know whether this is a bug or a feature :-)
I propose changing this part of SignalPlotXYGeneric's Render() method:
https://github.com/ScottPlot/ScottPlot/blob/3780dce1a2b2df4897379d090f9e67a026aae3ca/src/ScottPlot4/ScottPlot/Plottable/SignalPlotXYGeneric.cs#L224-L255
to:
// Draw lines
if (PointsToDraw.Length > 1)
{
    ValidatePoints(PointsToDraw);
    if (LineStyle != LineStyle.None)
        gfx.DrawLines(penHD, PointsToDraw);
}

// Draw markers
if ((PointsToDraw.Length > 1) && (MarkerSize > 0) && MarkerShape != MarkerShape.none )
{
    float dataSpanXPx = PointsToDraw[PointsToDraw.Length - 1].X - PointsToDraw[0].X;
    float markerPxRadius = .3f * dataSpanXPx / PointsToDraw.Length;
    markerPxRadius = Math.Min(markerPxRadius, MarkerSize / 2);
    if (markerPxRadius > .3)
    {
        // skip not visible before and after points
        var PointsWithMarkers = PointsToDraw
                                .Skip(PointBefore.Length)
                                .Take(PointsToDraw.Length - PointBefore.Length - PointAfter.Length);

        // adjust marker offset to improve rendering on Linux and MacOS
        float markerOffsetX = (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) ? 0 : 1;

        foreach (PointF pt in PointsWithMarkers)
        {
            PointF point = new PointF(pt.X + markerOffsetX, pt.Y);
            MarkerTools.DrawMarker(gfx, point, MarkerShape, MarkerSize, Color, MarkerLineWidth);

            //gfx.FillEllipse(brush,
            //    x: pt.X - markerPxRadius + markerOffsetX,
            //    y: pt.Y - markerPxRadius,
            //    width: markerPxRadius * 2,
            //    height: markerPxRadius * 2);

        }
    }
}

Best Regards,
Chris

@ChrisCC6 thank you for reporting this and offering the fix!
@bclehmann implemented the fix in #1763 and it will be included in the next version 👍🚀


Java client API supporting Redisearch

I have been using Redisearch through JRedisearch API in my project. I recently got to know this API is deprecated. It would be really helpful if you could provide the alternative API and links for examples if published any.

JRediSearch is deprecated in favor of Jedis. There's a quick start guide. More example can be found in search tests and aggregation tests.
PS: @chaitradalawai Where have you found the information for deprecation? Asking because same doc should also contain the reference to Jedis.

If you notice, the full sentence says "Please notice JRediSearch is deprecated and you should use Jedis 4.2 which has built in support for RediSearch."
Never.
But its development is stopped. So there won't be any update (until and unless the decision is reverted).
You can check dependencies of Jedis 4.2.3 here.
I can't promise anything. It's development.
But such major change is unlikely to happen in near future.
That's cluster mode. You're not supposed to use it if don't know what it is.

Thanks for the clarification.

Hi,
I was using the below code to create client object with host port and index names, I think the Client object has to be replaced with JedisPooled in Jedis approach, could you please tell which syntax to use to pass password arg ?
io.redisearch.client.Client.Client(String indexName, String host, int port, int timeout, int poolSize, String password)

And also please tell about the corresponding jedis for the below JRedisearch code

is there any similar method for the Client object creation to access Redis( above question) ----- io.redisearch.client.Client.Client(String indexName, String host, int port, int timeout, int poolSize, String password) ?

I am dropping the index and recreating it on scheduled basis using the method (client.dropIndex(true) - missingOk If the index does not exist, don't throw an exception instead return false), where it doesn't throw exception even if the index doesn't exist, if I use the "redis.clients.jedis.UnifiedJedis.ftDropIndexDD(String indexName)"  it gives the following exception when loading data for the first time  (redis.clients.jedis.exceptions.JedisDataException: Unknown Index name )----------- I am doing this operation since there is no functionality to remove all the docs from the index. Is there any method which deletes all the records from an index or check if an index is existing already for supporting removing and reloading all the data on scheduled basis?

I am using the following code to load all the documents by replacing the old ones with new io.redisearch.client.Client.addDocument(String docId, double score, Map<String, Object> fields, boolean noSave, boolean replace, byte[] payload) ----------- is there any similar method in Jedis to replace existing docs with new ones ?

@chaitradalawai

Not directly. You may provide GenericObjectPoolConfig<Connection> for the poolSize.

GenericObjectPoolConfig<Connection> config = new ConnectionPoolConfig();
config.setMaxTotal(poolSize);

UnifiedJedis client = new JedisPooled(config, host, port, timeout, password);

No.

You may consider following:
public static boolean safeFtDropIndexDD(UnifiedJedis jedis, String indexName) throws JedisException {
  try {
    return "OK".equals(jedis.ftDropIndexDD(indexName));
  } catch (JedisDataException jde) {
    if (jde.getMessage().toLowerCase().contains("unknown")) {
      return false;
    }
    throw jde;
  }
}

Document has been removed/deprecated from RediSearch. You can either use HASH or JSON data structure.

Hi,
About 3rd question,
I am using the following code to load all the documents by replacing the old ones with new io.redisearch.client.Client.addDocument(String docId, double score, Map<String, Object> fields, boolean noSave, boolean replace, byte[] payload) ----------- is there any similar method in Jedis to replace existing docs with new ones ?

I see the document in jedis implementation "redis.clients.jedis.search.Document", is this deprecated too ?
I want to refresh my cache data by replacing old value with new ones, which was supported through above mentioned method in JRedisearch, is there a similar approach in Jedis ?
I see "hset" is there in Jedis for adding a new document, does this also replace if given the same key ? (i.e. key = Index_prefix:unique_id )

"redis.clients.jedis.search.Document" is not deprecated (yet).
Yes; existing fields will be replaced and new fields will be added.

At this moment, there is no such plan.

thanks for all the answers :)


Previe images no longer show up in the most recent version

Hello!!
I have updated the lightbt-hugo to the most recent one via github - then pre-view image stopped showing up. Was there any setting I was supposed to do?
my hugo's version is "hugo v0.111.3+extended freebsd/amd64 BuildDate=2023-03-17T03:01:46Z+0000 VendorInfo=freebsd"
Steps I have taken
git removed lightbi-hugo
then add git submodule lightbi-hugo
copied the most recent config.toml from github - revised based on my environment
buit page with hugo
https://masahikoaida.com/

Hi,
In the latest versin images have been moved to asset folder for adding new features as per latest Hugo. Please move your images to asset folder as shown here.

yes it worked perfectly, thank you!!


process exited by signal SIGSEGV

Getting below error while running example for server-side-rendering
➜  server-side-rendering git:(master) ✗ clinic bubbleprof -- node src/server
internal/modules/cjs/loader.js:596
    throw err;
    ^

Error: Cannot find module '/Users/rajiv.gadda/Documents/Workspace/personal/clinicjs/node-clinic-bubbleprof-examples/server-side-rendering/src/server'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at getMainDirectory (/usr/local/lib/node_modules/clinic/node_modules/@nearform/bubbleprof/collect/system-info.js:19:14)
    at systemInfo (/usr/local/lib/node_modules/clinic/node_modules/@nearform/bubbleprof/collect/system-info.js:33:20)
    at Object.<anonymous> (/usr/local/lib/node_modules/clinic/node_modules/@nearform/bubbleprof/injects/logger.js:15:55)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
    at Module.load (internal/modules/cjs/loader.js:612:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
    at Function.Module._load (internal/modules/cjs/loader.js:543:3)
    at Module.require (internal/modules/cjs/loader.js:650:17)
/usr/local/lib/node_modules/clinic/bin.js:237
      if (err) throw err
               ^

Error: process exited by signal SIGSEGV
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/clinic/node_modules/@nearform/bubbleprof/index.js:80:13)
    at Object.onceWrapper (events.js:273:13)
    at ChildProcess.emit (events.js:182:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:237:12)

Thank you for flagging this. You have helped uncovering:

Issue in documentation, (fix https://github.com/nearform/node-clinic-bubbleprof-examples/pull/8 )
Issue in node core https://github.com/nodejs/node/issues/22042

Please run  clinic bubbleprof -- node server and then node stories.js.
You may need to npm i first in that directory

@kamil-mech the above-updated commands work. thank you for your prompt response. Always happy to help 😄


Clean up logging usage

Fixes #369

@hobarrera style build fails, please run make install-style style locally to see issues.

flake-import-order seems odd, because it doesn't sort things like isort does (which is, alphabetically, and from... imports first).
Fixed though.

Always up for discussion. I sometimes get it wrong too.

Thanks!


WatchList Edit Functions

!editorder (later update)
print current wl
prompt for show to edit
prompt for new index
grab list to update
iteratively update each entry

!edithistory (later update)
changes rating on existing entry
prompt for show name
prints current rating and prompts for new rating
ack new rating

Added functions !editorder and !editrating


Attempting to fix the filename replace issues - restoreobject branch

Type of Change

[ ] Bug fix (non-breaking change, fixes #5036 )
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
A variation of #5049 that works as expected. For @Stuart-Moore 's review and assessment.
Approach
Using a new property to store the file name data instead of relying on the native one.
Commands to test
see original issue
Screenshots

Learning

The tests are fine now - though failing on some appveyor-related issues.

Hello kind sirs. @Stuart-Moore is there any way we can get some movement on this? I'd like to work on some changes that'll move code around a lot. (gonna try to support multiple instances again) and would like a solid code base to merge. Thank you 🙇♀🙇♂

I would prefer to see the history object support this rather than trying to keep up with a PSCustomObject...especially if you want to move to supporting multiple instances.

This PR will also have a conflict if previous PR Stuart has open is merged first....we should all be working on this branch to resolve this instead of creating new PRs.
So changes should all be updated to dbatools/restoreobject branch to prevent having conflicts.

As a side note @nvarscar you can do draft PRs in GitHub and it will prevent the ability for a PR to be merged. It is feature around WIP PRs that many repo maintainers have been asking GitHub to implement (they finally released it this past week).

@wsmelton it shouldn't, as this PR has all the commits from that branch.
And yeah, I believe, DPR feature was released the day after I opened this PR (or maybe that was when I learned about it?), otherwise I'd definitely opened it as a Draft.
Let me know if you want me to close this PR or re-create it as a draft. I simply wanted to share an idea with @Stuart-Moore and PR looked as a decent way of doing it.

If it is an underlying fix for his PR I would just do a commit against that branch. That gives him easier access to it for testing and such.

Duh. Retargeted the PR to that branch, but now it contains all the recent dev changes and won't show proper difference. I guess, I'll merge development into restoreobject.

Hey @Stuart-Moore, I'm not sure I follow. Which public interface did you mean and which scripts it's going to break? Are you saying that previous behavior (where the restore function changed the history object) was a feature, not a bug?

The path through the 5 restore cmdlets (Get, Select, Format, Test, Invoke) is documented and people could be running them separately (I do, and I’ve handed out solutions to do the same via slack) so they’ll have scripts that break if things change without warning
On 19 February 2019 at 15:36:22, Kirill Kravtsov<EMAIL_ADDRESS>wrote:
Hey @Stuart-Moore, I'm not sure I follow. Which public interface did you mean and which scripts it's going to break? Are you saying that previous behavior (where the restore function changed the history object) was a feature, not a bug?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

can we duplicate and hide the things that will change and break, @Stuart-Moore ? That way, they won't break?

Closing this off as it is stale now....next PR can be created as draft if needed.


Information about the next post on the home page

Add an information card on the home page to notify the readers about when the next post will be published and what it's going to be about.

not interested anymore