[Question]: How to decide the number of dimensions to query a vector index with ?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
So I have the below code
`        pathname = os.path.join(os.getcwd(),embed_folder_name)
pathname = os.path.join(pathname, document['DOI_CROSSREF'])
content = document["content"]
doc = Document(text=content)
node_parser = HierarchicalNodeParser.from_defaults(chunk_sizes=chunk_size)
nodes = node_parser.get_nodes_from_documents([doc])
len(nodes)
db = 'staging'
collection = 'abhay_test'
    vector_store = MongoDBAtlasVectorSearch(client, db_name=db, collection_name=collection, index_name="nanopore_index", embeddings = OpenAIEmbeddings())
    storage_context = StorageContext.from_defaults(vector_store=vector_store)
    index = VectorStoreIndex(nodes=nodes, storage_context=storage_context,)
    index1 = VectorStoreIndex.from_vector_store(vector_store)

    postproc = None
    reranker = SentenceTransformerRerank(top_n = rr_metadata)
    retriever = index.as_retriever(similarity_top_k=retrieval_metadata_similarity)
    retriever = AutoMergingRetriever(retriever,index.storage_context,verbose=True)
    response_synthesizer = get_response_synthesizer(response_mode=response_mode)
    node_postprocessors = [postproc, reranker]
    node_postprocessors = [processor for processor in node_postprocessors if processor is not None]
    query_engine = RetrieverQueryEngine(retriever, node_postprocessors=node_postprocessors)
    summary_whole = query_engine.query(rag_prompt_original)`

and in the last line, I get the following error
`
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\pymongo\network.py:192 in command
helpers._check_command_response(
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\pymongo\helpers.py:230 in _check_command_response
raise OperationFailure(errmsg, code, response, max_wire_version)
OperationFailure: PlanExecutor error during aggregation :: caused by :: vector field is indexed with 256 dimensions but queried with 1536, full error: {'ok': 0.0, 'errmsg': 'PlanExecutor error during aggregation :: caused by :: vector field is indexed with 256 dimensions but queried with 1536', 'code': 8, 'codeName': 'UnknownError', '$clusterTime': {'clusterTime': Timestamp(1712306589, 4), 'signature': {'hash': b'm\xcc\xdd\x0cx\xa3\x11\x06\x13\xfbJ\xa7\xa2\x8d\xa7\x80w\xee\x14\xe8', 'keyId':<PHONE_NUMBER>940597260}}, 'operationTime': Timestamp(1712306589, 4)}`
I already know that my vector index in mongodb is of 256 dimensions. but not sure where did the 1536 number come from?

This is a repeat, I answered in another issue.


Alert when index has not received new docs during x minutes

Hello,
Any ideas about how to do a rule that sends an alert if the number of documents on an index stays the same during 20 minutes?

type: flatline
threshold: 1
timeframe:
  minutes: 20


Fix flag spelling

I don't think it's correct (?). --transpile-only works but not --transpileOnly.

@MarvinRudolph to be in align with ts-node

@whitecolor Yea that's fine. I meant the commit because it changes it from --transpile-only to --transpileOnly but maybe because it's from November 2019.


support get_bitinformation(masked_value=None)

supply masked_value="nothing" to julia

just clarifying masked_value=NaN is enabled by default and was before this PR. new is just that None gets converted to "nothing" disabling masking


A Tutorial demonstrating using Prometheus and Grafana with Caliper

Optionally we could include fabric to also show fabric metrics but this means a reliance of fabric

Hi @davidkel ! Can I take up this issue and start working on it?


charter: Add a section on OCI Projects

Because "everything the OCI is working on" is usually more important than
distinguishing between specifications and implementations.  And
"OCI Specifications and/or OCI Projects" (which was used several times)
didn't list the certification tooling or application described in the
Trademark Board's old f.i ("creating the OCI trademarks associated with OCI
Specifications, OCI Projects, the Open Container Format (OCF) or OCI
Certified Solution").  It's better to just lump all these efforts together
under "OCI Projects" and then reference them as a group later in the
charter.
This builds on #1, so that should be merged first.  I'm happy to
rebase this off of #1 if #1 ends up being more controversial than I
expect ;).

I'm also not sure what the established terminology would be for “being a certificate authority” (where I've used “certification application”).  Is there a better term for using existing tools to accept, judge, and publish the results of certification applications?

OCI members can figure this out amongst themselves, and don't have a channel for input from external parties like me.

There is an OCI Projects §2 in the adopted charter :).


how to connect discord to these badges

I want to know how to connect the discord server to the badges

Hi @puppala-koushik,
I don't understand your question, could you please explain more?
Thanks, regards. @Naereen

Means we are getting discord server online members count how to to get it

Hi again @puppala-koushik,
Well it's explained there: https://github.com/Naereen/badges#discord
For more information, see https://shields.io/, look for Discord in the search bar, and there is a small tutorial.


Make ContinueOnError actually work

In resource.Builder ContinueOnError() should actually do so.
Reorganized util.CheckErr() to make it display bulk errors more
effectively and be more reusable. Clarified that CheckErr is not
specific to kubectl in Godoc. Changed the "Error: " prefix to
"error: " to more closely match Unix conventions.

Assigning to @brendandburns, feel free to reassign.

@jlowdermilk maybe?

LGTM.  Unit tests (at least for the bits that were previously broken?)

Yeah, will add.
----- Original Message -----

LGTM.  Unit tests (at least for the bits that were previously broken?)

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8237#issuecomment-102405188

Test added and nits addressed.
----- Original Message -----

Yeah, will add.
----- Original Message -----

LGTM.  Unit tests (at least for the bits that were previously broken?)

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/pull/8237#issuecomment-102405188

lgtm

Shippable green, merge?


Want to send data to Zapier using Webhook

Hello,
I want to send data to Zapier for notifying events in Zapier. For example, whenever there will be Add or delete of employee record in my application, I want to raise event to Zapier with data.
After receiving data in zapier, I can then create actions there.
Should I use Webhook.sender or webhook.receiver?
Thanks

