[clj] Add iff-let (née when-let)

Depends on #305 and #306, and closes #272.

Rebased and remove the extraneous progn.

Sorry, I have missed something there. Why can't you call it when-let as it is called in clojure?

I definitely can. The reason I've called it iff-let is because I've called Clojure's when``iff to avoid conflicts with guards. I feel like iff and iff-let makes more sense than iff and when-let.
With that said, I'm not married to this naming convention. Is it possible/sensible to to define a when macro?

You can currently define a macro called when and it will be used. If you do this then you cannot have guards anywhere the when macro is defined. This is a a core form I missed and the bug will be fixed in the next push I make. After this it will behave like macros with names which a core forms: you can define them but they will be ignored. So you can define a macro called lambda but it will be ignored. Perhaps I should make it an error to do this.


[ML][Pipelines] feat: expose job validate api

Description
This pull request to the sdk/ml/azure-ai-ml/azure/ai/ml/operations/_job_operations.py file in the Azure AI ML SDK. The @experimental decorator is removed from the validate method.
The most important changes are:

sdk/ml/azure-ai-ml/azure/ai/ml/operations/_job_operations.py: Removed import statements for JobBase and RestJobType from the v2023_04_01_preview.models module and added them to the import statement for JobBase from the v2023_08_01_preview.models module. (sdk/ml/azure-ai-ml/azure/ai/ml/operations/_job_operations.pyL31-R33, Fef23

All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml


Overlay example rendering issue

Describe the bug
The overlay example renders the word “Vienna” over the popup.

To Reproduce
Steps to reproduce the behavior:

Go to https://openlayers.org/en/v6.3.1/examples/overlay.html
Click on the map below the Vienna marker
See the overlay rendered under the Vienna label

Expected behavior
The popup should render over the Vienna label as it did in https://openlayers.org/en/v6.2.1/examples/overlay.html.

In 6.2.1 if you pan the map the overlay passes over the controls.  That can still be achieved by specifying insertFirst: false

I do see @tschaub's point. The problem is that in v6.2.1 it was possible to use css z-index to control stacking of overlays, which is what the Bootstrap popover does because of the placement: top option. Now this is not possible any more.

In 6.2.1 if you pan the map the overlay passes over the controls. That can still be achieved by specifying insertFirst: false

IMHO it's not a solution, because if you've more than one overlay, you can't decide priorities.


Moving cell functionality

Hi, I had an idea for moving cell functionality, for which I tentatively made a function at the end of spreadsheet.rs in structs.
If I wanted to move cells A1:D6 by 2 rows and 3 columns, it would shift all the values by 3 cells to the right, 2 rows down.
I was wondering if it would be a good idea to:
check whether the coordinates to move are within range
then iterate through the cells, collecting the information
repaste the information using set_value
or something alone those lines. thanks!
I also think it would be nice to have merge cell functionality in the future, which I would also love to contribute to

@boseongkim32
Thank you for your suggestion.
Moving cells and merging cells. I would love to adopt both.
I will try to implement them in the next few days.

@boseongkim32
I implemented move_range.
Please check it if you have time.
let range = "C5:F9";
let row = 12;
let column = 4;
book.get_sheet_by_name_mut("Sheet1").unwrap().move_range(range, &row, &column);

Also, merge_cells, but there was already a similar function.
book.get_sheet_by_name_mut("Sheet1").unwrap().add_merge_cells("A1:C5");

Hi, yes move range works! I added a tiny test myself


fix(azure): skip resource when resource_group_name.location can’t be …

…found
Fixes #752

@ekifel can you please review?

@alikhajeh1, I checked following case, it works fine. (late for 5 min 🥇)


What about this packaging warning?

How to solve?

You are referencing two icon's with different casing doubanIcon.png and doubanicon.png
Most filesystems on Linux and Mac are case sensitive so this would two different files. On Windows the filesystem is not case sensitive so this could only be 1 file.
To fix it be consistent in the your casing when defining the paths to a filename.


Workflow suddenly not triggered anymore

GitHub Action Workflow for NPM deployment is suddenly not triggered anymore

Nothing related to this repo, GitHub Actions itself had issues


Small cards mobile layout

There should be two cards next to each other in the explore on mobile

since there is no option to change layout

👋


HDPI Support?

Hi,
I really love this library, and it is super useful to me. I was wondering about HDPI support, at least on windows. On my machine, the opened web browser looks very pixelated. IE10 looks just fine, and supports high definition fonts, but the window that this opens up just looks blocky.
Is there any way I can make the webview work well with HDPI displays?

Right click the exe file -> properties -> compatibility, there's an option "Override high DPI scaling behavior". Check it.
This is equal to write register "/Software/Microsoft/Windows NT/CurrentVersion/AppCompatFlags/Layers" KEY:path/to/exe VALUE:"~HIGHDPIAWARE"

Use the following code to adjust width and height automatically
HDC hDC = GetDC(NULL);   w->width = GetDeviceCaps(hDC, 88)*w->width/96.0;   w->height = GetDeviceCaps(hDC, 90)*w->height/96.0;   ReleaseDC(NULL, hDC);
and this works fine for most examples.

I have a pull request which fixes this.

I will merge it soon, don't worry!
I am about to make a meta-issue explaining the roadmap of webview for the
nearest future, some features are likely to be removed, others - reworked,
but your PR matches the overall plan, thanks for making it!
On Fri, Jun 22, 2018 at 2:47 PM zenakuten<EMAIL_ADDRESS>wrote:

I have a pull request which fixes this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zserge/webview/issues/54#issuecomment-399430737, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB0r0L5ihXAWhV3-CkSwiYZOxr0dG2MDks5t_OdEgaJpZM4RMFvh
.

--
"One must have a chaos inside oneself to give birth to a dancing star." -
Thus Spoke Zarathustra

Woah that was a quick reply.  :)  I took a drink of coffee, looked back over and here it is.  Nice thank you for the great project

Did this PR ever get merged?

When I execute binary files directly, the application is not blurred. But when the application is packaged and run, the window becomes blurred. I use macOS.
https://github.com/mantou132/evernote-webview

I have a fix for windows that extends the minimal-go example.
`package main
import (
"syscall"
"github.com/zserge/webview"
)
func scale() {
modshcore := syscall.NewLazyDLL("Shcore.dll")
shc := modshcore.NewProc("SetProcessDpiAwareness")
shc.Call(uintptr(1))
}
func main() {
// Open wikipedia in a 800x600 resizable window
scale()
webview.Open("Minimal webview example",
"https://en.m.wikipedia.org/wiki/Main_Page", 800, 600, true)
}`
No idea about mac so sorry about that but I hope this helps.

Was there a regression of sorts? I think the pull request was for old version of this library that used the msedge HTML, and needs to be fixed for webview2 Edge implementation too.
I'm testing the webview_rust in Windows 10, the windows are blurry.

This library also doesn't support display scaling from KDE, when the display is scaled, the GTK+ webkit doesn't scale properly and elements are too small.

So recently, I started using this library again and I've found a workaround for Linux. ✨
Use winit to get the scale factor and set the scale factor as the zoom level on the webview instead.
First, get the scale factor
    let scale_factor = {
        use winit::{event_loop::EventLoop, window::WindowBuilder};

        let event_loop = EventLoop::new();
        let window = WindowBuilder::new()
            .with_maximized(false)
            .with_visible(false)
            .build(&event_loop)?;

        let scale_factor = window.scale_factor();
        println!("Scale factor: {}", scale_factor);

        drop(window);

        scale_factor
    };

Then, instantiate the webview and call set_zoom_level on the webview.
webview.set_zoom_level(scale_factor);

Closing as stale. The current situation on Windows is that the library enables DPI awareness.


Update lockfile for gcc crate to pick up MSVC 2017 fixes

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Hm I see this trying to build locally:
   Compiling idna v0.1.1
error: failed to run custom build command for `libssh2-sys v0.2.6`
process didn't exit successfully: `C:\Users\brian\Documents\dev\cargo\target\debug\build\libssh2-sys-806f659db02e05d5\build-script-build` (exit code: 101)
--- stdout
running: "cmake" "C:\\Users\\brian\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\libssh2-sys-0.2.6\\libssh2" "-G" "Visual Studio 14 2015 Win64" "-DCRYPTO_BACKEND=WinCNG" "-DZLIB_INCLUDE_DIR=C:\\Users\\brian\\Documents\\dev\\cargo\\target\\debug\\build\\libz-sys-0598af38eaebd697\\out/include" "-DBUILD_SHARED_LIBS=OFF" "-DENABLE_ZLIB_COMPRESSION=ON" "-DCMAKE_INSTALL_LIBDIR=lib" "-DBUILD_EXAMPLES=OFF" "-DBUILD_TESTING=OFF" "-DCMAKE_INSTALL_PREFIX=C:\\Users\\brian\\Documents\\dev\\cargo\\target\\debug\\build\\libssh2-sys-0fb041a6ead1733a\\out" "-DCMAKE_C_FLAGS= /nologo /MD" "-DCMAKE_C_FLAGS_RELEASE= /nologo /MD" "-DCMAKE_CXX_FLAGS= /nologo /MD" "-DCMAKE_CXX_FLAGS_RELEASE= /nologo /MD" "-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is unknown
-- Configuring incomplete, errors occurred!
See also "C:/Users/brian/Documents/dev/cargo/target/debug/build/libssh2-sys-0fb041a6ead1733a/out/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/brian/Documents/dev/cargo/target/debug/build/libssh2-sys-0fb041a6ead1733a/out/build/CMakeFiles/CMakeError.log".

--- stderr
fatal: Not a git repository (or any of the parent directories): .git
CMake Error at CMakeLists.txt:40 (project):
  No CMAKE_C_COMPILER could be found.

thread 'main' panicked at '
command did not execute successfully, got: exit code: 1

build script failed, must exit now', C:\Users\brian\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.22\src\lib.rs:617
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Build failed, waiting for other jobs to finish...
error: build failed

Seems like there might be a bug still.

