Event Grid Trigger if Functions has a private endpoint.

If my Functions is exposed as a private endpoint on my VNET and I configure my Functions firewall to block all public traffic (as per my organisation's network security requirements), can I still use my Function as a Event Handler for Event Grid as documented on this page?
I assume that this scenario is not possible as the Event Grid has no VNET integration capability for egress and  therefore cannot reach the private endpoint for my Function but I want to be sure that I am not missing something.

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

ID: a6bb013c-83b0-84fd-f4eb-364db7b3c507
Version Independent ID: 6a2a7e4a-769f-034a-c9a2-c3decc6b20b0
Content: Azure Event Grid bindings for Azure Functions
Content Source: articles/azure-functions/functions-bindings-event-grid.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

@pnarsi Thank you for the question. We will review and get back to you.

@pnarsi Can you check this : https://docs.microsoft.com/en-us/azure/event-grid/network-security#service-tags ?
Once you add the service tag at the function level ( in access rules) wait for 5-10 mins. It should work fine.

Hi @JayaChatterjee-MSFT
I assuming you mean that I can use Functions access restrictions  to whitelist the IP address range used by the Event Grid Service Tag? This would technically would work but this involves using the Functions public endpoint which does not meet my companies security needs.
My question was more about whether we can use a Functions with a private endpoint as a event handler as per the documentation on this page. We want to completely block all usage of the Functions public endpoint and only use private endpoints. Does the "Azure Event Grid bindings for Azure Functions" scenario documented on this page support this use case?

@pnarsi The function app, in this case, is used as an event handler , so you may check : https://docs.microsoft.com/en-us/azure/event-grid/network-security#private-endpoints

I assume the private endpoint on the event grid resource only enables secure ingress into the event grid topic. What would be the way to be able to route an event to a subscriber with an endpoint within our vnet?

@JayaChatterjee-MSFT @cveld This appears to be the case when the subscriber endpoint is within a vNet. In my case our Function Apps are within an ILB ASE and while I can register the Function App Event Trigger method as  subscriber endpoint Event Grid fails to forward over the event to the endpoint with the below error.
errorMessage=The server name or address could not be resolved
I have a private DNS zone configured for Event Grid and I am able to publish events to it from within the ILB ASE and a DNS zone for the ILB ASE, both of which are attached to the vNet, but it does not appear to be able to resolve the endpoint. Or am I missing something here?

@JayaChatterjee-MSFT  - We do have similar requirement where we have an function app inside VNET private endpoint for ingress , function app is setup as event trigger and event grid doesn't have VNET integration option enabled , is there any solution for such requirement ?

I am not able to get this to work.
I have multiple function apps using private endpoints and trying to communicate over event grid. I have tried both a public event grid topic, and one using private endpoint (in the same VNET as the function apps with private DNS zones set up)
I am able to publish events on the event grid without issue, but the Azure Monitor metrics show "Delivery Failed Events"
Seing the dead letter message
...
    "deadLetterReason": "UndeliverableDueToClientError",
    "deliveryAttempts": 2,
    "lastDeliveryOutcome": "Forbidden",
...

I am not able to find explicit documentation for this, but it would seem that using function apps delivery endpoint does not work if your target function apps are using private endpoints. Or has anyone figured a way to do so?


Testing and development should use a Python virtual environment

As seen in the Makefile, PYTHON = python3 attempts to specify the Python version/executable for development and testing. This is non-standard in Python development. A virtual environment (e.g., virtualenv, pipenv, poetry) should be used instead.
cc https://github.com/openjournals/joss-reviews/issues/2533

This also relates to the other executables that are called (e.g., flake8, pytest) as we cannot assume or control system-level installs


New Gaia Authentication

This enables authentication using the new Gaia hub authentication scheme (using JWTs). This solves the issue https://github.com/blockstack/gaia/issues/114
Details on the new authentication scheme are here:
https://github.com/blockstack/gaia/blob/master/README.md#v1-authentication-scheme
If the gaia hub that a user is trying to connect to doesn't support the new authentication scheme, this version will only use the legacy authentication scheme if the challenge text fulfills the following criteria:

Is a JSON array
Element 1 of the array is "gaiahub"
Element 4 of the array is "blockstack_storage_please_sign"

This will make it so that a properly behaving legacy gaia hub should continue to work, but will prevent the client from signing arbitrary challenge texts.
This PR includes unit tests for these changes, and it can be tested with the new version of the gaia hub:
var bsk = require('.')
var btc = require('bitcoinjs-lib')
var key = btc.ECPair.makeRandom()
bsk.connectToGaiaHub('https://hub.blockstack, key.d.toHex()).then(x => z = x)
bsk.uploadToGaiaHub('foo.json', '"hello world"', z, 'application/json').then(console.log)

If you deploy a legacy gaiaHub, you can test with it as well. You can also test this by linking it into blockstack-todos.

@kantai i'm going to go ahead and merge these

Thanks @larrysalibra!


enter confirms password

Fixes #170

Pull Request Test Coverage Report for Build 729

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.667%

Totals

Change from base Build 720:
0.0%

Covered Lines:
1232

Relevant Lines:
1650

💛  - Coveralls


Mitigate breaking change of optional parameter change for ModelFactory

Fixes https://github.com/Azure/autorest.csharp/issues/3596.
This PR introduces SignatureType, it holds three portions of code:

current
custom
baseline contract
current union custom compare with previous contract outputs the changeset, with it we can apply different rules with

It provides

OverloadingMethods: for now represents the missing methods in baseline contract due to additional optional parameters in the new contract, this is causing breaking changes
MethodsToSkip: represents the methods already defined in custom code, the writer should skip them while writing to the output

This feature is only enabled for Mgmt.

For DPG, there is no GA version yet, ApiCompatVersion is not set in .csproj
For HLC, there are quite some hand-written/custom code, which is not supported by TypeFactory.TryCreateType since CsharpType does not represent them properly for now.

Pending on https://github.com/Azure/azure-sdk-for-net/pull/41322


Request: Change Option"Inbox Type" on IC Partner to Enum

So it's possible to extend with new IC transfer types.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


How to use a periodic loop a HttpServer

Please can you help out with this question:
https://stackoverflow.com/questions/38565712/how-do-i-access-the-ratchet-php-periodic-loop-and-client-sending-inside-app

closing as discussion/answer is happening on SO


Fix root finding newton derivation

Addresses #3 pointed out by @yeejoh.

@yeejoh, can you look at this and make sure this addresses your issue?

There is a missing square notation, ^2, of f'(x^*) at the denominator of g'(x^*).
And I think f'^2(x^*) is less confusing than f'(x^*)^2, like \sin ^2 x not \sin (x) ^2.

Ah, thanks, was not being careful.
As for the notation, I generally agree with you but having two superscripts there I think is more confusing and less standard.

I believe now they're correct. Thanks for responding.
A notation is a good notation as long as it's unambiguous. I can live will that. :stuck_out_tongue_winking_eye:

Agree notationally.


Don't break immersive/full-screen mode

First off-- this is super cool. Thanks.
Here's the issue:  Looks like whenever a snackbar comes up, immersive mode is turned off momentarily.  This occurs whether or not I'm displaying to the activity or directly to a viewgroup and it's kind of ruining the full screen experience because every time there's a snackbar display, the whole screen has to re laid out and menus and buttons start appearing.
Any thoughts?
Edit:  I see a sample which seems to work.  So what could be triggering this... Hmm.  If anyone has any suggestions, let me know.
Update #2:  This does not work for me (from a fragment):
        mDecorView = getActivity().getWindow().getDecorView();
        mDecorView.setSystemUiVisibility(
                View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
                        | View.SYSTEM_UI_FLAG_FULLSCREEN
                        | View.SYSTEM_UI_FLAG_LOW_PROFILE
                        | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
        );

When the soft keyboard is out, the notification works great (as it's not in fullscreen mode) but when you drop the keyboard and start a new snackbar notification-- it needlessly pulls in the menu bar and soft buttons, etc.  Any advice would be great... the snackbar is being started with:
SnackbarManager.show(
            Snackbar.with(getActivity())

though I've tried variations of using a viewgroup and other things and it doesn't seem to work.

After a lot of looking around, I realized the problem was a dialog that was opened simultaneously (and then closed quickly so it never made it on screen).  That was enough to trigger the end of immersive mode.  So it wasn't snackbar after all :)  Closing and thanks again!


Add a unit test to exhibit bad behavior when creating pending operations...

... during an in-flight PushAction.
I plan on also creating an issue to discuss this, but the core problem is synchronization between pending operations and the PushAction. We end up with stale versions, stale operations in the OperationQueue, erroneously-cancelled pending operations, false merge conflicts, inconsistency between local store and back-end, SyncErrors being swallowed and/or exceptions thrown for a variety of reasons.
The setup is that we install a SyncHandler that will do an async wait before executing its operation, and the Unit Test will do the following:

Insert an item via the sync table.
PushAsync()
UpdateAsync() the same item.
UpdateAsync() the same item again.
Release() the semaphore the SyncHandler is waiting on, which allows the PushAsync() call to continue.
await the push
await the first update
await the second update
Push again.
Release the push again.

The expectation is that the InsertOperation is executed on the back-end during the first Push, and the two UpdateOperations are collapsed into one, which is effected on the back-end during the second push. This isn't what happens, however.
I'll refer to the issue soon, and I have a much more detailed description of the bugs I found in this scenario with call stacks and play-by-play, which I'll provide as soon as I can. I've hit this scenario very frequently in a real app with normal user input, but the Unit Test exhibits the behavior very consistently.
A few related issues are #413 and #493.
A possible solution for part of the problem is to lift the LockItemAsync() call out of ExecuteOperationAsync() out into ExecuteAllOperationsAsync() to make the calls to ExecuteOperationAsync(), OperationQueue.DeleteAsync(), and OperationQueue.PeekAsync() atomic, but I haven't tested this yet.
Thank you!

Hi @masojus, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

@masojus, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, AZPRBOT;

Reviewing #615 as well, the place to start is moving the delete before releasing the lock, which it looks like you did here.  If you want to submit that portion against Dev we could merge it in.
For my point on item, when it runs item will be saved into the localstore, so any column present in item will be overwritten.  So it really depends on what gets stomped based on the actual client code in use.  (and also the server logic, does it do any simple merges, etc)
@lindydonna is currently working on our next set of offline features.  If its easier you can email<EMAIL_ADDRESS>with contact details and we can look at setting up a call to go over your experiences/issues/etc and what you would like to see going forward.

This was handled by Pull Request #633 into 'dev' branch, so I'm closing this one.


Microsoft.ProgrammableConnectivity AZ CLI support

Preconditions

[X] No need to upgrade Python SDK or the Python SDK is ready.

Related command
No response
Resource Provider
Microsoft.ProgrammableConnectivity
Description of Feature or Work Requested
AZ CLI support for Microsoft.ProgrammableConnectivity.
Programmable Connectivity is a service which is a combination of a standardized Network API Gateway and a Software Development Kit (SDK) that provides applications a common interface to disparate operator network APIs
Minimum API Version Required
2024-01-15-preview
Swagger PR link / SDK link
https://github.com/Azure/azure-rest-api-specs-pr/pull/16639
Request Example
Examples in Swagger PR
https://github.com/Azure/azure-rest-api-specs-pr/pull/16639
Target Date
2024-06-30
PM Contact
@alzam
Engineer Contact
@sbennett
Additional context
No response

Thank you for opening this issue, we will look into it.


Slate terminal should warn of update before any previous commands are carried out.

Problem
When creating a new theme, or deploying/watching a current theme, Slate will warn of a pending update to Slate tools only after it's completed the task I set.
Would it not be better to have Slate warn the user before any command is carried out that an update is pending?
I just created a new theme, and after it had finished setting up the theme, it told me about the available update, so now I've deleted the theme it's just built in case the Slate update includes updates to the theme files.

What you're seeing is a warning that there is a new version of slate-cli. All versions of slate-cli reference the latest version of slate-theme via the https://sdks.shopifycdn.com/slate/latest/slate-src.zip URL. In other works, you're always guaranteed to get the latest version of slate-theme regardless of what version of slate-cli you're running.


Update voc_eval.py

添加了对voc 格式中的 float 支持。

 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.


Update minnowboard.md

Docs Build status updates of commit bcb2f0f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/tutorials/minnowboard.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Compiler should emit warning on use of final keyword with actors

Description
swiftc allows the use of the final keyword with actors even though the language does not currently supports inheritance with actors.
Reproduction
final actor Actor {}

Expected behavior
Compiler warning emitted explaining that the final keyword is unnecessary as inheritance with actors is not currently supported.
Environment
swift-driver version: <IP_ADDRESS> Apple Swift version 5.10 (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0
Additional information
No response

I disagree that this is a bug. final is unnecessary, but the compiler typically doesn't warn about things that are unnecessary. It isn't wrong; actors today are always final.

I can see how the final keywordmight trick someone that is new to actors into thinking that inheritance is supported. But because actor inheritance is a possible future direction, an author’s decision to make thefinal` explicit in specific cases — as well as our decision to not complain about this — can be seen as prudent.


Failed to clone 'components/WS2812FX'

I am attempting to check out the new led strip animation code, but getting a failure from git. I suspect that there was a problem with the branching or naming, as the submodule update looks for host "github.com (<IP_ADDRESS>)", which seems to concatenate a local network address with the hostname. My internal network is all int he 10.x address space, so I am pretty sure it's not a local problem.
Streichers-15-MBP:case-sensitive streicher$ git clone https://github.com/maximkulkin/esp-homekit-demo.git
Cloning into 'esp-homekit-demo'...
remote: Counting objects: 256, done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 256 (delta 3), reused 10 (delta 1), pack-reused 242
Receiving objects: 100% (256/256), 1.15 MiB | 865.00 KiB/s, done.
Resolving deltas: 100% (127/127), done.
Streichers-15-MBP:case-sensitive streicher$ cd esp-homekit-demo/
Streichers-15-MBP:esp-homekit-demo streicher$ git submodule update --init --recursive
Submodule 'components/WS2812FX' (git@github.com:pcsaito/WS2812FX-rtos.git) registered for path 'components/WS2812FX'
Submodule 'components/cJSON' (https://github.com/maximkulkin/esp-cjson) registered for path 'components/cJSON'
Submodule 'components/homekit' (https://github.com/maximkulkin/esp-homekit) registered for path 'components/homekit'
Submodule 'components/wifi_config' (https://github.com/maximkulkin/esp-wifi-config) registered for path 'components/wifi_config'
Submodule 'components/wolfssl' (https://github.com/maximkulkin/esp-wolfssl) registered for path 'components/wolfssl'
Cloning into '/Volumes/case-sensitive/esp-homekit-demo/components/WS2812FX'...
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pcsaito/WS2812FX-rtos.git' into submodule path '/Volumes/case-sensitive/esp-homekit-demo/components/WS2812FX' failed
Failed to clone 'components/WS2812FX'. Retry scheduled
Cloning into '/Volumes/case-sensitive/esp-homekit-demo/components/cJSON'...
Cloning into '/Volumes/case-sensitive/esp-homekit-demo/components/homekit'...
Cloning into '/Volumes/case-sensitive/esp-homekit-demo/components/wifi_config'...
Cloning into '/Volumes/case-sensitive/esp-homekit-demo/components/wolfssl'...
Cloning into '/Volumes/case-sensitive/esp-homekit-demo/components/WS2812FX'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pcsaito/WS2812FX-rtos.git' into submodule path '/Volumes/case-sensitive/esp-homekit-demo/components/WS2812FX' failed
Failed to clone 'components/WS2812FX' a second time, aborting
Streichers-15-MBP:esp-homekit-demo streicher$

I think the problem might be on the last line of file .gitmodules
When I try to clone https://github.com/pcsaito/WS2812FX-rtos.git in stead of git@github.com:pcsaito/WS2812FX-rtos.git it works fine...
Streichers-15-MBP:esp-homekit-demo streicher$ cat .gitmodules
[submodule "components/cJSON"]
path = components/cJSON
url = https://github.com/maximkulkin/esp-cjson
[submodule "components/wolfssl"]
path = components/wolfssl
url = https://github.com/maximkulkin/esp-wolfssl
[submodule "components/homekit"]
path = components/homekit
url = https://github.com/maximkulkin/esp-homekit
[submodule "components/wifi_config"]
path = components/wifi_config
url = https://github.com/maximkulkin/esp-wifi-config
[submodule "components/WS2812FX"]
path = components/WS2812FX
url = git@github.com:pcsaito/WS2812FX-rtos.git

Yes, issue is components/WS2812FX.
You can do:
git submodule update --init --recursive components/cJSON components/homekit components/wifi_config components/wolfssl
and of course, don't try to build any firmware that uses WS2812FX .

I was not aware that using ssh instead of the https repo address could generate this issue.
I will submit a fix to that, but for now you can manually checkout the repository and copy to components folder


Consider adding type for partial parsing

Sometimes I need to parse one item, and then keep the rest of the tokens for later. I would like a struct in syn::parse:
pub struct ParseStart<T: Parse> {
    pub item: T,
    pub rest: TokenStream,
}

I'm not certain about the name, it could also be called PartialParse or ParseOne, and there is also the question of whether to have a separate ParseStart and ParseStart2 for proc_macro::TokenStream and proc_macro2::TokenStream respectively. We could even blanket impl Parse for (T, U) for maximum flexibility and minimum API surface.
Previous discussion has happened here and here but this is a slightly different approach.
If you think this is a good idea and can answer my above questions I'm happy to go ahead and make a PR.

I think I would prefer not to build this into Syn. But if there is an abstraction along these lines that is reasonably widely used in downstream crates, I would be interested to know (with links).

Is this still not possible currently? It would be very useful in my case, and I'm not sure what the alternatives approaches are


feat(CSI-252): implement kubelet PVC stats

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#322  👈
#320
#319
#318
#317
#316
#314
#313
#312
#311
#315
#299
#310
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sergeyberezansky and the rest of your teammates on  Graphite


[Feature Request] Censoring Explicit Language in Song Titles

I am interested in using this to make my profile ReadMe.md more appealing. However, the songs which I listen to often have explicit language in the titles, which would obviously look bad on one's Github profile. I'm writing to make it known that this would be a really helpful feature.

Please give me more details.

song name or link of the song
screenshot

Well I was thinking the feature would automatically detect and censor such words from song titles, is this not possible?


splitstation massive update

About the PR
Totally redid the whole bottom half of the station as well as top right.
Notable changes are:

Science and Salvage are now in the top right.
Bar is now in the center as one of the bridges.
Cargo is now top right of bottom station so it's more central.
Bridge is now in the lower section overlooking a wide park area.
There's now more outside rock areas to explore. More to come.

Might be some teething issues or complaints about maint but will likely ask Emisse to do a flavor pass in future.
Screenshots

Local map renderer borked.
Changelog

:cl:

add: Split Station massive update!

Tested it, 2 extremely small pieces of feedback:

Roundstart atmos is wacky, you probably forgot to run the command
I'd move the stasis bed where that rollerbed is in the surgery room rather than just throwing it into the middle of the cloning room

Tested it, 2 extremely small pieces of feedback:
1. Roundstart atmos is wacky, you probably forgot to run the command

2. I'd move the stasis bed where that rollerbed is in the surgery room rather than just throwing it into the middle of the cloning room

Yeah was unsure whether it should be there or in a one of the treatment rooms. I'll move it and do some more testing now, thanks.

Thanks for the render. I just added another small section out in the rocks so works for me that it's a secret area and it's not on the render. See who finds it.

Ian should be secured in the HoP's office, as he's a traitor objective.

These are wired incorrectly and you really just can't put them here as you'd make an infinite loop/short circuit if you did wire them with an input. They only have an output right now.

Removed the SMES battery bank as shown above until a later date because rewiring the HV cables one cable at a time is a pain.
Removed the HV cable lattice connector near Salvage in favor of a docking airlock (for that salvage to cargo shuttle fun).
Added more firelocks to cargo since it was missing some. Added grilles to the bar back room as was missing as well as airtight flaps to the salvage conveyor.
Moved Ian to HoPs office and added door remotes to all heads.
Added some other misc items, carpets and other little bits.

Well, nothing better to do than give it a spin, it lgtm.


Simple wrapper for read_iterator pickleability

What does this PR do? Please describe:
Adds a utility function, read_and_pickle_wrap_iterator, to which any iterator/generator can be passed.
This will wrap the iterator/generator in a class whose pickle behavior is to track an internal counter for the
number of times __next__() is called, and to replay this during reloading.
If the given iterator is already pickleable, the wrapping is elided.
Does your PR introduce any breaking changes? If yes, please list them:
N/A
Check list:

[ ] Was the content of this PR discussed and approved via a GitHub issue? (no need for typos or documentation improvements)
[ ] Did you read the contributor guideline?
[ ] Did you make sure that your PR does only one thing instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (no need for typos, documentation, or minor internal changes)

Please close this in favor of #754


HealthManager should exit on detecting an error on eventmachine.

For example, if database connection failed due to the failure on the database server,
HM just logs:
ERROR -- ActiveRecord::StatementInvalid("PGError: ...

and no recovery actions are taken so that we happen to fall into the infinite loop of errors,
after the database server is recovered.
(In this case, we need to repair HM by rebooting it's process manually....)
I added 'exit!' to reduce this manual operation.

pulled.  thanks


Autocompletion should suggest fields when using Type(:final field) syntax

Hello!
Consider:
class Foo {
  int? field;
}

Then used as:
if (obj case Foo(:final /* cursor here */) {

}

Currently, the autocomplete does not suggest any of the possible members:

It would be great if it could list getters and properties.

This just appeared on my end. Not sure what changed. I'll investigate


Argments Problem....

If my forward function has dict argment....what can I do?
For example....
import torch
import torch.nn as nn
import hiddenlayer as hl
import torch.jit as jit

class TestNet(nn.Module):

    def __init__(self):
        super(TestNet, self).__init__()
        self.conv = nn.Conv2d(3, 3, 1, 1)
        self.relu = nn.ReLU(True)

    def forward(self, x , y, loss):
        if loss['flag']:
            x = self.conv(x)
        else:
            assert False
        return x
x = torch.randn(1,3,224,224)
net = TestNet()
graph = hl.build_graph(net, (x, x, {'flag': True}))

And it will got wrong info as below...............
Traceback (most recent call last):
  File "/home/gaozhihua/program/mmdetection/ignore_dir/1.py", line 27, in <module>
    graph = hl.build_graph(net, (x, x, {'flag': True}))
  File "/home/gaozhihua/program/hiddenlayer/hiddenlayer/graph.py", line 143, in build_graph
    import_graph(g, model, args)
  File "/home/gaozhihua/program/hiddenlayer/hiddenlayer/pytorch_builder.py", line 70, in import_graph
    trace, out = torch.jit.get_trace_graph(model, args)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/jit/__init__.py", line 196, in get_trace_graph
    return LegacyTracedModule(f, _force_outplace)(*args, **kwargs)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/gaozhihua/anaconda2/envs/open-mmlab/lib/python3.6/site-packages/torch/jit/__init__.py", line 242, in forward
    in_vars, in_desc = _flatten(args)
RuntimeError: Only tuples, lists and Variables supported as JIT inputs, but got dict

What shuould I do?
@waleedka @FerumFlex @ss18

I'm afraid that's not supported yet. Sorry!


Add more momentum diagnostics

What changes does this PR introduce?
New feature to output more momentum diagnostics
What is the current behaviour?
(You can also link to an open issue here)
What is the new behaviour
Added more momentum diagnostics, originally implemented by Helen Pillar @hpillar (and probably @antnguyen13) for checkpoint68d, to further decompose momentum diagnostics of advection, explicit dissipation, and external forcing to different contributions.
Does this PR introduce a breaking change?
No
Other information:
Diagnostics for 3d U/V momentum tendency from bottom drag UBotDrag and VBotDrag, removed in PR #219, are put back.
The four new diagnostics U/Vm_hDis2 and U/Vm_hDis4 are only active if using Vector-Inv form (i.e. ALLOW_MOM_VECINV is defined) and only if useStrainTensionVisc=.FALSE. These four new diagnostics are filled in S/R MOM_VI_HDISSIP, which is called only if useStrainTensionVisc=.FALSE.
Suggested addition to tag-index
(To avoid unnecessary merge conflicts, please don't update tag-index. One of the admins will do that when merging your pull request.)

I did not look into the details, but since

there are many more diagnostics added here (20 ?) and
some involves adding back diagnostics that have been removed (e.g, in PR #219)
some pieces of code are not very clear to me (3-D diag for wind ? that also include tides ?)

it mind be better to open an issue first on what diagnostics we would like to add  and  which one we don't necessary need if we know how to compute from other diags.

Thanks @jm-c for your comment. I will open an issue.

@jm-c Thank you for your review and comments. I have addressed all your comments in the new commit d80a3b3.

@jm-c Thank you for the changes—they look good to me. I don’t mean to be picky, but I’ve noticed some inconsistency in the spacing format across several CALL DIAGNOSTICS_FILL statements. Here are two examples:
CALL DIAGNOSTICS_FILL( uDissip,'Um_hDis2', k,1,2,bi,bj, myThid )
CALL DIAGNOSTICS_FILL( uD4, 'Um_hDis4', k,1,2, bi,bj, myThid )

@owang01 You are right. I guess I was reluctant to split these calls over 2 lines but we could also keep "k,1,2,bi,bj" together (no spacing) in all these new DIAGNOSTICS_FILL calls.

@owang01 I pushed little (minor) adjustments to these 2 files (but did not touch the previous DIAGNOSTICS_FILL calls to facilitate merging with PR #809 which also affects mom_vecinv.F).
I might switch on the new CPP option in one of the verification exp. so that this code get compiled.

From my side this PR is ready to be merged. @owang01 if you agree, and assuming no one else wants to add anything here, we could merge it soon after.

@jm-c LGTM. Thank you for the additional changes.


fix: #365 Remove Unused Endponts.

Backend: Remove unused endpoints for router_user and router_role.
Frontend: remove unused FAMUsersApi and FAMRolesApi from ApiServiceFactory.
Bump openapitools/openapi-generator-cli to v7.0.1
Backend: FastAPI temporary adjustment for swagger generation with app.openapi_version = "3.0.3" and document openapi spec issue causing generated code not working.
Don't review "gen" folder, it is generated.

The rest looks good to me, thanks so much!!


Fix error for trpc empty pattern with null and undefined

Currently the trpc empty pattern only works with arrays and throws an error when null or undefined is passed. Checking the array length after checking null and undefined fixes the error.

LGTM, Thank you for your contribution 🤘


SSL certificate is not valid?

https://openwhisk.org/ reports an invalid certificate.

We need to get a certificate and work to configure GitHub Pages if needed.

SSL certs. for custom domain discussion... https://gist.github.com/coolaj86/e07d42f5961c68fc1fc8

we are using apache ssl certs with the redirect to https://openwhisk.incubator.apache.org/


LUCENE-10040: Relax TestKnnVectorQuery#testDeletes assertion

TestKnnVectorQuery#testDeletes assumes that if there are n total documents, we
can perform a kNN search with k=n and retrieve all documents. This isn't true
with our implementation -- due to randomization we may select less than n entry
points and fail to visit all vectors.

I think that if k <= n, the number of documents, then ideally we'd always retrieve k neighbors. I opted to disable the assertion for now instead of making a fix, since we're actively working on graph layers. Adding layers would completely change how entry points are selected.

OK, so it's a real weird behavior that manifests for very large K or very small N, weird cases. I agree, let's relax the assertion. I am not sure this will be fixed by a multi-level graph though.

It's indeed a weird case, I'll just relax the assertion but not insist that it will be fixed with layers. I'll make a personal note to revisit it once we have the hierarchical implementation, I think it will fix the behavior but we'll have to test it!

What timing, our CI just caught another related failure. Here there are no deletions, but we also return fewer than k results because k is so close to the total number of documents:
./gradlew test --tests TestKnnVectorQuery.testRandom -Dtests.seed=3B6CE0E105431E18

I opened https://issues.apache.org/jira/browse/LUCENE-10069 so I'm not just tracking in my head!


Alias is dropped on inheritance if set via Field (other fields, e.g. extra are dropped too)

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.6.1
            pydantic compiled: True
                 install path: /home/abodrov/.local/lib/python3.8/site-packages/pydantic
               python version: 3.8.2 (default, Jul 16 2020, 14:00:26)  [GCC 9.3.0]
                     platform: Linux-5.7.4-050704-generic-x86_64-with-glibc2.29
     optional deps. installed: []

It seems like according to https://pydantic-docs.helpmanual.io/usage/model_config/#alias-precedence I should get alias from parent class in my child class:
from pydantic import BaseModel, Field, ValidationError

ALIAS = 'my-alias'
FIELD_NAME = 'field'

class Parent(BaseModel):
    field: str = Field(..., alias=ALIAS, **{'my_extra': 'my_extra_value'})

class Child(Parent):
    field = 'default'

print(Parent.__fields__[FIELD_NAME].field_info.alias)
# class
print(Parent.__fields__[FIELD_NAME].field_info.extra)
# {'my_extra': 'my_extra_value'}
print(Child.__fields__[FIELD_NAME].field_info.alias)
# None
print(Child.__fields__[FIELD_NAME].field_info.extra)
# {}
# Seems like extra is not inherited too :(

print(inspect.signature(Parent))
# (**extra_data: Any) -> None
print(inspect.signature(Child))
# (*, field: str = 'default') -> None

This snippet can be fixed by setting Parent.Config.fields['field'] instead

Hello @Drino
You actually overwrite the whole field field in the child model so yes everything is replaced.
By default pydantic doesn't do magic by merging field's information. I think it would be very confusing in most cases

Current behaviour is fully understandable, but the alias-precendence section of the documentation gives a small hope that if I do not set alias via Field(..., alias=<alias>) directly on the model pydantic will search for Field(..., alias=<alias>) on a parent model:

Set via Field(..., alias=), directly on the model
Defined in Config.fields, directly on the model
Set via Field(..., alias=), on a parent model
Defined in Config.fields, on a parent model
Generated by alias_generator, regardless of whether it's on the model or a parent

It actually does what described in points 2 and 4, even if I do some override:
from pydantic import BaseModel, Field, ValidationError

ALIAS = 'my-alias'
FIELD_NAME = 'field'

class Parent(BaseModel):
    field: str = Field(alias=ALIAS)

    class Config:
        fields = {
            'field': {'alias': ALIAS, 'test_me': True}
        }

class Child(Parent):
    field = 'default'

    class Config:
        pass

print(Parent.__fields__[FIELD_NAME].field_info.alias)
# my-alias
print(Child.__fields__[FIELD_NAME].field_info.alias)
# my-alias

# extra arguments handling on inheritance also seems very broken:
print(Parent.__fields__[FIELD_NAME].field_info.extra)
# {}
print(Child.__fields__[FIELD_NAME].field_info.extra)
# {'test_me': True}

From my perspective it seems like a bug caused by using Field(..., alias=None) default instead of Field(..., alias=Undefined) default.

I think we've decided to keep the behavior that you have to redeclare the Field in full if you want to override on a child class, and we have dropped Model.Config.fields, so that is no longer a possible source of inconsistent behavior.
If this is still a point of contention please message here and/or create a new issue and we can revisit/reopen the issue.


How to use without hyprpaper.conf

Hi I saw that the latest release has these notes

hyprpaper now uses hyprlang for config parsing
A config file is no longer required

I was wondering how this works, where should I configure it now and how? thanks

If you use the config it's just like it was.
If you don't want to use a config, you can do everything via IPC, e.g. hyprctl hyprpaper preload <path> && hyprctl hyprpaper wallpaper ,<path>


Support for counting all child elements

Occasionally I have situations where I want to do assertions on markup that might have child nodes inserted into it. I want to do tests where there are known children and to make sure that they are inserted correctly.
The problem here is that the children could be any nodes at all, and I want to make sure that no unexpected nodes are appearing in the element tree. It seems the easiest way of doing this is to be able to assert on the number of elements without needing a specific selector to find them. E.g.
const TestComponent = ({children}) => (

        {children}

);

expect(shallow(<TestComponent></TestComponent>).find(".a")).to.have.exactly(4).children());
expect(shallow(<TestComponent></TestComponent>).find(".a")).to.have.exactly(5).children());

Occasionally I have situations where I want to do assertions on markup that might have child nodes inserted into it.

I would tackle this problem differently and test the presence (or absence of children) like this:
const call = (props = {}) => shallow(<TestComponent {...props} />);
const children = ;

expect(call()).not.to.contain(children);
expect(call({ children })).to.contain(children);

expect(wrapper.children()).to.have.lengthOf(n)?


refactor: [M3-6908] - Replace react-select in Profile

Description 📝
This PR helps remove part of the react-select dependency for accessibility reasons and to consolidate our usage of third-party libraries. In particular, it replaces the EnhancedSelect with our more versatile MUI-based Autocomplete component within the Profile feature.
Changes  🔄

Introduce a new sxPopperComponent prop (optional) for the Autocomplete which allows custom CSS styling for the PopperComponent.
The PhoneVerification depended heavily on the react-select instance, and by removing it, the previous styling required to be redone. This was the reason for introducing the new sxPopperComponent prop.
Update TimezoneForm to TimeZoneForm.
Update default exports with named exports and corresponding lazy() imports.

Target release date 🗓
09/03/2024
How to test 🧪
Verification steps
(How to verify changes)

Verify that the Profile feature works as expected.
Inspect the Profile pages for any visual regressions.

As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

@mjac0bs

There's one more failure that is legit and a result of these changes: security-questions.spec.ts. It's still looking for the enhanced select.

I've fixed the issue with the test looking for the old enhanced select component and is now passing locally.

I'm seeing a lot of console warnings about uncontrolled vs controlled when changing the values of the Autocomplete fields. I'd check to see how we're handling this in other uses of Autocomplete throughout the app.

These have been addressed with my latest changes. Thank you for inspecting the browser console and pointing these out.

@carrillo-erik Looks like there's a merge conflict that will need to be resolved. I'll take a final pass at this once this branch is up to date and Chandra's UX feedback is addressed. Thanks for addressing initial feedback.


Regression: Certificate validation does no longer work on linux machines when upgrading from 3.0.6 to 3.0.7 or 3.0.8

I used to build an instance of IMqttClientOptions as follows:
private IMqttClientOptions GetConnectOptions()
{
    var builder = new MqttClientOptionsBuilder()
        .WithCleanSession()
        .WithTcpServer(Configuration.Host, Configuration.Port)
        .WithProtocolVersion(MqttProtocolVersion.V311);

    if (Configuration.Auth.Enable)
    {
        builder.WithCredentials(Configuration.Auth.Username, Configuration.Auth.Password);
    }

    if (Configuration.Ssl.Enable)
    {
        builder.WithTls(parameters =>
        {
            parameters.UseTls = true;
            parameters.AllowUntrustedCertificates = Configuration.Ssl.AllowUntrustedCertificates;
        });
    }

    return builder.Build();
}

This used to work fine, also for ssl connections with letsencrypt certificates. By bumping the version to 3.0.7 or newer it still works on windows. It stops working on a linux (ubuntu bionic) machine with the error message The remote certificate is invalid according to the validation procedure..

This is the full stacktrace of the exception:
MQTTnet.Exceptions.MqttCommunicationException: The remote certificate is invalid according to the validation procedure. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
   at System.Net.Security.SslState.ThrowIfExceptional()
   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
   at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
   at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__46_2(IAsyncResult iar)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
   at MQTTnet.Implementations.MqttTcpChannel.ConnectAsync(CancellationToken cancellationToken)
   at MQTTnet.Internal.MqttTaskTimeout.WaitAsync(Func`2 action, TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at MQTTnet.Adapter.MqttChannelAdapter.WrapException(Exception exception)
   at MQTTnet.Adapter.MqttChannelAdapter.ConnectAsync(TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options, CancellationToken cancellationToken)
   at Infrastructure.Mqtt.Internals.MqttConnectionWatchdog.ConnectAsync(CancellationToken cancellationToken)

Bumping the application to .net core 3.1 resolves the problem.

For the case it helps:
I got a similar error message after upgrading to 3.0.7/3.0.8 a few weeks ago ("the remote certificate is invalid according to the validation procedure"). The reason was that with this version the checking for revoked SSL certificates is turned on by default due to a bug fix (it seemed to be enabled before, but was not).
In my case the application was running on a windows machine with no possibility to communicate on port 80 due to firewall restrictions so the certificate revocation check could not be performed.
I "solved" it by disabling the certificate revocation check in MqttClientOptionsBuilder on that machine.
Maybe your issue is related to that and has been somehow solved by upgrading to .net core 3.1. My app was running on .net core 3.0 IIRC.

@stedaho I observed that it worked fine on windows while it did fail on linux with ssl enabled, mqttnet >= 3.0.7 and netcoreapp2.2. This is in my opinion a hint to the cause of this issue. Can you confirm this with your usecase?


Code Quality: Assigned execution alias and URI for each build

Resolved / Related Issues

Closes #13112

Steps used to test these changes
None

Let me validate changes in the script locally.

PTAL


proxy: mcp.internal fixes and tests

Refcount leak on sets
Move the response elapsed timer back closer to when the response was processed as to not clobber the wrong IO object data
Adds start of unit tests

Requests will look like they run a tiiiiny bit faster than they do, but I need to get the elapsed time there for a later change.
TODO

[x] Write a few more tests before merging, maybe?
[x] Write a test specifically for running out of memory.
[x] Maybe later: internal OOM isn't being surfaced properly, causing a hang.

Need to do some deeper fixes on how error messages surface but I'm find labeling this feature experimental for the next cut so long as it's not leaking memory in obvious ways...


Tool: BEIR

BEIR
Beir is a benchmark of information retrieval. It was used for benchmarking Azure AI Search at Microsoft tech community - Azure AI Search: Outperforming vector search with hybrid retrieval and ranking capabilities. So I would like to try it on.
Reference
source: https://github.com/beir-cellar/beir
wiki: https://github.com/beir-cellar/beir/wiki

Started to run a notebook - https://colab.research.google.com/drive/1HfutiEhHMJLXiWGT8pcipxT5L2TpYEdt?usp=sharing.
Found list of dataset available - https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/.

Download dataset
import pathlib, os
from beir import util

dataset = "scifact"
url = "https://public.ukp.informatik.tu-darmstadt.de/thakur/BEIR/datasets/{}.zip".format(dataset)
out_dir = os.path.join(os.getcwd(), "datasets")
data_path = util.download_and_unzip(url, out_dir)
print("Dataset downloaded here: {}".format(data_path))

Examples and tutorials - wiki page provides sample code for the following scenario.

Lexical Retrieval: traditional text search using BM25.
Dense Retrieval: embedding (dense vector) using Transformer models etc.
Sparse Retrieval: embedding (sparse vector) using SPARTA, Pyserini, docT5query, DeepCT etc.
Reranking: SBERT CE etc.
etc


fix_build-run.md_open_another

Signed-off-by: alex<EMAIL_ADDRESS>

Now you run first node success.

Thank you for the contribution 😃


KAFKA-15347: add support for 'single key multi timestamp' IQs with versioned state stores (KIP-968)

The implementation is based on the latest discussions of KIP-968.

@cadonna

@mjsax I think ready for next round of review. Thanks.

@aliehsaeedii @mjsax The last build has many failed tests: https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-14626/26/tests. I also see them in other builds now. Are they related to this PR?

Thanks @dajac. We will merge our fixing PR after Jenkins builds.


TextField not reading input correctly upon pressing AltGr on desktop

Steps to Reproduce

Run flutter create bug.
Use the following file as main.dart

main.dart
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("TextField bug"),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            TextField(),
          ],
        ),
      ),
    );
  }
}