If you want to send data to Zapier after some event occur in your application, you have to use the sender.
If you want to receive data from zapier after an action from another app you just need to point zapier to your API end point.
From your first Paragraph it looks like you want to use the sender, I'm implementing this right now and it is working, I may write a blog post about this later, but if you need any help you can ask here.
Check this issue from me https://github.com/aspnet/WebHooks/issues/115 because it is related to Zapier and you may need to do the same inheritance.

Hello,
Thank for your prompt reply
This is exactly what I understand. But in this example, event is firing from client application (receiver) and not from sender
https://blogs.msdn.microsoft.com/webdev/2015/09/15/sending-webhooks-with-asp-net-webhooks-preview/
Would you give a simple example for implementing it. How I can raise even with data whenever there is AddEmployee in my application?

What DB are you using?

SQL Server

Any update?

I'm a bit busy right now, I can answer for extensively tomorrow, but you need to check the Microsoft.AspNet.WebHooks.Custom.SqlStorage project here in the repo, and then use Microsoft.AspNet.WebHooks.Custom
The problem with the blog post in your comment is that it is an example to trigger webhooks in a MVC controller, but I'm guessing you need to trigger it from another part of your domain, so you need to read a bit the code in the repos, and try to use their classes.
I have been thinking about writing a blog post about this when I have a bit more time :)
Start with the SqlStorage project, read the Readme and run the migration on your database.

Thank you very much for you reply
I am able to download and setup SqlStorage.
Regarding your second point:
I will see code also but first I want understanding in this Microsoft blog
http://www.awesomescreenshot.com/image/2267757/2b803aaf8962b10dacd1e21f91f9649c
See red squared text. This even is triggering from Client (Receiver) from HTML page. How I can I raise event from Webhook sender?

Any update about article:
I am trying to get Microsoft sample application in Zapier
https://blogs.msdn.microsoft.com/webdev/2015/09/15/sending-webhooks-with-asp-net-webhooks-preview/
This sample application is available on
test.livetecs.com.
I am trying to implement this test webhook application in Zapier. But I am getting error
http://www.awesomescreenshot.com/image/2280829/e2a64751f6e7ccd2f41048f68a513474
Please suggest
Shahzad Godil


How to generate peptides in multiple batches

Hello.
Thanks for this awesome work.
I am trying to find a way to generate a large number of peptides without running out of memory. I tried modifying the provided inference.yaml file as follows
 # Training mode
  use_ddp : False

  # Training arguments
  #eval_batch_size: ${inference.sampling.samples_per_length}
  eval_batch_size: 64
  batch_size: 64
  num_loader_workers: 4
  use_gpu: True
  num_gpus: 1
  sample_mode: time_batch

  # Evaluation.
  eval_ckpt_path: ${oc.env:BASE_PATH}/experiments/checkpoints/diffpepbuilder_v1.pth
  eval_dir: ${oc.env:BASE_PATH}/tests

inference:
  seed: 42

  # Save the denoising trajectory.
  save_traj: False

  denoising:
    # Number of steps.
    num_t: 200
    # Analogous to sampling temperature.
    noise_scale: 1.0
    # Final t.
    min_t: 0.01

  sampling:
    # Number of peptide backbone samples per sequence length.
    samples_per_length: 128
    # Minimum sequence length to sample.
    min_length: 8

But this generates only 64 peptides.
Can you please tell me how I can generate 256 peptides in total, for example, by generating 64 at a time?
Best,
Amin.

Thanks for your interest in our work and sorry for any confusion. Setting experiment.eval_batch_size=64 (or inference.sampling.samples_per_length=64 while keeping experiment.eval_batch_size unmodified) will indeed generate 64 peptides per length at a time. Currently, DiffPepBuilder does not support automatic multiple runs. To generate 256 peptides in total by generating 64 at a time, please modify inference.seed for each run and execute the process manually.

Thanks @YuzheWangPKU


Add support for |> pipe

It would be great  if  pipda supported the |> pipe which has become common place in base R, Julia,  and others.

I don't know much about |>. Does it behave similarly to %>%? One of the problems for |> is that python doesn't support this operator. Wherever we put it, it will be a syntax error.

Here is a table of operators supported by python.
https://docs.python.org/3/library/operator.html#mapping-operators-to-functions