Hm, cmake has vs detection code too...

I'm going to keep looking into the cmake issue.


[DOCS] Missing instruction in example

In the result of the example the $project is assigned to the $manager, but this method is missing from the initial instructions

Thanks @pensiero!

👍


chore: bdd-gh-1585384862 to 0.0.1

chore: Promote bdd-gh-1585384862 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


sshguard in lxc container blocks everything

Required information

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version:
LXC version:
LXD version: 3.22
Storage backend in use: ZFS

Issue description
We've installed sshguard inside a lxc container and defined a lxc proxy:
proxy-ssh:
bind: host
connect: tcp:<IP_ADDRESS>:22
listen: tcp:x.x.x.x:5000
type: proxy
When sshguard detects an 'attack' it blocks the ip but the ip blocked is the proxy ip (<IP_ADDRESS>) so all communication is blocked with the container. Is there a way to have the container receive the real adresses?

This is expected, as the proxy opens a new connection from the host. If you use the nat=true on the proxy device config it will use DNAT instead which should then pass the source address through.


Inconsistency of LeftShift between eager mode and JIT=true

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.14.1
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Different outputs of tf.raw_ops.LeftShift between eagermode and op mode are observed.
Standalone code to reproduce the issue
import tensorflow as tf

class Network(tf.Module):
    def __init__(self):
        super().__init__()

    @tf.function(jit_compile=True)
    def __call__(self, x, y):
      x = tf.raw_ops.LeftShift(y=x, x=y)
      return x

m = Network()
tensor_x = tf.random.uniform([],minval=0,maxval=255,dtype=tf.int32)
tensor_y = tf.random.uniform([9],minval=0,maxval=255,dtype=tf.int32)
inp = {
    "x": tensor_x,
    "y": tensor_y
}

with tf.device('/CPU:0'):
    tf.config.run_functions_eagerly(True)
    no_op_res = m(**inp)
    tf.config.run_functions_eagerly(False)
    with tf.device('/CPU:0'):
        op_res = m(**inp)

    tf.debugging.assert_near(tf.cast(no_op_res, tf.float64), tf.cast(op_res, tf.float64), atol=0.001, rtol=0.001)

