[BUG] Azure Communication Email - Xamarin forms, MAUI -iOS - System.MissingMethodException

Library name and version
Azure.Communication.Email - 1.0.1
Describe the bug
Using this library to send an email in a Xamarin forms mobile application, for ios throws an exception, It works on android.
exception:
System.MissingMethodException: Method not found: int **System.Text.Encodings.Web.TextEncoder.FindFirstCharacterToEncodeUtf8**(System.ReadOnlySpan1)
at System.Text.Json.Utf8JsonWriter.WritePropertyName (System.ReadOnlySpan1[T] utf8PropertyName) [0x00012] in <815ff95f4d6a463fa6a3be490e0514aa>:0    at Azure.Communication.Email.EmailMessage.Azure.Core.IUtf8JsonSerializable.Write (System.Text.Json.Utf8JsonWriter writer) [0x00080] in <f62568a7c6294e4ea7d2519d80d0c734>:0    at Azure.Core.Utf8JsonWriterExtensions.WriteObjectValue (System.Text.Json.Utf8JsonWriter writer, System.Object value) [0x0014a] in <f62568a7c6294e4ea7d2519d80d0c734>:0    at Azure.Communication.Email.EmailRestClient.CreateSendRequest (Azure.Communication.Email.EmailMessage message, System.Nullable1[T] operationId) [0x000b0] in :0
at Azure.Communication.Email.EmailRestClient.SendAsync (Azure.Communication.Email.EmailMessage message, System.Nullab
le1[T] operationId, System.Threading.CancellationToken cancellationToken) [0x00024] in <f62568a7c6294e4ea7d2519d80d0c734>:0    at Azure.Communication.Email.EmailClient.SendEmailInternalAsync (Azure.WaitUntil wait, Azure.Communication.Email.EmailMessage message, System.Threading.CancellationToken cancellationToken) [0x000a9] in <f62568a7c6294e4ea7d2519d80d0c734>:0    at Azure.Communication.Email.EmailClient.SendAsync (Azure.WaitUntil wait, Azure.Communication.Email.EmailMessage message, System.Threading.CancellationToken cancellationToken) [0x000c4] in <f62568a7c6294e4ea7d2519d80d0c734>:0
here is the code:
         var emailSendOperation = await emailClient.SendAsync(wait: WaitUntil.Completed, emailMessage);          return emailSendOperation.Value.Status == EmailSendStatus.Succeeded;
Expected behavior
IT should send the email.
Actual behavior
It throws an exception.
Reproduction Steps
create an ios Xamarin app and try sending an email using the azure communication service.
Environment
No response

It seems adding the latest version of System.Text.Json, resolves the issue. perhaps an updated version of the nuget is required?


Lazy load not loading images visible in the viewport

I'm loading images with a json file using jquery's $getJSON() and adding the image url in the data-src attribute. For some strange reason, It does load images on scroll that enter the viewport, but not loading images that are viewable in the viewport on page load. I even tried lazyLoadInstance.update(); but nothing.
Has anyone seen this before.

The source of the issue of the conflict is that I'm adding url to the data-src attribute with jquery after the page loads, but the lazyLoadInstance.update() doesn't help in this case when the image is already in the viewport.

Hey there,
The reason is that the  images that are in the viewport have already been processed from LazyLoad, and it won’t check them again to optimise performance.
The update method is only useful to detect new elements that have been added to the DOM, not to re-check images that have already been processed from LazyLoad.
The way that LazyLoad uses to check whether or not it has  already processed an image is to check the data-was-processed element. So the hack for you would be the following.
When you set the data-src using jQuery, also make sure you delete the data-was-processed attribute
This should fix your issue

Any luck?

hmm, that didn't work for me. Same thing, when you load the page, what's already in the viewport doesn't show, but as you scroll, the images show up. Here's some screenshots where I'm replacing content dynamically in a function and what the element looks like on inspecting
<img width="474" alt="Screen Shot 2020-03-17 at 8 45 09 PM" src="https://user-images.githubusercontent.com/6363878/76914620-3c556f00-6891-11e

a-98bc-44b82c4d69bf.png">

I just added lazyLoadInstance.update(); into that function and now it works! So the hack of removing data-was-processed and adding the update() method worked when combined in my instance.
Any downsides to this?

Great!


diazzaid / whatsapp-api-venom throws info:     [sessionName] Error no open browser....

I get the below:
><EMAIL_ADDRESS>start
> nest start

[Nest] 74040   - 12/11/2021, 1:51:03 PM   [NestFactory] Starting Nest application...

 /\\\      /\\\ /\\\\\\\\\\  /\\\\\     /\\\    /\\\\\\\\    /\\\      \\\\
 \/\\\     /\\\ \/\\\_____/  \/\\\ \\\  \/\\\  /\\\_____/\\\ \/\\\ \\ \\ \\\
   \/\\\   /\\\  \/\\\        \/\\\ /\\\ \/\\\ \/\\\    \/\\\ \/\\\  \\\  \\\
    \/\\\  /\\\   \/\\\\\\\\\\ \/\\\  /\\\ /\\\ \/\\\    \/\\\ \/\\\  \\\  \\\
      \/\\\ \\\    \/\\\_____/  \/\\\ \/\\\ /\\\ \/\\\    \/\\\ \/\\\  \\\  \\\
       \/\\\\\\     \/\\\        \/\\\ \ /\\\ \\\ \/\\\    \/\\\ \/\\\  \\\  \\\
        \/_/\\\      \/\\\\\\\\\\ \/\\\  \/_\\\\\\ \/_/\\\\\\\\\  \/\\\  \\\  \\\
          \/__/       \/________/  \/_/    \/____/    \/_______/   \/_/ \/_/ \/_/

info:     [sessionName] Initializing browser wss...
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] ConfigHostModule dependencies initialized +337ms
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] ConfigModule dependencies initialized +1ms
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] WhatsappConfigService dependencies initialized +2ms
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] ServeStaticModule dependencies initialized +0ms
info:     [sessionName] Error no open browser....
noOpenBrowser
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [ExceptionHandler]  +89ms

I am not sure what to do? any help please.... thanks in advance

I get the below:
><EMAIL_ADDRESS>start
> nest start

[Nest] 74040   - 12/11/2021, 1:51:03 PM   [NestFactory] Starting Nest application...

 /\\\      /\\\ /\\\\\\\\\\  /\\\\\     /\\\    /\\\\\\\\    /\\\      \\\\
 \/\\\     /\\\ \/\\\_____/  \/\\\ \\\  \/\\\  /\\\_____/\\\ \/\\\ \\ \\ \\\
   \/\\\   /\\\  \/\\\        \/\\\ /\\\ \/\\\ \/\\\    \/\\\ \/\\\  \\\  \\\
    \/\\\  /\\\   \/\\\\\\\\\\ \/\\\  /\\\ /\\\ \/\\\    \/\\\ \/\\\  \\\  \\\
      \/\\\ \\\    \/\\\_____/  \/\\\ \/\\\ /\\\ \/\\\    \/\\\ \/\\\  \\\  \\\
       \/\\\\\\     \/\\\        \/\\\ \ /\\\ \\\ \/\\\    \/\\\ \/\\\  \\\  \\\
        \/_/\\\      \/\\\\\\\\\\ \/\\\  \/_\\\\\\ \/_/\\\\\\\\\  \/\\\  \\\  \\\
          \/__/       \/________/  \/_/    \/____/    \/_______/   \/_/ \/_/ \/_/

info:     [sessionName] Initializing browser wss...
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] ConfigHostModule dependencies initialized +337ms
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] ConfigModule dependencies initialized +1ms
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] WhatsappConfigService dependencies initialized +2ms
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [InstanceLoader] ServeStaticModule dependencies initialized +0ms
info:     [sessionName] Error no open browser....
noOpenBrowser
[Nest] 74040   - 12/11/2021, 1:51:04 PM   [ExceptionHandler]  +89ms

I am not sure what to do? any help please.... thanks in advance

try git pull


Improve UX and UI of dashboard page

This pull request includes several updates to AnalyticsPage, ReviewProgress and StoppingSuggestion. Changes that need more optimization have been commented out and await further discussion.

Commit 1-2-3-6: Analytics Page

User interface and functionality:

Introduced a method to customize the title
Introduced new icons and unified tab design
Introduced new insights components
Introduced avatars for multiple user screening cases

Technical:

Improved design and code choices
Updated the data fetching method for refactored components

Commit 4-5: Review Progress & Stopping Suggestion

User interface and functionality:
Review Progress:

Improved visibility of small labeling amounts in progress, as the ratio of labeled/unlabeled records is usually small
Implemented binary color codes for relevant and not relevant labels across components

Stopping Suggestion:

Introduced a novel circle-based visualization for stopping suggestion to increase intuitiveness
Placed progress and stopping components side by side for better user insight
Added dialogue options when the user reaches their stopping suggestion

Technical:

Enhanced re-rendering logic for better performance
Improved in-memory data handling for renders and refreshes
Implemented more accurate skeletons for loading

Great!


Implementation of SumTwoCoin

Hello,
I can't thank you enough for this repo since I'm new to Julia so it help me understand how the language can be used at a professional level and show me how big complex concepts can be implemented with such few lines of code. Secondly, it helped understand the possible source of error that led me to switch from CVPXPY (with Guribi/Mosek back ends) to this package from my use case.
I'm trying to implement a fully working arbitrage bot on real life chain data. While I was using CVXPY, I would most of the time get an error in finding a solution (None or problem unfeasible)  or a wrong solutions (not even respecting the constraint most of the time). I looked into the whole process multiple times before moving to this package. I thought the error (if it existed) it will be coming from the data I put on the problem since I'm giving on chain real time data so I'm doing this trough functions/programs and not putting the data by hand as done in the examples.
After multiple trials for two weeks, I discovered thid package and decided to learn Julia in order to deal with problem that I might encounter while using it. It turns out I needed that, since I'm dealing in my bot with "Constant Sum Market Makers" and "Constant Product Market Makers". While the latter is already implemented on this package, the first one is not yet. So I decided to give it a try implementing it and maybe this helps me understand to a deeper levels the thinking that was behind the papers that are behind this packages.
After another week of reading the papers again and learning Julia, I finally started implementing the "Constant Sum" three days ago, it turns out that my problem that I was encountering on CVPXY might be actually coming from the fact that I was using the "constant sum" in the constraints. See, while we already have an example here on arbitrage including a constant sum market maker: https://github.com/angeris/cfmm-routing-code/blob/master/arbitrage.py and using it failed for my case, it also doesn't show the logic behind its implementation (beside the theory discussed on the paper and the fact that is rely on convex optimization solutions methods to solve it) but it supposed to work I imagine..
In order to implement the "constant sum" in this package, I had to come out with the logic myself based on what I still remember of my university optimization course and following the steps in the following papers:

Optimal Routing for Constant Function Market Makers
Constant Function Market Makers: Multi-Asset Trades via Convex Optimization
An analysis of Uniswap markets

I have to admit that while all the papers were necessary for understanding, only the appendix A of the third paper was used in the third to come up with the logic of my implementation of Contant Sum (which is erroneous I think, hence my issue :) ) and here it is:
export SumTwoCoin

struct SumTwoCoin{T} <: CFMM{T}
    @add_two_coin_fields
    function SumTwoCoin(R, γ, idx)
        γ_T, idx_uint, T = two_coin_check_cast(R, γ, idx)
        return new{T}(
            MVector{2, T}(R),
            γ_T,
            MVector{2, UInt}(idx_uint)
        )
    end
end

function ϕ(cfmm::SumTwoCoin; R=nothing)
    R = isnothing(R) ? cfmm.R : R
    return R[1] + R[2]
end
function ∇ϕ!(R⁺, cfmm::SumTwoCoin; R=nothing)
    R = isnothing(R) ? cfmm.R : R
    R⁺[1] = 1
    R⁺[2] = 1
    return nothing
end

# Error is probably comming from here
@inline sum_arb_δ(m, r1, r2, k, γ) = max(r1, 0)/γ
@inline sum_arb_λ(m, r1, r2, k, γ) = max(k -r1, 0)

# Solves the maximum arbitrage problem for the two-coin constant sum case.
# Assumes that v > 0 and γ > 0.
function find_arb!(Δ::VT, Λ::VT, cfmm::SumTwoCoin{T}, v::VT) where {T, VT <: AbstractVector{T}}
    R, γ = cfmm.R, cfmm.γ
    k = R[1] + R[2]

    Δ[1] = sum_arb_δ(v[2]/v[1], R[1],R[2], k, γ)
    Δ[2] = sum_arb_δ(v[1]/v[2], R[2],R[1], k, γ)

    Λ[1] = sum_arb_λ(v[1]/v[2], R[1], R[2], k, γ)
    Λ[2] = sum_arb_λ(v[2]/v[1], R[2], R[1], k, γ)
    return nothing
end

I think the error is coming  from these two functions: sum_arb_δ and sum_arb_λ. There implementation is coming  from my understanding and what I could have thought. See, if we use the formula mΔ[1] - Δ[2] as in the appendix A of the third paper to come up with Δ*, the equation while still differentiable doesn't lead to anything since f'(x) = x'=1. So the maximum of both Δ[1]  and Δ[2] is either attained at 0 or R/γ for Δ  0 or R for Λ, depending on the situation  whether (m-1/γ) is positive or not. If positive the Δ* is R for one side and 0 for the other, if not then it is R for the other side and R for the first side.
Also, it seems impossible that an arbitrage exists between two market marker implementing the constant sum since the price in this case is always 1:1 and only the fees that change, but constant sum can be useful in order to obtain a token that can be traded on a constant product to get another token that can traded on another constant product in some arbitrage situation for example (I give one situation in the example that I sue to test my implementation). So while implementing arbitrage on "Constant Sum Markets Makers" doesn't make since for me, them being available on the list of routes is important in many scenarios.
Any suggestions for correcting my logic behind the sum_arb_δ and sum_arb_λ functions please ?
To further test my implementation, i used this example:
using CFMMRouterExt
using LinearAlgebra

# Create three pools of three tokens, no fees (γ=1)
equal_pool_1 = ProductTwoCoin([1000, 1000], 1, [1, 2])
equal_pool_2 = SumTwoCoin([100, 100], 1, [2, 3])
equal_pool_3 = ProductTwoCoin([200, 100], 1, [1, 3])

# Build a routing problem with price vector = [1.0, 1.0, 1.1]
prices = ones(3)
router = Router(
    LinearNonnegative(prices),
    [equal_pool_1, equal_pool_2, equal_pool_3],
    3,
)

# Optimize!
route!(router)

# Print results
Ψ = netflows(router)
println("Net trade: $Ψ")
println("Profit: $(dot(prices, Ψ))")

# Print individual trades
for (i, (Δ, Λ)) in enumerate(zip(router.Δs, router.Λs))
    tokens = router.cfmms[i].Ai
    println("CFMM $i:")
    println("\tTendered basket:")
    for (ind, δ) in enumerate(Δ)
        if δ > eps()
            print("\t  $(tokens[ind]): $(δ), ")
        end
    end
    println("\n\tRecieved basket:")
    for (ind, λ) in enumerate(Λ)
        if λ > eps()
            print("\t  $(tokens[ind]): $(λ), ")
        end
    end
    print("\n")
end

and the output I got is the following:
Net trade: [-2.969017032228294e-9, -6.449454303947277e-10, 1.8069812313115108e-9]
Profit: -1.8069812313115108e-9
CFMM 1:
	Tendered basket:
	  2: 6.449454303947277e-10,
	Recieved basket:
	  1: 6.449454303947277e-10,
CFMM 2:
	Tendered basket:
	  2: 100.0, 	  3: 100.0,
	Recieved basket:
	  2: 100.0, 	  3: 100.0,
CFMM 3:
	Tendered basket:
	  1: 3.6139624626230216e-9,
	Recieved basket:
	  3: 1.8069812313115108e-9,

Which is wrong as the correct output should be :
Net trade: [15.5975330, 0, 0]
Profit: 15.597533825168775
CFMM 1:
	Tendered basket:
	  1: 37.65428597,
	Recieved basket:
	  2: 36.28789121,
CFMM 2:
	Tendered basket:
	  2: 36.28789085 ,
	Recieved basket:
	 3: 36.28789082,
CFMM 3:
	Tendered basket:
	  3: 36.28789041,
	Recieved basket:
	  3: 53.25181901,

Also, the functions lack a mechanism so that it is "forbidden" to trade both coins on the same pair on the same transaction as it is indicated in the papers that this doesn't not make sense. So of the terms in CFMM2 should be 0 for one while  positive for the other (for both Tendered  and Recieved basket respectively), thus I feel like sum_arb_δ or sum_arb_λ will be different the the ones used for "constant product" or "geo_mean" in the sense that they will work on the whole Δ and Λ at once and on one dimension/side of them.
Thanks in advance for any help. I know most of you are busy with your daily life and work and some even more with the Amsterdam event happening soon (Which I hope I'll participate in next year, hence I'm working on this "bot" project :) )

Thanks for opening the issue! Looks like your arb functions (e.g., sum_arb_δ) don't take the price into account; you only want to make a trade if the price ratio is outside the no-trade interval.

Thank you very much for your response !
While doing my calculations even the last time, the price was indeed a decisive factor whether the optimal solution is ether 0 or R for Λ (receptively being 0 or (k - R)/γ for  Δ). The condition was "m>1/γ" . So the correct functions that uses prices based on my calculation are:
# I didn't bother to make the functions "inline" to make it them more readable for now
function sum_arb_δ(m, r1, r2, k, γ)
    if m>1/γ
        return (k - r1)/γ
    else
        return 0
    end
end
function sum_arb_λ(m, r1, r2, k, γ)
     if m>1/γ
         return r1
     else
         return 0
     end
end
# Solves the maximum arbitrage problem for the two-coin constant sum case.
# Assumes that v > 0 and γ > 0.
function find_arb!(Δ::VT, Λ::VT, cfmm::SumTwoCoin{T}, v::VT) where {T, VT <: AbstractVector{T}}
    R, γ = cfmm.R, cfmm.γ
    k = R[1] + R[2]

    Δ[1] = sum_arb_δ(v[2]/v[1], R[1],R[2], k, γ)
    Δ[2] = sum_arb_δ(v[1]/v[2], R[2],R[1], k, γ)

    Λ[1] = sum_arb_λ(v[1]/v[2], R[1], R[2], k, γ)
    Λ[2] = sum_arb_λ(v[2]/v[1], R[2], R[1], k, γ)
    return nothing
end

This functions, while from my understanding are theoretically correct, it would return a no trade conditions for the example provided, although  there is a clear arbitrage opportunity here if we swap the token 2 that we got CFMM1 to get Token 3 in CFMM2 and use the received Token 3 to get Token 1  in CFMM3. I think it is because that the whole system don't look at possible routes between two CFMM because it deals with each arbitraged CFMM alone and not all of them as hole ? Or did I still made a mistake in the arb functions ? After this series of trial, I'm now moving to understand the router code and hopefully give me more insights.
This is the output I get now with this new functions:
Net trade: [15.315957096146178, 36.3388672250577, -36.0776874057334]
Profit: 15.577136915470476
CFMM 1:
       Tendered basket:
         1: 37.70917596356412,
       Recieved basket:
         2: 36.3388672250577,
CFMM 2:
       Tendered basket:

       Recieved basket:

CFMM 3:
       Tendered basket:
         3: 36.0776874057334,
       Recieved basket:
         1: 53.0251330597103,

I also tried to "brute-force" my way out of this problem by using different conditions on "m" and "γ" and inverting the price arguments given to the arb functions but the closest I got to an arbitrage is Token 3 being the tendered token and token 2 being the the received token with the correct amounts, but I couldn't get to a situation where Token 3 is the received token and the Token 2 is the tendered one as it should.
Any further guidance or help would be greatly appreciated.

Unfortunately, a constant-sum CFMM requires a little bit more work since it has a constant derivative everywhere in the domain. This means that the dual decomposition method used in CFMMRouter.jl will not necessarily yield a primal feasible \Psi other than in some very special cases.
There are several ways of fixing such a problem: one example is to add a very small quadratic penalty term to the trading function (e.g., add a very small amount of curvature) and trade this term off with the number of digits of precision the solver is using, but the exact mechanics of it can be tricky!
Thank you for the contribution, though! :)

Thank you for your valuable input. I understand the dual composition part of what you're saying (using the bits of the course course and problem I still have left in my mind from my university years :))
And thank you for the proposed solution, I'll look on how to implement once I have the occasion.
I'm now in phase where I'm objective focused. I've spent a big amount of time on the optimization approach you proposed (which was revealing and inventive for me) and I understood many things from it, and mostly I understood now why it wouldn't work for my use case after big times of trials. So, now I've gone taking the traditional way for solving arbitrage problem and see what it yields for me.
I'm planing to definitely come back and work on the problem once I have a working solution for my use case using the traditional way.
Thanks again for your input, the papers and the repo too :)