3. Run the app on desktop (tested only on windows for now)
4. Focus the textfield and write some stuff
5. Press AltGr and see that now textfield defaults every key press as ctrl was pressed too
6. To return to normal behaviour press ctrl
Expected results:
The textfield should register input correctly
Actual results:
Upon pressing AltGr every input is treated as there was the ctrl key pressed

Flutter doctor output
[√] Flutter (Channel master, 1.26.0-18.0.pre.210, on Microsoft Windows [Versione 10.0.21292.1010], locale it-IT)
    • Flutter version 1.26.0-18.0.pre.210 at C:\src\flutter
    • Framework revision a77388e670 (5 days ago), 2021-02-04 22:51:04 -0800
    • Engine revision b04955656c
    • Dart version 2.13.0 (build 2.13.0-0.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\dnbia\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: D:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.8.30907.101
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 4.1.0)
    • Android Studio at D:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Versione 10.0.21292.1010]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 88.0.4324.146

• No issues found!

Hi @HrX03
I don't have AltGr, can you please provide details on what kinda input is exactly showing  with "Upon pressing AltGr every input is treated as there was the ctrl key pressed"
Thank you

@TahaTesser Sorry for the late response but here's a video of what happens with the onscreen keyboard, hope it's clear enough
https://user-images.githubusercontent.com/29352339/107508670-aeb5f880-6ba1-11eb-8c26-af9d359c76e3.mp4

