io: simplify linux.zig

Simplifies the implementation of IO.zig for linux while still handling CQ overflow and SQ flush optimization.
The previous implemenation used more syscalls than necessary to implement enter() timeouts. This ended up being slower on machines where io_uring interaction wasn't as fast, resulting in highly variable time spent during run_for_ns(). Now, IO.timeout is used (similar to darwin.zig) to implement run_for_ns() which improves latency on those machines.

@ifreund could you review this?

@kprotty this is blocked on adding a regression test, that we don't go back to the io_uring SQ/CQ race condition between kernel/user space that we had before.
There's alot of code that this PR removes, which was the best possible fix that @ifreund and myself could come up with at the time.
I want to be sure that we can reproduce that deadlock first, and then verify that this PR does not regress on it.

I need a refresher on what the deadlock was about. Searching for the commit in the mean-time

Closed as this branch assumes io_uring_enter(wait_nr=1) handles internal concurrent CQE completion. io_uring seems to have been missing the necessary synchronization needed to not deadlock on CQE posts dating as far back as 5.6 with it being fixed in 5.11. The current timeout SQE code effectively re-implements wait_nr using io_uring_prep_timeout(count=1) to avoid the racy wait condition on older kernels and this PR doesn't address that.


Treatlife smart switch/dimmer DS02s and 3 way DS02 new firmware not available BK7231T V2.1.17

Tried to flash/exploit unfortunately com to conclude the newly shipped treatlife switches come with a patched firmware version 2.1.17 that does not allow the exploit and it fails.
Also applies for SC01c newly shipped switches
Is there a plan to include this new patched firmware in cloudcutter? What is the expected timeframe? Is there anything I can do to help with that?
Thank you

Patched means the vulnerability CloudCutter uses has been patched on the device/firmware, and there is no way to add support to CloudCutter anymore.


The library should specify browsers supported

At the moment there is no clear indication of which browsers the library supports.

Maybe we should use Sauce Labs after all? Probably better for multi-browser testing than just Travis.

Fine with that

This is resolved via d2fc035e10eb0d16b6320d37e11f486e4927006a.


modernise .travis.yml

The test failure here is not a problem with this pull, it's just showing that LuaD doesn't work with dmd 2.067.1 or 2.068.0

Thanks a lot! Yeah, #93 is fairly critical.