fix the issue 890 which throw exception Cannot destructure property '…

…message' of 'tracker.fetch(...)' as it is null

Thank you for contributing. We will need a test that fails as described in #890 without this change. My intention is to write an issue specific test that uses ldapjs.createServer to create a "server" that will induce the problem in the client. It would be similar to the test https://github.com/ldapjs/node-ldapjs/blob/f2890088e49c0c7b7b880998d73d6e4a448d7b4e/test/issue-845.test.js. I just haven't been able to dedicate the time to it yet.

I am not very understanding,  this is a very explicit syntax error.

We need to include a unit test that covers the issue in order to guard against regression. I have provided guidance on how I intend to approach the test. I can provide further guidance if you have specific questions, or you can wait until I have time to get to it myself.

Thank you for working on this @benzhuo. Unfortunately, the included test does not cover the crashing case. The primary work in this PR is developing that test. So I am closing this PR in favor of #913 which includes a working test.


Experiment with a background or header image on https://ordinals.hiro.so

Our home/landing page is a bit stark when considering our Explorer showcases images, text, audio, etc.
Experimenting with background images or a header would help people understand the general concept of an inscription before diving in.
Tradeoff is we possibly go against brand.

Marking as medium impact with hypothesis that greater visual appeal will encourage people to explore.

I'd love to test out this design from @eugeniadigon https://github.com/hirosystems/ordinals-explorer/pull/76#issuecomment-1653142949 as an alternative, highlighting scrollable artwork


Add tf.Complex to tflite ops. Support padding and slicing of complex tensors

Click to expand!
Issue Type
Feature Request
Source
binary
Tensorflow Version
2.9.1
Custom Code
No
OS Platform and Distribution
Linux Ubuntu 20.04
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
It would be great if we could get support in tflite for the `tf.Complex` op as well as support for slicing and padding complex numbers.

This is very important for audio use cases as it often involves running STFTs and working with complex numbers.

Here's the error I currently get when I try to convert my model:

Some ops are not supported by the native TFLite runtime, you can enable TF kernels fallback using TF Select. See instructions: https://www.tensorflow.org/lite/guide/ops_select
TF Select ops: Complex, Pad, StridedSlice
Details:
	tf.Complex(tensor<2x128x2048x2xf32>, tensor<2x128x2048x2xf32>) -> (tensor<2x128x2048x2xcomplex<f32>>) : {device = ""}
	tf.Pad(tensor<2x128x2048x2xcomplex<f32>>, tensor<4x2xi32>) -> (tensor<2x128x2049x2xcomplex<f32>>) : {device = ""}
	tf.StridedSlice(tensor<2x128x2049x2xcomplex<f32>>, tensor<4xi32>, tensor<4xi32>, tensor<4xi32>) -> (tensor<2x128x2048x2xcomplex<f32>>) : {begin_mask = 15 : i64, ellipsis_mask = 0 : i64, end_mask = 11 : i64, new_axis_mask = 0 : i64, shrink_axis_mask = 0 : i64}

### Standalone code to reproduce the issue