@TahaTesser sorry for the double mention, had some troubles with the previous video. Anyways here's a video showcasing the issue, recorded with the onscreen keyboard
https://user-images.githubusercontent.com/29352339/107509074-369c0280-6ba2-11eb-8f77-f623e4abbd7b.mp4

Hi @HrX03
Thanks for the details, I can re; produce using on-screen keyboard using English (India) layout which AltGr, using the same keyboard on google chrome or text document has no issue

flutter doctor -v
[âˆš] Flutter (Channel dev, 1.27.0-1.0.pre, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
    â€¢ Flutter version 1.27.0-1.0.pre at C:\Users\Taha\Code\flutter_dev
    â€¢ Framework revision 68c96f100e (2 days ago), 2021-02-08 16:14:15 -0800
    â€¢ Engine revision b04955656c
    â€¢ Dart version 2.13.0 (build 2.13.0-0.0.dev)
[âˆš] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    â€¢ Android SDK at C:\Users\Taha\Code\SDK
    â€¢ Platform android-30, build-tools 30.0.3
    â€¢ ANDROID_HOME = C:\Users\Taha\Code\SDK
    â€¢ Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    â€¢ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    â€¢ All Android licenses accepted.
[âˆš] Chrome - develop for the web
    â€¢ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[âˆš] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.4)
    â€¢ Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    â€¢ Visual Studio Community 2019 version 16.8.30907.101
    â€¢ Windows 10 SDK version 10.0.18362.0