Relevant log output
raise errors.InvalidArgumentError(
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected 'tf.Tensor(False, shape=(), dtype=bool)' to be true. Summarized data: b''
b'x and y not equal to tolerance rtol = tf.Tensor(0.001, shape=(), dtype=float64), atol = tf.Tensor(0.001, shape=(), dtype=float64)'
b'x (shape=(9,) dtype=float64) = '
-2147483648.0, 0.0, 0.0, ...
b'y (shape=(9,) dtype=float64) = '
0.0, 0.0, 0.0, ...

Hi @zoux1a ,
I was able to reproduce the issue on colab using TF v2.15, and TF-nightly. Please find the gist here for reference.
Thank you!

Hi @zoux1a ,

Ensure that the input tensors tensor_x and tensor_y have the correct shapes and data types. The LeftShift operation requires that the first tensor (x) be an integer tensor, and the second tensor (y) can be either an integer or a boolean tensor.
The raw_ops.LeftShift operation is used to perform bitwise left shift operations on tensors. However, this operation is only available for integer tensors. If you need to perform a bitwise left shift on a boolean tensor, you should use the bitwise.left_shift operation instead.
Here i used bitwise.left_shift, it works fine. i am providing gist for your reference.

Thank you!


Update the AppfileTemplate to point to the correct docs URL

The URL in the AppfileTemplate pointed to invalid address. Updated it to the correct one.

This is great, thanks @spenrose :+1:


Channel pool enforces downstream ops in I/O thread

Expected behavior
When a channel pool contains active channel, listener registered through channelPool.acquire().addListener(...) should be called in caller thread (as I am using the channel pool on client, the client would like to start with a write).
Actual behavior
SimpleChannelPool.doHealthCheck which in turn invokes the listener is always called in event loop thread. The default health check calls only channel.isActive() and does not invoke any upstream events (afaik).
Netty version
4.1.9

@rvansa I just checked and its by design. We do it to ensure there is no need for any synchronisation needed.

@normanmaurer While debugging I've found out that writes from other threads end up executing a AbstractChannelHandlerContext.WriteAndFlushTask in the event loop anyway, so my pool implementation is not effective :-/
Maybe what I am doing is a premature optimization, but in my view the synchronization point should be at the pool, nowhere else.


wrong trajectorys in the 'antmaze-medium-diverse-v0' dataset?

when I want to get one trajectory from 'antmaze-medium-diverse-v0' dataset, it seems that some trajectorys are not terminated properly. There should be terminated in the middle of  the returned trajectory, but not. That results wrong transitions. Specifically, the 75th path, indices 720 to 721, or 36035 to 36036 in total index, where the first position is (18.59402, 21.31174), and the next position become (0.80276, 0.80364), it seems to be a impossible transition.

'antmaze-medium-diverse-v0' have solved this problem


Workout started

Hi, I really like this as I am planning on buying a Garmin GPS for mountainbiking. Is it possible to have the app communicate with HA when I start/finish a workout?
Regards, Patrick

I doubt it. It needs data to be synced from watch and available in the cloud


[question] How do I adjust the position of inactiveSlide in ParallaxImage?

Hello?
I want to put inactiveSlide at the top as shown in the picture below.
what do I do..?

Environment:
React: 16.13.1
React native: 0.63.4
react-native-snap-carousel: 3.9.1

i would like to achieve this layout too, but i am don't know how to do, i have further study on scrollInterpolator and slideInterpolatedStyle, but still doesn't know how to use it.

set inactiveSlideShift as you like

Sorry, please allow me to advertise for my open source library! ~
I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2


Why the web page keeps saying 'Context Root Not Found'?

I do exactly what the tutorial says but in the final step, when I enter the url, it keeps saying 'Context Root Not Found' on the web page and there is no web application appearing. Why did that happen? When I enter maven clean install, there are several WARNINGs, are those relevant to this issue?

Hello,
I just verified the steps on my side and it works fine.
Could you have a look to the Liberty logs under your Liberty installation, please ?
wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\logs\messages.log
You should see these lines if you correctly copy miniloan-webapp.war under wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps :
CWWKZ0018I: Starting application miniloan-webapp.
[3/19/20 9:55:43:543 CET] 00000040 bm.ws.app.manager.war.internal.WARDeployedAppInfoFactoryImpl I CWWKZ0133I: The miniloan-webapp application at the C:\Work\BugFests\2019.12\wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps\miniloan-webapp.war location is being expanded to the C:\Work\BugFests\2019.12\wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps\expanded\miniloan-webapp.war directory.
[3/19/20 9:55:43:555 CET] 0000002f com.ibm.ws.ssl.config.WSKeyStore                             A CWPKI0820A: The default keystore has been created using the 'keystore_password' environment variable.
[3/19/20 9:55:43:763 CET] 0000002f com.ibm.ws.ssl.config.WSKeyStore                             I Successfully loaded default keystore: wlp-webProfile8-<IP_ADDRESS>/wlp/usr/servers/testGettingStarted/resources/security/key.p12 of type: PKCS12
[3/19/20 9:55:44:182 CET] 00000040 com.ibm.ws.session.WASSessionCore                            I SESN8501I: The session manager did not find a persistent storage location; HttpSession objects will be stored in the local application server's memory.
[3/19/20 9:55:44:199 CET] 00000040 org.jboss.weld.Version                                       I WELD-000900: 3.1.1 (Final)
[3/19/20 9:55:44:628 CET] 00000040 com.ibm.ws.webcontainer.osgi.webapp.WebGroup                 I SRVE0169I: Loading Web Module: Sample.
[3/19/20 9:55:44:629 CET] 00000040 com.ibm.ws.webcontainer                                      I SRVE0250I: Web Module Sample has been bound to default_host.
[3/19/20 9:55:44:629 CET] 00000040 com.ibm.ws.http.internal.VirtualHostImpl                     A CWWKT0016I: Web application available (default_host): http://localhost:9080/miniloan-webapp/
[3/19/20 9:55:44:633 CET] 00000040 com.ibm.ws.app.manager.AppMessageHelper                      A CWWKZ0001I: Application miniloan-webapp started in 1.091 seconds.
Hope this helps,
Christian

Hello,
I just verified the steps on my side and it works fine.
http://localhost:9080/miniloan-webapp/ is accessible
Could you have a look to the Liberty logs under your Liberty installation, please ?
wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\logs\messages.log
You should see these lines if you correctly copy miniloan-webapp.war under wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps :
CWWKZ0018I: Starting application miniloan-webapp.
[3/19/20 9:55:43:543 CET] 00000040 bm.ws.app.manager.war.internal.WARDeployedAppInfoFactoryImpl I CWWKZ0133I: The miniloan-webapp application at the C:\Work\BugFests\2019.12\wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps\miniloan-webapp.war location is being expanded to the C:\Work\BugFests\2019.12\wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps\expanded\miniloan-webapp.war directory.
[3/19/20 9:55:43:555 CET] 0000002f com.ibm.ws.ssl.config.WSKeyStore A CWPKI0820A: The default keystore has been created using the 'keystore_password' environment variable.
[3/19/20 9:55:43:763 CET] 0000002f com.ibm.ws.ssl.config.WSKeyStore I Successfully loaded default keystore: wlp-webProfile8-<IP_ADDRESS>/wlp/usr/servers/testGettingStarted/resources/security/key.p12 of type: PKCS12
[3/19/20 9:55:44:182 CET] 00000040 com.ibm.ws.session.WASSessionCore I SESN8501I: The session manager did not find a persistent storage location; HttpSession objects will be stored in the local application server's memory.
[3/19/20 9:55:44:199 CET] 00000040 org.jboss.weld.Version I WELD-000900: 3.1.1 (Final)
[3/19/20 9:55:44:628 CET] 00000040 com.ibm.ws.webcontainer.osgi.webapp.WebGroup I SRVE0169I: Loading Web Module: Sample.
[3/19/20 9:55:44:629 CET] 00000040 com.ibm.ws.webcontainer I SRVE0250I: Web Module Sample has been bound to default_host.
[3/19/20 9:55:44:629 CET] 00000040 com.ibm.ws.http.internal.VirtualHostImpl A CWWKT0016I: Web application available (default_host): http://localhost:9080/miniloan-webapp/
[3/19/20 9:55:44:633 CET] 00000040 com.ibm.ws.app.manager.AppMessageHelper A CWWKZ0001I: Application miniloan-webapp started in 1.091 seconds.
Hope this helps,
Christian

Thank you for your answer! Actually I didn't see the above lines in the log file. So what should I do to fix it? I think I have finished all the steps in the tutorial and don't know which part is wrong.

Hello,
If you don't see any trace in your messages.log (especially no trace related to the load of miniload-webapp), I would say that miniloan-webapp.war has not been added to folder :
wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps
Could you have a look, please ?
If the problem persists, could you provide me more information (Java version, Liberty version, logs, ...) ?
Hope this helps,
Christian

Hello,
If you don't see any trace in your messages.log (especially no trace related to the load of miniload-webapp), I would say that miniloan-webapp.war has not been added to folder :
wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted\apps
or you didn't add the following lines to your server.xml located at wlp-webProfile8-<IP_ADDRESS>\wlp\usr\servers\testGettingStarted
<!-- Miniloan application -->
 <webApplication id="miniloan-webapp"
 location="miniloan-webapp.war"
 name="miniloan-webapp"/>

Could you have a look, please ?
If the problem persists, could you provide me more information (Java version, Liberty version, logs, ...) ?
Hope this helps,
Christian

Hi, I have checked the miniloan-webapp.war as well as server.xml and all things should be all right. I will give you my java version and


Max blob length for uploaded file

There seems to be a limit on the maximum blob length for an uploaded file that is significantly lower than the published max length of 1024 for blob store. However, the limit seems to be hit not in the upload of the file to a blob itself, but the notification that the upload has completed.
My storage account name is 20 chars long, container name is 36, device name is 16 and the path is 139 characters. The final constructed URL is 245 characters (e.g., including the 'https://', '.blob.core.windows.net' and various forward slashes). When uploading this file, I get a "HTTP Error 400. The request URL is invalid." However, the blob is actually created. What makes this seem like the completion notification portion of the upload failed is that if 10 of these are attempted, the error is then "Number of active file upload requests exceeded limit". That is, the blobs are uploaded, but the SAS URIs are left in an outstanding state.
If the path is changed to 138 characters, everything works correctly. Is there an unspecified limit, or is this a bug? If the former, can you amend the documentation?

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

ID: ec6fc6a5-9bf6-889e-075d-b5b009e67d1f
Version Independent ID: f3d6fa56-a494-fec8-50e3-f8682c90ac42
Content: Understand Azure IoT Hub quotas and throttling
Content Source: articles/iot-hub/iot-hub-devguide-quotas-throttling.md
Service: iot-hub
GitHub Login: @robinsh
Microsoft Alias: robinsh

@jhosteny Thanks for the feedback! We are currently investigating and will update you shortly.

@jhosteny Can you share a link to your source for the blob length of 1024?

https://docs.microsoft.com/en-us/rest/api/storageservices/Naming-and-Referencing-Containers--Blobs--and-Metadata?redirectedfrom=MSDN
A blob name must be at least one character long and cannot be more than 1,024 characters long, for blobs in Azure Storage.
Just to note again - the blob is properly created. But the request still returns a 400, and appears to leave the SAS URI open (counting against the upload quota) until the TTL expires.

@jhosteny I think he was asking for the actual link that you've constructed that doesn't work. Is there a way you can share that?

@robinsh sorry about that. Is there a way to send you the blob URL privately? This is for a project under NDA. I'd rather not even leak the internal project name here.
Just to note - the blob itself is actually created and populated correctly, but the 400 is returned and an exception still thrown from the client SDK call  upload_blob_async. However, if I shorten the name of the path by a character, the blob is created correctly, but no 400 is returned, and thus no exception is thrown.
It seems like an error in the final step of upload negotiation from client to server. This also makes sense since the SAS URI does not seem to be retired, resulting in 404s after 10 attempts to upload the file.

@jhosteny, we do have a limit of 10 on the number of concurrent blob URI's issued by the service. See here for more details.
That said, where do you get this error? On the device-side? On the service-side?

When uploading this file, I get a "HTTP Error 400. The request URL is invalid."

@rezasherafat I get this on the client side, using the python SDK.
I understand the concurrency limit. The code we have actually executes the uploads serially.
The issue seems to be that for a certain length blob name, the underlying blob upload completes, but the response from the client SDK call is a 400, and the upload is not marked as finished.
To put this another way - if I let my client loop on 20 files to upload from a local directory
to the hub, and the SAS TTL is set to 1 hr, and assuming the client deletes the local file regardless of the response from the client SDK, the following happens:
It will run, call the upload_async call for a file, and get a 400. It deletes the file from the local directory  and logs the error. It moves to the next file. The same thing happens for that file and the remainder of the first set of ten. After that it will start receiving 403s.
Now, if there were a true problem with the upload request, I might understand this. However, I can go to the portal and see each of those ten blobs, and download the file and see it is correct.
After 1 hour, the client will stop getting 403s, and the final 10 local files will go through the same process as before - each request (executed serially) receives a 400, but the blob is actually there.
If I change this test to only have one file in the local directory to upload, I have the same issue - so there can’t be a concurrency relates bug in our script.
Finally, I’ll note that if I repeat that test on the 20 files, but shorten each local file name by one character (we use the basename as the blob path), every file is uploaded successfully without any errors at all. The blob path that is used in the url works at 138 characters, and fails starting at 139. This does not include the device name, storage account name or container name that eventually become part of the full blob url. I believe the final full url name length where the failure starts to show up is 247 characters. I will confirm when I get to work.
I can’t do it this week, but I may to set up a test account I can reproduce this on. It is 100% reproducible for me. We’ve also reproduced this with two independently written python scripts that exercise the SDK.

@jhosteny, it is hard to say. Is it possible to share the code you use? You can email me at rezas @ msft.com

@rezasherafat thanks. I will try to put together a minimal code example that shows this, but it might be a bit before I can get to it. The client is pretty minimal (just a variation on the published docs for using Python for IoT file uploads), but we are using Terraform to configure and deploy the IoT Hub and there would be some work stripping out unimportant pieces.

@rezasherafat this has been root caused and a fix applied for the C SDK here: https://github.com/Azure/azure-iot-sdk-c/issues/1288. My understanding is that a strategy is still being discussed for fixing this in the Python SDK.

Closing this issue since it has been resolved on the SDK Azure/azure-iot-sdk-c#1288.


Enable Responsive Screens in Web Release

Some screens are not responsive when using the web layout. The Sign Up, Log In, and Profile screens were found in testing.

Implemented. Will be in v1.01.


Run nostdlib wasm app fail

Env: Ubuntu 20.04 X86_64
Build:
wasm-micro-runtime/product-mini/app-samples/hello-world$ cat build.sh
# Copyright (C) 2019 Intel Corporation.  All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

WAMR_DIR=${PWD}/../../..

echo "Build wasm app .."

rm -fr build && mkdir build && cd build
cmake ../../../../test-tools/binarydump-tool
make
cd ..

echo "Generate test_wasm.h .."
./build/binarydump -o test_wasm.h -n wasm_test_file test.wasm

echo "Done"
$
$ ./build.sh
Build wasm app ..
Build binarydump tool ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mi/code/wasm-micro-runtime/product-mini/app-samples/hello-world/build
Scanning dependencies of target binarydump
[ 50%] Building C object CMakeFiles/binarydump.dir/binarydump.c.o
[100%] Linking C executable binarydump
[100%] Built target binarydump
Generate test_wasm.h ..
Done

Run:
$ ./iwasm -v=5 test.wasm
[12:06:57:879 - 7FBC819B7CC0]: Load type section success.

[12:06:57:893 - 7FBC819B7CC0]: Load import section success.

[12:06:57:895 - 7FBC819B7CC0]: Load function section success.

[12:06:57:897 - 7FBC819B7CC0]: Load memory section success.

[12:06:57:899 - 7FBC819B7CC0]: Load global section success.

[12:06:57:901 - 7FBC819B7CC0]: Load export section success.

[12:06:57:902 - 7FBC819B7CC0]: Load code segment section success.

[12:06:57:904 - 7FBC819B7CC0]: Load data segment section success.

[12:06:57:905 - 7FBC819B7CC0]: Found aux __data_end global, value: 1082
[12:06:57:906 - 7FBC819B7CC0]: Found aux __heap_base global, value: 5184
[12:06:57:907 - 7FBC819B7CC0]: Found aux stack top global, value: 5184, global index: 0, stack size: 4096
[12:06:57:917 - 7FBC819B7CC0]: Shrink memory size to 5184
[12:06:57:919 - 7FBC819B7CC0]: Load module success.

[12:06:57:922 - 7FBC819B7CC0]: Memory instantiate:
[12:06:57:924 - 7FBC819B7CC0]:   page bytes: 5184, init pages: 1, max pages: 1
[12:06:57:925 - 7FBC819B7CC0]:   heap offset: 5184, heap size: 0

[12:06:57:932 - 7FBC819B7CC0]: Memory instantiate success.
[12:06:57:965 - 7FBC819B7CC0]: warning: allocate 16 bytes memory failed
Exception: allocate memory failed

@yangyalei Please notice that your heap size is 0, did your enabled libc-wasi for your iwasm build ? if that, try to launch this module with explict heap setting like ./iwasm --heap-size=16384 -v=5 test.wasm

@yangyalei Please notice that your heap size is 0, did you enabled libc-wasi for your iwasm build ? if that, try to launch this module with explict heap setting like ./iwasm --heap-size=16384 -v=5 test.wasm

Is the --heap-size param must be add when run wasm? I have enabled libc-wasi and libc-builtin.
By the way, if build wasm app with -nostdlib param, Is it just relay on libc-builtin in iwasm build? The difference between  libc-builtin and libc-wasi really confused。

Only needed if libc-wasi enabled and you want to run application with libc-builitn, please see: https://github.com/bytecodealliance/wasm-micro-runtime/pull/2346
libc-builtin and libc-wasi is totally different, libc-builtin provide the libc API directly that implemented by WAMR itself, libc-wasi provide the wasi API to support wasi-libc and other wasi based ecosystems (Rust/Zig etc), it provide the API like:
    REG_NATIVE_FUNC(args_get, "(**)i"),
    REG_NATIVE_FUNC(args_sizes_get, "(**)i"),
    REG_NATIVE_FUNC(clock_res_get, "(i*)i"),
    REG_NATIVE_FUNC(clock_time_get, "(iI*)i"),
    REG_NATIVE_FUNC(environ_get, "(**)i"),
    REG_NATIVE_FUNC(environ_sizes_get, "(**)i"),
    REG_NATIVE_FUNC(fd_prestat_get, "(i*)i"),
    REG_NATIVE_FUNC(fd_prestat_dir_name, "(i*~)i"),
    REG_NATIVE_FUNC(fd_close, "(i)i"),
    REG_NATIVE_FUNC(fd_datasync, "(i)i"),
    REG_NATIVE_FUNC(fd_pread, "(i*iI*)i"),
    REG_NATIVE_FUNC(fd_pwrite, "(i*iI*)i"),
    REG_NATIVE_FUNC(fd_read, "(i*i*)i"),
    REG_NATIVE_FUNC(fd_renumber, "(ii)i"),
    REG_NATIVE_FUNC(fd_seek, "(iIi*)i"),
    REG_NATIVE_FUNC(fd_tell, "(i*)i"),
    REG_NATIVE_FUNC(fd_fdstat_get, "(i*)i"),
    REG_NATIVE_FUNC(fd_fdstat_set_flags, "(ii)i"),
    REG_NATIVE_FUNC(fd_fdstat_set_rights, "(iII)i"),
    REG_NATIVE_FUNC(fd_sync, "(i)i"),
    REG_NATIVE_FUNC(fd_write, "(i*i*)i"),
    REG_NATIVE_FUNC(fd_advise, "(iIIi)i"),
    REG_NATIVE_FUNC(fd_allocate, "(iII)i"),
    REG_NATIVE_FUNC(path_create_directory, "(i*~)i"),
    REG_NATIVE_FUNC(path_link, "(ii*~i*~)i"),
    REG_NATIVE_FUNC(path_open, "(ii*~iIIi*)i"),
    REG_NATIVE_FUNC(fd_readdir, "(i*~I*)i"),
    REG_NATIVE_FUNC(path_readlink, "(i*~*~*)i"),
    REG_NATIVE_FUNC(path_rename, "(i*~i*~)i"),
    REG_NATIVE_FUNC(fd_filestat_get, "(i*)i"),
    REG_NATIVE_FUNC(fd_filestat_set_times, "(iIIi)i"),
    REG_NATIVE_FUNC(fd_filestat_set_size, "(iI)i"),
    REG_NATIVE_FUNC(path_filestat_get, "(ii*~*)i"),
    REG_NATIVE_FUNC(path_filestat_set_times, "(ii*~IIi)i"),
    REG_NATIVE_FUNC(path_symlink, "(*~i*~)i"),
    REG_NATIVE_FUNC(path_unlink_file, "(i*~)i"),
    REG_NATIVE_FUNC(path_remove_directory, "(i*~)i"),
    REG_NATIVE_FUNC(poll_oneoff, "(**i*)i"),
    REG_NATIVE_FUNC(proc_exit, "(i)"),
    REG_NATIVE_FUNC(proc_raise, "(i)i"),
    REG_NATIVE_FUNC(random_get, "(*~)i"),
    REG_NATIVE_FUNC(sock_accept, "(ii*)i"),
    REG_NATIVE_FUNC(sock_addr_local, "(i*)i"),
    REG_NATIVE_FUNC(sock_addr_remote, "(i*)i"),
    REG_NATIVE_FUNC(sock_addr_resolve, "($$**i*)i"),
    REG_NATIVE_FUNC(sock_bind, "(i*)i"),
    REG_NATIVE_FUNC(sock_close, "(i)i"),
    REG_NATIVE_FUNC(sock_connect, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_broadcast, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_keep_alive, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_linger, "(i**)i"),
    REG_NATIVE_FUNC(sock_get_recv_buf_size, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_recv_timeout, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_reuse_addr, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_reuse_port, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_send_buf_size, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_send_timeout, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_tcp_fastopen_connect, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_tcp_keep_idle, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_tcp_keep_intvl, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_tcp_no_delay, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_tcp_quick_ack, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_ip_multicast_loop, "(ii*)i"),
    REG_NATIVE_FUNC(sock_get_ip_multicast_ttl, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_ip_ttl, "(i*)i"),
    REG_NATIVE_FUNC(sock_get_ipv6_only, "(i*)i"),
    REG_NATIVE_FUNC(sock_listen, "(ii)i"),
    REG_NATIVE_FUNC(sock_open, "(iii*)i"),
    REG_NATIVE_FUNC(sock_recv, "(i*ii**)i"),
    REG_NATIVE_FUNC(sock_recv_from, "(i*ii**)i"),
    REG_NATIVE_FUNC(sock_send, "(i*ii*)i"),
    REG_NATIVE_FUNC(sock_send_to, "(i*ii**)i"),
    REG_NATIVE_FUNC(sock_set_broadcast, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_keep_alive, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_linger, "(iii)i"),
    REG_NATIVE_FUNC(sock_set_recv_buf_size, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_recv_timeout, "(iI)i"),
    REG_NATIVE_FUNC(sock_set_reuse_addr, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_reuse_port, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_send_buf_size, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_send_timeout, "(iI)i"),
    REG_NATIVE_FUNC(sock_set_tcp_fastopen_connect, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_tcp_keep_idle, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_tcp_keep_intvl, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_tcp_no_delay, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_tcp_quick_ack, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_ip_multicast_loop, "(iii)i"),
    REG_NATIVE_FUNC(sock_set_ip_multicast_ttl, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_ip_add_membership, "(i*i)i"),
    REG_NATIVE_FUNC(sock_set_ip_drop_membership, "(i*i)i"),
    REG_NATIVE_FUNC(sock_set_ip_ttl, "(ii)i"),
    REG_NATIVE_FUNC(sock_set_ipv6_only, "(ii)i"),
    REG_NATIVE_FUNC(sock_shutdown, "(ii)i"),
    REG_NATIVE_FUNC(sched_yield, "()i"),

Only needed if libc-wasi enabled and you want to run application with libc-builitn, please see: #2346
libc-builtin and libc-wasi is totally different, libc-builtin provide the libc API directly that implemented by WAMR itself, libc-wasi provide the wasi API to support wasi-libc and other wasi based ecosystems (Rust/Zig etc), it provide the API like:

Thanks，I got it.

Why is it different from the link description of https://wamr.gitbook.io/document/basics/getting-started/on_host?


/2004/04test/rogier

Hello Jos, Long long time no see.
The expression of atom in owl here
http://bblfish.net/work/atom-owl/2006-06-06/#
references a link
@prefix cifp: http://eulersharp.sourceforge.net/2004/04test/rogier#.
which is no longer available at that location.
I found it here
http://eulersharp.sourceforge.net/2004/04test/rogier.n3
and was wondering if you can add a symlink for that?
Thanks!
mike

Thanks Mike, is indeed a long long time no see :-)
The symbolic link is available and should work.