```shell
NA

Relevant log output
No response

Hi @lminer ! complex, pad, StridedSlice are part of select ops allow list. You can resolve above error by using the following code snippet . Thank you!

import tensorflow as tf
converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
converter.target_spec.supported_ops = [
  tf.lite.OpsSet.TFLITE_BUILTINS, # enable TensorFlow Lite ops.
  tf.lite.OpsSet.SELECT_TF_OPS # enable TensorFlow ops.
]
tflite_model = converter.convert()
open("converted_model.tflite", "wb").write(tflite_model)

That comes with some downsides though, right? Like a larger runtime and a slowdown. It would be nice to add those ops to the builtins.

Ok @lminer ! Thanks for the update. @sachinprasadhs ! Could you please look at this feature request. Thank you!

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space.
Thanks.


about the interaction score

Hello ,I have noticed that you have upgraded a lot in DGIdb3.0.I want to learn more details about how to calculate the interaction score, and what does this metric mean when I use it in comparing two pairs of interactions. For example, gene CDK7 and drug SELICICLIB held 0.87 interaction score while CDK7 and BMS-387032 held 0.82,does that mean  BMS-387032 is more powerful on
influencing CDK7 gene? And ,one more thing ,could you give me some suggestions about how to recognize none DGI pairs which means there is no interactions between a certain gene and a certain drug.

Thank you for your interest in DGIdb.
The interaction score represent the amount of support for a given interaction from the sources and publications present in DGIdb. It also takes into account relative drug and gene specificity and reduces the interaction score for drugs/genes that have many interaction records and are, therefore, not very specific to the drug-gene interaction in question. For a more thorough explanation, please see our documentation. You might also find the appropriate section in our update paper of help.
A drug that has no interaction records with a searched gene will not appear in the search result table for that gene and vice versa. Unfortunately, there isn't a more direct way to search for interactions of a specific gene with a specific drug but this might be something we can consider adding in future versions.


[] needed

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs & demos and still think this feature is missing

Description
need a multi-agent solution based on the modelscope-agent framework.
Use case
No response

We are very glad that this feature is almost ready and have opend a new branch for this feature, please check this: https://github.com/modelscope/modelscope-agent/tree/multi-agent
also, you could run a demo to see how it works:
https://github.com/modelscope/modelscope-agent/blob/multi-agent/demo/demo_multi_roles_chat_room.ipynb
We have to mention that this feature is based on ray with distributed native design, it still has some problems with running on ray in some cases, developers are welcome to contribute your idea and improve this feature.
Thanks


can't launch the service

./src/index.tsx
Error: You must provide the URL of lib/mappings.wasm by calling SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) before using SourceMapConsumer

Can you provide your OS and node version?

➜  src git:(master) ➜  src git:(master) node --version
v18.2.0
➜  src git:(master) sw_vers
ProductName:    macOS
ProductVersion: 12.5.1
BuildVersion:   21G83

https://github.com/mozilla/source-map/issues/454.
You can downgrade to node 16.

yes, it works fine when node has been downgrade to version 16


URL does not get highlighted properly in Expensify.cash

If you haven’t already, check out our contributing guidelines for onboarding!

Platform
All platforms:

Web
macOS Desktop
Android
iOS
Mobile web

Version
1.0.1-341
Action Performed (reproducible steps):

Paste the following into an Expensify.cash chat:

Check out [this link](https://www.expensify.com/_devportal/tools/logSearch/#query=request_id:(%22Ufjjim%22)+AND+timestamp:[2021-01-08T03:48:10.389Z+TO+2021-01-08T05:48:10.389Z]&index=logs_expensify-008878)!

Send the message.

Expected Result
The link is created properly and looks like this:

Actual Result
The URL is not properly highlighted and the link is not created properly.

Solution notes
The code that processes markdown is actually not in Expensify/Expensify.cash, but Expensify/expensify-common.
Add a unit test for this URL in ExpensiMark-test.js and then fix ExpensiMark to handle the URL properly.
A solution will not be considered complete unless it:

Creates an automated unit test to cover this URL and potentially others like it,
Provides videos of the working URL on all 5 platforms of Expensify.cash (Web, macOS Desktop, iOS, Android, mobile web). These must be video screen recordings and not static screenshots, so that we know that the correct URL was used to create the link, and that the link was created properly.

Posted to Upwork: https://www.upwork.com/jobs/~01c9f994a1995338e5

Posted to Upwork: https://www.upwork.com/jobs/~01c9f994a1995338e5

Additionally, would like to see that the solution also works for this URL: http://necolas.github.io/react-native-web/docs/?path=/docs/components-pressable--disabled

Additionally, would like to see that the solution also works for this URL: http://necolas.github.io/react-native-web/docs/?path=/docs/components-pressable--disabled

is there any restriction of using regexp only?

is there any restriction of using regexp only?

What else would you use? These are the regexes we have currently

What else would you use? These are the regexes we have currently

I was about to create a similar issue for the :~:text= syntax from Google Chrome (like here)

I was about to create a similar issue for the :~:text= syntax from Google Chrome (like here)

@roryabraham Sorry for the late reply. I checked it. After making some adjustments to the URL Regex we can cover your case and other cases and also @Dal-Papa  case.
But there is one regression.
https://github.com/Expensify/Expensify.cash/issues/1234#:~:text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

The above URL is being converted to link successfully but Strike conversion is swapping ~ with .
Can we adjust the strike regex to discard match when we found :~:text?

@roryabraham Sorry for the late reply. I checked it. After making some adjustments to the URL Regex we can cover your case and other cases and also @Dal-Papa  case.
But there is one regression.
https://github.com/Expensify/Expensify.cash/issues/1234#:~:text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

The above URL is being converted to link successfully but Strike conversion is swapping ~ with .
Can we adjust the strike regex to discard match when we found :~:text?

@parasharrajat : Should we rather fix it so that if the  doesn't have an ending ~, then it doesn't strike ?

@parasharrajat : Should we rather fix it so that if the  doesn't have an ending ~, then it doesn't strike ?

@Dal-Papa so
https://github.com/Expensify/Expensify.cash/issues/1234#:~:text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

is converted to
https://github.com/Expensify/Expensify.cash/issues/1234#:~:text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

which then will be replaced with  in place of ~
<a href=\"https://github.com/Expensify/Expensify.cash/issues/1234#::text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash\" target=\"_blank\">https://github.com/Expensify/Expensify.cash/issues/1234#::text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

@Dal-Papa so
https://github.com/Expensify/Expensify.cash/issues/1234#:~:text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

is converted to
https://github.com/Expensify/Expensify.cash/issues/1234#:~:text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

which then will be replaced with  in place of ~
<a href=\"https://github.com/Expensify/Expensify.cash/issues/1234#::text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash\" target=\"_blank\">https://github.com/Expensify/Expensify.cash/issues/1234#::text=The%20code%20that%20processes%20markdown%20is%20actually%20not%20in%20Expensify/Expensify.cash

@roryabraham
Is this issue still open for grabs?
I did some tests and I believe I can create a PR with everything that is required on the deliverable (including the additions on the comments section).

@roryabraham
Is this issue still open for grabs?
I did some tests and I believe I can create a PR with everything that is required on the deliverable (including the additions on the comments section).

Hey @lucas-neuhaus-dev! Please review the rules here for submitting a Pull Request. Looking forward to hearing your proposal!

Hey @lucas-neuhaus-dev! Please review the rules here for submitting a Pull Request. Looking forward to hearing your proposal!

Hi @kadiealexander, sorry I forgot to comment here, I created the PR this afternoon.
Here it is: https://github.com/Expensify/expensify-common/pull/327.
I will mention you in the description there as well.

Hi @kadiealexander, sorry I forgot to comment here, I created the PR this afternoon.
Here it is: https://github.com/Expensify/expensify-common/pull/327.
I will mention you in the description there as well.


Support single phase transfers in connectors

https://github.com/interledger/rafiki/issues/1016#issuecomment-1419081252

@wilsonianb can you add some more details here? Why could we do a single phase transfer if streamDestination === true?

:stuck_out_tongue_winking_eye:

https://github.com/interledger/rafiki/pull/730

:point_up_2: that PR gave us this :point_down:
https://github.com/interledger/rafiki/blob/a27c1ea4a382182cb6191684d8ebe87c2426129f/packages/backend/src/connector/core/middleware/balance.ts#L77-L92
If this is the streamDestination then we've already called the subsequent middleware (next) and are needlessly doing a two phase transfer.


Colony ported to a Chrome app

Colony works as a Chrome app by reusing some of the existing Cordova code, and the node modules ssh2 and socksv5. It can be built with gulp build_chrome_app.
I modified tcp.js and net.js from freedom-social-xmpp further for it to work (server ports, etc).
This is currently testable/demoable by running the app and doing curl --socks5 localhost:1080 http://ifconfig.co. However, there are two issues that need to be resolved before this can be used for practical purposes: https://github.com/uProxy/colony/issues/26 https://github.com/uProxy/colony/issues/27

Also, there are a few node_modules specifically added inside lib since pkgify doesn't handle substituting individual files well (if there are relative path imports in those files). See: https://github.com/uProxy/colony/blob/d494208b39906b55f5b921efa8d5e97916dc1f69/gulpfile.js#L74

It's kinda hard to review this when most of the code is dependencies.
Can we either:
1.) figure out how to make pkgify use typical NODE_PATH (e.g. node_modules/) instead of relative files
or
2.) .gitignore the things you copied into lib/ and make a copy task before the build
Either way, we just wanna remove node dependencies from the commits

So this is because I had to change various files of the modules socksv5 and ssh2-streams, and I couldn't get pkgify to use the actual module on npm with the specific files that I changed, since those files have relative imports.

Can you point me to the changes, the nature of the changes?
Are these things that you should submit pull requests upstream for?

Sorry for the late response – was working on my intern presentation.
Anyway, I've figured out how to include the changes without copying the entire module over. There are only a few files in ssh2-streams and socksv5 that were modified (minor changes to make them work in browserify and Chrome, nothing to PR). We only keep the modified files in chrome-app/lib/, and copy everything else over during build.
This has two implications: we have to pin the versions of these two modules, since a small change might break functionality, and gulp build_chrome_app is no longer parallelized, since we have to copy before browserifying.
This should be much easier to review now. Also, you can probably just ignore the files in chrome-app/lib/socksv5 and chrome-app/lib/ssh2-streams.


fix(line): only bolder when line width in normal state is larger than 0.

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?

Don't bolder when the line width in the normal state is 0.
Fixed issues
N/A.
Details
If users specify the line width in the normal state as 0, the bolder logic should be skipped.
Usage
Are there any API changes?

[ ] The API has been changed.

Related test cases or examples to use the new APIs
See test/line-boldWhenHover.html
Others
Merging options

[ ] Please squash the commits into a single one when merge.

Other information

@pissang Moreover, let's have a look at another case area-large.html. There is only one series and its data is large, for a better visual experience, should we also avoid the 'bolder' logic? 'bolder' is more suitable for multiple series with the blur scope.

@plainheart I think it will be definitely better. But I can't think of a general design to solve issues like this.

@plainheart Or should we disable border on emphasis by default? I'm not sure which is better in a normal scenario.


Version of py2neo on conda-forge is missing monotonic dependency

~/miniconda3/envs/dkg/lib/python3.7/site-packages/py2neo/client/init.py in
26 from uuid import UUID, uuid4
27
---> 28 from monotonic import monotonic
29 from packaging.version import Version
30 from six import raise_from
ModuleNotFoundError: No module named 'monotonic'

I don't maintain anything on "conda-forge".


FileNotFoundError: [Errno 2] No such file or directory

Traceback:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
    return future.result()
  File "<stdin>", line 3, in go
  File "/home/vagrant/.local/lib/python3.6/site-packages/aioredis/commands/__init__.py", line 146, in create_redis
    loop=loop)
  File "/home/vagrant/.local/lib/python3.6/site-packages/aioredis/connection.py", line 79, in create_connection
    address, ssl=ssl, loop=loop)
  File "/usr/lib/python3.6/asyncio/streams.py", line 128, in open_unix_connection
    lambda: protocol, path, **kwds)
  File "/usr/lib/python3.6/asyncio/unix_events.py", line 236, in create_unix_connection
    yield from self.sock_connect(sock, path)
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 451, in sock_connect
    return (yield from fut)
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 456, in _sock_connect
    sock.connect(address)
FileNotFoundError: [Errno 2] No such file or directory

Code:
import asyncio
import aioredis

loop = asyncio.get_event_loop()

async def go():
    redis = await aioredis.create_redis(
        'redis://<IP_ADDRESS>:6379', loop=loop)
    # Also tested with localhost as on examples
    await redis.set('my-key', 'value')
    val = await redis.get('my-key')
    print(val)
    redis.close()
    await redis.wait_closed()
loop.run_until_complete(go())

Environments tested:
1- VM clean setup (Ubuntu 16.04 64bits/ Python3.6)
2- VM clean setup (Ubuntu 17.10 64bits/ Python3.6)
3- MacOS Sierra (10.12.6/Python 3.6.1)

aioredis version?

Must be v1.0

I tested with 0.3.5, 0.3.4 and 0.3.0

Use v1.0! Redis URI is supported since v1.0 only!

I hate to reopen an old issue, but I'm having this error with v1.2.0 on an Alpine docker container. Is this a known issue, or possibly me messing something up?

Update: I found the issue. It was my environment variables.
To anybody ending up here, it's because the IP you entered is invalid.
Would it be possible to catch this or document it somehow, that the server couldn't be found instead of giving a cryptic error message?

I fixed this problem adding the prefix "redis://" to the HOST IP.
For example:
redis://<IP_ADDRESS>


Generate reference test files

This fixes issue #33
Added several programs to e2e_test/Cairo
basic - simple arithmetic operations
bitwise - simple bitwise operations
ecdsa - checks signature
hash_pedersen - performs pedersen hashing
hash_poseidon - performs poseidon hashing
keccak - calculates hash
Added script to generate test files in the test_files folder test_generate_files.sh Updated test.sh to generate and check proofs for all new programs
NOTE: despite the fact that I've added keccak and bitwise programs. They do not work. Keccak alledgedly requires starknet os environemnt @m-kus might provide more accurate explanation. For some reason bitwise operators are not implemented in cairo1 for felt252. There might a separate function for that, but I got really tired debugging rest of the cases that decided to leave it out of scope.
While implementing this I realised that I should've probably created test matrix with layouts in columns and builtins in rows and try to tick as many points as possible, but, well, If only I knew where I'm going to fall.
I've struggled a lot to find a way to pass arguments to cairo program, and realised how to do that only today (almost at the end). I'd love to update programs to a more interesting examples, and happy to do that on request. For now I've decided to at least commit what has been done.

That's just beautiful! Excellent job!


Add message attachment details

These are how the attachments are inside of Rocket.Chat and their properties don't refer to any other Rocket.Chat item, so the IMessageAttachmentAuthor isn't who created the attachment but instead relates to the author_ fields which can be set on the attachment objects. Here's some documentation about it: https://rocket.chat/docs/developer-guides/rest-api/chat/postmessage#attachments-detail


add sdphost binaries for rpi4 (tested)

Remove src since it is not buildable
Add note to external source repo for building binary

@jepler added binaries for RPI4 (arm 32 bit), and tested on actual hardware as well, work well. The current src is indeed not compilible and removed. I give the link to https://github.com/apexrtos/nxp_blhost_sdphost instead.

Thank you!


chore: bdd-gh-1575420256 to 0.0.1

chore: Promote bdd-gh-1575420256 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


Flav/instructions characters count

Description

We observed that some assistants have overly lengthy instructions. This PR introduces a character limit for instructions. With this update, editing existing instructions that exceed this limit will be restricted until the content is reduced to an acceptable size.
To avoid exposing the limit we will only start displaying the character count when we reach half of the limit.

Risk

Made sure to test the case of loading existing assistants with instructions that exceeds the limit.
Deploy Plan

Weird, we already had a limit!

This PR is visual, and your limit is 1_000_000, this one here is 100_000 🙃. I won't update the BE for now, until we reached out to the customers impacted.

PR and description updated @philipperolet (good catch 🙏).


Time Slots: Show's scheduling restarts after 365th episode, raise max to 1000

On the Time Slots panel, I have a channel set up to run through November 9, 2021 at 02:00 PM.  One of the shows has 891 episodes and is resetting its run after episode S05E41 (the 365th episode) on June 9, 2021 at 01:00 PM.  Why is it restarting?  Is there a hardcoded maximum value of 365 that assumes the user would schedule a maximum of one episode per day for the entire year?  Could we get this maximum removed or at least raised to 1000?

Were more than 365 episodes in the channel before applyting time slots?

Yes.  The four shows had all of their episodes added to the channel before Time Slots were created.

The channel's Time Slots didn't save after all of that so I had to recreate them.  While I was at it, I removed all programming from the channel and started over.  This time, the Time Slots allowed the desired setup.  Hopefully, others will be able to avoid a nuclear reset of their channel and have everything work correctly for shows with lots of episodes.  I will close this out.  Thanks.


Refund error

Trying to make a  refund we get an error 401.
Calling https://api.sumup.com/v0.1/me/refund/" + emvResponse.getTransactionCode().
How do we solve this?

You must generate your access Token to do that


page.goto always times out in Windows Subsystem for Linux (WSL)

Steps to reproduce

mkdir puppeteer_test
cd puppeteer_test
npm init -y
npm i puppeteer
touch index.js
put the following into index.js:

const puppeteer = require('puppeteer');

main = () => {
    let browser;
    let page;
    return Promise.resolve()
        .then(() => {
            console.log('Launching browser');
            return puppeteer.launch({ args: ['--no-sandbox'] });
        })
        .then((result) => {
            browser = result;
        })
        .then(() => {
            return browser.newPage();
        })
        .then((result) => {
            page = result;
        })
        .then(() => {
            console.log('Navigating');
            return page.goto('https://github.com/puppeteer/puppeteer');
        })
        .then(() => {
            console.log('Taking screenshot');
            return page.screenshot({ path: 'test.png' });
        })
        .then(() => {
            if (browser) {
                console.log('Closing browser');
                return browser.close().then(() => {
                    console.log('Browser closed');
                });
            } else {
                return Promise.resolve();
            }
        })
        .catch((error) => {
            return Promise.reject(error);
        });
};

main()
    .then(() => {
        console.log('Completed successfully');
    })
    .catch((error) => {
        console.error(error);
    })
    .finally(() => {
        console.log('Done');
    });

node index.js

Environment

Puppeteer version: ^5.2.1
Platform / OS version: Windows Subsystem for Linux (WSL)
Node.js version: v12.18.0

What is the expected result?
There should not be errors, and a screenshot should be taken.
What happens instead?
I get the following output:
Launching browser
Navigating
TimeoutError: Navigation timeout of 30000 ms exceeded
    at /c/Users/*******/home/puppeteer_test/node_modules/puppeteer/lib/cjs/puppeteer/common/LifecycleWatcher.js:106:111
Done

and then the program hangs. This happens no matter what URL I enter.

@xgirma Is that the output you got from running the code above? Unfortunately, your suggested solution did not work. I changed
page.goto('https://github.com/puppeteer/puppeteer')

to
page.goto('https://github.com/puppeteer/puppeteer', {
    waitUntil: 'load',
    timeout: 1000 * 60 * 5,
})

and it still timed out after 5 minutes. For reference, this page takes about 4 seconds to load in Chrome.

Yes I get the output from running your code, when I try it it works just fine.

@xgirma Thank you for confirming that my code works. Because of this, I thought it might be a WSL issue. I tried installing npm in gitbash instead and it works as I expected it to. Not sure why it doesn't work in WSL, but perhaps I should look into that more or open a different issue with them.

Based on this comment I found that this worked for me:
return puppeteer.launch({
    args: [
        '--no-sandbox',
        '--no-zygote',
        '--single-process',
    ],
});

In case this helps someone, I had random timeouts using Puppeteer or Playwright on WSL 2.
It was actually a problem of WSL 2 itself, this workaround solved the issues: https://github.com/microsoft/WSL/issues/7254#issuecomment-905767204


make cliexit.cliconn_id optional, store all info from cliexit snotes

this will need a data migration script

using this in live without issue


Use https URLs when possible

This is a follow up to https://github.com/apache/tomcat/commit/82f764ccec2

In its current state applying this PR will trigger build failures (license header validation will fail).
I am also not convinced that the effort required to convert the link in every license header to https is worth the effort. However, if the community does decide to do this - and a conversation on the dev list is where/how that decision should be made - then all the files need to be changed, not just a sub-set.

Closing as this PR cannot be applied as-is. Anyone interested in following through on this should start a discussion on the dev list as per my previous comment.


Tuya compatible smart lock issue

Prerequisite

[X] Yes

Version
v1.7.3-beta.15
Device Infomation JSON File
No response
Device Control Mode
None
Logs
[3/19/2023, 4:31:01 PM] Loaded plugin<EMAIL_ADDRESS>[3/19/2023, 4:31:01 PM] Registering platform<EMAIL_ADDRESS>[3/19/2023, 4:31:02 PM] [TuyaPlatform] Initializing TuyaPlatform platform...
[3/19/2023, 4:31:02 PM] [TuyaPlatform] Finished initializing platform
[3/19/2023, 4:31:03 PM] [TuyaPlatform] Loading accessory from cache: Front Door
[3/19/2023, 4:31:04 PM] [TuyaPlatform] Executed didFinishLaunching callback
[3/19/2023, 4:31:04 PM] [TuyaPlatform] Log in to Tuya Cloud.
[3/19/2023, 4:31:04 PM] [TuyaPlatform] [TuyaOpenAPI] Login to: https://openapi.tuyaus.com
[3/19/2023, 4:31:04 PM] [TuyaPlatform] [TuyaOpenAPI] Request:
[3/19/2023, 4:31:06 PM] [TuyaPlatform] [TuyaOpenAPI] Response:
[3/19/2023, 4:31:06 PM] [TuyaPlatform] Start MQTT connection.
[3/19/2023, 4:31:06 PM] [TuyaPlatform] Fetching home list.
[3/19/2023, 4:31:06 PM] [TuyaPlatform] [TuyaOpenAPI] Request:
[3/19/2023, 4:31:06 PM] [TuyaPlatform] [TuyaOpenAPI] Request:
[3/19/2023, 4:31:08 PM] [TuyaPlatform] [TuyaOpenAPI] Response:
[3/19/2023, 4:31:08 PM] [TuyaPlatform] [TuyaOpenMQ] Connecting to: ssl://m1.tuyaus.com:8883
[3/19/2023, 4:31:08 PM] [TuyaPlatform] [TuyaOpenAPI] Response:
[3/19/2023, 4:31:08 PM] [TuyaPlatform] Got home_id=100832143, name=Home
[3/19/2023, 4:31:08 PM] [TuyaPlatform] Fetching device list.
[3/19/2023, 4:31:08 PM] [TuyaPlatform] [TuyaOpenAPI] Request:
[3/19/2023, 4:31:10 PM] [TuyaPlatform] [TuyaOpenMQ] Connected
[3/19/2023, 4:31:10 PM] [TuyaPlatform] [TuyaOpenAPI] Response:
[3/19/2023, 4:31:10 PM] [TuyaPlatform] [TuyaOpenAPI] Request:
[3/19/2023, 4:31:12 PM] [TuyaPlatform] [TuyaOpenAPI] Response:
[3/19/2023, 4:31:12 PM] [TuyaPlatform] Fetching scene list.
[3/19/2023, 4:31:12 PM] [TuyaPlatform] [TuyaOpenAPI] Request:
[3/19/2023, 4:31:12 PM] [TuyaPlatform] [TuyaOpenAPI] Response:
[3/19/2023, 4:31:12 PM] [TuyaPlatform] Got 1 device(s) and scene(s).
[3/19/2023, 4:31:12 PM] [TuyaPlatform] Device list saved at /var/lib/homebridge/persist/TuyaDeviceList.az1677815930410rzZ3a.json
[3/19/2023, 4:31:13 PM] [TuyaPlatform] Restoring existing accessory from cache: Front Door
[3/19/2023, 4:31:13 PM] [TuyaPlatform] [Front Door] Product Category: jtmspro
[3/19/2023, 4:31:13 PM] [TuyaPlatform] [Front Door] Missing one of the required schema: [ 'lock_motor_state' ]
[3/19/2023, 4:31:13 PM] [TuyaPlatform] [Front Door] Please switch device control mode to "DP Insctrution", and set `deviceOverrides` manually.
[3/19/2023, 4:31:13 PM] [TuyaPlatform] [Front Door] Detail information: https://github.com/0x5e/homebridge-tuya-platform#faq
[3/19/2023, 4:31:13 PM] [TuyaPlatform] [Front Door] Existing schema: [
[3/19/2023, 4:31:13 PM] [TuyaPlatform] Unsupported device: Front Door.

Other Infomations
I would be appreciative if you assist me to have my Tuya lock works with Homebridge. Lock is nit supported in Homebridge

have you tried switch device control mode? at least need a schema code represents for the "door open/close state"


Sieve registry not working right

Whenever I load my world, the sieve registry edits I put in rarely fully load, partially load or not load at all.  I'm on latest version 0.3.9.  I don't know what to do.
 Not sure that is causing the problem since you said the problem is intermittent. Could you fix that and tell me if the problem persists.
I will take a look / try to replicate.

OK.  I'll check.

Glad it's fixed.


Add documentation of list of ports used

Summary
Add documentation of list of ports used
Purpose
To make it easier to manage the ports used
Contents
Add documentation of list of ports used
Bring bts envoy from QuickMPC-BTS
Testing Methods Performed

@KotaTakahashi9320
Could you rebase this branch?

@mdonaka
I rebased it!
Please check.


Vte terminal background color does not match theme

Vte terminal background color matches the background color of the window, not the GtkTextView (which is not the indented behavior). Also changing the Gtk theme won't change the terminal's background color.

Might be able to solve the "theme changed" issue with g_signal_connect (buffer, "notify::style-scheme", G_CALLBACK (notify_style_scheme_cb), self); found the code in some Gnome Builder file.


Pie chart Gradient

Hello,
This is probably a duplication of #166 but this issue is open for 1 year
The request was to have the gradient on a pie chart, I would like to know if this idea was abandoned or if it was implemented, how to realize it? because I need to realize this pie chart:

Thanks in advance

Hi. No, it is not implemented yet. Because the main issue is open yet (because I didn't have time to work on it).
Please follow #166. I will close this issue.
Thanks!


Change dart:convert "UTF8" -> "utf8".

The former will be removed in Dart 2, so this gets it ready for that.
The new names were already introduced in a previous dev version.

Thanks! I don't have commit rights, so would you mind merging this in?
Also, updating the pubspec and publishing 1.0.2 will make it easier for me to roll it inside Google. Thank you! :)

Sorry, I missed the "Confirm Merge" button after clicking "Merge"

Thanks!


Fix broken icon headers with content icons

Well, as the title says. Maybe renaming the icon would be a better idea, as it may interfere in other areas than the header module.

Content includes two aliases sidebar and bars.
Content was definitely a bad name choice. I'll change the docs to use the more compatible sidebar icon, as this is the most common use for the triple bars.

Changed in docs in next release. Thanks for input!


npm start livereload to src/server

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)

npm start does not watches files and uses livereload on src/server code. Is there some way to active it?

@calebeaires , hello, look here:
https://github.com/vyakymenko/angular2-seed-express/issues/8
P.S. But later I will think about it.


Model not available to download

Hello,
The model you uploaded on google drive is not accessible anymore.
Can you upload it again ?
Thank you,
mremise

Hey man, how are you?
This code is no mine, I made a copy from other GitHub to use in some projects.
The original code is here: https://github.com/andreped/livermask
Try in the original, maybe you have some luck.
Have a nice day!


Uncaught ReferenceError: process is not defined

cross-env version: 5.2.0
node version: 10.0.0
npm (or yarn) version: 6.9.0

while using cross-env like the following script:
{
  "scripts": {
    "dev": "cross-env HOT=1 NODE_ENV=development electron ./app/main.js --disable-gpu"
  }
}

The electron console throw a ReferenceError:
Uncaught ReferenceError: process is not defined

And also without cross-env it works on my Linux machine.
What'd be the root cause of problem?

its electron problem and I'll close this issue.


How to use a custom SignInManager?

I'd like to use my own SignInManager which overrides some methods of the original SignInManager. How do I register my own implementation as a service?
AddIdentity adds the default implementation of SignInManager. Is there a way to exchange the implementation in ConfigureServices after the call of AddIdentity (maybe this question is mor DI related than Identity related...)

Actually, it is very easy...
In ConfigureServices after AddIdentity I added:
services.AddScoped<SignInManager<MyUser>, MySignInManager>();

This seems to overwrite the previous registration made by AddIdentity and works fine.


Version incompatibility on 1.19.2

Simply launch the game with replay voice chat and replay mod with both of them being the latest version on 1.19.2 and this will show up

You are using an outdated version.

Those are the latest versions of both mods. If you're talking about the minecraft version 1.19.2 is hardly outdated and, if you say it's outdated because you're mod doesn't work with it, then why would you let people on curseforge download the mod for 1.19.2?

https://modrinth.com/mod/replay-voice-chat/version/fabric-1.19.2-1.3.3

Still doesn't work.

Then fill out the bug template.


check errors before marking a query as parsed

Fix authored by: @buraksezer
This PR fixes an issue where a query is being marked as parsed even if parsing fails.
This behavior results in a misbehaving subscription.

merged via https://github.com/wundergraph/graphql-go-tools/pull/393


Remove additional warnings in Elixir 1.17

Fixes 2 additional warnings that pop up in Elixir 1.17

@cblavier, is there any chance of getting this in and into a release? It's required for those of use on 1.17.

sure, I'm doing a new release right now

released in 0.6.3 🚀


Show Creator on Group Page

The owner is now shown in the group table. Instead of 'editor' or 'member' the owner says 'owner' and that role cannot be changed. I noticed that you could create a group and then change your own role to 'member' but that you could still edit roles, including your own.
I would like to figure out a way to get the owner listed first, which is why this is a draft pull request.

Added a line on top under the description that lists the group creator.
I notice that for groups, there is only 'creator' and 'editor' and 'member' and that there is no actual role called 'owner' and that it seems like 'creator' is always uniquely the same person.
A few things to test in the future - editors can change editors to members. And it looks like an editor can change their own role to member. This creates a possible situation where all editors make themselves members instead. The creator now can't be changed, but we might want to think about blocking users from downgrading their own roles.

Just a thought, if it's easy to do maybe we can filter out the owner's email as well when adding members


Add support to query param ua override

add normalized ua string parse logic
add support to query param ua override
tests
fix yandex browser alias

Closed #82


Where are the Planning (e.g., KL-divergence) and Retrieval-reason optimization implemented?

Thanks for sharing this work!
The paper mentions using KL-divergence as a loss function for planning optimization. However, I couldn't locate the code that implements this KL-divergence loss, along with the loss of retrival-reason.
Could you or someone else please point me to the relevant files or provide more information on where these components are implemented?

Thanks for your interest in our work. In our work, we do not explicitly optimize the KL divergence as shown in Eq 2. The final objective in Eq 2. can be derived into two instruction-tunning tasks as shown in Eq 8. Therefore, it can be easily optimized with the existing LLM training objectives (predict the next tokens) to improve training time. The detailed derivation can be found at section A.1.

Thank you very much for the clarification and additional details regarding the implementation. This clarifies my initial confusion about the implementation of the optimization.
Once again, thanks for your work!


CONTRIBUTING.md

Looks like this is a copy of CODE_OF_CONDUCT.md...

Hey @robcaldecott this are some legal docs we were required to have, however we plan to continue to add to it to make it easier for contributors to get started coding!


[CreateTearsheetStep] Add an influencer prop to customize content in the left nav

What will this achieve?
This will enable users to pass an optional influencer prop that’ll be returned instead of the null, to accommodate custom content in the left nav.

How will success be measured?

Design reviewed
Prop added
Tests implemented
Enhancement deployed

Additional information
While using the CreateTearsheetStep component and passing the introStep prop for the first step of the create flow. We cannot add custom influencer content to the left nav as shown in the screenshot below. In the component’s source code, null is being returned for the first step if the introStep prop is passed as true.  The ability to pass an optional influencer prop that’ll be returned instead of the null to accommodate custom content in the left nav, will be a productive enhancement.

@elycheea We have to show this design consideration to DSAG. Would be an easy prop addition to display there.

@hardt-rmt I noticed that the left panel is being used for more information and learn more pattern. Wouldn't it be better to add the text inside the Tearsheet content above the form?

@hardt-rmt Agree with @AlexanderMelox — is there a particular reason for using the CreateTearsheet over the regular Tearsheet in this scenario? I believe there’s some distinction between “Create” and “add” although there is not predefined pattern for add.

@hardt-rmt I noticed that the left panel is being used for more information and learn more pattern. Wouldn't it be better to add the text inside the Tearsheet content above the form?

@hardt-rmt Agree with @AlexanderMelox — is there a particular reason for using the CreateTearsheet over the regular Tearsheet in this scenario? I believe there’s some distinction between “Create” and “add” although there is not predefined pattern for add.

The project consists of complex creation flows for a variety of secrets and the CreateTearsheet is better suited for what we are aiming to achieve

@sdignum @cameroncalder We’re discussing whether to enable this within the introStep or to consider the step behavior for Tearsheets and wonder if you have any insight on what makes sense for products. This is a case that falls a bit outside of the normal Creation flow from what it seems.


ROX-17219: CI: Process all junit for slack/BQ

Description
Per title. The current approach misses misc junits created with save_junit_{success,failure}. This PR moves junit processing to the CI exit trap. This should handle all tests jobs and future junit creators (assuming they are in ARTIFACT_DIR which is a reasonable assumption in the openshift CI world).
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
Will need to force some failures to ensure junit2jira still works, etc.

@janisz I removed you from review as I'll have to run this through a bunch of forced failure type tests.

/test


api_key_modal: Migrate modal to Micromodal.

The vertical element of eye icon looks off.

Also the error message is currently shown at the bottom. Previously the error message was show bettween the Show API key text and close button, which I feel looked better.

The vertical element of eye icon looks off.

I have addressed it in the change_password migration PR.

Also the error message is currently shown at the bottom. Previously the error message was show bettween the Show API key text and close button, which I feel looked better.

It's intentional since that doesn't fit with the design of the new modals.

Also the error message is currently shown at the bottom. Previously the error message was show bettween the Show API key text and close button, which I feel looked better.

It's intentional since that doesn't fit with the design of the new modals.

Maybe we can start a discussion on thread for getting feedback of others too.

Yeah, this seems worth a #design discussion; posting a question here: https://chat.zulip.org/#narrow/stream/101-design/topic/modal.20migration/near/1273876

I'd merge this right now but I think we need to finish #20193 first, because of the eye-icon issue?

Merged, after handling the merge conflicts after rebasing this on top of the password change modal migration.  Thanks @ganpa3!


Docker: Looking for Sandbox?

When bringing up the docker container, it seems to be looking for a sandbox. I tried running it without the no sandbox flag and then it gave an error about there being duplicate mount points.

The --no-sandbox argument is currently necessary, so we do not need to run privileged containers (chrome needs some syscalls which are by default not allowed for docker containers). I'll maybe have a look into this again later.
The current Dockerfile should work nevertheless. Can you please provide more information? See https://github.com/ItsPi3141/alpaca-electron/blob/main/.github/ISSUE_TEMPLATE/bug_report.md


Added Backtracking algorithm (N-Queen Problem) [CPP]

Added solution to the N-Queen problem (Backtrack Algorithm)

By submitting this pull request I confirm I've read and complied with the below requirements.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

According to contributing.md

Name of master function of the code should be kept same as filename to the best extent possible.
Also,
If the algorithm/DS name has multiple words, separate them by underscores. (eg longest_common_subsequence)

@mohitkyadav Please make necessary changes.

Is it okay now?

Merged as 3b3c1ae. Closing.

@mohitkyadav Please send another PR following @singhpratyush 's suggestions.
Apparently, you shouldn't review a PR at work. 🙁

Apparently, you shouldn't review a PR at work. :slightly_frowning_face:

I couldn't get that part.


import fail -- Symbol not found: dgetrf

I used the cookiecutter to start my own development environment (https://github.com/QuantStack/xtensor-python-cookiecutter). After verifying that it works, I simply added a new function that involves xt::linalg::inv to test out the linear algebra library.
inline xt::pyarray<double> example3(xt::pyarray<double> &m) {   return xt::linalg::inv(m); }
And also added the include lines
#include "xtensor-blas/xblas.hpp" #include "xtensor-blas/xlinalg.hpp"
It did compile with the existing setup.py, but upon import I get this error from the interpreter.

ImportError: dlopen(xtensor-example-extension/xtensor_example_extension.cpython-36m-darwin.so, 2): Symbol not found: dgetrf
Referenced from: xtensor-example-extension/xtensor_example_extension.cpython-36m-darwin.so
Expected in: flat namespace

Does anyone know why this is happening? Do I need to add something to setup.py?

Thanks for reporting. dgetrf is a symbol from BLAS< so it seems that it is not finding the BLAS library.
I will look into your example tomorrow (it is getting late here).

Did you add something along the lines of
    find_package(BLAS REQUIRED)
    find_package(LAPACK REQUIRED)

    target_link_libraries(PUT_TARGET_NAME_HERE ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES})

to your CMakeLists? It looks to me like you're not linking a BLAS implementation

Or rather, LAPACK (since taking the inverse of a matrix calls the dgetrf routine of the LAPACK library).

Sorry do you mean adding these during manual installation of xtensor-blas (and therefore do not use 'conda install -c conda-forge xtensor-blas") ? For building my own library it is still the same "python setup.py build" right?

Oh I think the following method works -- add libraries=['lapack', 'blas'], to Extension in ext_modules, in setup.py of the xtensor-example-extension. I believe this adds the flags -llapack -lblas in the last step of the build when python setup.py build is called.

awesome, exactly that's what's needed. We usually use a cmake-based build system, so I responded with the CMake instructions, sorry.
We are planning to document much better how to properly link against BLAS and LAPACK.
Note that by just appending -llapack -lblas I am not sure which library your compiler will pick (i.e. the one in the conda environment or your systems one, if you have one installed). You might want to pass additional flags to make sure that you're picking the right one if you are concerned about that.

I am going to close this issue and open a new one for the documentation.


UPLOAD-1053 V2 - Upload API

This implements the core of the TUS server and dex centric endpoints. ADRs for this change have been approved and more information can be found there.
This PR establishes the viability of the work as well as a foundation for further development.
Exit Criteria and Considerations
Core functionality providing

[x] Core TUS server
[x] Storage interface pattern with local and azure options
[x] Health Check registration pattern
[x] System info registration pattern
[x] Hooks interface pattern with default
[x] Logging interface pattern with default
[x] Locking interface pattern with default
[x] Metrics implementation
[x] Health check implementation
[x] Simulation test level foundation

When reviewing consider that the goal is to make it easy to implement the following simply:

alternative locking mechanisms
Incremental Hook refactoring and modification
Event emission
Highly observable structured logging

And generally ensure that the potential cost of development and maintenance is low.

Hi @cosmycx @whytheplatypus: The upload-configurations underwent a major refactoring. Check out the latest changes from the main branch:

Hi @cosmycx @whytheplatypus: The upload-configurations underwent a major refactoring last sprint. Check out the latest changes from the main branch:
https://github.com/CDCgov/data-exchange-upload/tree/main/upload-configs
README is up to date.
We no longer use the upload-server/configs/allowed_destination_and_events.json as way to verify sender manifest fields.

Got it, that'll get done with UPLOAD-1184. I'd like to keep this prior art around for reference, but it could be moved somewhere. @dancing-goats do you think we should re-organize things so the pre-create hook here is more of a placeholder to avoid confusion?

Hi @cosmycx @whytheplatypus: The upload-configurations underwent a major refactoring last sprint. Check out the latest changes from the main branch:
https://github.com/CDCgov/data-exchange-upload/tree/main/upload-configs
README is up to date.
We no longer use the upload-server/configs/allowed_destination_and_events.json as way to verify sender manifest fields.

Got it, that'll get done with UPLOAD-1184. I'd like to keep this prior art around for reference, but it could be moved somewhere. @dancing-goats do you think we should re-organize things so the pre-create hook here is more of a placeholder to avoid confusion?

Has this branch been deployed and tested in dev environment?

@dancing-goats nope, this has it's own testing framework hopefully the start of making it unnecessary to test in any specific environment. Also the work for building the needed container, deploy pipeline, and deploy / cut over strategy are upcoming.

@dancing-goats nope, this has it's own testing framework hopefully the start of making it unnecessary to test in any specific environment. Also the work for building the needed container, deploy pipeline, and deploy / cut over strategy are upcoming.

I propose this feature branch v2-go-experimental be merged to something like a release branch rather than main. That way, your follow up tickets can be implemented and then changes can be merged into that release branch. Let's keep production stable.

@dancing-goats is there risk of this being deployed by accident?

@dancing-goats updated to archive the pre-create hook poc. This can run the existing file hooks as is as well.


Update requirements based on hardware changes between ICAv1 and ICAv2

ICAv1
https://illumina.gitbook.io/ica-v1/analysis/a-taskexecution#type-and-size

standard
small
.8 CPU
3 GB

medium
1.3 CPU
4.5 GB

large
2 CPU
7 GB

xlarge
4 CPU
14 GB

xxlarge
8 CPU
28 GB

standardHiCpu
small
15.5 CPU
28 GB

medium
35.5 CPU
68 GB

large
71.5 CPU
140 GB

standardHiMem
small
7.5 CPU
60 GB

medium
15.5 CPU
124 GB

large
47.5 CPU
380 GB

xlarge
95.5 CPU
764 GB

fpga
small
7.5 CPU
118 GB

medium
15.5 CPU
240 GB

large
63.5 CPU
972 GB

ICAv2
https://help.ica.illumina.com/project/p-flow/f-pipelines#compute-types

Compute Type
CPUs
Mem (GB)
Nextflow (pod.value)
CWL (type, size)

standard-small
2
8
standard-small
standard, small

standard-medium
4
16
standard-medium
standard, medium

standard-large
8
32
standard-large
standard, large

standard-xlarge
16
64
standard-xlarge
standard, xlarge

standard-2xlarge
32
128
standard-2xlarge
standard, 2xlarge

hicpu-small
16
32
hicpu-small
hicpu, small

hicpu-medium
36
72
hicpu-medium
hicpu, medium

hicpu-large
72
144
hicpu-large
hicpu, large

himem-small
8
64
himem-small
himem, small

himem-medium
16
128
himem-medium
himem, medium

himem-large
48
384
himem-large
himem, large

himem-xlarge
96
768
himem-xlarge
himem, xlarge

hiio-small
2
16
hiio-small
hiio, small

hiio-medium
4
32
hiio-medium
hiio, medium

fpga-small
8
122
fpga-small
fpga, small

fpga-medium
16
244
fpga-medium
fpga, medium

fpga-large
64
976
fpga-large
fpga, large

Note a 'standard-large' in ICAv1 is a quarter the size in both CPU and Memory as a 'standard-large' in ICAv2??

'Standard small' (v1) and 'standard medium' (v1) 'standard large' (v1) to go to standard small (v2)

'standard xlarge' (v1) to go to 'standard medium' (v2)

'standard xxlarge' (v1) to go to 'standard large' (v2)

We have already accounted for the himem, hicpu changes.


Small Fixes to the links in the handbook.

I've fixed a couple of links in the handbook.

Just Updated the Awesom-Athens page with browser extensions

Added a few of the text expander workfows, namely Excalidraw integration and the Spaced Repetition System. Will add integration via Expanso shortly.


Method to capture an image of a barcode?

Is there a method to automatically capture an image of a barcode/qr code using the onReadCode?

You can very easily do it by using the camera ref. Save it in the state and use the capture method. Use it inside the onBarCodeRead method.

 function onReadCode() {
   const image = this.state.camera.capture();
   /*  Do what you want with the captured image. */
}

This, however, has a bug which was introduced by the package itself. It saves multiple copies of the barcode in the device internal storage which you can not turn off even by passing the saveToCameraRoll props. A PR has been raised to fix the same issue. Upvote to get it merged with the master branch.
Here is the PR: https://github.com/teslamotors/react-native-camera-kit/pull/445


Add fromUser value for OnValueChangedListener

Similar to the progress bar, it'd be nice to know if the value is changed from user input or not

@raylee4204 I'll try to implement it. Thanks for suggestion :)

@raylee4204 Sorry for being late. It's now support from v1.1.1. Try it!

@hearsilent Thanks!
It'd be great if you start including changelogs for each release

@raylee4204
Thx for suggestion!
I'll add changelog in future.


Created the signup page ui

What does this PR do?
I have created a responsive signup page. It is just UI that takes the name, email & password  with no authentication functionality, If you want  authentication  I can do it
Related Issue(s)
fixes #162
Changes
Now If you click on the signup button on the home page it will take you to the signup page
Screenshots or GIFs (if applicable)

Checklist

[x] I have read and followed the contributing guidelines.
[x] My code follows the project's coding style and conventions.
[ ] I have added unit tests (if applicable) to ensure the code works as expected.
[ ] I have updated the project documentation (if necessary).

Additional Comments
Add any additional comments, context, or information about this PR.
By submitting this PR, I confirm that:

[x] I have reviewed my code and believe it is ready for merging.
[x] I understand that this PR may be subject to review and changes.
[x] I agree to abide by the code of conduct and contributing guidelines of this project.

This Isuue has being already being assigned by someone ...Please Don't work on Unassigned issues

This Issue has being already being assigned by someone ...Please Don't work on Unassigned issues

Yes I know but it was a week ago and he didn't raise a  PR .That's why I did this

If he didn't responded or not willing to work, I'll reconsider your case and open the PR and will merge it mate :)

@aasimtaif would be much appreciated if you can add a star to this project 🙂

great work @aasimtaif, @Vijaykv5 you can merge his PR ✅.

If he didn't responded or not willing to work, I'll reconsider your case and open the PR and will merge it mate :)
Can you merge my PR @Mayank-Sharma17 approved it

@aasimtaif may you can add a Video on how exactly the Sign up page works ...and please show its responsive too :)

Tab-1698214678302.webm
As of now, the form doesn't do anything as you just asked for a UI.But if you want full auth functionality i can do if

Tab-1698214678302.webm As of now, the form doesn't do anything as you just asked for a UI.But if you want full auth functionality i can do if

I think we can add Auth functionality on new PR later
Could you add Login also , when user clicks on it, it much change to login screen

Tab-1698214678302.webm As of now, the form doesn't do anything as you just asked for a UI.But if you want full auth functionality i can do if

I think we can add Auth functionality on new PR later Could you add Login also , when user clicks on it, it much change to login screen

Yes on it


[FLINK-34546] Emit span with failure labels on failure.

Brief change log
To improve observability, we emit a span with the labels from our failure classification for each failure.
Verifying this change
Added test coverage in ExecutionFailureHandlerTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (docs )

@flinkbot run azure


Added missing parentheses and “self.”

Use e.g., http://telofy.spline.de/foo/lxml-bug-690110.html to test
the error handling. (Originally created for an lxml bug.)
Is the first block (ll. 751–755) even necessary?

Parens aren't needed there, but I'll take it :)

Thanks for pulling; great library you have here. Regarding the parentheses, I think they are. Otherwise any UnicodeError is assigned to TypeError, while a TypeError is not caught, leading to behavior that looks utterly mind-boggling at first glance:
In [5]: resp = requests.get('http://telofy.spline.de/foo/lxml-bug-690110.html')

In [6]: resp.text
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/home/telofy/documents/university/bsc/memaw/<ipython-input-6-89da6afc31f1> in <module>()
----> 1 resp.text

/home/telofy/.buildout/eggs/requests-0.10.0-py2.7.egg/requests/models.pyc in text(self)
    758         if not content:
    759             try:
--> 760                 content = unicode(content, encoding, errors='replace')
    761             except UnicodeError, TypeError:
    762                 pass

TypeError: coercing to Unicode: need string or buffer, NoneType found


Fix price line below series

Type of PR: Bugfix
PR checklist:

[x] Addresses an existing issue: fixes #684
[x] Includes tests
[ ] Documentation update

Overview of change:
Change order when render priceline
Is there anything you'd like reviewers to focus on?

No problem, but I think it is a minor change since price above the series is expected from my perspective


sit: 0.1.2 -> 0.1.3

Motivation for this change
New release
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@grahamcofborg build sit

Success on x86_64-linux (full log)
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/examples'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3
shrinking /nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3/bin/sit-web
shrinking /nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3/bin/sit
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3/bin
patching script interpreter paths in /nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3
checking for references to /tmp/nix-build-sit-0.1.3.drv-0 in /nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3...
/nix/store/xjwxi1j4j982f6yv1hffrh9ghjanzd6k-sit-0.1.3

Success on aarch64-linux (full log)
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/deps'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3
shrinking /nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3/bin/sit
shrinking /nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3/bin/sit-web
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3/bin
patching script interpreter paths in /nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3
checking for references to /build in /nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3...
/nix/store/47k6azs7g5s2rn172g20r0jxrvsm12gg-sit-0.1.3


gcc-wrapper breaks building precompiled headers

For example:
$ g++ src/boost/assert.hpp
/nix/store/zm4bhsm8lprkzvrjgqr0klfkvr21als4-glibc-2.17/lib/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status

This happens because gcc-wrapper adds some linker flags, causing gcc to invoke the linker. Passing -x g++ (which prevents gcc-wrapper from adding the linker flags) doesn't help due to a gcc bug.
As a workaround, the following works:
$ NIX_GCC_WRAPPER_FLAGS_SET=1 NIX_LDFLAGS= g++ src/boost/assert.hpp

(triage) Does it still happen?

@Profpatsch Yes, it still happens.

However, the -x language workaround still works. This patch to wxWidgets allows it to be built with precompiled headers on 16.03.
0001-Enable-use-of-precompiled-headers-in-Nix.patch.txt

Any changes on this or does the problem remain ?


Value is getting printed in form, Input is not taking from spreadsheet

Describe the bug
When I am tring to fill any form it is printing Taking value (GoogleSheets::gg!A1)  <-- this is printing in output form.
please give me some solution.

printering spreadsheet name in form.
getting below error:
elementFinder: //input[@name="spreadsheetId"][@placeholder="Google Sheets ID"][@id="config-google-sheets-id"][@value=""]

Describe the bug
When I am tring to fill any form it is printing Taking value (GoogleSheets::gg!A1) <-- this is printing in output form.
please give me some solution.

We offer a generous daily allowance of 10 free Google Sheets API calls per user. This limit resets every day, providing you with a fresh set of 10 calls each day.

To unlock unlimited access to Google Sheets API calls, you have two options:

Subscribe to the Pro Version
By upgrading to our Pro version, you gain unlimited access to Google Sheets API calls, allowing you to maximize productivity without worrying about daily limits.

Switch to a Public Profile
Alternatively, you can switch your profile to public mode to enjoy unlimited access to Google Sheets API calls. This option is ideal for users who do not require private data handling and are comfortable sharing their configurations publicly.

https://getautoclicker.com/docs/4.x/action-value/google-sheets/


Link to Contribution markdown file incorrect in API Doc

Tested API build with manual trigger and noticed the link to the Contribution markdown file is incorrect in the index.rst file.

https://github.com/CosmoStat/wf-psf/blob/8186939e51a1bc2fa05a0e6bc830890b92170185/docs/source/index.rst?plain=1#L35


Wrong URL in installation process

I don’t know if it will be updated as the latest commit is 2 years old, but if you have a problem in your installation process, change the mbedtls download URL by this one in in deps/Makefile :
https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v3.5.1.tar.gz
You must also remove the « apache » in the archive name as well as change the name of the extracted folder from mbedtls-$(MBEDTLS_VER) to mbedtls-mbedtls-$(MBEDTLS_VER).

Thanks @Sirbu for reporting this. Indeed this library is not actively maintained. We can accept at a PR upgrading mbedtls to the latest version -- both when downloading and building it and the needed changes to goldy's main code and tests.


Stop throwing away asyncio.create_task tasks

Saw this in discord.py, and this should atleast affect Dispatcher and maybe HTTP too.
https://textual.textualize.io/blog/2023/02/11/the-heisenbug-lurking-in-your-async-code/

I would like to work on this.


Cancel toast is NOT working on iOS

Can't dismiss the created toasts on iOS
Not sure if this issue happens on Android
RaisedButton(
  child: Text("toast"),
  onPressed: () {
    Fluttertoast.cancel(); // cancel all the toasts which was called before
    Fluttertoast.showToast( // show the new toast
      msg: text,
      toastLength: Toast.LENGTH_SHORT,
      gravity: ToastGravity.BOTTOM,
      backgroundColor: Colors.red,
      textColor: Colors.white,
      fontSize: 16.0
    );
  }
)

up


CE Bomb for wide screens

#998
Continuation of #1383

I tested this today and it's working fine on 1280x720 resolution.

The CE bomb functionality does not currently seem to work on Poco X3 pro with a 1080 x 2400 pixels screen.
I was not sure where else to mention it. The gamepress FGA thread seems dead for now. I apologize in advance If I posted on the wrong place

Check Discord, it's discussed in #alpha-testing
You'll have to opt in for early feature testing to see the channel.

Check Discord, it's discussed in #alpha-testing
You'll have to opt in for early feature testing to see the channel.

Thanks, I used the test client on the alpha channel and the CE bombs seem to function fine on 1080 x 2400 now!


interfaces: interfacesInfoAction() and actual IP addresses on the GUI-based interface do not match extended reality of the underlying ifconfig output

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
There are multiple issues in the way the information is being collected. There is no distinction between IPv4 and IPv6 devices (like STF or PPPOE) as well as no concept of a primary IP. Listing the first address is a problem, especially for IPv6 where SLAAC can get in the way.
To Reproduce
Dashboard "Interfaces" widget or interfaces overview page.
Expected behavior
Work like before. The old widget was pretty straightforward and is now mostly overwhelmed with irrelevant API return data. But the overview page needs fixing too.
Describe alternatives you considered
As reality is complicated there is no alternative to going back to our best practices that have been refined with users for many years.
Screenshots
N/A
Relevant log files
N/A
Additional context
https://forum.opnsense.org/index.php?topic=41825.0
Environment
For dashboard since 24.7 but for overview page a bit earlier.

It might be best to collect some examples first before aiming for fixes. In most cases ifconfig does contain the right information, but sorting is wrong when it comes to the concept of "primary".
stf is likely the only real edge case as it should be an interface like gif/gre but isn't if I'm not mistaken.

There's no way around emulating this the way the old widget did, which is why I extended the backend call a bit 67dbbfb30d0a to do the same as:
https://github.com/opnsense/core/blob/stable/24.1/src/www/widgets/widgets/interface_list.widget.php#L157-L158

overview page is fine, works differently showing all addresses anyway


Out of memory when used on Jenkins

We are running into an issue where this gradle node plugin is running out of memory only when run through Jenkins.  We receive the following error below:
09:08:24 FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
09:08:25
09:08:25 npm ERR! Windows_NT 6.1.7601
09:08:25 npm ERR! argv "E:\nodejs\node.exe" "E:\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
09:08:25 npm ERR! node v4.4.3
09:08:25 npm ERR! npm  v2.15.1
09:08:25 npm ERR! code ELIFECYCLE
09:08:25 npm ERR! Exit status 3
09:08:25 npm ERR!
09:08:25 :projects:my-project-html:build FAILED
09:08:25 :buildDashboard UP-TO-DATE
09:08:45
09:08:45 FAILURE: Build failed with an exception.
09:08:45
09:08:45 * What went wrong:
09:08:45 Execution failed for task ':projects:my-project-html:build'.
09:08:45 > Process 'command 'npm.cmd'' finished with non-zero exit value 1
09:08:45
09:08:45 * Try:
09:08:45 Run with --info or --debug option to get more log output.
09:08:45
09:08:45 * Exception is:
09:08:45 org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':projects:my-project-html:build'.
09:08:45 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
09:08:45 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
09:08:45 	at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
09:08:45 	at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
09:08:45 	at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
09:08:45 	at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
09:08:45 	at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
09:08:45 	at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
09:08:45 	at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
09:08:45 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
09:08:45 	at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
09:08:45 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
09:08:45 	at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
09:08:45 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
09:08:45 	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
09:08:45 Caused by: org.gradle.process.internal.ExecException: Process 'command 'npm.cmd'' finished with non-zero exit value 1
09:08:45 	at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:367)
09:08:45 	at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:31)
09:08:45 	at org.gradle.api.internal.file.DefaultFileOperations.exec(DefaultFileOperations.java:165)
09:08:45 	at org.gradle.api.internal.project.AbstractProject.exec(AbstractProject.java:814)
09:08:45 	at org.gradle.api.internal.project.AbstractProject.exec(AbstractProject.java:810)
09:08:45 	at org.gradle.api.Project$exec$4.call(Unknown Source)
09:08:45 	at com.moowork.gradle.node.exec.ExecRunner.run(ExecRunner.groovy:36)
09:08:45 	at com.moowork.gradle.node.npm.NpmExecRunner.doExecute(NpmExecRunner.groovy:26)
09:08:45 	at com.moowork.gradle.node.exec.ExecRunner.execute(ExecRunner.groovy:66)
09:08:45 	at com.moowork.gradle.node.exec.ExecRunner$execute.call(Unknown Source)
09:08:45 	at com.moowork.gradle.node.npm.NpmTask.exec(NpmTask.groovy:90)
09:08:45 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
09:08:45 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)
09:08:45 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
09:08:45 	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
09:08:45 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
09:08:45 	at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
09:08:45 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
09:08:45 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
09:08:45 	... 14 more
09:08:45
09:08:45
09:08:45 BUILD FAILED
Any thoughts or work around would be helpful.  We are only seeing this through Jenkins, and if we attempt to run it on the build machine without using Jenkins we don't receive this out of memory issue.  Thanks.

What do your in Gradle looks like? You could try to increase memory for node by adding it as an argument to the gradle task.
args = ['--max-old-space-size=4096']

--max-old-space-size=4096 is setting the memory limit for node to 4GB.

Sorry, it seems that it's impossible to set that now. Have a PR that fixes this. See #141.

@srs Yeah saw the PR after posting this.  Seems like that's what we need in order to increase the memory.

@srs We tried it with the update from the PR above and it resolved our issue.  Thanks.  Any estimate on when this will make it into the release?

Closing issue since it's a duplicate of the one above and a fix is on the way.


6.0 Feedback:  title missing in labware detail slideout

Overview
labware detail slideout has incorrect title
Current Behavior

Expected Behavior
Labware Name should be in title
Steps To Reproduce

click on the labware to see the labware detail slideout
Slideout title should be labware Name

Operating system
No response
Robot setup or anything else?
No response