[âˆš] Android Studio (version 4.1.0)
    â€¢ Android Studio at C:\Users\Taha\Code\android-studio
    â€¢ Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    â€¢ Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    â€¢ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[âˆš] VS Code (version 1.53.1)
    â€¢ VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    â€¢ Flutter extension version 3.19.0
[âˆš] Connected device (3 available)
    â€¢ Windows (desktop) â€¢ windows â€¢ windows-x64    â€¢ Microsoft Windows [Version 10.0.19042.746]
    â€¢ Chrome (web)      â€¢ chrome  â€¢ web-javascript â€¢ Google Chrome 88.0.4324.150
    â€¢ Edge (web)        â€¢ edge    â€¢ web-javascript â€¢ Microsoft Edge 88.0.705.63
â€¢ No issues found!

[âˆš] Flutter (Channel master, 1.27.0-2.0.pre.67, on Microsoft Windows [Version 10.0.19042.746], locale en-US)
    â€¢ Flutter version 1.27.0-2.0.pre.67 at C:\Users\Taha\Code\flutter_master
    â€¢ Framework revision 78ce11d7e3 (60 minutes ago), 2021-02-11 07:37:57 +0100
    â€¢ Engine revision cdc49c575b
    â€¢ Dart version 2.13.0 (build 2.13.0-25.0.dev)