Yes,  |> does behave similar to %>% . Too bad it cannot be used in Python
In R
mtcars |> head()
In Julia's base
julia> [1:5;] |> x->x.^2 |> sum |> inv
In Julia's Queryverse
cars |> @filter(_.Origin=="USA" |> save("us_cars.csv")

pipda actually supports switching piping sign:
from pipda import register_piping

register_piping('|')

@register_verb(...)
def verb(...):
  ...

data | verb(...)

It is fixed to >>, however, in datar.


Simplify (x^1) != 0

Version and Platform (required):

Binary Ninja Version: 4.1.5428-dev, 5597859f
OS: macos
OS Version: 14.5
CPU Architecture: arm64

Internal binary major dine favor.
In DjiAircraftInfo_GetAircraftTypeByCameraVersion...
I believe this
00047d64          if (zx.d(DjiError_IsSuccess(err_code) ^ 1) != 0)

should be written != 1 for clarity.
IDA does this
    if ( !DjiError_IsSuccess_localalias_0(err_code) )

Related to https://github.com/Vector35/binaryninja-api/issues/5526 and https://github.com/Vector35/binaryninja-api/issues/5525

Fixed in 4.2.5894-dev


chore (northlight): added semantic ai-alt color token

Added semantic ai-alt color tokens to webapp and tott. They are going to be used as bg colors in ai-variant of toast/alert/tooltip

Correction: it is to use in toast/alert


add electron-devdocs 0.9.2

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

As pointed out by @gobinathm this is too obscure for us to accept, but thank you for your submission.

@gobinathm @miccal Devdocs has no official release of desktop version, this package is a new app that wraps devdocs.io.

@gobinathm okay, maybe this repo get more stars then i will reopen this pr.


Add 'org.jboss.container.deployments-dir'  to S2IDeploymentsDir

Some older images are using this label for deployment dir.
For example java:8 and java:11 builder images  on OCP 4.2 are using this
label.

/retest

/retest

/approve

/lgtm

/retest

/refresh


Use a Union generator to simplify tests

Codecov Report

Merging #122 into master will decrease coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   97.21%   96.86%   -0.35%
==========================================
  Files           6        6
  Lines         287      287
  Branches       33       33
==========================================
- Hits          279      278       -1
- Misses          8        9       +1

Impacted Files
Coverage Δ

core/src/main/scala/org/typelevel/paiges/Doc.scala
96.53% <0%> (-0.5%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update debbe96...15f735f. Read the comment docs.

Is the code coverage failure a problem?  It seems spurious in this case.  If you like, I'll add some other test to placate it.


overworld worldUniqueId is zeros

The UUID for the default overworld is 00000000-0000-0000-0000-000000000000.
The nether and end world UUID's are generated as expected.

Doesn't happen for me. The only thing I can think of is that the level_sponge.dat file is missing the uuid_most and uuid_least entries. Could be that your world was created before the world creation was added or something. Shouldn't happen on a clean world. Delete level_sponge.dat and let it regenerate, it should have a random UUID assigned.

This is happening in single player.


KOGITO-8214: Improvements to the deployment flow on Serverless Logic Web Tools

https://issues.redhat.com/browse/KOGITO-8214
This PR includes code reorganization on the Serverless Logic Web Tools package to make the deployment flow extensible, thus enabling the incorporation of customizable deployment flows.
Now we have OpenShift pipelines and deployment strategies. An OpenShift pipeline executes a set of related operations on OpenShift, such as resources that need to be created during the deployment operation, and resources that need to be fetched to load the user's deployments. A deployment strategy, on the other hand, builds up what needs to be done for creating a particular deployment kind.

@caponetto Would it be feasible to introduce unit tests for these changes?

@caponetto Would it be feasible to introduce unit tests for these changes?

Thanks for bringing this up! I've added a few unit tests that made sense. The other parts of the code would basically end up with walls of mocks, which I don't believe are valuable.


Adding logging to error controller

Adds a null logger to the error controller.  Provides a way to replace the logger being used.  Provides documentation recommending the same logger be used in user code.

@andyj8 any views on this approach?


[smoke-tests] SourceBuiltSdkContainsNativeDebugSymbols test is failing in local build of latest VMR [release/8.0.1xx]

Latest VMR sha (4865a1568a19f5ac4faf150160ff9ed7218adc55) in release/8.0.1xx branch - local build on Fedora 36 is failing the smoke-tests, with SourceBuiltSdkContainsNativeDebugSymbols test failing.
 [xUnit.net 00:00:04.67]     Microsoft.DotNet.SourceBuild.SmokeTests.DebugTests.SourceBuiltSdkContainsNativeDebugSymbols [FAIL]
  [xUnit.net 00:00:04.68]       System.ComponentModel.Win32Exception : An error occurred trying to start process 'file' with working directory '/src/git/dotnet3/test/Microsoft.DotNet.SourceBuild.SmokeTests/bin/Release/net8.0'. No such file or directory
  [xUnit.net 00:00:04.68]       Stack Trace:
  [xUnit.net 00:00:04.68]            at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
  [xUnit.net 00:00:04.68]            at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
  [xUnit.net 00:00:04.68]         /src/git/dotnet3/test/Microsoft.DotNet.SourceBuild.SmokeTests/ExecuteHelper.cs(68,0): at Microsoft.DotNet.SourceBuild.SmokeTests.ExecuteHelper.ExecuteProcess(String fileName, String args, ITestOutputHelper outputHelper, Boolean logOutput, Action`1 configureCallback, Int32 millisecondTimeout)
  [xUnit.net 00:00:04.68]         /src/git/dotnet3/test/Microsoft.DotNet.SourceBuild.SmokeTests/ExecuteHelper.cs(111,0): at Microsoft.DotNet.SourceBuild.SmokeTests.ExecuteHelper.ExecuteProcessValidateExitCode(String fileName, String args, ITestOutputHelper outputHelper)
  [xUnit.net 00:00:04.68]         /src/git/dotnet3/test/Microsoft.DotNet.SourceBuild.SmokeTests/DebugTests.cs(69,0): at Microsoft.DotNet.SourceBuild.SmokeTests.DebugTests.IsElfFile(String fileName)
  [xUnit.net 00:00:04.68]         /src/git/dotnet3/test/Microsoft.DotNet.SourceBuild.SmokeTests/DebugTests.cs(33,0): at Microsoft.DotNet.SourceBuild.SmokeTests.DebugTests.SourceBuiltSdkContainsNativeDebugSymbols()
  [xUnit.net 00:00:04.68]            at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
  [xUnit.net 00:00:04.68]            at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

If you are using our Docker images, you may need to pull latest as there were a couple new packages added for this new test.  See https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/891/

Closing - this did not repro with latest Fedora 38 image: mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-38


Add Docker support

Add docker support for self hosted deployments.

@rohidisdev I have created a PR from the docker branch.
Please let me know if there are enhancements/corrections to be made,
Regards,
Ankur Paul (@nooobcoder)

Hi @nooobcoder 👋
I just merged your code. Thank you so much for your contribution 😎


Show HTML Code

Hi,
at first... this is a great plugin, i love it really. But i'm still missing the raw code button to show the html code in my editor window.
how can i add this function to my script?

+1

My exact issue. Love the plugin but having ability to view / edit source be wonderful.


Stop BITBOX from manging SLP OP_RETURN

This PR prevents the BITBOX Script class from mangling the SLP OP_RETURN. Specifically, the BITBOX.Script.compile() function.
The current implementation, when presented with 0x01 hex in a Buffer, will replace it with 0x51, which is OP_1 in BTC. This PR prevents it from doing that.
There is a unit test that I could include with this PR, but this repo is badly neglected and I couldn't get tests to run as-is. I decided to opt for a PR with minimal changes.

Is that not the expected behavior for this type of method?

I'm a little reluctant to merge this because it could have side effects or regressions which we aren't considering and which aren't accounted for in the tests.

Very valid concerns. I'm concerned by the fact that tests don't run in this library and that there are close to 50 vulnerabilities reported by npm for this library. As you say, there could also be side effects and regressions as a result of this change.
But I've already made these changes in bch-js, my fork of BITBOX, and I can now make valid SLP OP_RETURN calls. I also have unit tests to cover these changes in that library.
Not an easy call to make. But we can maintain the status quo, or move the ball forward.

There are other apps out there besides SLP which use OP_RETURN. How can we be confident that this change doesn't introduce a regression in to those other apps?

One way we could be sure to not introduce regression errors would be to create a new function. Here is one approach:

Create a new function in the script.js file in this repository called compile2(). It would be identical to compile(), except it wouldn't call the asMinimalOP() function, which is what's screwing up the OP_RETURN.

Create a new method in the BITBOX.Script class called encode2 which uses this new compile2() function instead of the old compile function.

That would ensure existing code continues to work as it always has, but would allow us and users to construct SLP OP_RETURN statements correctly.

Closing this PR and replacing with PR #5


Use kube-prometheus main branch

We can just use the main branch.
The tags are really just for OpenShift versions to pin to.
We need these newer versions to enable native histograms in remote-write.

Seems like a plan! :+1:

We're on v1.27.6 now.
I'll rebase soon.


rename main branch to main; not use master anymore

As a  'master' branch  connotes the existence of a 'slave' branch¹ we could change the name of the main branch to… main². This itself is very easy, but since deployment of our blog or other infrastructure might hinge on the branch name, I rather create this issue first.
¹ which git itself did never have, but, afaic, the system git was modeled on, did
² I guess, "main branch" also describes rather well what that branch does.

True, but does GitHub pages support this yet?  That is a must have, and it would require script/documentation updates.

I think @jancborchardt is also looking into making the necessary changes related to making the default branch from "master" to "main"

I think @jancborchardt is also looking into making the necessary changes related to making the default branch from "master" to "main"

Do we have a list of what needs to be done, somewhere? It would be helpful anyway to know what all depends on how the main branch is named.

Do we have a list of what needs to be done, somewhere? It would be helpful anyway to know what all depends on how the main branch is named.

I'm not sure, it might just be changing it in the settings menu.

I'm not sure, it might just be changing it in the settings menu.

I have created a new "main" branch derived from the current master branch which is going to be the default one (after we introduce the new redesign of the website).


Need more info about permissions for assigning roles

[Enter feedback here]
After creating a role and assigning it to a user, the user gets the error "You don't have permission to use the Role Centre [role center name]"
There should be some documentation about how to give the user the permission to use it.  Given that I've assigned the role to the user, the permission should have come with that assignment.

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

ID: baccd8df-f503-da27-3198-07aa5a5ea6ed
Version Independent ID: 09faac4b-946c-956d-be75-469627ecc3b5
Content: Designing Role Centers - Business Central
Content Source: dev-itpro/developer/devenv-designing-role-centers.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Hi,
The information regarding the issue is available at Manage User Profiles
Specifically, in these sections of the article:
To define user settings for a profile
To activate a profile
You can also refer to these articles:
Assign Permissions to Users and Groups
Create Users According to Licenses

Thanks for your patience. We've added links to relevant topics. Available with the next doc refresh. Thanks.


After a recent commit, the shortcut labels will remained after pressing s as a label

After a recent commit 6f3f20a36bc90ad53b818155f1e8d55a18975c58, when the s key appeared in the label lists, and have been pressed for a jump. New labels will appear and remain forever.
In the following example, I first pressed us and the s was shown as a normal label.

After I pressed s to jump to the destination, a set of new labels appear and won't disappear before pressing any key.

This is intended. You can walk through the matches by pressing <Plug>Lightspeed_s repeatedly, as with f or t. If you'd change the first label on the list to something else, the plugin would exit as usual, but it's logical to use the key mapped to <Plug>Lightspeed_s as the first label too, since they are functional equivalents of each other.
The labels remain there forever, because https://github.com/ggandor/lightspeed.nvim/commit/02c3138195c1608fa07b5fec73c3a0d3c0f9bc3e disabled the default auto-exit for s/x, but you can still set the timeout manually, if you like the feature.

@ggandor I'm suffering from this, too. To be honest I don't get the idea here. If we entered the label for the first match, we already made a choice. Why should we want to walk through other matches? Maybe I also misunderstand completely. This plugin started to do a lot of magic things that unfortunately start to get in the way now.
What I want to achieve is basically disable all this auto-magic as it's too much for my brain. It breaks my flow when I have to consider that behavior after jumping to the first is different than for other matches.
I would prefer to simply have labels for everything (including first match). As the config option for this was removed, I tried with setting safe_labels = nil. But then I suffer from the problem described here.
I also used the timeout feature (which I actually suggested some time ago #62) but I'm not happy with it either. Things often either go to fast (especially if I have groups - my brain needs time to get what's going in) or too slow.

Ok, I figured it out. I thought you talk about safe_labels above - but you meant labels. So not listing s in labels really seems to do the trick.

@mikehaertl You are right, I've already made a note to myself. We should only allow this super-clever instant-repeat mode where the labels also remain available when there are no (unsafe) labels, i.e. if someone always uses auto-jump. I will fix this ASAP.

To be honest I don't get the idea here. If we entered the label for the first match, we already made a choice. Why should we want to walk through other matches?

This is just an alternative, in some cases, or for some people, it might be more comfortable (less mental energy) to simply type ;;; like a machine gun, and jump from match to match, if the target is, say, the 2nd-5th match - that is, to use s like f/t. But, similar to f/t, we also allow s itself to trigger repeat, instead of a separate, dedicated repeat key (;). This is nothing new in itself, Sneak works the same way, which in turn took the idea from clever-f, and extended it to s/S.

I see, thanks for the clarification.
Sidenote: It would be great to see more terminal recordings (in the README or on a dedicated page) to show more/all features. It's much easier to learn if you see things in action than to wade through a long and complex description. (If only there was a pause key for animated GIFs, though. Did you consider something like asciinema? I also found a nice roundup of terminal recording tools here: https://linoxide.com/linux-terminal-recording-tools/. But for a start even more GIFs would be fine.)

Yes, absolutely. See #75.


DF1201S.getTotalFile() always returns 0

Is there a special way to name files in storage? I cannot seem to play a particular file...
DF1201S.playFileNum(1); doesn't do anything...

I've just bought two of these interesting and good value modules but I'm lost in the absence of much more detailed information!
I have the same issues as this one but also several other VERY basc questions. For example I see nothing on how to get files uploaded to the module?
Anyway, I note there has been no response from the example sketch author or from dFRobot the product seller in the four months since this issue was raised, so mine will no doubt suffer the same disregard.
Terry, UK, non-programmer, non-techie

Pleased to say that having now discovered the DfRobot forum I have made good progress.

I apologize for not addressing the feedback on GitHub earlier. This issue has been resolved previously, and it should now meet your usage requirements.

The above answer is only about DF1201S.playFileNum(1); As for the header DF1201S.getTotalFile(), which should be caused by the following variable type, it will also be fixed.


GitHub Actions

I see you tried to setup Azure Pipelines, but that is replaced by GitHub Actions now a days. Any help needed to setup a pipeline in GH?
Regards,
Melroy vd Berg

Hey :) I'm quite happy with Azure Pipleines at the moment, produces artifacts across Mac, Linux and Windows with not too much setup, artifacts are available here, though the build badges don't reflect that builds are occurring: https://type2labs.visualstudio.com/OpenNFS/_build/results?buildId=1174&view=results
The individual badges correspond to three older, deprecated and independent pipelines setup through the UI. Now there is a singular pipeline configured with the azure-pipelines.yml in the root of the project

Hi :)
Nice to hear, well in any case it would be rather easy to migrate if you want: https://help.github.com/en/actions/migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions#migrating-jobs-and-steps
It will at the end better integrate within GitHub all together. See also:
https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow
and:
https://help.github.com/en/actions/configuring-and-managing-workflows/managing-a-workflow-run
Microsoft will in the end focus more and more on GitHub and less on Azure DevOps.
Regarding the "Publish jobs" (eg. for Linux), where could I download the build artifact now?

Wow, I wasn't aware they were so similar. The integration also looks like something worth pursuing too. Will definitely be something I look into, thanks so much for the heads up!
There are some missing resources required for launching OpenNFS, and after a large refactor, the only tracks and vehicles currently supported are those from NFS3 -> I'll try to commit some fixes that perform the extraction of these resources automatically/get them into the repo, so it's just a matter of providing a copy of NFS3. Artifacts available here: https://type2labs.visualstudio.com/OpenNFS/_build/results?buildId=1205&view=artifacts&type=publishedArtifacts

GA is a bit better integrated into GitHub, you don't have to put up with whatever sillyness there are on Azure to get to logs. Both platforms suffer from inexplicable non-liveness of logs and it's not easy to navigate on GA either (the logs occasionally don't load correctly or come delayed or whatever else).
GA and its actions are surprisingly powerful. Setting the whole vcpkg+caching+cmake cross-compilation using MSVC on Windows, the least amenable of all the platforms, takes about 5 actions and is way easier than trying to actually script it.
There are hardly any occasions where the CI lags or slows us down. 6h timeouts for jobs, quite powerful machines (certainly faster than Travis or AppVeyor, can't compare to AP), enough concurrency to check multiple PRs in parallel.
The downsides include the artifact weirdness, where an artifact acts as a "file sink". You can append to it across multiple actions, which has some benefits, but requires switching your brain into this odd mode. The artifacts can only be zips due to this, even though there is some progress on single-file uploads. The zipper used is of Windows style, so it won't have any of those file attributes stuff, which in turn breaks OSX releases. The reported artifact sizes are all over the places and after a few months I have not managed to figure out what do they actually mean (but artifacts can be multiple-GBs in size if you have such need). The artifacts can only be downloaded by logged-in users (this includes viewing builds logs), so if you want to offer CI builds, you have to upload them somewhere, possibly a repo with binaries only.
Overall would recommend, 8/10.
Make sure you read https://www.edwardthomson.com/blog/github_actions_advent_calendar.html.

Wow, don't think I could have asked for a better overview! Thanks a lot, the login-for-artifact issue is annoying but as you've stated, looks like it can be sidestepped with some work. I'll for sure get on the transition when I next have some spare time.

Hey @danger89, would you be interested in leading the Github actions migration?

Bumping this, looking for a contributor to lead the migration. Would also like to artefact everything required for ONFS to run instead of just the executable, any help greatly appreciated.

@AmrikSadhra I think I can give support yes. Professionally I have some direct contacts at GitHub that I may even can use if we are really stuck (maybe I can use those contacts when needed).
So basically we want to migrate this file:
https://github.com/OpenNFS/OpenNFS/blob/main/azure-pipelines.yml
Towards GitHub Actions.
I see you try to start: https://github.com/OpenNFS/OpenNFS/runs/1193691077?check_suite_focus=true

I will create a PR with a working build.

I got a working build at least :+1:

Nice work, very glad this is moving now. Builds on Windows/Mac and the current Linux steps as a matrix would be a nice next step I think?

Yes you are right. Introducing a matrix is the next logical step.


Add support for pause

What type of PR is this?
/kind feature
What this PR does / why we need it:
This experiment adds support for running a global shared pause instance side by side to conmonrs. The idea is that this instance keeps the required namespaces open and provides them as part of the container creation response to the consumers.
Which issue(s) this PR fixes:
Refers to https://github.com/containers/conmon-rs/issues/871
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

TBD

@haircommander @rphillips do you think this would work? The main idea is that conmonrs calls it self via conmonrs -p to have something similar like pinns. Now we also forkt to have a new PIDNS at hand. At some later implementation step we can then inherit the namespaces by the pause PID…

Ready for review. PTAL @rphillips @haircommander

if conmon-rs exits, are we making sure the pause processes are stopped? I think otherwise they'd leak

if conmon-rs exits, are we making sure the pause processes are stopped? I think otherwise they'd leak

Yes, there: https://github.com/containers/conmon-rs/pull/908/files#diff-5d1350be7d73e8dfd3f43f70d9d71838500a7c04b2ee5ee19f1c4521f9df7d12R224-R226

Gave it a rebase.

This looks ready to me. Nice job... @haircommander ?

/lgtm

well done here!


Add better dev experience for debugging services or functions

While debugging is possible right now for DXP or workloads, it requires quite a bit of knownledge and setup.  We should improve this dev experience.
[ ] debugging DXP source code
[ ] easy to setup debugging for java services / functions
[ ] easy to setup debugging for non-java services / functions in nodejs/gogin

See https://issues.liferay.com/browse/LXC-144


ratios of data removal

Hello, how is the "ratios of data removal" set in the code according to the paper?

Hi @koitoyuu3
This code is an attempt to implement the learning procedure of pcmu, but does not calculate the unlearning budget and certificates.
'ratio of data removal' only comes into play when you want to see if an unlearning request is within the budget and hence whether it is certified under pcmu.


Fixes for FStarLang/FStar#1905

This PR fixes spurious uses of names, as described in FStarLang/FStar#1905. F* will reject these names with a syntax error once the fix is merged (waiting on this PR and one in miTLS).

F* now just warns for these things, so this PR is just to remove the warnings. (So if this conflicts with #9, I think you should favour that PR.)

Not really needed, and a bit stale by now.


vue-cli-service serve displays localhost:<port message> when running in a container even when devServer.public is set

Version
3.11.0
Reproduction link
https://github.com/BenjaminNolan/vue-cli-public-container-url
Environment info
Environment Info:

  System:
    OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz
  Binaries:
    Node: 10.16.3 - /usr/bin/node
    Yarn: 1.17.3 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props: ^1.0.0 => 1.0.0
    @vue/babel-plugin-transform-vue-jsx: ^1.0.0 => 1.0.0
    @vue/babel-preset-app:  3.11.0
    @vue/babel-preset-jsx:  1.1.0
    @vue/babel-sugar-functional-vue:  1.0.0
    @vue/babel-sugar-inject-h:  1.0.0
    @vue/babel-sugar-v-model:  1.0.0
    @vue/babel-sugar-v-on:  1.1.0
    @vue/cli-overlay:  3.11.0
    @vue/cli-plugin-babel: ^3.11.0 => 3.11.0
    @vue/cli-plugin-eslint: ^3.11.0 => 3.11.0
    @vue/cli-service: ^3.11.0 => 3.11.0
    @vue/cli-shared-utils:  3.11.0
    @vue/component-compiler-utils:  3.0.0
    @vue/eslint-config-airbnb: ^4.0.1 => 4.0.1
    @vue/preload-webpack-plugin:  1.1.1
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    eslint-plugin-vue: ^5.2.3 => 5.2.3 (4.7.1)
    vue: ^2.5.17 => 2.6.10
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-hot-reload-api:  2.3.4
    vue-loader: ^15.7.1 => 15.7.1
    vue-meta: ^1.4.3 => 1.5.0
    vue-router: ^3.0.1 => 3.0.1
    vue-style-loader: ^4.1.2 => 4.1.2
    vue-svgicon: ^2.1.3 => 2.1.3
    vue-template-compiler: ^2.6.10 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
    vue2-animate: ^2.0.0 => 2.0.0
    vuex: ^3.0.1 => 3.0.1
    vuex-persistedstate: ^2.4.2 => 2.5.1
    vuex-router-sync: ^5.0.0 => 5.0.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
Set devServer.public in vue.config.js:
module.exports = {
  devServer: {
    public: 'https://my.public.url',
  },
};

Run yarn serve from within a container.
What is expected?
 DONE  Compiled successfully in 2914ms                                                                                3:08:05 PM

  App running at:
  - Local:   http://localhost:8080/

  It seems you are running Vue CLI inside a container.
  Access the dev server via https://my.public.url/

What is actually happening?
 DONE  Compiled successfully in 2914ms                                                                                3:08:05 PM

  App running at:
  - Local:   http://localhost:8080/

  It seems you are running Vue CLI inside a container.
  Access the dev server via http://localhost:<your container's external mapped port>/

This is a minor one, really, but it got my goat enough to fix it. :) If you set devServer.public then serve already knows the public URL to display in order to access the dev server from within the container, and thus could display it rather than the localhost:mapped-port message it has currently.
A PR with a potential fix is impending from https://github.com/BenjaminNolan/vue-cli.

May it also be so that it's not actually running on the public set url?
I keep getting Invalid Host header even though my public url is set...


Add optimized version of setZero(...) / writeZero(...) for Unsafe*Byt…

…eBuf implementations
Motivation:
Unsafe offers a method to set memory to a specific value. This can be used to implement an optimized version of setZero(...) and writeZero(...)
Modifications:
Add implementation for all Unsafe*ByteBuf implementations.
Result:
Faster setZero(...) and writeZero(...)

@nmittler @trustin @nmittler FTW...

Cherry-picked into 4.1 (db6b72da199f80c64d19d2d9bb1dfeec281dfd50) and 4.0 (c0562cdc9eab326fd57c69c10964803ec2479602)


feat: two BigO lemmas for complex functions resticted to the real line

This second PR in the series discussed here adds to lemmas converting Big-O statements for complex functions to their restriction to the real line.
From EulerProducts.

bors r+


potion effects getting cleared

potion effects from passive enchants just get randomly cleared, not sure why

some last longer than the others too, for example strength and speed always go first for me, then the rest, and the last to go is health boost

Strange. I haven't had this happen. Is the effects from armor?

it happens after a while

Strange maybe the effects just expire. Like the time hits 0. Ill make the time even more.

Ty :D

Please make a new one if this hasn't been fixed.

It has :D


Update Stan syntax highlighting

This defines a new tokenizer instead of relying on C++'s and a custom theme.
This also means we're not required to hard-code dark mode in.

I agree with Jeff


component doesn't work with multi-level components.

In particular, this causes problems with Dep.Tagged, because Tagged adds a level of nesting.
 test/synthetic-callstack-tests.hs:322:23: error:
     • No instance for (Dep.Advice.Multicurryable
                          as0
                          (CallEnv SyntheticCallStack (Env Identity))
                          IO
                          r0
                          (Logger (DepT (CallEnv SyntheticCallStack (Env Identity)) IO)))
         arising from a use of ‘A.component’
     • In the second argument of ‘($)’, namely
         ‘A.component
            \ _
              -> tagged @"secondary" makeStdoutLogger
                   & A.adviseRecord
                       @Top @Top
                       \ method
                         -> A.fromSimple_
                              (keepCallStack ioEx method <> injectFailures bombs)’

Could component be made to work with multi-level components. Failing that, could it be added a new special case for Tagged?

Added in 1be8d1fd90730169f7a03ccd1da8ad4692d251c8.


/ needs non-404

Apparently for security reasons the / endpoint of the app needs to have some content. A 404 isn't sufficient.
This is "issue 14"

Resolved in 2d716607ccd6ec8b449a5555078bfcfae5a43665


Spike: Gap analysis for Gateway resource

Define remaining work to cover v1beta1 features of Gateway resource
Acceptance criteria:

Create issues for remaining work

Already defined work:

https://github.com/nginxinc/nginx-kubernetes-gateway/issues/370
https://github.com/nginxinc/nginx-kubernetes-gateway/issues/368

See epic #612


OSX Atom Helper renderer type lock up with100% CPU utilization

Over the past few weeks I've noticed every once in a while my atom will lock up.. I am usually caught off guard and am left unsure what action I did to cause it. Today I happened to narrow it down. I am not sure the best way to debug ATOM crashes, I tried to open developer tools and start CPU profiling but the profiler never responded once it was in the error state. XCode profiling was best I could think to give ya.
Steps:

Started atom with: atom -d --safe -f -w
Open any folder with a few files
Open at least 3 files (it may work with 2 didn't try)
Split pane on an open file
Make sure that file is open in both panes
Drag the file from the left pane into the right

Result:
Atom freezes, no output to console, no response from dev tools.
Expect:
Anything but crash. Maybe it just has two open copies? Not sure.
The process responsible was:
/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper --type=renderer --js-flags=--harmony --no-sandbox --lang=English --node-integration=true --enable-delegated-renderer --num-raster-threads=4 --gpu-rasterization-msaa-sample-count=8 --content-image-texture-target=3553 --video-image-texture-target=3553 --channel=23160.1.347038967
Hopefully this may give some sort of lead into the issue:

Appreciate the detail!
For the record, I am not able to reproduce. Splitting and dragging between panes does not cause a crash for me.

Can you paste in the crash report from Console.app?

My report wasn't very clear but a specific detail that is important is that the file open in each pane is at the same canonical location. The file you you drag (from left lane to right pane) in my case must be that same file. I'll update this when in front of a PC with a crash report if one is produced. What happens is CPU pins 100% and eventually wait/close dialog pops and I close it out (not before trying to wait a few times to check for correction).

This sounds like a duplicate of https://github.com/atom/atom/issues/10043.

I was just able to get this to happen on my Windows PC, completely different setup.

I created the following folders and files on my Desktop.

Foo
  Bar
    Doc1.txt
    Doc2.txt
    Doc3.txt

Right clicked Foo and chose "open with atom"
Expanded Foo and Bar showing the 3 docs
Opened each doc using tree view, Double clicked Doc1, 2, 3..
Clicked inside doc3, not sure that mattered
Right clicked doc3.txt in tree view, "split right"
Have doc3.txt active in left pane, doc3.txt active in right pane
Try to drag doc3.txt in the left pane to the right
Editor stops responded when I release mouse click

I am not sure how to get any sort of crash / dump.. I got an error "Editor is not responding" then asked me to keep waiting or close. Checked the dir the atom icon lives in didn't see any logs modified today.

For me it happens when I have same file open in both panels and try to open file from different directory with same name in one of the panels.
[/da/file|/da/file] :arrow_forward: open /eb/file :arrow_forward: freeze

Same issue on mac.  Seems to be all file types, though the settings panel splits with no issue

Same issues here. When opening a file in a different directory with the exact same name in a split pane atom completely freezes.

The issue with similar filepaths and filenames has been fixed in the 1.4.0 betas.

Closing- I assume this has long since been fixed


Add Testerina code-coverage error message when source not present

Purpose
Change the error message to highlight when the source file is not present in the module when passing the --code-coverage flag
Fixes #25399
Approach
Error message generated now look like this
 mohamedaquibzulfikar/Module2:0.1.0

        [pass] testSubtract
        [pass] testAdd

        2 passing
        0 failing
        0 skipped

Source file for Module2 doesnt exist. Cannot generate Code coverage
        mohamedaquibzulfikar/Module1:0.1.0

        [pass] test1

        1 passing
        0 failing
        0 skipped

Generating Test Report
        target/test_results.json

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

This issue needs to be fixes in 2 steps:

Handling the exception when there are no source files
Considering other modules of the project to get source files when generating the coverage

This PR looks like we have addressed point 1. Are we addressing the 2nd point with a different issue?

This PR looks like we have addressed point 1. Are we addressing the 2nd point with a different issue?

Yes. This PR only handles the exception when there are no source files. As for considering other module source files, this fix will be tracked with another issue.


Create ReadTheDocs documentation

This PR introduces changes w.r.t. ReadTheDocs rendering.
Please note that the current RTD badge is failing because it is referring to the main branch which we did not configure anything yet. It is expected to pass once this PR is merged.
Closes #55.

Thanks @atabak-alishiri, merging to main.


Come on, this is a great extension

Come on, this is a great extension

Thank you ! Feel free to open an issue if you have any idea to improve this extensions.


How to change the parameter of pid in crazyswarm in real time?

Hi,if I want to change the parameter of pid in crazyswarm in real time,how can I do? Can you give me some suggestion? Thank you.

Yeah sure! You can do that by changing these parameters, like for the position PID: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/api/params/#posctlpid. You should be able to change these parameters with ROS parameters in rqt

Thank you for your answer!! I want to get some information from real crazyflie, how can I do? Thank you again!


fix bug in instancer iup optimization

Fix tolerance value. Previously boolean value is passed to tolerance which is of float type.

Ouch!


Unhandled Promise Rejection - Desktop Safari 13.0.2

I'm using promise-polypill for IE 11 support for Webpack 4's dynamic module import feature. Specifically, import "promise-polyfill/src/polyfill"; as the 1st line of my entry index.js. It's working great in IE 11, Chrome, Firefox, Mobile Safari; but in Desktop Safari 13.0.2 my console is reporting Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'e[t].call')

I should mention that the import Promise from "promise-polyfill"; isn't working in IE 11

I found the culprit, Edge doesn't like like it either. In Promise._immediateFn, in the short-circuit assignment,  typeof setImmediate === "function" is used but Safari and Edge can't find setImmediate

Thanks for the bug report @tedfitzpatrick. Would you be able to submit a PR with the fix? I would be interested to learn how setImmediate is causing this issue.

Closing because of no response.


opt support topn-filter for all types of scan (including external table)

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Seed 270879187: Can't ask fairies about dust if you already have the dust

Which is weird, because I specifically handle this case after I ran into it myself.
Save files provided by Pensive Goat: dust.zip

Fixed in v1.0.2


Use ISO 8601 UTC in /api/status time stamps

I cant take care of this one.

I assume you mean 'can' ? :)


assign_resource missing from LiquidHandler

It seems the assign_resource method is missing from the LiquidHandler class. I get the following error:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [7], line 1
----> 1 lh.assign_resource(tip_car, rails=1, replace=True)

AttributeError: 'LiquidHandler' object has no attribute 'assign_resource'

Was this unintentionally deleted in a recent commit?

This has been replaced with lh.deck.assign_child_resource.
Is the code above from one of the official samples? (except basic.ipynb, which I'm updating today when I get access to the robot)

Perfect! It's actually in using_the_simulator.ipynb.  I have a couple things I noticed that could make that notebook clearer. Should I send in a PR?

That’d be great! Thanks in advance.


TextInput throwing when input is not in string format

Version
4.10.5
Describe the bug
The TextInput dialog throws when the input in context.Activity.Text is empty and context.Activity.Value contains an object. This happens, for example, when the bot uses adaptive cards and it specifies an object as the value to be returned to the bot service. In this situation, the TextInput throws an exception like the following:
System.ArgumentException: Can not convert Object to String.
   at Newtonsoft.Json.Linq.JToken.op_Explicit(JToken value)
   at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType)
   at Newtonsoft.Json.Linq.JToken.ToObject[T]()
   at Microsoft.Bot.Builder.Dialogs.ObjectPath.MapValueTo[T](Object val)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at CallSite.Target(Closure , CallSite , Type , Object )
   at Microsoft.Bot.Builder.Dialogs.ObjectPath.TryGetPathValue[T](Object obj, String path, T& value)
   at Microsoft.Bot.Builder.Dialogs.Memory.DialogStateManager.TryGetValue[T](String path, T& value)
   at Microsoft.Bot.Builder.Dialogs.Memory.DialogStateManager.GetValue[T](String pathExpression, Func`1 defaultValue)
   at Microsoft.Bot.Builder.Dialogs.Adaptive.Input.TextInput.OnRecognizeInputAsync(DialogContext dc, CancellationToken cancellationToken)

To Reproduce
Steps to reproduce the behavior:
Write an adaptive dialog like the one below, and run it in MS Teams:
// Send an adaptive card with an object as the value to be passed back to the bot
new SendActivity("${SubmitForm()}"),
// Send an text input
new TextInput()
{
    Property = "$textinput",
    Prompt = new ActivityTemplate("Please type something"),
    AlwaysPrompt = true
}

The content of the SubmitForm template can be as follows (using lg):
# SubmitForm
[Activity
    Attachments = ${json(SubmitFormMsg())}
]

# SubmitFormMsg()
- ```
{
    "type": "AdaptiveCard",
    "version": "1.2",
    "body": [
        {
            "type": "RichTextBlock",
            "inlines": [
                {
                    "type": "TextRun",
                    "text": "Here's a submit button"
                }
            ]
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "Submit",
            "data": {
                "msteams": {
                    "type": "messageBack",
                    "displayText": "nothing much",
                    "text": "",
                    "value": {"InputSource": "MyCard"}
                }
            }
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json"
}

Once the bot sends the adaptive card and waits for the user input, click on the submit button from the adaptive card. This should trigger the exception in the TextInput.
Expected behavior
The text input should fail the input validation and reprompt the user for a valid input, instead of throwing an exception.

This fix should be in the next release 4.12 this is currently targeted for next Feb