Added DeepSource Static Code Analysis

Description
I ran a DeepSource Analysis on my fork of this repository. You can see all the issues raised by DeepSource here.
DeepSource helps you to automatically find and fix issues in your code during code reviews. This tool looks for anti-patterns, bug risks, performance problems, and raises issues. There are plenty of other issues in relation to Bug Discovery and Anti-Patterns which you would be interested to take a look at.
If you want to setup DeepSource for Continuous Analysis, I can help you set that up. The .deepsource.toml file will help you analyze your commits and pull requests every time and show blocking issues, bugs and anti-patterns.

cc: @gauravdas014 @salil-naik

@HarshCasper there are two apps inside the repo, one is react app and another one is the node app. Will one config file for deepspurce handle both of them?

Hi @gauravdas014
Thanks for the review! I have added the dependency file paths to take into account the Frontend and Backend Directories and also added some meta analyzers to ensure that the ES6 is followed and the es-modules is being used.

Hi @gauravdas014
Thanks for the review! I have added the dependency file paths to take into account the Frontend and Backend Directories and also added some meta analyzers to ensure that the ES6 is followed and the es-modules is being used.

Looks good to me. Thank you for the PR @HarshCasper


Make this package work

I found this package as a small and simple option to do exactly what I needed. I thought it just needed fixing for auto-linking, but found a few functional problems too.
I've fixed this so it works in my project and improved the error handling so values not found in the plist or string resources are correctly passing errors back to the JS side.
I may write a new one that uses JSI for quick synchronous reads of plist values and resources, but since this is already published and currently broken for new projects I thought you might like to merge this and publish a new version?

You rock! 🎉 Thanks for your contribution. I'll update the npm package immediately.

https://github.com/all-contributors please add @markwilcox for maintenance


[e2e]: container schedule main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5396910569
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Wed Jun 28 03:25:38 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5408141881
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu Jun 29 03:22:23 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5418940689
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri Jun 30 03:24:14 UTC 2023
Tests are passing now. Closing this issue.


if_python3.c(499) warning C4273 py3_PyBool_Type

Hello
When Vim 9.0.1984 is compiled with msvc C/C++ version 19.29.30140, there is a warning:
if_python3.c(499): warning C4273 py3_PyBool_Type : inconsistent dll linkage
Python310\Include\boolobject.h(10): see previous definition of 'py3_PyBool_Type'