[âˆš] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    â€¢ Android SDK at C:\Users\Taha\Code\SDK
    â€¢ Platform android-30, build-tools 30.0.3
    â€¢ ANDROID_HOME = C:\Users\Taha\Code\SDK
    â€¢ Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    â€¢ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    â€¢ All Android licenses accepted.
[âˆš] Chrome - develop for the web
    â€¢ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[âˆš] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.4)
    â€¢ Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    â€¢ Visual Studio Community 2019 version 16.8.30907.101
    â€¢ Windows 10 SDK version 10.0.18362.0
[âˆš] Android Studio (version 4.1.0)
    â€¢ Android Studio at C:\Users\Taha\Code\android-studio
    â€¢ Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    â€¢ Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    â€¢ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[âˆš] VS Code (version 1.53.1)
    â€¢ VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    â€¢ Flutter extension version 3.19.0
[âˆš] Connected device (3 available)
    â€¢ Windows (desktop) â€¢ windows â€¢ windows-x64    â€¢ Microsoft Windows [Version 10.0.19042.746]
    â€¢ Chrome (web)      â€¢ chrome  â€¢ web-javascript â€¢ Google Chrome 88.0.4324.150
    â€¢ Edge (web)        â€¢ edge    â€¢ web-javascript â€¢ Microsoft Edge 88.0.705.63
â€¢ No issues found!

Thank you

Same case here: https://github.com/flutter/flutter/issues/78005  with more detail.
In any Flutter app in a TextField widget, on Windows, pressing once the AltGr key will drive Windows keyboard crazy: after pressing AltGr, Windows behaves as if the ctrl key was pressed continuously in any application. (Pressing a simple v behaves like if the ctrl-v was pressed) Just double-pressing the left ctrl key will stop this strange state.
This bug prevents developing and publishing Flutter apps to Windows.

Text input has many problems in Windows, if they are not solved quickly they will prevent other developers from even testing with Flutter-Windows. :(


Improve api

better error handling (propagate jwt errors)
Issue #5
Configure token expiration
use marshmallow or webargs instead of flask_restful reqparse

JWTPropagation still needs some work. The current workaround blocks custom Exceptions and Flask_Restful exceptions. Which is why i commented it out for now...


Contracts service

[ ] solc.js compilation
[ ] Set/Get/Status

Closed in favor of #36. As long as contract deployment can be handled through the sendTx endpoint (there are definitely message size issues here) we don't need to do anything special here. Obviously this needs to be worked out for the examples but its not core functionality for this module.


Adding initial version of howto-menu

PTAL.
Most of the issues are addressed:) Let's add more styling/animations in a next PR.
Regarding branches, even as a collaborator, I don't think I have write access to create branches in the repo (I get 403).