No problem, I'm hoping I will be able to use LuaD to get D interoperability with http://torch.ch and more generally to compliment the interfaces with python and R that already exist (the R one is newer, pyd has some new wrappers that I'm working on) so that DlangScience (https://dlangscience.github.io, https://dlangscience.github.io) can make strong claims about interoperability with other popular scientific programming eco-systems and their comprehensive libraries.


[UpdatePlugin]  zznop bn-genesis v1.1

Please update my plugin:
Author: Me
Repo name: https://github.com/zznop/bn-genesis/releases/tag/1.1
Release:
v1.1

Thanks, updated.


An overriding method can't specify a different default value

From co19_2/Language/Classes/Abstract_Instance_Members/override_default_value_t01:
class A {
  foo([x = 1]) {}
}

class C extends A {
  foo([x = '']);
}

The spec says (in 10.1):
"It is a compile-time error if an instance method m1 overrides an instance member m2, the signature of m2 explicitly specifies a default value for a formal parameter p, and the signature of m1 implies a different default value for p."

The Dart VM running the sample code above does not report any errors.

Johnni tried implementing this in dart2js, and he noticed that it brings up errors in the SDK, so we'll likely see this surface as a breaking change on users code as well (I have no notion at the moment for how often this would happen, though, but it could be measured).
I'm reassigning this bug to the language team to get some clarity about this spec issue: is this actually a soundness problem? If not, could we change the spec?
I believe that at this time, all implementations ignore this and allow users to provide different default values. And note that we are however still validating that overrides have a proper subtyping relation, so this is only about the default value that the target method gets.

is this actually a soundness problem?

I do not expect the specification of a different default value for a given parameter in an overriding declaration of a method to be a soundness problem. After all, the different value is statically known for the code to which it will be passed.
The problem is at the software engineering level: If a default value is part of the interface of a method m (just like, say, its return type) then it serves as machine checked documentation of the semantics of omitting a specific parameter p (and the DartDoc and similar info would then clarify what it means to pass that particular value).
An overriding declaration of m should live up to this documentation, i.e., it should not behave in a way that violates the expectations (as seen from a caller who has the supertype as the static view on the receiver), and it seems reasonable that the same semantics should be represented by the same value as the actual argument for p.
If the default value is not considered to be part of the interface (more like: "dear caller, it's none of your business what value we will give this parameter if you don't pass anything") then I'd consider the design where the parameter is initialized with some value in the body of the method more natural. This would fit the situation where the value of the parameter is part of the implementation rather than a specification of a desired semantics.
We can certainly say that we don't care, go ahead and override default values any way you like, but in that case I think the default value is a disturbing and potentially misleading part of the method header (which ought to contain things that are significant for callers, and not a bunch of messy implementation details).

dup of https://github.com/dart-lang/sdk/issues/34437

#34437 is the Analyzer counterpart of this one, but since we are only assigning issues to exactly one "area" label we should keep both of them open.

We discussed this today in the language meeting. We will demote this to a warning for the time being, and consider changing it to an error (breaking change) in the future. So the resolution of this bug is to add this back in as a warning.

This was changed to a warning.  Fasta does not issue the warning.

This depends on CFE constant evaluation, and doesn't block landing it (constant evaluation).

This has been resolved in the null safety release.


Change cxx standard from 11 to 14 in CMake

compile in macos with clang15 failed when cxx11 in cmake because enable_if_t is available since c++14

@jameslamb Hi, my environment info:
os:
macOS 14.3
clang:
Apple clang version 15.0.0 (clang-15<IP_ADDRESS>.5)
Target: arm64-apple-darwin23.3.0
Thread model: posix
when I compile with no modifications, there are some errors:
mkdir build
cd build && cmake ..
make -j8
# errors:
LightGBM/external_libs/eigen/Eigen/src/Core/util/Meta.h:310:22: error: no template named 'enable_if_t' in namespace 'std'; did you mean 'fmt::enable_if_t'?
struct array_size<T, std::enable_if_t<((T::SizeAtCompileTime & 0) == 0)>> {
                     ^~~~~~~~~~~~~~~~
                     fmt::enable_if_t

In https://en.cppreference.com/w/cpp/types/enable_if, it saided that enable_if_t is since c++14:
Helper types
template< bool B, class T = void >using enable_if_t = typename enable_if::type; |   | (since C++14)

Thanks for the details. I'm not able to replicate that.
I just compiled the latest version of LightGBM on an M2 macOS laptop (very similar to your setup).
git clone \
    --recursive \
    https://github.com/microsoft/LightGBM.git \
    /tmp/LightGBM

cd /tmp/LightGBM
cmake -B build -S .
cmake --build build

Compilation of LightGBM succeeded, using a very similar version of AppleClang to the one you're using.
configure logs (click me)
-- The C compiler identification is AppleClang <IP_ADDRESS>00309
-- The CXX compiler identification is AppleClang <IP_ADDRESS>00309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
-- Found OpenMP_C: -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include (found version "5.0")
-- Found OpenMP_CXX: -Xpreprocessor -fopenmp -I/opt/homebrew/opt/libomp/include (found version "5.0")
-- Found OpenMP: TRUE (found version "5.0")
-- Performing Test MM_PREFETCH
-- Performing Test MM_PREFETCH - Failed
-- Performing Test MM_MALLOC
-- Performing Test MM_MALLOC - Success
-- Using _mm_malloc
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/LightGBM/build

Build logs (click me)
[  2%] Building CXX object CMakeFiles/lightgbm_capi_objs.dir/src/c_api.cpp.o
[ 10%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/config_auto.cpp.o
[ 10%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/bin.cpp.o
[ 10%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/config.cpp.o
[ 12%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/dataset.cpp.o
[ 15%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/dataset_loader.cpp.o
[ 17%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/file_io.cpp.o
[ 20%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/json11.cpp.o
[ 23%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/metadata.cpp.o
[ 23%] Built target lightgbm_capi_objs
[ 25%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/parser.cpp.o
[ 28%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/train_share_states.cpp.o
[ 30%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/io/tree.cpp.o
[ 33%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/dcg_calculator.cpp.o
[ 35%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/metric/metric.cpp.o
[ 38%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/linker_topo.cpp.o
[ 41%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/linkers_mpi.cpp.o
[ 43%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/linkers_socket.cpp.o
[ 46%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/network/network.cpp.o
[ 48%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/objective/objective_function.cpp.o
[ 51%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/data_parallel_tree_learner.cpp.o
[ 53%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/feature_histogram.cpp.o
[ 56%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/feature_parallel_tree_learner.cpp.o
[ 58%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/gpu_tree_learner.cpp.o
[ 61%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/gradient_discretizer.cpp.o
[ 64%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/linear_tree_learner.cpp.o
[ 66%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/serial_tree_learner.cpp.o
[ 69%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/tree_learner.cpp.o
[ 71%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/treelearner/voting_parallel_tree_learner.cpp.o
[ 74%] Building CXX object CMakeFiles/lightgbm_objs.dir/src/utils/openmp_wrapper.cpp.o
[ 89%] Built target lightgbm_objs
[ 94%] Linking CXX shared library /tmp/LightGBM/lib_lightgbm.dylib
[ 94%] Building CXX object CMakeFiles/lightgbm.dir/src/main.cpp.o
[ 97%] Building CXX object CMakeFiles/lightgbm.dir/src/application/application.cpp.o
[ 97%] Built target _lightgbm
[100%] Linking CXX executable /tmp/LightGBM/lightgbm
[100%] Built target lightgbm

More information about my setup:
cmake --version
# cmake version 3.26.4

clang++ --version
# Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
# Target: arm64-apple-darwin23.4.0
# Thread model: posix
# InstalledDir: /Library/Developer/CommandLineTools/usr/bin

I do not see any uses of enable_if_t in LightGBM.
git grep enable_if_t

I strongly suspect that the issue you're facing lies in some difference between your setup and mine. If you want to see LightGBM drop C++11 support by default, we'll have to identify that difference.
So, to start... what do you observe if you run the exact same commands I shared above? Please share all the logs as I did.

@jameslamb  Hi, I find that I use wrong submodule version:
git submodule update --init --remote

Sorry for my mistake. I will close the PR.

ah interesting! Ok then yeah I guess maybe you got a different version of Eigen than this project uses.
No problem, thanks for using LightGBM.


Spyder-kernels version 2.0.1  installed but version error persists

What steps will reproduce the problem?

On startup, I get dependency error that spyder-kernels needs to be >= v2.0.1 and that 2.0.1 is installed. Confirmed in dependencies window that 2.0.1 is installed and that >=2.0.1,<2.1.0 is required.

Hey @audsyn, thanks for reporting. This is a duplicate of issue #15091 and it'll be fixed in our next version.


'forever list' don't list running scripts, --pidfile not effective

I've start with
forever start -p /usr/local/bin --pid /usr/local/bin/forever.pid -l /usr/local/bin/forever.log -o /home/node_app/alls.log -e /home/node_app/errors.log -a -d --sourceDir /home/node_app  /home/node_app/app.js
but when list running scripts there's nothing
forever list
The "sys" module is now called "util". It should have a similar interface.
info:   No forever processes running
Moreover, --pidfile is not effective, the pid file is still generated in user's home/.forever/pids. The example initd example is wrong with pidofproc is not a command.
I use latest forever installed with npm, node v0.6.4 on Red Hat Enterprise Linux Server release 5.2 (Tikanga).

I think this is the same issue as #175

This is the same as #175.  I'm closing this in favor of that issue.


Nice to have : have a different tooltip for the Clear icon

I'm using bootstrap (small input) and the clear option may not be user friendly on single-select,
so I added the color red to the Clear icon x so it's helping but can be consing with required file *
I'd like to add tooltip over the x, but right now it showing only the selected item title.
I'd like to keep both...
I have tried to add a tooltip to this span with no luck, I'm out of idea...
 var $remove = $(
      '' +
        '×' +
      ''
    );

@lenamtl Send us a PR with this feature. You can base your code in this links:
https://github.com/select2/select2/issues/4530
https://github.com/select2/select2/pull/5291
I will be glad to review that. It's a nice feature, but I am focused now in fix some UI bugs :+1:


environment_variables.example vs. environment-variables.example

README uses an underscore, but source now has a dash. Needs to be updated (and check for any dependencies)

Fixed by https://github.com/GoogleCloudPlatform/cdmc/pull/33


Realsense L515 Error using RealSense Viewer

librealsense
2.36.0 RELEASE

OS
Windows

Error at startup, Realsense is connected via USB
Backend in rs2_create_device(info_list:05103638, index:0):
MFCreateDeviceSource(_device_attrs, &_source) returned: HResult 0x80070005: "Access is denied."

Hi @michaelm2412
Please take a look at #4259

Hi @michaelm2412
Did the link help?  Are things working for you?
*If we don’t hear from you in 7 days, this issue will be closed.


Support dynamic/changing number of iterations in MCTS bot

When using the out-of-box MCTS in a game where the number of available moves (and therefore number of possible game states) declines as the game progresses, the time to calculate the best move reduces over time.
In other words: the time to calculate N iterations reduces as the turn count increases.
Currently, the iterations value is hard-coded when the bot is instantiated.  This should be updated to accept a function (much like the objectives function) that can return a dynamic number of iterations to support scenarios such as increasing the iteration count as the game progresses while the cost (in time) stays relatively flat.
The AlphaBeta library offers an alternative solution which achieves the same effect of taking the same amount of time - running the algorithm for as many iterations as it can until the wall time expires - which also seems like a great option.

Definitely open to the idea of having iterations accept a function in addition to an integer. Sounds like a great idea!
I'm probably not going to be able to get to this for a while, though.  Would you have time to make a PR for this?

Yes, I'd love to!

Thanks a lot!  Let me know if you need pointers to the code or clarifications if anything is not clear.

Oh that sounds great, too!  I’ll look into it.

FYI, I only implemented the dynamic values and not the Debug Panel integration in this PR.  I've added a new issue (#476) to track the Debug Panel which I would like to do, too.

Oh, BTW, I included playoutDepth, too, because why the hell not. :)

Closing as this was added in v0.35.0.


[add]added to be able to set the center position and zoom level

Coverage decreased (-14.3%) to 70.143% when pulling 9e7f683dd025a105f4e60c6701ff376c12f83d38 on HiraiY:fix/map_center_and_zoom into 00aef5a2ef90e90ed960b871cbc29d13fdc79098 on shirasagi:master.


higher order derivatives with jvp

I'm wondering if there is a simple way to evaluate something like

(ie, the second derivative of a function dotted into two tangent vectors, to return something the same size as the original function) using JVPs, in a way that is fast and memory efficient.
I've managed to do it somewhat inefficiently by first using
jac = jax.jacfwd(f)
then
y = jax.jvp(jac,(x,), (dx1,))[1].dot(dx2)
but this has the disadvantage of needing the full jacobian df/dx, which in my case is quite large expensive.

I'm not sure I understand what quantity you want to calculate. Could you perhaps write it out some more explicit indexing notation? E.g., perhaps you're trying to calculate:

I'm not sure I understand what quantity you want to calculate. Could you perhaps write it out some more explicit indexing notation? E.g., perhaps you're trying to calculate:

Yes, sorry, that's it exactly

Yes, sorry, that's it exactly

If you expand this out, you'll see that you can write it in the form of two JVPs/VJPs:

You should be able to write it in terms of two calls to jvp/vjp, avoiding any explicit Jacobian matrices.
This is pretty similar to a Hessian-vector product, so I would suggest reading up on the "autodiff cookbook" for implementation suggestions: https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html#Hessian-vector-products-using-both-forward--and-reverse-mode
(The most efficient way to implement this (in terms of forward vs backwards differentiation) will depend on the dimensionality of the inputs/outputs of f.)

If you expand this out, you'll see that you can write it in the form of two JVPs/VJPs:

You should be able to write it in terms of two calls to jvp/vjp, avoiding any explicit Jacobian matrices.
This is pretty similar to a Hessian-vector product, so I would suggest reading up on the "autodiff cookbook" for implementation suggestions: https://jax.readthedocs.io/en/latest/notebooks/autodiff_cookbook.html#Hessian-vector-products-using-both-forward--and-reverse-mode
(The most efficient way to implement this (in terms of forward vs backwards differentiation) will depend on the dimensionality of the inputs/outputs of f.)

ahh ok, I got it to work. I was a bit confused for what the correct tangents are for the 2nd derivative. For anyone else looking at the same problem, this is what seems to work for me:
dfdx = lambda x, dx: jax.jvp(fun, (x,) , (dx,))[1] d2fdx2 = lambda dx1, dx2: jax.jvp(dfdx, (x, dx1,) , (dx2,np.zeros_like(x)) )[1] d2fdx2(dx1,dx2)


TilingContainer

Use TilingContainer to render status monitor tiles

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[x] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Thanks for taking a look Lee - will make some updates based on your suggestions.
I really like the idea of being able to bind in to store records. I wouldn't want to lose the ability to render an arbitrary collection of objects (I can imagine that being a common use-case), but could easily be persuaded. Can also imagine it being useful to be able to supply any observable directly, allowing it to key off MonitorResultsModel.results directly.
Would love to go over the data part of the API with you today if you have time.

One different option with this is to skip the dedicated model, and just have component take the configuration as props.  In some ways this makes sense, because its really layout only -- and in particular there is no selection to be manipulated and no real programmatic interface on the model as with say GridModel or TabModel.
In that world you could have a 'bind' prop that would just give you the ability to bind to a property name on the model that would be the (observable or not) collection or store. .  Observable data would never need to be copied locally.

to me, the key decision at this point, is will we ever support selection with this thing.  Also, does it scroll?

It tries to avoid scrolling, but will scroll vertically if you have set a min height on components and it can't find a non-scrolling layout.
Regarding selection, I can think of a client usage for this that would include selection. But I'm not sure that this component needs to handle the selection - that can be left as an implementation detail for the app. I really like the idea of this being a component that just handles the layout and nothing else.

Updated this branch so that TilingContainer binds to an observable array. Also, removed the TilingContainerModel in favour of using a LocalModel

Tom had idea to go one-step further in the simplification and just have it take the raw children, and focus totally on layout.

I've updated this branch so that the newly named TilingFrame acts on its raw children. Think we landed in a good spot


[Event Hubs] Update the scope of classes in azure-core-amqp

Classes like Retry, MessageConstants, etc may want to live at another level.
From feedback:
https://github.com/Azure/azure-sdk-for-java/pull/3655#discussion_r296131451

From offline discussion, It doesn't make sense to create a package with a single class in it (ie. policy folder with only Retry in it). Until an AMQP pipeline discussion opens up, we'll table this.


Flaky tests when transient error/delay happens in blob API

Version
64ecf2f3e131b05fb93aa3fa0c3abc087febf33c (latest commit in main branch till Jul 9)
Describe the bug
We find a few unit tests fail undeterministically due to assertion failures (like Assert.NotNull() Failure or Assert.Equal() Failure):
Microsoft.Bot.Builder.Azure.Tests.AzureBlobTranscriptStoreTests.LogMissingUpdateActivity
Microsoft.Bot.Builder.Azure.Tests.AzureBlobTranscriptStoreTests.TestDateLogUpdateActivities
Microsoft.Bot.Builder.Azure.Tests.AzureBlobTranscriptStoreTests.LogDeleteActivities
Microsoft.Bot.Builder.Azure.Tests.AzureBlobTranscriptStoreTests.LogActivities
Microsoft.Bot.Builder.Azure.Tests.AzureBlobTranscriptStoreTests.LogUpdateActivities
Microsoft.Bot.Builder.Azure.Tests.BlobsTranscriptStoreTests.LogDeleteActivities
Microsoft.Bot.Builder.Azure.Tests.BlobsTranscriptStoreTests.LogActivities
Microsoft.Bot.Builder.Azure.Tests.BlobsTranscriptStoreTests.LogUpdateActivities
Microsoft.Bot.Builder.Azure.Tests.BlobsTranscriptStoreTests.TestDateLogUpdateActivities
Microsoft.Bot.Builder.Azure.Tests.BlobsTranscriptStoreTests.LogMissingUpdateActivity

After inspection, we find the assertion failures are actually caused by either transient errors (like 503 server busy) returned by the blob storage service, or delay in responding the blob API call.
We figured out why the transient errors can lead to test assertion failures.
Concretely, OnTurnAsync calls TryLogTranscriptAsync without await:
// flush transcript at end of turn
// NOTE: We are not awaiting this task by design, TryLogTranscriptAsync() observes all exceptions and we don't need to or want to block execution on the completion.
_ = TryLogTranscriptAsync(_logger, transcript);

This will create a new thread to run TryLogTranscriptAsync, and TryLogTranscriptAsync will make a lot of blob API calls. Exceptions inside TryLogTranscriptAsync won't be propagated outside.
And the above tests call GetPagedResultAsync to get results which are used in later assertions like
var pagedResult = await GetPagedResultAsync(conversation, 3);
Assert.Equal(3, pagedResult.Items.Length);
Assert.Equal("foo", pagedResult.Items[0].AsMessageActivity().Text);
Assert.Equal("new response", pagedResult.Items[1].AsMessageActivity().Text);
Assert.Equal("update", pagedResult.Items[2].AsMessageActivity().Text);

and inside GetPagedResultAsync there is a hardcoded timeout before returning the result
await Task.Delay(500);

From the inspection, we find that:

if some blob request does not get finished before the timeout, GetPagedResultAsync will return incomplete results
if some blob request encounters transient error (like 503 server busy) and the exception is not propagated to the test body, the request will basically fail silently and GetPagedResultAsync will also return incorrect results leading to assertion failures

We are not sure whether such flaky tests (caused by transient error/delay) are desired or not. If not, would there be a better way to propagate the exception/wait before the result?

@EricDahlvang can you comment on this or do you know who the correct owner would be?

Hi @rmt2021
Perhaps the maxTimeout should be increased for the failing tests?
https://github.com/microsoft/botbuilder-dotnet/blob/main/tests/Microsoft.Bot.Builder.Azure.Tests/TranscriptStoreBaseTests.cs#L445

@EricDahlvang
Yes I think enlarging maxTimeout can definitely help.
A even better fix is to find a way to get notified once the async task gets done, so we do not have to suffer from choosing the timeout value. But it might not be easy to do in the above case.


fix(coercion): treat zero as falsy boolean

Right now the coerceBooleanProperty method coerces 0 to true. This is not aligning with the native behavior of DOM elements (e.g. setting the disabled property to 0).
@jelbourn This is a breaking change, because previously zero has been handled differently. I'm going to mark this as major. I'm not too sure if we want to handle zero that way, but it follows the DOM behavior, so I think it makes sense. If not, we can just close the issue and this PR, and keep everything as it is.
Fixes #9280.

I have just asked a question about this on SO. Would you like to provide more intel? On why number 0 is true?


Features: add paddings to diagrams

More whitespace should be added above and below diagrams

Strongly agreed.

Do we need to do this for the DG as well?


Minor UI inconsistencies

Hi everyone,
I build my own theme recently and have taken a detailed look at a few features and found some minor inconsistencies. Correcting these inconsistencies could help Visual Studio Code to look more harmonious in my opinion.
I hope it's okay to file them all in one issue? If not, please let me know so I can split them. And I'm sorry if this issue seems a bit picky :sweat_smile:.
Let me know if anything is unclear, or if I can help in any way.
Tim

1. Input heights
I found different heights within Visual Studio Code and counted a total of six different values: 38px, 48px, 50px, 52px, 56px and 60px. Perhaps we can reduce/unify these to a set of three values, like small, medium and large? In my opinion, at least the inputs in the sidebar should have identical heights to prevent small layout jumps when changing the sidebar view.

2. Alignments in sidebar
The vertical alignment in the sidebar views could be more consistent. Please see the attached screenshot where I have marked the deviating areas.

3. Input background colors
It would be great if theme designers could use inputs that are always brigther or darker than the underlying surface by setting e.g. #ffffff1A instead of a solid color. If you only can use a solid color you need to take a brigther or darker color than the brightest or darkest surface that hosts an input.
It's currently possible, but some inputs are nested and the background color is applied to two elements and therefore you have two transparent colors on top of each other.
This can be seen in:

the extension-search-input in the extension sidebar view
the search-input in the preferences (UI) view

4. Input theme references
I expected that the overall search input in the UI preferences view is styleable via settings.textInputBackground and settings.textInputForeground. But currently the search input is styled via input.background and input.foreground.
Please take a look at the attached screenshot. And you may want to use this setting snippet for further debugging.

    "workbench.colorCustomizations": {
        "input.background": "#0000ff",
        "input.border": "#ffff00",
        "input.foreground": "#ffffff",
        "settings.textInputBackground": "#00ff00",
        "settings.textInputForeground": "#000000",
        "settings.textInputBorder": "#ff0000",
    },

Thanks for the suggestions. Do you mind breaking these out into separate issues so that we can better track and manage them? We try to avoid having meta issues (unless they're feature requests). A few thoughts:

I agree that all input heights should be the same
Spacing can be fixed
I don't quite understand this issues, but I believe #4 will solve this
I believe we should be able to create new styles for inputs in the sidebar and other places


Add a validate_cmd to config file resource

Hi Tron,
Awesome module! I ran into a problem lately where deploying a config change caused services to fail at restart but Puppet to carry on happily and Jenkins to deploy these changes throughout the (non-production) environments with no problem.
We could be a bit more defensive and validate the file before it gets copied in place using the Dropwizard check command. I've added the ability to enable / disable this by setting $config_test on the dropwizard::instance you want to check.
On reflection I think that Restart=on-failure in the systemd unit might be a part of the problem too. Maybe Restart=on-abnormal would be a better option so that if the Dropwizard server command fails to start and exits != 0 Puppet should (might) pick up this failure?
Any feedback would be greatly appreciated.
Thanks,
Tim.

On further reflection I've also made the addition of a config_change_restart parameter to allow the disablement of notifying the service on file change. In automated environments where people commit straight to master this could cause an unexpected / unauthorised restart of instances.
It also allows for reloading of configs to be handled in application to pick up changes automatically and not require a JVM / service restart.

It looks like the latest 2.1.0 vesion of puppetlabs-javais being pulled in for tests.


⚠ GitLab Server has degraded performance

In 063ef61, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 9299 ms

Resolved: GitLab Server performance has improved in c63cb3b.


Feature/skip hostnames for awsvpc

Skip hostname in container definitions when the task definition has networkMode="awsvpc".
Fixes: #26

I deployed using this PR and it worked! Two details worth mentioning:

The README claims Fargate must use the default VPC. This is not the case. Small detail but could confuse some users.
Task definitions in the yml file need execution_role_arn for Fargate unlike EC2.

I deployed using this PR and it worked! Two details worth mentioning:

The README claims Fargate must use the default VPC. This is not the case. Small detail but could confuse some users.
Task definitions in the yml file need execution_role_arn for Fargate unlike EC2.

Nice! thanks for testing, I've updated the README with the additions from @KA-ROM

Nice! thanks for testing, I've updated the README with the additions from @KA-ROM

Merged in: #cce2adf

Merged in: #cce2adf

Also pushed an new Docker container: https://hub.docker.com/repository/docker/labdigital/ecs-deplojo

Also pushed an new Docker container: https://hub.docker.com/repository/docker/labdigital/ecs-deplojo


restart GeoServer?

after giving the command  docker-compose up it seems a restart of  geoserver is necessary?

It should work directly. When running it locally it just works. Do you get any errors when it starts?

cannot recreate.


TAO -- (AccessDeniedException) when calling the DescribeTemplate operation

Error:
Checking for updates...
Getting latest available source template version...
An error occurred (AccessDeniedException) when calling the DescribeTemplate operation: User: arn:aws:iam::xxxxxxxxxxxx:user/user.name is not authorized to perform: quicksight:DescribeTemplate on resource: arn:aws:quicksight:ap-southeast-2:223485597511:template/ta-organizational-view
Fix: add --region=us-east-1 to line 232 in the file shell-script/lib/common.sh
231   latest_template_version=$(aws quicksight describe-template --query 'Template.Version.VersionNumber' \
232       --region=us-east-1 --aws-account-id ${sourceAccountId} --template-id ${sourceTemplateId})

Feel free to submit a PR

Feel free to submit a PR

@darken99  We should not explicitly set region in command.
@fitchtravis If you run config step, it is setting region env variable and then you can proceed with update

@darken99 We should not explicitly set region in command.
In this exact case we should as the template resides in us-east-1


Google Billing Update

FYI - Google Billing seems to have changed since the aboutme was written.  For instance the about me says: "(for more than 1000 requests/sec add payment information)".  I think you have to have payment information regardless.
My question is: I am trying to figure out the costs per query and I am not sure what the sku is for the query.  Are these geocode requests?  If so, looks like you get 40k requests a month with current monthly credit.
R/
Shane

Sadly these requests are billed under the highest places information requests (Places + Basic Data + Contact Data + Atmosphere Data), which given current rates allows for 5000 requests under the 200$ credit

Thanks Porter!  I really appreciate it!  I would recommend putting that in the AboutMe.md.

I submitted a PR to update the README.md with the information provided above by Porter97.


Updates for auto docs on master branch for Iris 3 release

A few little updates needed for the auto docs building now that the v2.3.x branch has been cut
For ref see #3397

@lbdreyer LGTM :+1:
Let's wait for travis-ci to do its thing...

Great, Thanks @bjlittle !


Update Metrics Server Helm Chart

Issue #, if available:
https://github.com/aws/eks-anywhere-internal/issues/2042
Description of changes:
Updates metrics server helm chart from 3.8.2 to 3.11.0.
Metrics server image is built by EKS-D, so we just consume their image build.
Consolidated previous patches into a single patch and added one new one removing the Addon Resizer deployment.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


UserChange event doesn't fire if the value exists multiple times on the slider

Hi, I have a slider that contains (possibly duplicate) timestamps. Whenever I change from a tick on the slider to another one with the same timestamp, I expect the UserChange event to be emitted but this doesn't seem to be the case. In all the other cases (when the timestamps differ) the event is correctly emitted.
Is there any known workaround or is it planned to fix that?

Hello,
Could be because both ticks have the same value (It may think it is the same tick). I don't know any fix or workaround, if possible it would be best to not have duplicates in the slider.

Copied to main repo


Picutre

Could you provide picture of HOMEAPP.
Do you have homeKit sprinkler timer functionality with this plugin like this picture ?

Hi there, unfortunately this plugin does not currently display the sprinkler timer when activated.
While the scheduling and adaptive watering in the plugin does time individual zones before activating/deactivating them, that is not currently displayed to the user - this is something I wish to add in the future, as shown in the To-do section.
The rest of the plugin UI is the same as the picture you have supplied - you are able to view multiple zones at once and update their states manually if you wish.


Generating Serializers with EnumSerializationMethod.ByUnderlyingValue

Hi,
I'm using MsgPack with Unity on iOS, so I'm trying to use pregeneration of serializers (like described in https://github.com/msgpack/msgpack-cli/wiki/Xamarin-and-Unity#generate-serializers-in-advance). However, my enum serializers get generated with EnumSerializationMethod.ByName, instead of by underlying value. It doesn't look like SerializerCodeGenerationConfiguration has an option for this; is there anything that can be done?
Cheers.

I forgot it... Thank you for reporting!

Fixed in 0.6.0.

Excellent, thank you!


how to work with buttercup

buttercup is a cool library for testing emacs-lisp.Could undercover work with it?
See more at https://github.com/jorgenschaefer/emacs-buttercup/issues/9

I believe it should work. I can investigate it a bit later.
Should I try to add code coverage reports to emacs-buttercup itself or to some other project that uses it?

It would be very nice to add code coverage reports to emacs-buttercup itself. :+1:

Oh, I guess my English failed me...
I mean to add code coverage reports not to emacs-butter but for emacs-butter. Just to see emacs-butter coverage on it's project page.
But you mean to integrate emacs-butter and undercover to use it together automatically. Am I right? Something like this?
$ UNDERCOVER=true emacs -batch -f package-initialize -f buttercup-run-discover

Yeah I just mean integrate with buttercup.Sorry I just misunderstand your reply because buttercup is just test in bettercup itself.

So I want to start with something simple (before proposing any changes to emacs-buttercup) and I did some experiments with covering your blog-admin. It looks like emacs-buttercup and undercover works fine together but the issue that you faced here is actually related to edebug (undercover heavly relies on it) and names packages.
So here is my plan:

I will provide some basic emacs-buttercup and undercover usage examples, something like this.
I will investigate issue with names package and will help you to cover blog-admin.
I will do some proposal to emacs-buttercup to automatically run undercover with it.

Please do not expect it soon because I'm very busy with my main work.

Sounds great, take your time of course！

I did few examples of buttercup usage together with undercover:
https://github.com/sviridov/undercover.el-buttercup-integration-example
https://github.com/sviridov/undercover.el-combined-usage-example

Thanks for your awesome work! :+1:

Author of Buttercup here - thank you very much for your work!

@sviridov Thanks for the examples, but they didn't work for me at first; I did figure it out after a long while of debugging, but maybe it would be useful to highlight in one of the examples that the libraries shouldn't be compiled?
Even better, it would be nice if undercover could complain if no files at all have been tested after a full run. Something like this maybe?
Undercover: No tests seem to have run. Make sure that your files are not compiled?

I don't understand what this is about. buttercup and undercover work great together already without requiring anything special. For example : https://github.com/DamienCassou/klassified.el/pull/7.

@DamienCassou This discussion is a year old :/ Could it be that things got better?
The trouble I did run into at the time was that I was running compiled code, and instrumentation didn't work there, IIRC.

Clément Pit-Claudel<EMAIL_ADDRESS>writes:

@DamienCassou This discussion is a year old :/ Could it be that
things got better?

possibly

The trouble I did run into at the time was that I was running
compiled code, and instrumentation didn't work there, IIRC.

that's still the case: you can't instrument compiled code.
--
Damien Cassou
http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill

that's still the case: you can't instrument compiled code.

edebug has no chance to work with compiled bytecode, as (AFAIU) it does not contain sufficient information to reliably map the bytecode to source line numbers. For this reason, undercover can't work with compiled files either.
It seems to me that there remain no actionables in this issue, so, closing. If there is anything missing, please add a comment and we can reopen, or create a new issue.


Make pipelines more robust to potential missing objects

Should mitigate most of https://github.com/pachyderm/pachyderm/issues/4889
Although we could not find a repro, we expect that the change made here will give us more information about what went wrong while also leaving the cluster in an easier state to recover from.

@adelelopez Is this going in 1.11.0?


Fix 0.3 CAPI version mapping

This change adds a CAPI version mapping to CAPT. The version mapping is metadata used by CAPI when installing the infrastructure provider and it must include the provider version being deployed. This doesn't really fix the problem as we don't intend on cutting a v0.3.1 with the change but it at least creates a record in the history.
v0.4.0 will be cut in the coming weeks.
Additionally update the quick start with URLs that are usable.

@mergifyio queue


Add IN keyword

Still a work in progress
TODO:

[ ] Add tests
[ ] Better type checking

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

Coverage decreased (-1.6%) to 57.682% when pulling 6b4ae2c26103fe6403070b161cdde46f6bb31f5d on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage decreased (-1.5%) to 57.798% when pulling 88cb904f3bb874a085e204206dcff05549c2b384 on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage decreased (-1.4%) to 57.868% when pulling c53ee7961dc607ad281adc86de4dedf51719a62a on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage increased (+0.1%) to 59.387% when pulling 35b6826297a973874b71f2831d1d2181ee8ae694 on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage increased (+0.1%) to 59.387% when pulling 2d828c67ac862093f763714a8236ff81c6e2cd77 on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage increased (+0.5%) to 59.749% when pulling dcd41fbad3ce26bddb0aa079ea89b5ec372f7a0e on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage increased (+0.5%) to 59.732% when pulling e07170b71bbff75c9213cf197822e813e6ad3a0b on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage increased (+0.4%) to 59.71% when pulling dc8dfdf39b78f3f996c32e7bf68e5aae9787c5d0 on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.

Coverage increased (+0.4%) to 59.71% when pulling bbd718cb58c9022a666f354fabaa20941fa9ce99 on nare469:naren-in-keyword into f023b6d0a4cf988272209f77624cd6630d5b5b53 on graphflow:master.


[Scala] Expose register on ThreadSafeFury

Is your feature request related to a problem? Please describe.
The Scala docs say:

If you use shared fury instance across multiple threads, you should create ThreadSafeFury instead by FuryBuilder#buildThreadSafeFury() instead.

But also:

Otherwise if you serialize some scala types such as collection/Enumeration, you will need to register some scala internal types:
fury.register(Class.forName("scala.collection.generic.DefaultSerializationProxy"))
fury.register(Class.forName("scala.Enumeration.Val"))

However register is only available on Fury, not on ThreadSafeFury.
Describe the solution you'd like
How to use register with ThreadSafeFury? It looks like it should be exposed?

One work around is to use this api     R execute(Function<Fury, R> action);
I think it is accepct in this case, and fury is exposed as expected
  @Test   public void test() {     ThreadSafeFury fury = Fury.builder().requireClassRegistration(false).buildThreadSafeFury();     fury.execute(f -> {       f.register(String.class);       return null;     });   }

One work around is to use this api R execute(Function<Fury, R> action);
I think it is accepctable in this case, and fury is exposed as expected
 @Test public void test() { ThreadSafeFury fury = Fury.builder().requireClassRegistration(false).buildThreadSafeFury(); fury.execute(f -> { f.register(String.class); return null; }); }

This is not  what this API for. Registering class here will have thread safety issue. The registration won't propagate to other threads. Maybe We should document this API to avoid such usage.
You can create a ThreadLocalFury with fury factory instead. Then registering the classes you need.

If you want to register on threadsafefury directly, We need to add some callback to propagate to other threads and classloaders, like we did in LoaderBinding.


fix(CardContent): change cardContent doc backgroundColor

Description
change cardContent doc to reflect having only backgroundColor style property without other variants as in Card Component. Removal of backgroundColorDisabled, backgroundColorFocused, and backgroundColorUnfocused.
References
LUI-891
Testing
Go to CardComponent Documentation and view backgroundColor under the Style Properties
Automation
Checklist

[ ] all commented code has been removed
[ ] any new console issues have been resolved
[ ] code linter and formatter has been run
[ ] test coverage meets repo requirements
[ ] PR name matches the expected semantic-commit syntax

Sanity Tests Execution Failed.

Sanity Tests Execution Failed.


Curl returns 000 http status codes on successful download

Description
Our CI involves installing golangci-lint using the official install.sh script. Up until version 20240514.3.0 it worked perfectly fine on the windows-2022 runner, but starting with 20240603.1.0 we see failures during that step:

last successful run: https://github.com/spacemeshos/go-spacemesh/actions/runs/9401526334/job/25893520036
first failing run: https://github.com/spacemeshos/go-spacemesh/actions/runs/9401995087/job/25895032574

I added debug logging and investigated a bit. The download on ubuntu-22.04 produces this output:
curl -sL -o test.txt "https://github.com/golangci/golangci-lint/releases/v1.57.0" -H "Accept:application/json" || (echo "command failed $?"; sh -c 'exit 1')
cat test.txt
{"id":147333011,"tag_name":"v1.57.0","update_url":"/golangci/golangci-lint/releases/tag/v1.57.0","update_authenticity_token":"nAwL2kcAQUHtjrMeooMgnLww_xeC4A1k5WoczU7v4tZOVLGwOzrj8cz0Xioufw76jE4ndi6KiUEbFhdHxmehWg","delete_url":"/golangci/golangci-lint/releases/tag/v1.57.0","delete_authenticity_token":"zbFguiORQue6ycdDAq1RLLmoFhAQcXkBRtnjrJykMsqYqwiWx4l6Xc_QSGM_bJxGZfhri3U3E7fQE2Mr9gcOlw","edit_url":"/golangci/golangci-lint/releases/edit/v1.57.0"}
...
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -d v1.57.0
golangci/golangci-lint info checking GitHub for tag 'v1.57.0'
golangci/golangci-lint debug http_download https://github.com/golangci/golangci-lint/releases/v1.57.0
golangci/golangci-lint info found version: 1.57.0 for v1.57.0/darwin/arm64
golangci/golangci-lint debug downloading files into /var/folders/bl/vp13x8dd5kb94j4t9vz0h1_80000gn/T/tmp.woS1Tw1M
golangci/golangci-lint debug http_download https://github.com/golangci/golangci-lint/releases/download/v1.57.0/golangci-lint-1.57.0-darwin-arm64.tar.gz
golangci/golangci-lint debug http_download https://github.com/golangci/golangci-lint/releases/download/v1.57.0/golangci-lint-1.57.0-checksums.txt
golangci/golangci-lint info installed ./bin/golangci-lint

on windows-2022 however it produces this:
curl -sL -o test.txt "https://github.com/golangci/golangci-lint/releases/v1.57.0" -H "Accept:application/json" || (echo "command failed $?"; sh -c 'exit 1')
cat test.txt
{"id":147333011,"tag_name":"v1.57.0","update_url":"/golangci/golangci-lint/releases/tag/v1.57.0","update_authenticity_token":"s0ROCVwIJTg95FqhH2ycFDrHkDxLkzblL7xP8WIl3rXPSLMS8qMUcp5HPSieazhdpuFp0uUGnTZYw2GuoaBjaA","delete_url":"/golangci/golangci-lint/releases/tag/v1.57.0","delete_authenticity_token":"TWP_CjPRKqKlTHL4ey29WE4zrwclCpk1UsUXV5O0ltfKNQhRzPXV2kJoQv_lAqw8IhxwxGo-FA9LLrDQKgO6Ag","edit_url":"/golangci/golangci-lint/releases/edit/v1.57.0"}
...
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -d v1.57.0
golangci/golangci-lint info checking GitHub for tag 'v1.57.0'
golangci/golangci-lint debug http_download https://github.com/golangci/golangci-lint/releases/v1.57.0
golangci/golangci-lint debug http_download_curl received HTTP status 000
golangci/golangci-lint crit unable to find 'v1.57.0' - use 'latest' or see https://github.com/golangci/golangci-lint/releases for details

The reason for the installation failures seem to be caused by the script checking the returned http header and although the http request was successful and produces the same json as on other runners on windows-2022 for some reason the http response returns the status code 000 instead of 200 causing the install.sh script to fail and the workflow to abort with an error.
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
20240603.1.0
latest CI run with debugging enabled and some extra steps showing the problem: https://github.com/spacemeshos/go-spacemesh/actions/runs/9415941492/job/25938011887
Is it regression?
20240514.3.0 worked perfectly fine - https://github.com/spacemeshos/go-spacemesh/actions/runs/9401526334/job/25893520036
Expected behavior
Curl should not return 000 as http status code on a successful request.
Actual behavior
It seems curl behaves incorrectly in the newest runner image for windows 2022
Repro steps
See decription above

This is also affecting https://github.com/anchore/sbom-action

Quick update: the reason for the 000 status code seems to be the fact that the file is downloaded to a temporary file created with mktemp:
# this prints 000
tmp=$(mktemp)
curl -w '%{http_code}' -sL -H 'Accept:application/json' -o "$tmp" https://github.com/golangci/golangci-lint/releases/v1.57.0

# this prints 200
curl -w '%{http_code}' -sL -H 'Accept:application/json' -o test.json https://github.com/golangci/golangci-lint/releases/v1.57.0

I'm not fully understanding why id did work on the previous version and not this one though 🤷

Hey @fasmat, There seems to be a bug in curl v8.8.0 (which is shipped with git-for-windows v2.45.2) when used with --write-output. It is discussed in https://github.com/curl/curl/issues/13845 and will probably make it to their next release

Thanks for the response @shamil-mubarakshin
I hope that's the issue that we are experiencing. The curl version on the runner however seems to be a different version:
curl --version
curl 8.4.0 (Windows) libcurl/8.4.0 Schannel WinIDN

But the observed issue seems to be the same 🤔

Its 8.4.0 when run from pwsh and 8.8.0 when run from bash

@fasmat - Issue is with curl , lets wait and get the curl issue curl/curl#13845 gets fixed . Hence I am closing this issue.

Is there any way to roll back the git that is installed on the runners? not only does it break curl it also causes regular issues with checking out our repository when building our source:
https://github.com/spacemeshos/go-spacemesh/actions/runs/9577708148/job/26406459251?pr=6049
These are recent issues that we didn't have a few weeks ago.

Out of curiosity, why was this issue closed? The issue is in curl, but it's in the version of curl that is currently in the windows runners. Here is a workflow exhibiting the issue with curl 8.8.0 and showing that the older version, 8.7.1 does not have the problem: https://github.com/kzantow-anchore/sbom-action-test/actions/runs/9860639787/job/27227290279
Note that the default curl fails.
    runs-on: windows-latest
    steps:
      - run: sh -c 'curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh > $(pwd)/install.sh'
      - run: |
          md curl
          curl https://curl.se/windows/dl-8.7.1_3/curl-8.7.1_3-win64-mingw.zip > curl/curl.zip
          cd curl
          unzip curl.zip
      - run: sh -c 'PATH="$(pwd)/curl/curl-8.7.1_3-win64-mingw/bin:$PATH" curl --version'
      - run: sh -c 'PATH="$(pwd)/curl/curl-8.7.1_3-win64-mingw/bin:$PATH" sh $(pwd)/install.sh -b curl-8.7.1'
      - run: sh -c 'curl-8.7.1/syft version'

      - run: sh -c 'curl --version'
      - run: sh -c 'sh $(pwd)/install.sh -b curl-8.8.0'
      - run: sh -c 'curl-8.8.0/syft version'

runs-on: windows-latest
steps:
  - run: sh -c 'curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh > $(pwd)/install.sh'
  - run: |
      md curl
      curl https://curl.se/windows/dl-8.7.1_3/curl-8.7.1_3-win64-mingw.zip > curl/curl.zip
      cd curl
      unzip curl.zip
  - run: sh -c 'PATH="$(pwd)/curl/curl-8.7.1_3-win64-mingw/bin:$PATH" curl --version'
  - run: sh -c 'PATH="$(pwd)/curl/curl-8.7.1_3-win64-mingw/bin:$PATH" sh $(pwd)/install.sh -b curl-8.7.1'
  - run: sh -c 'curl-8.7.1/syft version'

  - run: sh -c 'curl --version'
  - run: sh -c 'sh $(pwd)/install.sh -b curl-8.8.0'
  - run: sh -c 'curl-8.8.0/syft version'


Need help to implement swipe gesture similar to apple health

How can we replicate the swipe functionality seen in Apple Health, where a slow swipe scrolls between days, but a quick swipe navigates directly to the previous or next month? We have the offset for the previous month, but due to multiple calls to onScroll, we struggle to determine the delta. Additionally, the graph moves before onMomentEnd, leading to a lack of smoothness. Could you propose a workaround for these issues?

Could you use swipe length threshold? Or alternatively count threshold of ms for the swipe.
E.g., count how many ms takes to start -> stop gesture, if below X funA if above X () => funB


[Bug Report] Over-generous inventory detection picks up other plugins

Describe the bug
Auction inventory detection results in meddling with other plugin-created inventories, such as preventing interaction.
Versions (please complete the following information):

Minecraft Server Version: Any, confirmed via source code
Plugin Version: 1.2.15

Pastebin any errors in console
Link: https://rb.gy/gq3vae
Issue
Here's an example from the code
https://github.com/badbones69/Crazy-Auctions/blob/4de44321cf616650bde6d1005be39abd0ee85917/src/main/java/me/badbones69/crazyauctions/controllers/GUI.java#L483-L484)
If, for whatever reason, a user configures this plugin and another plugin to have similar titles such that one of the CrazyAuctions titles is even just a part of that other plugin's title, CrazyAuctions will cancel the event at a minimum and possibly (untested) would take further CrazyAuctions actions based on a player's interaction inside another plugin's inventory.
My experience was a PlayerVaults user who couldn't move items in to or out of their vault because (as determined after much testing and plugin binary searching), CrazyAuctions was configured to use a simple word as one of the inventory titles and PlayerVaults was configured to have its vault names start with that same simple word.
I believe this could be fixed fairly simply by utilizing a custom InventoryHolder rather than putting in null as you currently do when creating inventories, and then testing for that holder. But I don't play too much with inventory adventures and this may require something else like closer monitoring of when the player's in an auction related inventory. 🙂

Added to project board.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
13 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
sanity-inspect-image

✅ Succeeded
59 seconds
clamav-scan

✅ Succeeded
21 seconds
clair-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary


how to show full year calender

i want to show a full calender in a view controller for a project. so please suggest me how to customize the calender accordingly.

Please notice that the issue tab is not for how-to-use.

Is there any methods available to achieve this ?


Allow bigint as an index type because number is allowed too

Suggestion
The bigint type currently is not allowed as an index type requiring an explicit string cast.
const n = 100n;

const obj = {};
obj[n] = 1;

In JS, it's automatically cast as a string. This is what happens with numbers too. If numbers are automatically cast to strings, then why not allow bigint to be indexable as well? It would avoid having to explicitly cast all the time when it's not necessary in JS.
🔍 Search Terms
bigint index
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Just make bigint indexable.
📃 Motivating Example
const n = 100n;

const obj = {};
obj[n] = 1;

This is IMO a pretty reasonable suggestion that would smooth out some use cases, like going from reasonable bit masks that fit within the safe range of the number type to very large bitmasks that require bigints to work, without any drawbacks (that I can think of anyway).

Maybe a somewhat compelling use case: I have like hundreds of errors because bigints are not treated like numbers in records here: https://github.com/fabiospampinato/shosho/blob/7d688cf74a1a44aca7454c54902a606974f86053/src/maps.ts#L300-L817

👋 2024 here with a bump :)

The fact that #19139 isn't available either makes this extra frustrating.

👀 Microsoft deleted a comment from me 15 hrs ago - I wasnt even aware I commented this issue ever.
What's going on? Anyone happen to have a screencap for me to investigate? Got no suspicious activity according to the GH settings page nor idle sessions etc.

Your comment was simply noting what year it is.

Huh... oh well.. I guess that's reasonable for deletion. And here I was fearing the worst, some spamlinks or similar.
Thanks for clarification!

3 years have passed and no advances? I got hundreds of errors due to this. Just why can't bigint be used as index type but number can? It causes no issues in JS.


framework not found OHHTTPStubs

Installed OHHTTPStubs using pods but getting error some time for not finding it on the derived data of build machine. Following is the error logs:
⚠  ld: directory not found for option '-F/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-gtngiaipxuhhfpfjxfwgtnylckkw/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/BuildProductsPath/Debug-iphoneos/OHHTTPStubs-b1c8d455'
❌  ld: framework not found OHHTTPStubs
❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

@navpreet-gogana thanks for submitting this! are you able to submit a sample app with this behavior to help us troubleshoot?

@jeffctown I don't have a problem building it on the local machine but this problem occurs on the cloud build machine. I can try making a sample app and try to reproduce the same but it happens randomly so not sure what the problem is but failed with this same error.
Also what I had found that in the Framework search path OHHTTPStubs value is "${PODS_CONFIGURATION_BUILD_DIR}/OHHTTPStubs-b1c8d455"
In Pod file
target 'Project' do
pod 'OHHTTPStubs/Swift', '~>8.0'
end
target 'ProjectTests' do
pod 'OHHTTPStubs/Swift', '~>8.0'
pod 'OHHTTPStubs'
end

@jeffctown Any update like on the issue. Is it any setting that I need to change?

I had added another OHHTTPStubs-b3..... to the framework search path it builds well and executed Then I reverted my changes but now it starts giving me the following error:
❌  error: Multiple commands produce '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework':
unexpected mutating task ('SetOwnerAndGroup greenhouse:staff /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework') with no relation to prior mutator ('SetOwnerAndGroup greenhouse:staff /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework') (in target 'OHHTTPStubs-b1c8d455')
unexpected mutating task ('SetMode u+w,go-w,a+rX /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework') with no relation to prior mutator ('SetMode u+w,go-w,a+rX /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework') (in target 'OHHTTPStubs-b1c8d455')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/Compatibility.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/Compatibility.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/Compatibility.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubsResponse+JSON.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubsResponse+JSON.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/NSURLRequest+HTTPBodyTesting.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/NSURLRequest+HTTPBodyTesting.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/NSURLRequest+HTTPBodyTesting.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/PrivateHeaders/OHHTTPStubsMethodSwizzling.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/NSURLSession/OHHTTPStubsMethodSwizzling.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/PrivateHeaders/OHHTTPStubsMethodSwizzling.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubs.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubs.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubs.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubsResponse.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHHTTPStubsResponse.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubsResponse.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHPathHelpers.h' on task: CpHeader /Users/greenhouse/tmpcnvw898l/Pods/OHHTTPStubs/OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHPathHelpers.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/OHHTTPStubs' on task: CreateUniversalBinary /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/OHHTTPStubs normal armv7 arm64 (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: CreateUniversalBinary /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/OHHTTPStubs normal armv7 arm64 (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/module.modulemap' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/module.modulemap /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/module.modulemap (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm.swiftdoc' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm.swiftdoc /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/armv7/OHHTTPStubs.swiftdoc (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm.swiftmodule' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm.swiftmodule /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/armv7/OHHTTPStubs.swiftmodule (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm64.swiftdoc' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm64.swiftdoc /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/arm64/OHHTTPStubs.swiftdoc (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm64.swiftmodule' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/arm64.swiftmodule /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/arm64/OHHTTPStubs.swiftmodule (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/armv7.swiftdoc' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/armv7.swiftdoc /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/armv7/OHHTTPStubs.swiftdoc (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/armv7.swiftmodule' on task: Ditto /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Modules/OHHTTPStubs.swiftmodule/armv7.swiftmodule /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/armv7/OHHTTPStubs.swiftmodule (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework' on task: MkDir /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: MkDir /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers' on task: MkDir /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: MkDir /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/PrivateHeaders' on task: MkDir /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/PrivateHeaders (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: MkDir /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/PrivateHeaders (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Info.plist' on task: ProcessInfoPlistFile /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Info.plist /Users/greenhouse/tmpcnvw898l/Pods/Target Support Files/OHHTTPStubs-b3117b62/Info.plist (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: SetMode u+w,go-w,a+rX /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: SetOwnerAndGroup greenhouse:staff /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: SetOwnerAndGroup greenhouse:staff /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework (in target 'OHHTTPStubs-b3117b62')
duplicate output file '/Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubs-Swift.h' on task: SwiftMergeGeneratedHeaders /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework/Headers/OHHTTPStubs-Swift.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/arm64/OHHTTPStubs-Swift.h /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/Pods.build/Debug-iphoneos/OHHTTPStubs-b3117b62.build/Objects-normal/armv7/OHHTTPStubs-Swift.h (in target 'OHHTTPStubs-b3117b62')
duplicate output file '' on task: Touch /Users/greenhouse/Library/Developer/Xcode/DerivedData/Halo-fpuvgqhbmpgsqechsfuvdgfxjuwn/Build/Intermediates.noindex/ArchiveIntermediates/HaloDebug/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/OHHTTPStubs.framework (in target 'OHHTTPStubs-b3117b62')

You can repreduce, you need install 9.0 version with SPM.
Example error
Module 'OHHTTPStubs' has no member named 'removeStub'

You can repreduce, you need install 9.0 version with SPM.
Example error
Module 'OHHTTPStubs' has no member named 'removeStub'

I think that class name migrated to "HTTPStubs" witout any information :)


Render JWT claims after successful login

This is intended to address #99 / Display JWT claims after successfully signing in.
I understand from the OP that there may be some concern about displaying the information.
For that reason, I've broken this into two commits, the first of which exposes the claims to the commandline template, and the second of which actually renders the claims in the template. If the security concern persists, and you don't want to render the claims by default, then perhaps the first commit could still be merged, so that folks who want to "throw caution to the wind" can do so via a custom template?
Also, I allowed a random trailing space in the template to be removed by my editor. Hope that's ok. :)

I would love to have this for nothing more then additional flexibility on what I can use in a custom template.  Username's look like UUIDs in keycloak for example, so I could use Claim.name.


BUG: internal type error in scipy.sparse.csgraph._matching.min_weight_full_bipartite_matching

Describe your issue.
scipy.sparse.csgraph._matching.min_weight_full_bipartite_matching reports an internal type error even with simple data.
Reproducing Code Example
Python 3.11.5 (main, Sep 11 2023, 13:54:46) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.sparse.csgraph.min_weight_full_bipartite_matching(scipy.sparse.coo_array(([1, 2, 3], ([0, 1, 2], [0, 1, 2]))), maximize=True)

Error message
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_matching.pyx", line 499, in scipy.sparse.csgraph._matching.min_weight_full_bipartite_matching
ValueError: Buffer dtype mismatch, expected 'ITYPE_t' but got 'long'

SciPy/NumPy/Python version and system information
1.11.4 1.26.4 sys.version_info(major=3, minor=11, micro=5, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /home/piyushs/miniconda3/include
    lib directory: /home/piyushs/miniconda3/lib
    name: mkl-sdl
    openblas configuration: unknown
    pc file directory: /home/piyushs/miniconda3/lib/pkgconfig
    version: '2023.1'
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /home/piyushs/miniconda3/include
    lib directory: /home/piyushs/miniconda3/lib
    name: mkl-sdl
    openblas configuration: unknown
    pc file directory: /home/piyushs/miniconda3/lib/pkgconfig
    version: '2023.1'
  pybind11:
    detection method: pkgconfig
    include directory: /home/piyushs/miniconda3/include
    name: pybind11
    version: 2.10.4
Compilers:
  c:
    commands: /croot/scipy_1701295040508/_build_env/bin/x86_64-conda-linux-gnu-cc
    linker: ld.bfd
    name: gcc
    version: 11.2.0
  c++:
    commands: /croot/scipy_1701295040508/_build_env/bin/x86_64-conda-linux-gnu-c++
    linker: ld.bfd
    name: gcc
    version: 11.2.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.36
  fortran:
    commands: /croot/scipy_1701295040508/_build_env/bin/x86_64-conda-linux-gnu-gfortran
    linker: ld.bfd
    name: gcc
    version: 11.2.0
  pythran:
    include directory: ../../_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_p/lib/python3.11/site-packages/pythran
    version: 0.13.1
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /home/piyushs/miniconda3/bin/python
  version: '3.11'

I just realized that this is technically not  bug.  The error goes away if I use a csr_matrix instead of a csr_array as input to the scipy.sparse.csgraph.min_weight_full_bipartite_matching function.  This is what the documentation also asks for (it only mentions sparse matrices, not sparse arrays).  However, I was confused because the top-level documentation of scipy.sparse seems to recommend users to prefer arrays rather than matrices in new code.  Perhaps a warning in the documentation for scipy.sparse.csgraph.min_weight_full_bipartite_matching that the input must be a sparse matrix and not a sparse array would be sufficient.

That indicates it is a bug in the sparse array interface.  If it works for csr_matrix it should also work for csr_array.
So this is indeed a bug. Thanks for reporting it!

This appears to be a bug that the function does not work if the indices are of type np.int64. It occurs for coo_matrix when indices are big enough to need int64 to be stored.
import scipy as sp
A = sp.sparse.coo_matrix([1,2,3], ([1,2,3**34], [1,2,3]))
sp.sparse.csgraph.min_weight_full_bipartite_matching(A, maximize=true)  # leads to the same error

I don't know enough of the guts of csgraph or cython to figure out if this should work with np.int64 indices. But that's the fundamental question.
A workaround for csr_array with smaller_than_int32max index values is to use int32 values when defining the matrix.
A = sp.sparse.csr_array(([1, 2, 3], (np.array([0, 1, 2], dtype=np.int32), np.array([0, 1, 2], dtype=np.int32))))

But the real fix is to make this function work for int64 indices.  [The reason csr_array uses int64 is because it follows the protocol that type should not depend on value -- only dtype of incoming values. And incoming values are python ints.)

I've had a quick look at this. It looks like we are defining the work arrays as ITYPE which is an alias for np.int32. You can see the definitions below:
https://github.com/scipy/scipy/blob/9a5118633252eb714e1abcafba036d4295a146be/scipy/sparse/csgraph/_matching.pyx#L580-L597
I'm not 100% sure if this is right, but, maybe we should work on templating the underlying function based on the dtype of the incoming array?

I've got the same error for scipy 1.12.0, but when I downgrade to 1.10.1 it works. 1.11.0 also gives the same error.
I was using a graph dumped by networkx for this.
from scipy.sparse.csgraph import maximum_bipartite_matching

# graph is of type networkx.classes.graph.Graph
g = networkx.to_scipy_sparse_array(graph, dtype=np.int32)
matches = maximum_bipartite_matching(g)

Gives this output:
>   ???
E   ValueError: Buffer dtype mismatch, expected 'ITYPE_t' but got 'long'

_matching.pyx:142: ValueError

Mine is not solved by converting to matrix tho, still gives the same error.


Refactor/Move classes  to common from Msal to call acquireToken and acquireTokenSilent from common directly

Thanks @heidijinxujia . Addressed your comments, have a look when you get a chance

Thanks @iambmelt for the review and feedback, made changes as appropriate. Also addressed the issue : https://github.com/AzureAD/microsoft-authentication-library-for-android/issues/478

Thanks @kreedula -- starting second pass review

LGTM, thanks @kreedula!


Scripting view definition Failed

Issue Type: Bug

Open up the 'Manage' dashboard by right clicking database -> 'Manage'
Filter for specific table or view
Script as Create

Error:
Microsoft.SqlServer.Management.Common.ConnectionFailureException: Failed to connect to server xxx- ondemand.sql.azuresynapse.net.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Login failed for user ''. Token is expired.
at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)    at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.SqlServer.Management.Common.ConnectionManager.InternalConnectImpl()
at Microsoft.SqlServer.Management.Common.ConnectionManager.InternalConnect()
at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
ClientConnectionId:b6e968d3-eb6d-465b-b0bc-93ab30ab9c8b
Error Number:18456,State:233,Class:14
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Common.ConnectionManager.Connect()
at Microsoft.SqlTools.ServiceLayer.Scripting.ScriptAsScriptingOperation.Execute() in D:\a_work\1\s\src\Microsoft.SqlTools.ServiceLayer\Scripting\ScriptAsScriptingOperation.cs:line 84
Azure Data Studio version: azuredatastudio 1.41.1 (33dce95b152227c4f10f6251ab30690fe9895c0c, 2023-01-28T00:46:39.274Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Preview Features: Enabled

System Info

Item
Value

CPUs
AMD EPYC 7763 64-Core Processor                 (16 x 2445)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
undefined

Memory (System)
64.00GB (33.15GB free)

Process Argv

Screen Reader
no

VM
0%

Might be related to:

https://github.com/microsoft/azuredatastudio/issues/21774
https://github.com/microsoft/azuredatastudio/issues/21766

@lewis-sanchez, can you please take a look into this

Hi @ltsyen, it looks like this issue is fixed in the latest insiders version of Azure Data Studio. Can you please install the latest insiders version and try to generate scripts there?

@lewis-sanchez in which PR has this issue been addressed?
I'll check it out.

Hi @ltsyen, it looks like this issue is fixed in the latest insiders version of Azure Data Studio. Can you please install the latest insiders version and try to generate scripts there?

Hi @lewis-sanchez , yesterday I got the same error when working in the insiders version. Forgot to take the errors log when it happened.
If it happens again, I will take the logs and attach them here.
But it does not seem to be fixed ...

@ltsyen
For ref: https://github.com/microsoft/azuredatastudio/issues/21774#issuecomment-1457276049
Please enable mssql.enableSqlAuthenticationProvider setting to resolve issue (available in the latest insiders build).


Store emulator config profiles in flow.json

Issue To Be Solved
If a user wants use multiple configurations for the emulator (with and without fees), they currently have to change CLI flags or environment variables. It would be nice if there was a way to persist the emulator configuration for specific project.
Suggest A Solution
Store emulator config profiles in flow.json, keyed by name.
flow emulator start --config "foo"

@psiemens I believe this should be moved to the CLI?