Hello,
Tested your patch https://github.com/k-takata/vim/commit/8ff6cf1c8965f47c6c74af3231f91033602d0af6, change to static py3_PyBool_Type, and no more warnings.
Thanks,
Best regards


Block header structure update

This PR adds new functions to the BlockHeader structure:

Deserialize
Target
Difficulty

These functions will be needed to verify if the difficulties of block headers in the SPV proof are consistent with the difficulties stored on-chain. It will be useful to detect a situation when the relay has not been updated yet with the current Bitcoin difficulties, but the proof already have block headers with those current difficulties.

Can you please update the PR description to explain why do we need the new functions?

Can you please update the PR description to explain why do we need the new functions?

I updated the PR description and explained why we are adding these functions.


chore: Performance optimization

Capacitor loads in 16 seconds in a cluster with 20 HelmRelease, 49 Kustomization and 150 deployed services.
Capacitor loads in 110 seconds in a cluster with ~50 HelmRelease, ~300 Kustomization and ~500 deployed services.
Ideas:

filter on the backend, make namespace selector mandatory
load by data type: service list, pods, configmaps etc. With skeleton loader
or both of the above

Reduced the 16 seconds to 3.5
the 110 seconds to 21

#127

Just noticed that the /api/services response includes .metadata.managedFields
is that needed? if not, then by removing it you could save a huge chunk of transferred data ?


Automated Goldpinger version update 3.6.1-5.4.3

Automated changes by the cron-goldpinger-update GitHub action
Adds [Goldpinger add-on](https://kurl.sh/docs/add-ons/goldpinger) version 3.6.1-5.4.3.

Diff: https://github.com/okgolove/helm-charts/compare/goldpinger-5.4.2...goldpinger-5.4.3
5.4.3 allows a securityContext to be added to the daemonset.

Diff: https://github.com/okgolove/helm-charts/compare/goldpinger-5.4.2...goldpinger-5.4.3

5.4.3 allows a securityContext to be added to the daemonset.

So skip this one, because we're not enabling security contexts and so it's exactly the same as the previous version?


IN clause without parentheses is not working but work in Oracle DB

Hi, Oracle expressions are possible.  expression IN value1
ex) select 1 from dual where a in 1

Coverage remained the same at 86.099% when pulling 193a80d28702fd88a8d9d1c644ee4ed9b5f550cd on skylark-nam:master into ffbf96e6155dafb85152144518f99407aa3ffc0c on JSQLParser:master.

I have two problems with this commit:

something like "in ( expr"  would be accepted. If there is an opening parenthesis there must be a closing one. I know it is not yet done for all of JSqlParser, but it should.
The deparser should reconstruct exactly the same statement from the parse tree. But without any change, it would forget the parenthesis.

Obsolete now, since I accidentally implemented this somewhere down the 4.7 Snapshot (reworking ExpressionList).
You can test it here.


Add FreeBSD instructions to documentation

I've added mod_auth_openidc to the FreeBSD ports tree:
http://www.freshports.org/www/mod_auth_openidc
The following should either be added to INSTALL or the wiki to instruct FreeBSD users how they can use the ports tree or package to install mod_auth_openidc (without having to manually build it/install dependencies):

FreeBSD users can use one of the following two options to install mod_auth_openidc:
To install the port: cd /usr/ports/www/mod_auth_openidc/ && make install clean
To add the package: pkg install ap24-mod_auth_openidc

I've added it to the INSTALL in the latest commit and to the Wiki here:
https://github.com/pingidentity/mod_auth_openidc/wiki#11-where-can-i-get-binary-packages
Thanks.

I tried both methods, but don't see the package on FreeBSD 11.0 Release.  Is it in 11.1?

You'll need a current ports tree to build from ports.  You can use portsnap to update your local tree:
https://www.freebsd.org/doc/handbook/ports-using.html
The package was build and added to the FreeBSD repo on: 2017-Sep-14 11:23.
If you're still running into issues, please paste details on what you're seeing.


Player Targeting and Essentials Nicknames

I would love to see a few things, one being is targeting another player. For example command /cry could say "Kanin Cries" and /cry (player) could say something like "Kanin cries with (player)" another is an option in the config to use essentials nicknames instead of display names, and if the user does not have a nickname then to just use their display name.

[ ] Player Targeting
[ ] Nicknames

Got the IDs messed up


Set release default to the number of commits in the repo instead of always using 1

This lets different shas have different iterations in the built debs and rpms.
Closes #139

Updated this so it has the old default of 1 if it can't get a git commit count. This will let debs and rpms get built from burst tarballs.

LGTM


Apply button stays greyed out on System tab

Describe the bug
The Apply button on the System tab of Preferences never becomes clickable.
To Reproduce
Steps to reproduce the behavior:

Go to Preferences
Go to the System tab
Make changes

Expected behavior
The Apply button becomes clickable
Screenshots

Fixed for the next version. Sorry about that!
The config still gets saved, so you can just restart OrbStack manually as a workaround.


Serious performance regression in Grow method of OutputBuffer

Recently, in order to mitigate CVE-2020-1469, among other changes, line 224 of OutputBuffer class
changed from length += length >> 1; to length = checked(length + length >> 1);
This actually doesn't change the value in length variable, because the + operator precedes the bit-shift operator,
So basically we multiply and divide == no change.
This causes serious performance regression as the underlying buffer grows by single value at a time (instead of growing by half of current size)...
I'll open a PR with a fix suggestion soon.

Nice find. Fix merged into master.


net/http: add a RoundTripperFunc helper

Inspired from the useful http.HandlerFunc, add a http.RoundTripperFunc
to simplify writing stateless and stand-alone RoundTrippers.
Such a helper is particularily interesting when developing and testing
HTTP clients, as it allows to simply embbed in the test the call and the
relevant checks.
Change-Id: Ie825d95e58e321711d5a86243abbbd0479c44d44

From the CL:

In this case, this helper is simple to define in user code. In addition, user-defined RoundTripper implementations are uncommon.

I would disagree. I've just defined a bunch, e.g. for decorating requests with headers or basic auth specifically.

decorating requests with headers or basic auth specifically

I do have the same use-case where RoundTripper shines. This is what motivated the proposal.
If we have enough interested, I am happy to contribute the relevant API change discussion


Fix code caching for OpenMP regions (CPU and GPU)

Fix dispatcher pickling to only return output_types if it is a object mode lifted with.
Move openmp library opening to the first openmp compilation or the first time a cached openmp function is loaded.
Make openmp_tag pickleable by not storing the arg if it contains a llvmlite AllocaInstr.

Pause on this branch @DrTodd13. I'm restructuring numba to remove distributing llvm-tools and libraries, which affects init.

@DrTodd13 can we revive this PR on the latest develop version?

@DrTodd13 Rebased on a more recent develop that fixes an issue with gitlab tests on the ruby machine


PHP Regex

Basic characters and patterns
Some common use cases
Let me know if there any changes required

Although this is not related to this wanted to know before opening an issue or pull request for  a cheat sheet for Drush,
Will it be good to add it?

Thank you! Yeah go ahead :)


MaterialXEditor: Missing various input and output interface types "nodes"

Currently the types of inputs and outputs is fixed and is a subset of the available types (as specified in stdlib_defs.mtlx).
Thus they are missing on load and cannot be created interactively.
This prevents users from creation using graphs with these types of inputs / outputs.
In particular PBR and all shader types are missing, matrix, arrays, geomname, lights and materials.

Thanks for this report, @kwokcb, and thanks to @niklasharrysson for the fix!

Thanks @niklasharrysson for fixing this. I had one more thing that I think would be good to add here.
@jstone-lucasfilm , the 'none' type is no longer used anywhere so I think it should be excluded from being able to be created. I believe it was nixed when backdrop stopped being a node, but I think the typedef is still required to perform upgrades of older files. Suggest to filter it out so you can't create these?


Arrondissement – when selecting, only show the addresses of the members who lived in the sixth and only THAT address

Done


lint docstrings

lets you know when you missed a variable which seems valuable when working with lots of inputs and outputs:
"base_instance" missing in parameter documentation
unfortunately it doesn't check whether you used a totally different description for the same variable name in another docstring.
fixes: #501

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@c5845a2). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #500   +/-   ##
=======================================
  Coverage        ?   85.92%
=======================================
  Files           ?       39
  Lines           ?     2729
  Branches        ?        0
=======================================
  Hits            ?     2345
  Misses          ?      384
  Partials        ?        0

Flag
Coverage Δ

unittests
85.92% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

I think the biggest issue is it's not as complete as pylint. here's a list of missing features: https://github.com/astral-sh/ruff/issues/970
for instance (pun intended) I just checked and it doesn't handle too-many-instance-attributes which I was looking for a second opinion on just now

Closing as this was addressed in #694


[Nuget.org Styles] Select focus indicator is too subtle

This style is based on Fluent UI, the current implementation of the Select component has the same effect when focused, I believe for now this is the best way to have this select.


Stage shown right after Pull

Hi,
Right after doing Pull to abapGit I get a file with a diff and the button "Stage" there:

And this is the diff:

the diff and stage links are visible when the remote and local objects does not match 100%. In this case the RSTAT field does not match.
Guess the initial ZABAPGIT report was created with RSTAT = T. The field should be overwritten when doing the pull, this looks like a bug in abapGit

@nununo try again
note that the pull has to be done with the latest version of abapGit, so if pulling latest version of abapGit with abapGit will just install the fix, not run the fix

I'm not sure I got it right. The problem is still there:
What I did:

I pulled
/N SE38 ZABAPGIT to run the latest version
The problem was still there

So I decided to click on the link at the very top which said something like "Get abapgit" (and which no longer appears). It fetched a lot of files, which I then activated and now I have several new files which I didn't have before, all unstaged:

looks like the objects from "abapGit-plugins" was installed into the wrong package. Just tried the button, and could not reproduce the issue.
You can delete the objects with "new" manually to clean up the mess(sorry). And goto "Advanced -> Uninstall" under the "abapGit-plugins" to remove the plugins

note that the pull of abapGit has to be done with the latest abapGit, to see that the issue is fixed
you can force a pull via "Advanced -> Reset local"

Got it. no more diff.
But... regarding those abapGit-plugins objects...
Here's what I did:

Deleted all of them (but please note that they were in the right package!)
abapGit was now looking ok
abapGit-plugins started showing errors
I did an Advanced->Reset local in abapGit-plugins
All the objects were created again, in the right package, as you can see
in the screenshot
The abapGit-plugins now looks fine
But the abapGit repository is again showing all those files as new and
unstaged

[image: Inline image 1]
On Mon, Sep 5, 2016 at 2:01 PM, Lars Hvam<EMAIL_ADDRESS>wrote:

note that the pull of abapGit has to be done with the latest abapGit, to
see that the issue is fixed
you can force a pull via "Advanced -> Reset local"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/larshp/abapGit/issues/318#issuecomment-244730475, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgeUVyWjBiWU3Kszh_tH6QeXCSeI7_Sks5qnASJgaJpZM4J0_HX
.

is $ABAPGIT_PLUGINS a subpackage of $ABAPGIT in your system?

Yes, as you can see in the screenshot I sent you before.
On Mon, Sep 5, 2016 at 2:16 PM, Lars Hvam<EMAIL_ADDRESS>wrote:

is $ABAPGIT_PLUGINS a subpackage of $ABAPGIT in your system?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/larshp/abapGit/issues/318#issuecomment-244733140, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAgeUSq61AovcrJ4uRYzdq5egzkXgHFZks5qnAgBgaJpZM4J0_HX
.

I guess the image was not sent since I replied by email:

okay, you changed the superpackage manually
change super package of $ABAPGIT_PLUGINS to $DEVTOOLS and the issue should be fixed for you
Both $ABAPGIT and $ABAPGIT_PLUGINS are created with $TMP as superpackage when clicking the "get abapgit button". A repository includes the subpackages in the object list, to simulate folder structure

Done. Thanks! Seems to work now. I don't remember having put $ABAPGIT_PLUGINS as subpackage of $ABAPGIT but probably did it :p

or perhaps it is a bug in abapGit, I've tried reproducing but no success

There is another similar issue, though:
After my pull request I removed my fork and cloned your abapGitServer repository. But I get differences and the stage button. Even after I did and Advanced->Reset local:

And here are the differences down at the bottom:

SICF: there might be a bug here, but nothing important
TABL: I have developed abapGitServer on 750, so the meta data from 750 is saved in the xml files. When importing on 731(?) it has less meta data, so there is a difference in the xml files, which cannot easily be avoided.
When staging changes just pick the objects you have changed. Or just submit everything, it doesnt matter if the 750 meta data is overwritten, as it handles the new meta data as optional/defaults values.

I see. Makes sense. Thanks.

I guess we can close this issue then, right?

yeah, closing


Refactor PageTable interfaces

Move "entires: [E; N]" from core PageTable interfaces to each implementations.

-- WORK IN PROGRESS --


Updated TestFlow and created TranscriptUtilities

TestFlow now supports a list of Activities to Send() and AssertReply()
TranscriptUtilities is a helper class to read .transcript files based on TestContext
Removed the obsolete Microsoft.Bot.Builder.Tests empty project

@cleemullins we applied all feedback


ImportError: cannot import name 'PCD_ Align 'from' dcn_ V2 '

ImportError: cannot import name 'PCD_ Align 'from' dcn_ V2 '
I encountered this issue during the debugging process. May I ask 'PCD'_ Where is the function 'Align' located?

did u solve it?


Code reformat

Improvements to code readability, format & Javadocs.
Summary of Changes:

Improved Javadoc descriptions.
Set max line length & comment length to 120 characters in checkstyle rules.
Moved HqdmObject from model.impl to pojo package.
Moved HqdmException class from RDF module to core.
Moved Pair & Triples classes to util package in hqdm-rdf.
Replaced StringBuilder with string concatenation in Triples class for readability.
Descriptive test names and variables.

There are now two copies of HqdmObject - one in model and one in pojo.
Both are exposed to clients of the module, but it is an internal implementation class and should not be exposed.
HqdmException is in the exception package not in the core package (PR description says it has moved to core)
Can you add your code formatter config to the repo so that contributors can use it? (possibly also for the MagmaCore repo as well)

I intended to move HqdmObject to the pojo package, not copy it. I will remove whichever copy we agree not to use.

I'd prefer to keep HqdmObject in the pojo package as this makes it distinct from the HQDM model interfaces and makes it easier to find in the source.

Does Top.java need to be exposed to the client? If not then we can remove uk.gov.gchq.hqdm.core.pojo from the module exports, thereby hiding both HqdmObject and Top.
The Java formatter settings I'm using are included in the .vscode folder which is excluded by the .gitignore file. What would be the best way for me to include it in the project source? I'm using the same formatter for Magma Core so I will include there as well.

I tried not exporting the pojo package and my local MC builds and tests ok, so it looks like it can be excluded from the exports, which also means that the pojo package will be fine for HqdmObject.
I'd include a copy of the formatter config file at the root with maybe a comment in the CONTRIBUTING.md file about using it for formatting - you could say copy it to your local .vscode directory for VS Code users, and leave it up to people to configure it for their preferred IDE.

Looks good to me - feel free to merge it 👍 .
I can also update MC to use this version unless you want to do it? (this should be done before the MC modularisation changes)

I'll do this. I want to make the same formatting changes to Magma Core before both updating the dependency version and modularising Magma Core.


Don't resolve links when listing the source files

closes: #206

Closed in https://github.com/executablebooks/sphinx-book-theme/commit/e4b33e858664ac959bb4996801b81cb493879e81 ta


Logging

Hi,
Is there any way to log all exceptions in to our own custom logger file? Actually I have created my own logger and everything inherited from Grape::API seems to log properly. But exception log still writing to development.log file. Could you guys please suggest a method to achieve this?

You can create custom error handlers that use your own logger file, maybe as simple as adding a rescue_from :all with a log block? Or a middleware?
Please bring up questions on the google group.


Pos of data node is None for trailing newline

Hello devs,
When I was using LatexWalker on a string with trailing newline after an environment, that newline is parsed into a LatexCharsNode with pos = None. Is this intentional?
I'm using version 2.1 (installed from pip); a minimal input that displays this behavior would be "\begin{table}\n\end{table}\n".
Also, thanks for the great work! I'm writing a customary latex formatter and this library really helps!

Thanks for your feedback! I tested this with the latest git master and I can't reproduce the bug. It might be because I did change some minor things in how nodes are parsed specially towards the end of the input, so this hopefully also fixed your bug. I'm closing this issue for now, but please do feel free to re-open if you find the bug is still there.


Multiple methods named “setProgress” found with mismatched result, parameter type or attributes

I got a build error with that messsge When the env arm64, xcode6.0-DP, others OK!
the error line is :
[(id)indicator setProgress:progress];
when I try  :
[indicator performSelector:@selector(setProgress:) withObject:@(progress)];
that does't work!
so  I use the NSInvocation to solve this problem :
          NSMethodSignature *methodSignature = [[indicator class] instanceMethodSignatureForSelector:@selector(setProgress:)];
          NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:methodSignature];
           invocation.target = indicator;
           invocation.selector = @selector(setProgress:);
          [invocation setArgument:&progress atIndex:2];// 注意从2开始
          [invocation invoke];

I want to ask If that ok or any more better way to forbid the errer?

The progress is set through KVC now, so this should no longer be a problem.

Good!


Add error when renaming module

When running the following ddl:
  ALTER MODULE ModuleTest RENAME TO ModuleTest2;

The following error is raised:
error: SchemaError: Renaming modules is not supported
  │
4 │   ALTER MODULE ModuleTest RENAME TO ModuleTest2;
  │                           ^^^^^^^^^^^^^^^^^^^^^ error

edgedb error: error in one of the migrations

Put the issue being fixed in the PR text/commit message; it makes it easier to keep track of things, and automatically will close the issue when the fix is merged


How to configure SSL settings for authenticated cloudlflare origin pulls

This docker is working perfectly on Unraid but I have a question on how to secure it using Cloudflare. Right now I'm using Cloudflare in front of my sites but I'd like to secure it as much as possible. I was looking through their security settings and noticed you can enable authenticated origin pulls. I'm trying to follow these instructions they have posted for nginx:
"For authenticated origin pulls to work, use Full SSL in the Cloudflare Crypto app, and update the origin web server SSL configuration. Download origin-pull-ca.pem and place the certificate in a file on your origin web server, for example in /etc/nginx/certs/cloudflare.crt
Then add these lines to the SSL configuration for your origin web server:
ssl_client_certificate /etc/nginx/certs/cloudflare.crt;
ssl_verify_client on;"

However I'm not sure where to place the file that contains the origin-pull-ca.pem or where to edit the SSL configuration to add those last two lines. I really have no idea what I'm doing so is this even possible with this docker? Thanks for the amazing docker!

I'm not familiar with Cloudflare features, but it seems that you need to install custom certificates.  This means that in NginxProxyManager, instead of using Letsencrypt certificates, install the one from Cloudflare: access the SSL Certificates page.  Then, click the Add SSL certificate button and then Custom.
Once installed, you can use this certificate in a Proxy Host configuration.

Closing this issue.  Please re-open if needed.


Upgrade simdjson lib to 3.7.0

Recently, we are proposing a patch to support a Spark JSON function based on simdjson lib. It requires to use json path API which is only available since 3.7.0. So we are trying to upgrade the lib.
Background:

See the discussion with @mbasmanova:
https://github.com/facebookincubator/velox/pull/5179#issuecomment-1988431563 (3.7.0 is enough)
I also note Masha's discussion with simdjson community about supporting json path:
https://github.com/simdjson/simdjson/issues/2070