That’s because I lied and you didn’t have access >.> I forgot to check, sorry. Fixed now :)

PTAL
Most issues are addressed, apart from attributeChangedCallback (need a clarification from @robdodson there).
Also, tests seem broken, but it happens also on master - do you know where's the issue?

Master works for me (and Travis) just fine. Since this is in your repo, I can’t fix it for you, but a rebase to master should do it :)

I'm abandoning this PR in favour of #78 (Somehow I'm unable to fix tests on this branch).


Add Save feature to Data Editor

Enable file saving when there has been at least 1 commit.  Should allow the user to overwrite the existing file or save as another filename.

Implemented in commit https://github.com/ctc-oss/daffodil-vscode/commit/9b5dcbe72848513ae75db1c81a01cc0abe63b893


Linux: could not find installation

I tried using this on our local cluster (Linux), which provides several different Mathematica versions via modules. I tried it with Mathematica 12.3 (which happened to be the most recent version available).

It was initially unable to find the installation:
$ wolfram-app-discovery default
warning: error looking for Wolfram apps in '/usr/local/Wolfram': No such file or directory (os error 2)
warning: error looking for Wolfram apps in '/opt/Wolfram': No such file or directory (os error 2)
Error: Error(Undiscoverable { resource: "default Wolfram Language installation", environment_variable:    Some("WOLFRAM_APP_DIRECTORY") })

this is despite the binary directory being in the PATH. For example:
WolframKernel -noprompt -run "WriteString[\$Output,\$InstallationDirectory];Exit[]"

gives me the correct directory.

I then set the WOLFRAM_APP_DIRECTORY environment variable. This then gave the following error:
$ wolfram-app-discovery default
Error: Error(Other("Unable to determine Wolfram app type from LICENSE.txt: first line was: \"Wolfram Mathematica License Agreement\""))

Hi Simon, thanks for filing this issue.
Re. (1) wolfram-app-discovery doesn't currently check for any Wolfram executables on PATH other than wolframscript. In your use-case, is WolframKernel specifically the only executable you'd expect wolfram-app-discovery to be able to use to find local Wolfram installations? I think that seems like a reasonable feature.
Re. (2) This is bug in wolfram-app-discovery. Currently on Linux there isn't any kind of common app metadata file that can be read to determine the precise app type, so as the quoted error message suggests, wolfram-app-discovery falls back to trying to parse LICENSE.txt, which is one of the few places where our build process embeds the precise name of the app.
I'll make a PR updating wolfram-app-discovery to recognize the quoted line as Mathematica and ping this issue when that's done.

Hi Simon, I've implemented a fix for your (2) issue (PR #52), and published wolfram-app-discovery v0.4.4 with the fix.
Let me know if (2) still persists with this new version.
Fixing (1) will require a little bit more thought than I can implement in a quick fix like this, but seems fundamentally doable.

Thanks!
There are 3 installations of mathematica on our cluster (11.1, 12.0, 12.3). 12.0 and 12.3 have the following execuables in the bin directory (which is the one the module puts in the PATH):
math  mathematica  Mathematica  MathKernel  mcc  wolfram  WolframKernel

and 11.1 has the following
math         Mathematica        MathKernel  wolfram        wolframscript
mathematica  MathematicaScript  mcc         WolframKernel  WolframScript

Interestingly, on 12.0 and 12.3, the Executables directory has
math  mathematica  Mathematica  MathKernel  mcc  wolfram  WolframKernel  wolframscript

but not on 11.1, which only has:
math  mathematica  Mathematica  MathKernel  mcc  wolfram  WolframKernel


Add a calendar list view

This change introduces list views. They are mostly a copy of the day views.

finally 🙏

lgtm

Has anyone had the time to review this? Is there something I can do to get this done soon?

Could you elaborate, what exactly this is supposed to do and solve. Maybe attach a screenshot to show?
There is no explanation in here.

I have tested this again and everything seems to work. The left filter view in the calendar is still very messy but this is a problem for another time.
@Tjeri if you still have any input regarding this PR, I am happy to hear it.
@hd1ex thank you for your contribution, I'll go ahead and merge.


Change mouse to pointer on hover

Mouse should change to pointer form when hovered on post comment/cancel button.

Can I please work on this ? Please let me know how to proceed with this?

can i work on this?please till me about the link in which i can find the source code??

You can use hover property in css. For finding the source code, use inspect element.

@ShreyaPrasad1209 ma'am i am unable to find post comment/cancel button !!Help me to find this so that i can start with this issue

@falguniraina Right now, there is an issue with comment section. Refer to this issue


Typo

"This makes it possible to define equality somewhat differently than for DateTimeOffset values" should read
"This makes it possible to define equality somewhat differently than for DateTime values"

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

ID: 42536391-9929-ac2b-eee1-b7f26f86ca4e
Version Independent ID: 7077b965-0323-7de6-5326-104b2772445c
Content: Performing arithmetic operations with dates and times
Content Source: docs/standard/datetime/performing-arithmetic-operations.md
Product: dotnet-fundamentals
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thanks for reporting that @markachus !


Who has access to contribution analysis by default?

Issue in help/analyze/analysis-workspace/virtual-analyst/contribution-analysis/ca-tokens.md
Can you help clarify which users have access to contribution analysis by default. This page says you should only grant access to users who won't abuse the right, but it doesn't say whether anyone other than admins have access. John Bates should be able to answer this quickly. I'm thinking it would help to add a sentence like this: "By default, only admins have access to run contribution analyses, but you can grant access to other users by creating a permission group in [...] ."

Hi Bret - you might think I am ignoring this issue, but I am actually not :-)
I looked at this overview page and think it needs to be beefed up a lot in terms of an actual overview of the topic. So I am in the process of doing that and will publish it early next week. In the meantime, I have addressed your issue, somewhat superficially, and will close it.

Thank you!
Bret Gundersen | Director Product Management, Adobe Analytics | +1.801.360.8813 | bret<EMAIL_ADDRESS>From: MicaPete<EMAIL_ADDRESS>Reply-To: "AdobeDocs/analytics.en"<EMAIL_ADDRESS>Date: Thursday, July 18, 2019 at 3:35 PM
To: "AdobeDocs/analytics.en"<EMAIL_ADDRESS>Cc: Bret Gundersen<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [AdobeDocs/analytics.en] Who has access to contribution analysis by default? (#9)
Hi Bret - you might think I am ignoring this issue, but I am actually not :-)
I looked at this overview page and think it needs to be beefed up a lot in terms of an actual overview of the topic. So I am in the process of doing that and will publish it early next week. In the meantime, I have addressed your issue, somewhat superficially, and will close it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAdobeDocs%2Fanalytics.en%2Fissues%2F9%3Femail_source%3Dnotifications%26email_token%3DADYOOQPI32EGGVPRRQH3JXLQADO3VA5CNFSM4ICN2GFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2J3RGI%23issuecomment-512997529&data=02|01|bgunders%40adobe.com|12683734d37c4135958908d70bc7ea29|fa7b1b5a7b34438794aed2c178decee1|0|0|636990825565965656&sdata=8DDi%2BQnlp%2B92T2i6pSMcHFeJ061YH4BCDUf4CYb77pU%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADYOOQP4H4MTANOAWAMXVMDQADO3VANCNFSM4ICN2GFA&data=02|01|bgunders%40adobe.com|12683734d37c4135958908d70bc7ea29|fa7b1b5a7b34438794aed2c178decee1|0|0|636990825565975651&sdata=3Af5kBPVEGu41R0lUqz8nQwHfAwgMu%2Fsph3cjJc0rfw%3D&reserved=0.


More Weather Providers

Is your feature request related to a problem? Please describe.
WeatherApi isn't that great. At least here in France, it's missing a lot of mid size cities which should be available.
The weather of the city the website recommends for my location is very different from mine.
Describe the solution you'd like
I'd like a choice between a few weather api's, not sure which are best, would have to be discussed/researched.
Describe alternatives you've considered
AccuWeather offers 50 calls/day with a free developer account for example, and most weather providers with an api offer a free plan. Not sure how they compare though.
Additional context
n/a

Does anyone have recommendations for some good weather apis that are free?

The APi that I see used often is wttr.in
Like in this Waybar example:
https://github.com/bjesus/wttrbar

I wonder if this issue is ongoing

https://github.com/chubin/wttr.in
wttr is really awesome. No need to mess around with api keys too, just curl and boom u get data :>

+1 for wttr


Recognize webp-format images in BLOB columns

Is your feature request related to a problem? Please describe.
When blob columns contain JPEGs or PNGs, I can easily see them in the viewer. I love it. I'm always frustrated that I cannot see WEBPs because we would prefer this format for most tasks.
Describe the solution you'd like
I'd like to see WEBPs in the viewer, just like PNGs. WEBPs start with something like RIFFZ WEBP or, more accurate, with 52 49 46 46 5A 18 00 00   57 45 42 50...
Describe alternatives you've considered
Encoding all my images as PNG. However, this does not align with other, more important requirements.
Additional context

Hello. Thanks for the idea.


webpack file created with create-react-app doesnot work properly.

when we do create-react-app and then webpack file is already created in node modules but it does not work. it shows error even after describing all configurations.

Please fill out the issue template when creating issues.


gather value

async function createAccount() {
const mnemonic = conseiljs.TezosWalletUtil.generateMnemonic();
console.log(mnemonic: ${mnemonic});
const keystore = await conseiljs.TezosWalletUtil.unlockIdentityWithMnemonic(mnemonic, '');
console.log(account id: ${keystore.publicKeyHash});
console.log(public key: ${keystore.publicKey});
console.log(secret key: ${keystore.privateKey});
}
a new account created for a new user with above function to receive the value.
it is possible to gather the value to a unique account?  and need to activate this account?
how to get a activateCode

These types of accounts do not need to be activated. Activation is only for fundraiser and faucet accounts. Please address further questions to the Cryptonomic Riot developer room

Your Riot is misconfigured
Invalid homeserver discovery response....

These types of accounts do not need to be activated. Activation is only for fundraiser and faucet accounts. Please address further questions to the Cryptonomic Riot developer room

the link is ERROR,Invalid homeserver discovery response


Simpler querying of database

A simple query of the database would be good. Right now I'm left with
from modularodm.query.querydialect import DefaultQueryDialect as Q
stuff = Stuff.find(Q('label', 'eq', 'foo'))

I would prefer to just add the field and what I'm searching by as arguments.

Could you provide some example code for how you'd like to see it?

I think @SamPortnow  meant something like Stuff.find('label', 'foo')
But I think it could get a bit more complex and hence the idea of having QueryDialect parse it

Sure - an alternate query building method isn't an unreasonable request. I'd like like some pseudocode examples of how people want it to work :)
SQLAlchemy allows this like this:
session.query(Stuff).filter(Stuff.label == 'foo')

I think we would be able to do something similar in Modular-ODM if that's what we wanted to do:
Stuff.find(Stuff.label == 'foo')

The comparison operator, instead of returning True or False, could instead build a QuerySet object - the same one that would result from Q('label', 'eq', 'foo').
Before trying to nail down the implemention details, I'd like to see at least a couple examples from users of how they'd like to see the developer interface work.


Consolidate dependency crates

What type of enhancement is this?
Tech debt reduction
What does the enhancement do?
reduce number of duplicated dependency crates and improve build time
first time building Greptimedb compiled thousands of crates and there are lots of duplicated crates with different versions, I wonder if we could deduplicate the crates and achieve better build performance.
   Compiling zstd-safe v6.0.6
   Compiling zstd-safe v7.0.0
   Compiling zstd-safe v5.0.2+zstd.1.5.2
   Compiling zstd v0.12.4
   Compiling zstd v0.13.0
   Compiling zstd v0.11.2+zstd.1.5.2
   Compiling tokio-rustls v0.23.4
   Compiling tokio-rustls v0.24.1
   Compiling parquet v47.0.0
   Compiling async-compression v0.4.4
   Compiling async-compression v0.3.15

Implementation challenges
maybe a centralized cargo workplace for dependencies?