@PHILO-HE So internally Meta still uses 3.1.8 (which is close to 3.2.0 but not exactly it). We will also need to upgrade our internal dependencies to 3.7.0 and then validate that this doesnt break anything or has any performance regressions. I will require some time for this.

@PHILO-HE So internally Meta still uses 3.1.8 (which is close to 3.2.0 but not exactly it). We will also need to upgrade our internal dependencies to 3.7.0 and then validate that this doesnt break anything or has any performance regressions. I will require some time for this.

@kgpai, no problem. Thanks so much for your time!

@PHILO-HE I'm upgrading simdjson internally to 3.8.0. Would it be possible to update to the same version here?

Superseeded by #9456


[FEATURE]: Add findUnique to relational queries

Describe what you want
Hello 👋,
Relational queries are pushing the DX of Drizzle closer than Prisma, I love it!
In order to close the gap, it would be great to have findUnique implemented. It's basically like findFirst but restricted to the filter of at least one ID/PK/Unique column (https://www.prisma.io/docs/reference/api-reference/prisma-client-reference/#filter-on-non-unique-fields-with-userwhereuniqueinput).

It's to help the developer get a unique entity efficiently without errors as all these columns are indexed. You don't have to know by heart the unique columns, the types will help you.

@dankochetov
If someone wrongfully removes a unique constraint (or forgets to implement it in the first place), you'd introduce a "silent" bug with .findFirst(). There could be multiple rows returned and Drizzle would just pick the first one from the result set. With .findUnique() you'd get an error thrown if there is more than one matching row and you have a chance to catch the bug sooner I guess.
Also, .findUnique() is semantically a clear mention of the fact that there can only be one of the selected rows, which you wouldn't have with .findFirst({ where: eq(table.arbitraryColumnName, 'arbitraryValue') }).

Is this conceptually different from #889?

@Angelelz @dankochetov this is conceptually different from findFirst
Say have a table called someTable. I have a unique index on id and on 3 fields (can have duplicates, but not duplicate combo of all 3), say field1, field2, and field3. In prisma, I am able to query on that unique combination and do something like so:
await prisma.someTable.findUnique({
  where: { // The only possible fields I can use here are `id` or `field1_field2_field3`
    field1_field2_field3: { // This type requires all 3 specified
      field1: 'asdf',
      field2: 'asdf',
      field3: 'asdf'
    }
  }
});

If I have another field name in the table that is not unique, I am not able to specify this in the where query. The reason that this feature is helpful is that it makes for easier DX since you don't need to remember exactly what defines unique indexes. Moreover, if you remove a field from a unique index, then the type checker will say that field3 is not a key of the where clause. It would require it to update to this:
await prisma.someTable.findUnique({
  where: {
    field1_field2: { // `field1_field2_field3` is no longer a key
      field1: 'asdf',
      field2: 'asdf'
    }
  }
});

This feature prevents a lot of bugs where you expect a unique result, but could actually have multiple results since you misunderstood or forgot the exact unique indexes.
There should be some way to have a findUnique function that is essentially a copy of findFirst except with different type defs for the where clause based on where the unique indexes are defined.
For other readers, is there any good workaround to do this?

There is still no feature parity between Prisma and drizzle yet. I personally don't have any idea what that API is doing for you under the hood? Is it just filtering by those 3 fields? Is it looking at your actual indexes making sure is unique? Does it throw and error if more that one is received back? Does it add a limit 1 to the query?
I would suggest to find out what is it that you need from findUnique exactly, in terms of SQL queries, and go from there.

Full spec of how findUnique should work:

Under the hood, it should behave the same as findFirst (limit 1 and return the result)
There should be no runtime errors thrown if no value is found; it should just behave like findFirst and return null
The only real difference is in the API that the developer sees. Find unique should just alter the where type interface to exclude any types that do not have unique indexes

Example:
export const table1 = pgTable(
  'Table1',
  {
    id: text('id')
      .primaryKey()
      .$defaultFn(() => sql`gen_random_uuid()::text`)
      .notNull(),
    name: text('name').notNull(),
    notes: text('notes').notNull(),
    orderId: text('orderId').notNull(),
    productId: text('productId').notNull(),
    purchaseDate: timestamp('purchaseDate', { mode: 'string', precision: 3 }).notNull(),
  },
  (table) => ({
    nameKey: uniqueIndex('name_key').on(table.name),
    productIdOrderIdKey: uniqueIndex('Table1_productId_orderId_key').on(table.productId, table.orderId)
  })
);

// These should be the only types since they are derived from the unique indexes
type Table1FindUniqueWhere = |
  { name: string } |
  { productId: string; orderId: string }

await db.query.table1.findUnique({})
                                 ^^ Missing required where clause
await db.query.table1.findUnique({
  where: {}
         ^^ Does not match Table1FindUniqueWhere
})
await db.query.table1.findUnique({
  where: { notes: 'asdf' }
         ^^^^^^^^^^^^^^^^^ Does not match Table1FindUniqueWhere (notes is not a unique field)
})
await db.query.table1.findUnique({
  where: { orderId: 'asdf' }
         ^^^^^^^^^^^^^^^^^^^ Does not match Table1FindUniqueWhere since productId is not also included
})

// Valid
await db.query.table1.findUnique({
  where: { orderId: 'asdf', productId: 'asdf' }
})

// Valid
await db.query.table1.findUnique({
  where: { name: 'asdf' }
})

Find unique should just alter the where type interface to exclude any types that do not have unique indexes

I'd like to recommend amending this slightly: Instead of excluding types that do not have unique indexes, it should require at least one fully-specified unique index. That way a) you can still provide additional filters, such as when pulling back a user based on their unique username and account status (Prisma implemented this later on with their "extended where" feature) and b) imagine you have (a,b) as a compound unique index, (c,d) as a compound unique index, and e as a unique index - you want to require the presence of (a and b) or (c and d) or e.

If I’m not mistaken in Prisma this works with delete too:
await prisma.someTable.delete({
  where: {
    field1_field2_field3: {
      field1: 'asdf',
      field2: 'asdf',
      field3: 'asdf'
    }
  }
});

Please add this. It's easy to forget adding a where clause with findFirst. findUnique could be just like findFirst with required where argument


Autoscaling does not work when scaling from zero

Found a bug? Maybe our Slack Community can help.

Describe the Bug
ASG group created by  Node group is missing the cluster-autoscaler tags. Autoscaling does not work when scaling from zero without these tags.
Expected Behavior
ASG should be autoscalable from node count = 0
Steps to Reproduce
Steps to reproduce the behavior:
1 create with node group with min count = desired count = 0 and node labels and taints
2. schedule a pod with the same label and taints
3.  pod remain unschedulable since autoscaling fails to add a node.
Screenshots
If applicable, add screenshots or logs to help explain your problem.
Environment (please complete the following information):
NA
Anything that will help us triage the bug will help. Here are some ideas:
NA
Additional Context
Possible solution: Tag ASG owned by eks  node group after the fact.

Closing because this functionality is not supported by AWS. See https://github.com/aws/containers-roadmap/issues/608

@Nuru will you consider using this as workaround ?
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/autoscaling_group_tag
you can use tags_all publish by managed node group and send it to autoscaling group tag.

Reopening to consider implementing via aws_autoscaling_group_tag as described in https://github.com/aws/containers-roadmap/issues/608#issuecomment-1091628621

@KhannaAbhinav I tried using the autoscaling_group_tag, but could not get it to work. The problem is that each resource only manages 1 tag, so you have to use count or for_each to create all the tags, which means the number of tags has to be known at "plan" time. No matter what tricks I tried, I could not get the number to be known at plan time when running our test suite. And with that error, the entire module stops working, so at the moment it is not worth the risk.
I might later try something like always deploying 5 or 10 tags or some computed number that is going to be clearly available at plan time, but it will probably a long time before I get to it.


Updates guava dependency to latest stable version suggested by whitesource

Signed-off-by: Darshit Chanpura<EMAIL_ADDRESS>Description
Updates outdated guava dependency. This issue was opened by whitesource as part of version compatibility/vulnerability check. But the version suggested by whitesource was an android toolkit, and hence this PR was opened to update to it to Java toolkit 30.1.1-jre.

Enhancement
White-source suggested

Issues Resolved
https://github.com/opensearch-project/security/issues/1565
Is this a backport? If so, please add backport PR # and/or commits #
Testing
Manual testing
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@DarshitChanpura it looks like there are many items on the description from the PR template that haven't been updated, could you please update those so I can approve these changes?

@DarshitChanpura it looks like there are many items on the description from the PR template that haven't been updated, could you please update those so I can approve these changes?

I have update the description to best of my knowledge. If you see anything missing in particular, please let me know so I can fix it right away.

Could you remove the 'sign off' on the top of the description?

Is this a backport? If so, please add backport PR # and/or commits #

This change isn't a backport, so I think we can delete this line

Manual testing

This is hard to reproduce without more detail, if we have a set of manual tests cases we follow that you could reference Did the XYZ manual test pass [link] to doc or validation to be conducted by the PR checks


ci: optimize upgrade

Thanks for contributing!

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #3413
Special notes for your reviewer:

wait...
https://github.com/ty-dc/spiderpool/actions/runs/8866935131


Remove uneeded Arc wrappers

Get rid of useless Arc wrappers in all the various sinks once the Clone trait isn't required to be used with AsyncMetricSink (because we're removing it, probably -- #34).

Note this may be moot given #45


feat(http): allow personal API keys to be used for alerts and APM resources

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


vendore update; helmclient

Following https://github.com/giantswarm/helmclient/pull/121
Not sure I need to push a new tag after this.

Taking this over as Ji is AFK.


Profile Adaptive Dialog Stack

We need to run a profiler over the Adaptive stack for common scenarios.
This tracking issue is to identify key hotspots and fix any low-hanging fruit. Larger areas identified should be separately identified.

This should be done against both C# and JS as the perf issues will likely be different for both. From my experience I see we spend the bulk of our time in Antlr for C# due to all of the expression parsing we do.