Thanks for reporting this @lyang24. I've checked all three version of zstd, and non of them are directly dependent by greptimedb:
zstd v0.13.0:
zstd v0.13.0
├── async-compression v0.4.5
│   └── datafusion v32.0.0 (https://github.com/apache/arrow-datafusion.git?rev=26e43acac3a96cec8dd4c8365f22dfb1a84306e9#26e43aca)
│       [dev-dependencies]
└── datafusion v32.0.0 (https://github.com/apache/arrow-datafusion.git?rev=26e43acac3a96cec8dd4c8365f22dfb1a84306e9#26e43aca) (*)

zstd v0.12.4:
zstd v0.12.4
└── parquet v47.0.0
    [dev-dependencies]

zstd v0.12.4
└── orc-rust v0.2.43

zstd v0.11.2:
zstd v0.11.2+zstd.1.5.2
└── async-compression v0.3.15
    ├── common-datasource v0.4.3 (/home/wayne/repo/greptimedb-dev/src/common/datasource)
    │   [dev-dependencies]
    └── tower-http v0.3.5

For async-compression, its newest version 0.4 has bumped zstd to ^0.13. Would you like to submit a PR to upgrade async-compression?

Would you like to submit a PR to upgrade async-compression?
thank you for look into this and yes will do.

Looks like it's not a valid issue, I closed it, feel free to reopen it when you have problems.


Feature request: setting for setting the image saving path

Thanks for the great extension. This is the only one I could find that works for SSH connection. It'll be great if the saving location can be customized.

Thank you for your request! I added simple path config. #5


Add a license

Under which terms/conditions can people use this project?
An MIT License would be great.

MIT works if you want to add it and open a PR

fixed by issue #17


fix robot drawing before simulation start

Fixes #648
The robot drawing will only occur if the program is running, which is checked by examining the simControl button.

@bjost2s is there another way to to determine if the simulation is running?
If not, we should probably add one, you can save the state in a variable and start/stop with the specific events. This should be a lot cleaner.

Can you add your changes from #740 here, both can be in the same pull request.
I'll also give some feedback for that here:
The simRunning should be declared and exposed in the simulation.js in the setPause(...) method.
Here, the state of the button and the simulation is changed and the variable could be changed as well. Then the exported method isSimRunning can be used in the scene.js similar to what you already did.

Closed due to inactivity.


SQL Server EX Edition db_name

* aws_db_instance.default: Error creating DB Instance: InvalidParameterValue: DBName must be null for engine: sqlserver-ex
but database_name is required

so many bugs :-( I am encountering this issue as well
for SQL Server DBName is not applicable and must be null REF: https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html

Yep, that should be null. We're also setting that variable to null in mssql example.
https://github.com/cloudposse/terraform-aws-rds/blob/master/examples/mssql/fixtures.us-east-2.tfvars


add an explicit ability: search operator

the methods for searching for abilities in card text are pretty hokey.
it would be great to have something like:
ability:{trash,click,credits,whatever} that would help find all cards with trash ability.
open for discussion.  The idea isn't fully baked.

Isnt it possible with x:"[trash]" ?

That will find all instances of the [trash] icon in text, such as Geist. I believe @plural is talking specifically about costs for abilities, so you'd only be searching the elements before the colon.

Maybe we could use regex, something like "([trash]):", I have to add an regex extension for DQL, then I could probably get it to work. User could do something like abbility:1[credit] [click] [click] which would look for cards with a 1c AND 2 click paid abillities.
We should probably add a shortcut for "advancement/power/virus" like [advance] [power] [virus] etc.
From the "current" filter I worked on, it seems that we can't build multichar filters atm so maybe we should work on that one too, as single letters are not much informative, and would allow us more verbose filters like "text:","type:","subtype:".

I think I got it regexr.com/4trc7, problem is that the  tag has somehow the colon inside, we should probably clean it out inside the cards repo.


root README.md contains URL to MIFARE datasheet which doesn't work

Just a hint for the docs:
The README.md file in the root dir of the repository contains an URL to MIFARE datasheet which doesn't work.

Is this datasheet OK ? https://www.nxp.com/docs/en/data-sheet/MF1S50YYX_V1.pdf
This could by fixed with PR #47


Fix CRUD REST API crashing due to stack overflow

Motivation and Context
When the Spring auto-generated CRUD API attempts to gather all the data about events, it tries to follow all links, and in so doing it ends up in an infinite loop, which eventually causes a stack overflow.
What has changed
Told Jackson to ignore one end of the bidirectional relationship between events and cases/uac-qid-links.
How to test?
Load a sample. Send in a few different types of event (receipt, refusal, deactivate UAC etc) and then use the case search feature in the UI to view the case - it should work; not fail.
Links
Trello: https://trello.com/c/3gYzhczr

 Unable to search case once any event has happened


CP solver: XOr with OnlyEnforceIf not supported

I need a lot of XOrs for my model which are OnlyEnforceIf, but I can't get them to work (Not implemented?). I wonder because it is the equal to AddSumConstraint([...,1,1]) which supports OnlyEnforceIf.
from ortools.sat.python import cp_model
class SolutionPrinter(cp_model.CpSolverSolutionCallback):
    """Print intermediate solutions."""

    def __init__(self, variables):
        self.__variables = variables
        self.__solution_count = 0

    def NewSolution(self):
        self.__solution_count += 1
        for v in self.__variables:
            print('%s = %i' % (v, self.Value(v)), end = ' ')
        print()

    def SolutionCount(self):
        return self.__solution_count

model = cp_model.CpModel()
solver = cp_model.CpSolver()
a = model.NewBoolVar("a")
b = model.NewBoolVar("b")
c = model.NewBoolVar("c")
model.AddSumConstraint([a,b],1,1).OnlyEnforceIf(c) #works
model.AddBoolXOr([a,b]).OnlyEnforceIf(c) #does not work
solution_printer = SolutionPrinter([a,b,c])
# Call the solver.
solver.Solve(model)
status = solver.SearchForAllSolutions(model, solution_printer)

XOr with OnlyEnforceIf gives:
cp_model_solver.cc:888] Check failed: !HasEnforcementLiteral(ct) Not supported.

Def of AddSumConstraint()
https://github.com/google/or-tools/blob/master/ortools/sat/python/cp_model.py#L560
Def of AddBoolXOr()
https://github.com/google/or-tools/blob/master/ortools/sat/python/cp_model.py#L968

actually, it is a bit more tricky
xor(bool_var_array) is equivalent to sum(bool_var_array) % 2 == 1.
In your case, this is trivial. I need to change the propagator. I will have a look at it.

I have clarified the documentation about which constraints support enforcement literals.
I will close the issue now as I have no plan right now to implement this, as you request is much simpler than a reified general xor.

http://google.github.io/or-tools/python/ortools/sat/python/cp_model.html#Constraint.OnlyEnforceIf
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le lun. 27 sept. 2021 à 15:00, Tias Guns @.***> a
écrit :

Hi,
Sorry to re-open the issue. I have hit the same limitate (AddBoolXor not
supporting .onlyEnforceIf()).
Where can I find the documentation of which constraints do and do not
support reification?
For bonus points, a note in the AddBoolXor docs that one should do the
equivalent of Add(sum(args) == 1).onlyEnforceIf(b) would be great...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/800#issuecomment-927850574,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3JOPQY73RVB3KBDZMDUEBTIXANCNFSM4FO65T4Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

and source of truth:
https://github.com/google/or-tools/blob/b37d9c786b69128f3505f15beca09e89bf078a89/ortools/sat/cp_model.proto#L298
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le lun. 27 sept. 2021 à 15:04, Laurent Perron @.***> a écrit :

http://google.github.io/or-tools/python/ortools/sat/python/cp_model.html#Constraint.OnlyEnforceIf
Laurent Perron | Operations Research | @.*** | (33) 1 42 68
53 00
Le lun. 27 sept. 2021 à 15:00, Tias Guns @.***> a
écrit :

Hi,
Sorry to re-open the issue. I have hit the same limitate (AddBoolXor not
supporting .onlyEnforceIf()).
Where can I find the documentation of which constraints do and do not
support reification?
For bonus points, a note in the AddBoolXor docs that one should do the
equivalent of Add(sum(args) == 1).onlyEnforceIf(b) would be great...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/800#issuecomment-927850574,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3JOPQY73RVB3KBDZMDUEBTIXANCNFSM4FO65T4Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[refactor] #2675: Validate item names/ids without allocating Vec

Signed-off-by: Wenfeng Sui<EMAIL_ADDRESS>

Description of the Change

Issue

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

@ilchu @Erigara Please help approve by done review again.
the pr not passed the DCO check before.

@Erigara Looks this codecov check not work, because it compared to an earlier commit, and blocked this pr, can you help bypaas it?


Integrate llvm/llvm-project@dc275fd03254

Updated to llvm/llvm-project@dc275fd03254
Updated to tensorflow/mlir-hlo@df8aeb5

The failing tests are foreach-thread-to-async.mlir and foreach-thread-to-scf-for.mlir. They don't have any users; that's why I'd like to deprecate them in https://github.com/openxla/iree/pull/12756
Maybe we can disable the tests to unblock integrate for now?

If it is not an easy fix, then yeah, disable the test and file a bug. @hanhanW you can link the bug in your PR as justification for deprecation (maintenance burden on things not really used/not planned on being used is justification for deprecation)

Created an issue for re-enabling those tests: https://github.com/openxla/iree/issues/13374

There is a compilation time regression on CUDA. @okkwon can you take a look before landing?

The compilation time looks fine to me. The recent runs are all about 185k. It is very noisy, and the baseline seems to be outdated.

Nope. Good to go


[FLINK-32963][Test] Remove flakiness from testKeyedMapStateStateMigration

Update StateBackendMigrationTestBase.java2

What is the purpose of the change
This PR makes the following test stable: org.apache.flink.runtime.state.FileStateBackendMigrationTest.testKeyedMapStateStateMigration
The test is currently flaky because the order of elements returned by the iterator is non-deterministic.
This PR fixes the flaky test by making it independent of the order of elements returned by the iterator.
We detected this using the NonDex tool using the following command:
mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex -pl flink-runtime -DnondexRuns=10 -Dtest=org.apache.flink.runtime.state.FileStateBackendMigrationTest#testKeyedMapStateStateMigration
Please see the following Continuous Integration log that shows the flakiness:
https://github.com/asha-boyapati/flink/actions/runs/5909136145/job/16029377793
Please see the following Continuous Integration log that shows that the flakiness is fixed by this change:
https://github.com/asha-boyapati/flink/actions/runs/5909183468/job/16029467973
The Jira ticket associated with this PR is as follows:
https://issues.apache.org/jira/browse/FLINK-32963
Brief change log
This PR fixes the flaky test by making it independent of the order of elements returned by the iterator.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
This change only modifies a test slightly and does not change any underlying code.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

Thank you for your comments.  I made the changes according to your suggestions.  I created a separate method called sortedIterator.  And I used a TreeSet.  Please take another look when you have time.

I squashed the commits and changed the commit message.  I also changed the component tag to "Test" as you suggested.  Please take another look.

I want to add that this PR not only removes flakiness from the test mentioned in the title and description (org.apache.flink.runtime.state.FileStateBackendMigrationTest.testKeyedMapStateStateMigration), but also from the following two tests:
org.apache.flink.runtime.state.FileStateBackendMigrationTest.testKeyedMapStateAsIs
and
org.apache.flink.runtime.state.FileStateBackendMigrationTest.testKeyedMapStateSerializerReconfiguration
All 3 tests call the function testKeyedMapStateUpgrade, which used to use unsorted iterators before this PR but uses sorted iterators after this PR.  This PR thus removes the flakiness from all 3 tests in the same way.
I confirmed this by checking out the versions just before and after this commit and running the NonDex tool using the following commands:
mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex -DnondexRuns=10 -pl flink-runtime -Dtest=org.apache.flink.runtime.state.FileStateBackendMigrationTest#testKeyedMapStateStateMigration
mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex -DnondexRuns=10 -pl flink-runtime -Dtest=org.apache.flink.runtime.state.FileStateBackendMigrationTest#testKeyedMapStateAsIs
mvn edu.illinois:nondex-maven-plugin:2.1.1:nondex -DnondexRuns=10 -pl flink-runtime -Dtest=org.apache.flink.runtime.state.FileStateBackendMigrationTest#testKeyedMapStateSerializerReconfiguration


Bug Fix e2e tests

This Commit,

Fixes build failure due to e2e tests

ISSUE TYPE

Bug fix Pull Request

SUMMARY

Fixes #384

I assume these changes are for further debugging of test failure.

yes @sanketsudake, The test cases are working fine in local, so trying to check through Github actions and debug further.
we need to hold this for now.

Tried different possible ways of fixing this issue. Doing so, we can understand that, we need to Mock the time delay involved in listening, filtering, and notifying events to all notifiers or we need to test each notifier individually
@PrasadG193 @sanketsudake thoughts and comments on this..?

@codenio let's merge this fix for now so that other PRs will get unblocked. We will definitely have to revisit this and come up with a better solution

Hello @codenio ,
Thanks again for the PR!
Thank you for contributing to BotKube. Could you please fill out this form, so we can send the well deserved awesome swags :slightly_smiling_face:
Team BotKube


range slider with no maximum

I'm making a range slider with ng2-ion-range-slider Angular 5
But I want make a slider with no maximum value which is infinite slider
Any recommendations?

Sorry, this is just a wrapper for https://github.com/IonDen/ion.rangeSlider
Please ask your question in this project. If it is possible with the plain ion.rangeSlider, than we can adapt that way to this wrapper.


Improve the handling of leaveBreadcrumb's metadata property when it cannot be serialized

Description
We had breadcrumbs that were not showing up in our error reports, which wasn't discovered until we randomly saw

unable to serialize breadcrumb: not a valid JSON object

in our logs.
The problem was a simple fix ... we were sending a value from an enumerated type, and adding a description, or rawValue, or String(describing: value) all would do the trick.  This led to being a bit more robust in our solution and before sending the payload to bugsnag, we converted any non serializable values using String(describing: value).
Describe the solution you'd like
I would like it if we didn't have to pre-process the metadata that we sent to leaveBreadcrumb.  Being a little smarter about how to serialize data would be a win, or even if the compiler told us that we needed to fix it on the calling end, would have been a win.
Describe alternatives you've considered
I built out solutions to leverage the compiler and to just convert at runtime when there was an issue, and found that the runtime change was less disruptive overall.
Additional context

Hi @hitsvilleusa,
We're going to take a look into this to see what we can do to improve it. We will keep you updated here. Thanks.

https://github.com/bugsnag/bugsnag-cocoa/pull/1187

This has now been fixed in v6.12.2 🎉


lemmy: 0.17.2 -> 0.17.3

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

The changes look good, thanks for doing this!
I'm noticing something different when I try running the upgrade script locally.
Running $ nix-build -A lemmy-ui fails for me with a warning that the nodejs version is insecure.
FYI @happysalada the oil script should probably fail rather than set the sha to "           }"
My upgrade results of pin.json are
{
  "version": "0.17.3",
  "serverSha256": "sha256-1ut0Crs5DAS/AjX7aZzFAIqmmeYlZu6xaRZZaUdT6Pk=",
  "serverCargoSha256": "sha256-gYWcaSIPR8FXk6blzEnuN27v5fushwk4LJEl6g3W+W8=",
  "uiSha256": "sha256-Y5CzPITLZ2+S2WOGNwDgDSqg9FzWgztnbUWYGk2PzoU=",
  "uiYarnDepsSha256": "            }"
}

It works on my machine if I remove both $ in the oil update script: latest_version === current_version
The trailing } showing up in the sha is because node14 is now deprecated.
In pkgs/top-level/all-packages.nix, line 25653, lemmy-ui is set to nodejs_14. @happysalada I forgot why we did this, probably an error at the time.
If you remove it the update script works properly and has different hashes when I run it (I get the same serverCargoSha256 tho).
lemmy-ui = callPackage ../servers/web-apps/lemmy/ui.nix { };

Result of nixpkgs-review pr 236266 run on x86_64-linux 1

2 packages built:

lemmy-server
lemmy-ui