Seems like we may not be caching as much as we can

We will not be addressing at the moment.


Commits for LLAP and Hive Service Discovery

Versions tested with:
----HDP 3.0, 3.0.1, 3.1
Open Issues that I'm still testing:
----HSI swap from non-HA to HA
----Need to update pseudodistributed.ini and hue.ini on how to make this work
DeScoped
----The zookeeper entries are difficult to predict depending on what mode you are in so i left it open and will put the explanation in the hue.ini:

the hms updates kind of threw me as i was working off of a 4.4 build.  I adjusted the logic accordingly but it was on the fly so i'll need to retest tomorrow.

Notes:
----tried to move the cache location to a CONF but was getting a race condition (Conifig doesn't have .get())
----there is one outstanding issue with the HS2Api that i have not had time to flag down - the logs for HSI are not in the same location as HS2.  So in notebook/connectors/base.py llap needs to point somewhere else to get the dag info.  I just haven't figure that out.

Created an official jira https://issues.cloudera.org/browse/HUE-8887 to track it


Controls

PID control for drivetrain velocity
Hall sensor interrupt stopping for actuation, excavation, and deposition
Stepper motor control for lead screw actuation

Stale


are requests handled asynchronously? [QUESTION]

Description
Firstly, I just want to start by saying I love FastAPI, it's great, and thanks for all your hard work. I am just confused about whether I should expect the api to actually handle requests asynchronously or not?
If I launch a very basic api, with file: my-api.py -
import asyncio

# api
from fastapi import FastAPI

app = FastAPI()

@app.get("/sleep/")
async def sleep():
    print("I'm sleepy")
    await asyncio.sleep(1)
    print("I'm awake!")

and then run it with hypercorn my-api:app
If I then hit it with 10 requests asynchronously, with a test script like
import requests
from datetime import datetime
import paco

URL = "http://<IP_ADDRESS>:8000/sleep/"

CALLS = 10

async def request_get(x):
    return requests.get(URL)

start = datetime.now()

results = paco.run(paco.map(request_get, range(CALLS)))

end = datetime.now()

print("Start time = " + start.strftime("%H:%M:%S") + "\n" +
      "End time = " + end.strftime("%H:%M:%S") + "\n" +
      "Elapsed = " + str(end - start) + "\n" +
      "Seconds per call = " + str((end - start)/CALLS)
      )

I get
Start time = 16:59:18
End time = 16:59:28
Elapsed = 0:00:10.114808
Seconds per call = 0:00:01.011481

So, it's handling each request sequentially... is that the intended behaviour, or have I mis-configured something?
I can work around it, but making a post route which takes a list, and then handle the list asynchronously in my code, I'm just confused about what I should be expecting here.
Additional context
Many thanks again

not sure what paco is, but something like this simple shows how to run concurrently, maybe worth investigatoing what paco.run does under the hood
import asyncio

# api
from datetime import datetime

from fastapi import FastAPI

app = FastAPI()

@app.get("/sleep/")
async def sleep():
    print("I'm sleepy")
    await asyncio.sleep(1)
    print("I'm awake!")

async def main():
    start = datetime.utcnow()
    tasks = [asyncio.create_task(sleep()) for _ in range(100)]
    result = await asyncio.gather(*tasks)
    end = datetime.utcnow()
    print(end-start)
    return result

if __name__ == '__main__':
    asyncio.run(main())

sorry, I should have said, paco is just a library for working with asyncio. If I use straight up asyncio like
import requests
from datetime import datetime
import asyncio

URL = "http://<IP_ADDRESS>:8000/sleep/"

CALLS = 10

async def request_get():
    return requests.get(URL)

async def main():
    start = datetime.now()
    tasks = [asyncio.create_task(request_get()) for _ in range(CALLS)]
    result = await asyncio.gather(*tasks)

    end = datetime.now()

    print("Start time = " + start.strftime("%H:%M:%S") + "\n" +
        "End time = " + end.strftime("%H:%M:%S") + "\n" +
        "Elapsed = " + str(end - start) + "\n" +
        "Seconds per call = " + str((end - start)/CALLS)
        )

asyncio.run(main())

I get exactly the same result. In reality I have a more complex api with lots of asyncio going on inside the api. What I can't figure out is: is the api itself supposed to handle requests asynchronously? i.e. should my  10 requests be coming back in 1 second, instead of 10 seconds? I thought that they would, but maybe I'm missing something...

I am not sure if requests made by requests is async on the client end. Could you try httpx?

@phy25 thanks, that has solved it. If I use replace
async def request_get():
    return requests.get(URL)

with
async def request_get():
    async with httpx.AsyncClient() as client:
       return await client.get(URL)

then it executes in one second. PHEW!
I'll close the issue now. Thanks all and thanks FastAPI!

https://github.com/encode/requests-async might be of use as well

Thanks for the help here everyone! :cake:
Yep, HTTPX should be the preferred one :heavy_check_mark:
Thanks @tomgreenwood1  for reporting back and closing the issue :+1:


Anna 1.8 missing climate device fix

This is more cleanup, confirmed that thermostat should be visible in 0.0.51 already. Even so bumping to 0.0.52
Build 0.0.50 shows only water_heater on legacy_anna while
Build 0.0.51 merge #8 already shows thermostat in place
Still todo is presets on Anna 1.8 but lets ensure the climate device is back

Not sure why travis is pending


Do not open terminal on initial load

When you first open an AGK project, the terminal opens. It's good to know it exists, I guess, but it can get annoying. Should it be hidden by default?
It shows up when compilation fails or when debugging anyways, which is when you want to use it. It will force you to use the hotkeys for compiling, running, debugging though.

I don't find it annoying when the terminal opens right away.
For the people who don't want that, you can give them the option to turn it off in the plugin settings.

A setting would be nice :)


Scheduler Not Execute

I set up a scheduled task, but it didn't execute.

How to use it?

the time in the cron expression is also related to the the timezone the nodes are configured for. check that the time your configuring in your cron expression matches the timezone the node(s) (minikube, GKE, etc).

closing due to inactivity

k8s use UTC timezone，Pod use CTS timezone，the cron expression should be consistent with the time zone in the container.

please see the following for information on cronjobs and timezone support in k8s:

https://github.com/kubernetes/features/issues/19#issuecomment-359478294
https://github.com/kubernetes/kubernetes/issues/47202#issuecomment-360820586


Bump jsonrpc-* dependencies to v15

polkadot companion: https://github.com/paritytech/polkadot/pull/1737

@maciejhirsz needs a polkadot companion.

bot merge


Add Inventory HUD

Connect to the events of the inventory selector.

Approved with the assumption you're correct


test: add failing test for separator over-replacement

🔗 Linked issue
https://github.com/nuxt/nuxt/issues/22890
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
We're currently hard replacing all sequential pipe characters by default, even within JSON and where there are no template parameters. Because this affects JSON, it's also affecting any values in Nuxt state.
I'm opening this quickly in case it's helpful but will come back to have a look at a potential solutions later on.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks for this! So a couple of issues this highlights:

it shouldn't be processing content without any possible tokens
we shouldn't ever be doing replacements without using the token %separator

Have pushed a fix for it.


Keys stuck when taking screenshot on Mac

Pressing "command + shift + 4" the command and shift keys get stuck. On the demo it looks like they are only removed when you press them again.
It's reproducible here:
https://wangchujiang.com/hotkeys/

@KevinBatdorf It conflicts with system shortcuts.

@jaywcjlove Yes, and unfortunately the browser doesn't seem to fire an event when it loses focus to that.
Maybe the solution would be to allow an option to timeout the multiple keys? As in, _downKeys will clear out if no events are fired after 3000ms. It's just a suggestion. I'm not sure what a good solution would be.

@KevinBatdorf I tried a lot of methods and there is no good way to solve them.

Why not just reset the keys when window focus or blurs?

I played around with this a bit just now and found some good news. It appears that both Firefox and Safari behave as I would expect. While a user is making a selection and the mouse is down, the user can key up. At that point the keyup event isn't handled, but rather, that keyup event is handled once the mouse is upped.
It appears that chrome is the culprit, and I've filed a ticket with them: My first thought was that the macOS window manager wasn't correctly dispatching the keyup events to the application, but then I saw that both Firefox and Safari behave as expected. Curious to see how the ticket plays out :)


fix: remove invalid docker command

chmod is not required since we mounting volume.
The volume itself will not support changing permissions.

See failed build: https://circleci.com/gh/aerogear/ionic-showcase/308#build-timing


Goblin Trader mods

Link to the mod page
https://www.curseforge.com/minecraft/mc-mods/goblin-traders-fabric
https://www.curseforge.com/minecraft/mc-mods/end-goblin-traders-fabric
An estimate of the number of mobs introduced by the mod
2
Game version
1.18.1

opps, already requested


Fails using mount with an app in lotus router

The following example shows a simple config about lotus router, two cases:
This scenario mount an app with it's routes
require 'lotus/router'

class AdminLotusApp
  def call(env)
  end

  def routes
    Lotus::Router.new do
      get '/home', to: 'home#index', as: 'admin_home'
    end
  end
end

@router = Lotus::Router.new do
  mount AdminLotusApp, at: '/admin'
end

puts @router.inspector
# => admin_home GET, HEAD  /admin/home                    Home::Index

@router.path(:admin_home)
# => HttpRouter::InvalidRouteException: No route (path) could be generated for :admin_home

This scenario is the normal case.
require 'lotus/router'

@router = Lotus::Router.new do
  get '/home', to: 'home#index', as: 'home'
end

puts @router.inspector
# => home GET, HEAD  /home                          Home::Index

@router.path(:home) # => works

@AlfonsoUceda Can you please give fix it? Thank you.


Update Frontend to Integrate API

Update the frontend to use the backend routes for fetching weather data. Ensure the search history updates dynamically.

"Frontend updated to integrate backend API routes. Weather data displays correctly in the UI after a search, and search history dynamically updates when new cities are added or deleted."