Qubit allocation / deallocation / move

Problem: A common optimization for simulators to perform is to allow for qubits to exist for only some small amount of time.  Qubits can be allocated and deallocated as the simulation runs and this can result in smaller simulation step sizes (less memory and less time).  This type of optimization is useful in quantum error correction and in open systems simulation.  In addition there are architectures in which moving a qubit around is a useful concept and one good way to implement this is to consider move swaps operations as a separate type of operation.  Simulators can often interpret this as tensor index re-ordering, and hence this can be used to speed up simulation.
Rough requirements:

Define how one can allocate and deallocate a qubit.
Define movement gates
Ensure that the ability to spot allocations / deallocations / movement can be done easily by simulators.
Implement optimizations in simulators.

There's an argument to be made that #4100 will fulfill the majority of this feature request. In short:

Qubits are "allocated" when they first appear in a circuit.
Qubits are "deallocated" when they are measured.
Simulators handle (de-)allocation by splitting and merging states, as defined in their associated ActOnArgs class.

Qubit-moving is not explicitly covered in that PR, but it does add a "reorder" method to the ActOnArgs interface which could be used for this purpose.

"reorder" would only handle moving if they were in the same qubit entanglement set. If they weren't, of course you could join the two qubit sets then reorder, which would do it but then you've got an unnecessarily joined set.
An optimization would be to add logic to core_iterator that explicitly looks for swap gates, and then renames the corresponding two qubits in the two qubit sets (requires a new rename_qubit function; straightforward to write). Renaming would be more efficient than reordering too because the latter physically restructures the tensor to the specified order.

#4169 handles the qubit-moving part.

The PRs mentioned above provide implicit qubit (de-)allocation in simulation - i.e., there is no "allocate qubit" operation, the simulators simply detect changes in qubit entanglement and adjust accordingly.
@dabacon, does this fulfill the requirements for ion trap simulation (particularly with regards to "moving" qubits), or are separate, explicit qubit (de-)allocation operations also necessary?

From @mpharrigan: could we add support for tracing qubits out (rather than measuring them)?

@mpharrigan @viathor Note all the PRs for this is merged into master now. Per tracing out, if you add reset gates to things you no longer need, the simulator separates those.
So, a bell state between q0, q1, with reset on q1: cirq.Circuit(cirq.H(q0), cirq.CX.on(q0, q1), cirq.reset(q1)) would separate into
q0:
[[0.5, 0]
 [0,   0.5]]
q1:
[[1, 0]
 [0, 0]]

Does this satisfy the needs for tracing out? Do we want an optimizer that appends reset gates to unused/unmeasured qubits? Or can we mark this as done?

Yes, I think this will work. I had to take a chunk of time to convince myself that resetting a qubit you're throwing out can't mess things up with the qubit you're keeping, and I wanted to find the hidden trace operation. In case it's helpful for others: The unitary equivalent of reset is swapping your system qubit |psi> with a |0> ancilla. The ancilla is traced out to get our familiar reset channel (non-unitary); but psi is now on the ancilla! this is where the trace implicitly happens.

@95-martin-orion looks like this can be closed now.

Re-closing. Turns out there were other issues, see #4360


Accommodate multiple detection configurations for single MassSpectrometry instance

MassSpectrometry class would have new slot mass_detection_analysis slot with a multivalued range of new class MassSpectrometryDetection. This would be an ordered list.
MassSpectrometryDetection class would have slots resolution_category, mass_analyzer, mass_spectrum_collection_mode, polarity_mode.  These slots already exist and would move off of  MassSpectrometry

Dependent on #1913


Fix testHAProxyModeConnectionWorks is flaky

Description
This PR fixes the flaky test testHAProxyModeConnectionWorks in RemoteClustersIT, from the gradle check log, we can see that the test case testProxyModeConnectionWorks always succeeds but the case testHAProxyModeConnectionWorks fails, the haproxy service haproxy:9600 provides a reversed proxy for opensearch-2:9300, opensearch-2:9300 is OK but haproxy:9600 cannot be accessed, so the only reason is that the haproxy service is not available at that time, maybe caused by that haproxy starts before opensearch-2, and the domain opensearch-2 is not ready, so haproxy exits with error:
2024-09-26 14:03:42 [ALERT] 269/060342 (1) : parsing [/usr/local/etc/haproxy/haproxy.cfg:22] : 'server default' : could not resolve address 'opensearch-2'.
2024-09-26 14:03:42 [ALERT] 269/060342 (1) : Failed to initialize server(s) addr.

Since haproxy depends on opensearch-2, so we should add a depends_on attribute for the haproxy service in the docker-compose.yml, and also add healthcheck for it to make sure the haproxy service is ready before the tests execute.
Related Issues
https://github.com/opensearch-project/OpenSearch/issues/14599
Check List
- [ ] Functionality includes testing.
- [ ] API changes companion pull request created, if applicable.
- [ ] Public documentation issue/PR created, if applicable.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @gaobinlong , I think you may need to rebase against main


PHP 8.1 deprecations fix

?
!

Type
improvement

BC Break
no

Summary
At php 8.1 got some deprecations:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /srv/app/vendor/longman/telegram-bot/src/Entities/Message.php on line 161

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/app/vendor/longman/telegram-bot/src/Entities/Message.php on line 264

Fix ensures that passed parameter is a string.

@noplanman, I'm sorry, but what should I do next for this pr merged? I see neighboring pr is about one month without any comments.

Hi @maxgorovenko, I'm very busy with work and other projects, which is why I've not been very active here. My apologies.
Hope to put aside some time and invest it here, to update things here and there.
Thanks for your fix 👍


support annotating segmentation dataset

Hi all,
Your work is definitely remarkable, annotating images is very time-consuming.
Things become even worse when annotating image for segmentation. I know there is already a very nice segmentation annotation website  supervise.ly. But this project is not open source and you have to upload your own images to their website before annotating.
I hope your tool can support annotating segmentation dataset. I also a programmer and I want to work on this with you in my spare time. If you have any ideas about this, Please let me know. Thx!

Hello! Thank you for showing interest in the project! Adding annotation for segmentation datasets is on our platter right now and we will be trying to incorporate that. We are also working on setting up contribution regulations for the project for seamless work and support to developers.


Fix meeting tiles design on mobile view

Mobile view
Meetings tiles should have visible all sides, for now they are on the edges of the screen

:tada: This issue has been resolved in version 1.4.37 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Android & IOS] The app is not receiving receipts from the retailer

Reason
The app is not receiving receipts from the retailer
Description
if you login an amazon account and a gmail one, the app will only receive receipts from the email and the onComplete is never returned.
Success Criteria

[ ] We should receive receipts both from IMAP and retailers

Additional Information
No response

In iOS i receive 17 receipts of Microblink and no one was accept, this is the output.

and the log of xcode
⚡  TO JS<EMAIL_ADDRESS>⚡  To Native ->  Preferences set 30007788
⚡  TO JS undefined
⚡  To Native ->  CaptureReceipt scan 30007789
⚡  To Native ->  TikiSdk getPayables 30007790
invoke method
⚡  TO JS {"payables":[]}
⚡  TO JS {"payload":{"instacartShopper":false,"fraudulent":false,"products":[[{"subProducts":[],"unitOfMeasure":"","productNumber":"","blinkReceiptCategory":"Electronics|Computers|Hard Drives, SSD & Storage","fullPrice":0,"probability":0,"additionalLines":[],"descr
⚡  TO JS {"payload":{"loyaltyProgram":false,"receiptTime":"23:27","currencyCode":"USD","blinkReceiptId":"A2542426-89E6-4872-8133-B0FC33FBB64F","qualifiedPromotions":[[]],"products":[[{"subProducts":[],"quantity":1,"blinkReceiptCategory":"Household Essentials|Househ
⚡  TO JS {"payload":{"instacartShopper":false,"duplicateBlinkReceiptIds":[],"tip":0,"subtotal":0,"coupons":[[{"unitOfMeasure":"","quantity":1,"possibleProducts":[],"sensitive":false,"fullPrice":0,"voided":false,"subProducts":[],"productNumber":"","priceAfterCoupons
⚡  TO JS {"event":"onReceipt","payload":{"merchantSources":[],"eReceiptEmailSubject":"Novidades no Disney+","eReceiptShippingCosts":0,"coupons":[[]],"ocrConfidence":0,"eReceiptEmailProvider":"gmail","shipments":[[]],"paymentMethods":[[]],"tip":0,"unqualifiedPromoti
⚡  TO JS {"payload":{"duplicateBlinkReceiptIds":[],"retailerId":11365,"eReceiptMerchantEmail":"transaction@notice.aliexpress.com","unqualifiedPromotions":[[]],"eReceiptAuthenticated":false,"eReceiptEmailSubject":"Pedido<PHONE_NUMBER>882015: confirmação de compra","sub
⚡  TO JS {"event":"onReceipt","payload":{"products":[[{"probability":0,"possibleProducts":[],"unitPrice":290.6199951171875,"voided":false,"unitOfMeasure":"","subProducts":[],"priceAfterCoupons":290.6199951171875,"added":false,"fullPrice":0,"totalPrice":290.61999511
⚡  TO JS {"event":"onReceipt","payload":{"merchantSources":[],"eReceiptEmailSubject":"Pedido<PHONE_NUMBER>882015: atualização de entrega","eReceiptShippingCosts":0,"coupons":[[{"productNumber":"","additionalLines":[],"fullPrice":0,"possibleProducts":[],"unitOfMeasure"
⚡  TO JS {"payload":{"qualifiedPromotions":[[]],"foundTopEdge":false,"loyaltyProgram":false,"eReceiptComponentEmails":[[]],"fraudulent":false,"paymentMethods":[[]],"eReceiptEmailProvider":"gmail","merchantSources":[],"receiptTime":"09:12","products":[[]],"subtotalM
⚡  TO JS {"payload":{"currencyCode":"USD","qualifiedPromotions":[[]],"foundTopEdge":false,"eReceiptFulfilledBy":"Aliexpress.com","loyaltyProgram":false,"eReceiptEmailProvider":"gmail","eReceiptComponentEmails":[[]],"paymentMethods":[[]],"total":0,"merchantSources":
[Capacitor Plugin Error] - CaptureReceipt - addListener - Unable to serialize plugin response as JSON.Ensure that all data passed to success callback from module method is JSON serializable!
⚡  TO JS {}
⚡  TO JS {"payload":{"coupons":[[{"unitOfMeasure":"","description":"<BRProduct: 0x153f71e50>","additionalLines":[],"totalPrice":290.6199951171875,"quantity":1,"subProducts":[],"fullPrice":0,"possibleProducts":[],"unitPrice":290.6199951171875,"sensitive":false,"prod
⚡  TO JS {"payload":{"eReceiptComponentEmails":[[]],"eReceiptAuthenticated":false,"shipments":[[]],"unqualifiedPromotions":[[]],"coupons":[[]],"duplicateBlinkReceiptIds":[],"paymentMethods":[[]],"merchantSources":[],"productsPendingLookup":0,"receiptDate":"10/06/
⚡  TO JS {"requestId":"bdd32c66-6bc5-4b45-ac51-6fc17fbe815e","event":"onReceipt","payload":{"foundBottomEdge":false,"foundTopEdge":false,"eReceiptShippingCosts":0,"tip":0,"eReceiptComponentEmails":[[]],"merchantSources":[],"eReceiptRawHtml":"<div style="padding-bo
⚡  TO JS {"requestId":"bdd32c66-6bc5-4b45-ac51-6fc17fbe815e","event":"onReceipt","payload":{"eReceiptComponentEmails":[[]],"eReceiptAuthenticated":false,"shipments":[[]],"unqualifiedPromotions":[[]],"coupons":[[]],"duplicateBlinkReceiptIds":[],"paymentMethods":[[]]
⚡  TO JS {"payload":{"foundBottomEdge":false,"blinkReceiptId":"0ECCF4A6-BFBC-4823-B0BA-2BC31C745D5B","qualifiedPromotions":[[]],"merchantSources":[],"eReceiptComponentEmails":[[]],"fraudulent":false,"shipments":[[]],"instacartShopper":false,"tip":0,"duplicateBlinkR
⚡  TO JS {"event":"onReceipt","payload":{"coupons":[[]],"loyaltyProgram":false,"eReceiptEmailSubject":"[Nintendo Account] New sign-in","receiptDate":"10/07/2023","qualifiedPromotions":[[]],"receiptTime":"15:07","productsPendingLookup":0,"paymentMethods":[[]],"fou
⚡  TO JS {"event":"onReceipt","payload":{"subtotalMatches":false,"eReceiptEmailSubject":"Pedido<PHONE_NUMBER>882015: alfândega concluída","duplicateBlinkReceiptIds":[],"duplicate":false,"loyaltyProgram":false,"merchantSources":[],"eReceiptMerchantEmail":"transaction@n
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid receipt: Invalid retailerId: 10050
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid body. Skipping callback: {}
⚡  [debug] - Invalid receipt: Invalid retailerId: 11365
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 0
⚡  [debug] - Invalid receipt: Invalid retailerId: 0

@JesseMonteiro
This issue is definitely related to serialization of receiptIds
see line 23 in RspReceipt.swift private let retailerId: UInt
now compare this to line 34 in RspReceipt.kt private val retailerId: JSRetailer where we return
    private val id: Int
    private val bannerId: Int

At first glance it looks like Microblink handles this differently for iOS & Android:
https://blinkreceipt.github.io/blinkreceipt-ios/Classes/BRScanResults.html

here a list of the serialization differences between android and IOS:

RetailerId:
*Android: is an object with id and bannerId properties
*IOS: is an Int
Many fields are typed as JS[type]Type in android because they are an object with a "value" with the same type as the name and a "confidence" being a float. in IOS we only have the value and is not an object:

Android:
{
receiptDate: {
confidence: float,
value: String
}
}

IOS: receiptDate: String
the fields with that problem are:
[ ] receiptDate
[ ] receiptTime
[ ] retailerId
[ ] total
[ ] tip
[ ] subtotal
[ ] taxes
[ ] storeNumber
[ ] merchantName
[ ] storeAddress
[ ] storeCity
[ ] storeState
[ ] storeZip
[ ] storeCountry
[ ] storePhone
[ ] cashierId
[ ] transactionId
[ ] registerId
[ ] taxId
[ ] mallName
[ ] last4cc
[ ] longTransactionId
[ ] merchantMatchGuess
[ ] purchaseType
[ ] channel
[ ] paymentTerminalId
[ ] paymentTransactionId
[ ] combinedRawText


Note: No Recommendation for Gender-Inclusive Characters in German Orthography

The Council for German Orthography (Rat für deutsche Rechtschreibung) has not recommended the inclusion of gender-inclusive characters such as asterisks ("gender star"), underscores ("gender gap"), or colons in the Official Rules of German Orthography. This concerns the use of these characters within words to indicate multi-gender designations.
Rationale:

Gender-inclusive language is viewed as a societal and socio-political task that cannot be solved solely through orthographic rules.

The use of special characters within words can impair readability, text-to-speech functionality, and automatic translation.

The Official Rules apply to schools, administration, and the judiciary. Deviating from these could raise legal questions, particularly in higher education.

Sources:

Council for German Orthography, Press Release dated March 26, 2021
Council for German Orthography, Press Release dated December 15, 2023

Related discussion


django_tables2 is brittle; any bad cross references break.

E.g., if a member has a unparseable chapter set, the link crossref will fail and bring down the whole list.  Unfortunate.
Either better error handling or a different table framework?

I think in the short term we may want to look at dealing with django_tables2. In the long term, we may want or need to consider replacing our use of django_tables2.
@duckpunch any additional thoughts?

I think in the short term we may want to look at dealing with django_tables2.

Do we have examples of where this fails, per the ticket?  Might be good to have something explicit we're trying to fix.
If there's nothing explicitly broken, we can probably recast this ticket for the longer term consideration.

In the long term, we may want or need to consider replacing our use of django_tables2.

Seems reasonable.  Seems there are a few paths here.  One is to embrace a frontend that includes a build step (e.g. npm).  Another is to avoid the build step and write javascript like it's 2005.
The former might be nice since it would allow us to leverage all manner of libraries.  That said, it wouldn't play really well with collectstatic (though there may yet be more libraries to help deal with that).  It would make development a pain, too.
The latter might be nice for its simplicity.  A library like htmx could be a good fit with Django.
Sticking with an approach like django_tables2 probably limits how rich our frontend could be.  It's also tied to the Django ORM (the downside which produced this ticket).
All that said, my vote goes to the static javascript without the additional build step.  Further, I think we should only take on that work alongside some other frontend ticket that might benefit (like #148).

The latter might be nice for its simplicity. A library like htmx could be a good fit with Django.
I wonder if we should address this as one big pull or a smaller set of incremental pulls seeing as we will need to add quite a few endpoints for htmx to be supported.

django_tables2 will be removed as part of the Redesign - Milestone.

Closing, for now. Resolution can be found in beta.


Added AddTwoNumbers Problem in python

Related Issue
Closes: #576
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Language used for coding
Mention the language you have used for coding here.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Your folder name should be same as problem name. Also add some comments to your code.
Please read Contribution Guidelines

can you please review the PR

I have requested you changes, please check your file according to requirement.

Now can you please check


Moving message in PR template to a comment

Platforms affected
None!
What does this PR do?
Change the template that I am currently filling out so that the checklist message is in a comment
What testing has been done on this change?
Absolutely none.
Checklist
Please make sure these boxes are checked before submitting the PR. This checklist is intended as a quick reference, for complete details please see our Contributor Guidelines. Thanks!

[x] ICLA has been signed and submitted to<EMAIL_ADDRESS>[ ] Reported an issue in the JIRA database
[ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[X] Add automated test coverage as appropriate for this change.

@nikhilkh please review

I wonder if we should shorten the commit message bullet so that it doesn't wrap lines like that? Maybe we can link to http://cordova.apache.org/contribute/contribute_guidelines.html instead of giving an example (though that page doesn't have anchors for the headings)

LGTM


[docs]Refine Pulsar Functions overview and structure

Master Issue: #4554
Motivation
We've proposed a new structure for Pulsar Functions in #4554, so I refine the overview file and part of structure.
Modifications

Refine the Pulsar Functions overview.
Refine part of Pulsar Functions structure.
Currently, I keep the following parts in the sidebars.json unchanged.  We're designing the "Language-specific Code Tabs" for website. After success, we can adopt the structure as advised by @sijie in #4554, and I'll create new files for this part.

@wolfstudy could you help review the update? Thank you.

Good idea, I'll update it soon.

In OverView, is it necessary to add Function example and Deployment example and so on.
I think

We can move them to a specific API module to introduce
Add the Function related to the Function Worker to OverView because

In OverView, is it necessary to add Function example and Deployment example and so on.

We can move them to a specific API module to introduce

We can move the two examples to specific API modules if that's more proper. @sijie any thoughts on this?

Add the Function related to the Function Worker to OverView because

We have put Functions worker in a separate section, refer to #4605.

@Jennifer88huang @wolfstudy  I think it might be good to keep an simple example in the overview section, so the developers get an idea about how does Pulsar Functions look like.

Currently, we have four examples for programming model section: function, deployment, word count, content-based routing examples. So shall we keep the four examples, or just keep word count example?

We've decided to keep "deploy example" and "word count example", and remove the other two examples.

Updated as per decision. If there is no other issue, could we merge this PR?

Since native functions/SDK, SerDe, Schema Registry, logging, user config, metrics, state storage have been written in functions-deploy(new) guide, I remove those content from the "overview".
Add a new section for "thread/process mode", and fix https://github.com/apache/pulsar/issues/3400

Any issue, feel free to comment. If there is no issue, could we merge this PR?

run integration tests
run java8 tests


Apache Drill Complex Union Types are not supported

This page calls out the ability to use Apache Drill to query event captured data, which does not appear to work.
With a very basic setup of Apache Drill, querying event hub data seems to work only for events that have a null body. Anything with a the byte array body will return this error message from Apache Drill.
Error: UNSUPPORTED_OPERATION ERROR: 'complex union' type is not supported
There should probably be a note added or the support for Apache Drill removed from the page. I wasted quite a bit of time trying to get it setup and working.
This is a fork (updated to include jars instead of invalid maven download links) of the referenced article on the page. It is unable to decode the events stored by Capture.
https://github.com/destumme/apache-drill-azure-blob

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

ID: 71093e2a-bbff-3a79-5f16-289a3a5f6cd7
Version Independent ID: e4e9873d-0ae7-25a4-16d1-5ecac6e84b91
Content: Capture streaming events - Azure Event Hubs - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-capture-overview.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

Thank you for your detailed feedback.  We are looking into the issue, and we will respond when we have more information.

Thank you for your feedback, @destumme  . This has been assigned to the content owner, @spelluru  , and will be updated as appropriate.

Hi @destumme - Thanks for the feedback on the article. Sorry that you are running into an issue when consuming captured data with Apache Drill.
I checked with our product team and they pointed me to the sample in the Azure-Samples repo.
https://github.com/Azure-Samples/streaming-at-scale/tree/main/eventhubs-capture
Please see if this version of the example in the official repo helps. If not, please open a support ticket so that support team/product team can troubleshoot the issue.
Thanks
#please-close

It's not a matter of support from the azure side of things.
No versions of Apache Drill will support the schema used by Capture from Event Hub, so the documentation is simply not accurate. The link you gave does exactly what the repository in the article does, even authored by the same contributor at around the same time.

@destumme - I will work with our product team on this again. Thanks.

@yorek - could you please review comments from @destumme and add your input here? I will update the article based on your input. Thanks in advance.


refactor: better go module import impl

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

re https://github.com/kcl-lang/kcl-go/issues/332
re https://github.com/kcl-lang/kcl/issues/1543
refactor: better go module import impl

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

80 of 101 (79.21%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 32.622%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/tools/gen/genkcl_gostruct.go
80
101
79.21%

Totals

Change from base Build<PHONE_NUMBER>2:
0.3%

Covered Lines:
5701

Relevant Lines:
17476

💛  - Coveralls


C103520: Changing italic asterisks by italic underscore

Localization team has reported source content issue that causes localized version to have broken/different format compared to en-us version.
Description: Reporting source issues as a result of nested asterisks (i.e. *** instead of **_) that are breaking code in localized sites.

Hi @Erikre, could you please help us by merging this PR if agree?
regards.

Hi @Erikre, could you please help us by merging this PR if agree?
regards.


Funny Page.RunModal compile error

Page.RunModal is defined as followed:
[Action := ]  Page.RunModal(Number: Integer, Record: Record, FieldNo: Integer)
If you set FieldNo by using the value in a field on a table, it will work out of the box, UNLESS the field on the table contains the text "FieldId". Then it will instead insert the FieldId of the table field, and not the value of the field.
Create a field on a table like this:
field(25; MyAwesomeFieldId; Integer)
{
    DataClassification = CustomerContent;
}

Insert the value 999 in the field.
And the use it in a RunModal like this:
Page.RunModal(27, Vendor, TestTable.MyAwesomeFieldId);
This will cast an error, saying field 25 don't exist on table Vendor.
So it doesn't pass though the value 999 from the table, instead it passes the FieldId of MyAwesomeField.
As long as the field ends on FieldId this bug will happen.
If I instead do this:
var
 Int: Integer;
begin
    int := TestTable.MyAwesomeFieldId;
    Page.RunModal(27, Vendor, Int);
end;

Then it works, so it is RunModal which is bugged.
Example code here:
FieldNoBug.zip
Expected behavior
Passing 999 and not the FieldID of the field containing 999.
Versions:
Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 3.0.152816
Publisher: Microsoft
Business Central:
Fresh Docker mcr.microsoft.com/businesscentral/onprem:cu2-dk
14.0.34251.0

Code works fine in BC 13, so bug introduced in BC14+

Correction
It is no related to the field name, it simply just uses the field no of the field instead of the value.
So might be an undocumented change or newly introduced bug which breaks it. Documentation clealy states it requests an integer.
FieldNo
 Type: Integer
Use this optional parameter to select a specific field on which focus will be put.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-runmodal-integer-table-integer-method

I think under the hood this function works as if it has overloads for (a) FieldNo as an actual Integer and (b) passing a SomeTable.SomeField 'reference' which then gets converted to the ID of said field.
That then means that if you want to use the value of an Integer field as the FieldNo - not its ID - then you need to work around this by putting it in an Integer variable first, as you saw, as otherwise there's no way to disambiguate, and the 'overload' taking 'field ref' wins.


[Accessibility]Audio player without controls after press Tabs few times

Also you can see on http://mediaelementjs.com/

Click play button on audio player
Click >4 times Tab and audio controls will be hidden.
Actual for IE11, Chrome47, Canary49. But it work rather strange in FF(Nightly too).

I don't know exactly does it bug or feature. But as i can see it rather strange from UX view point.
Thanks

@ghost Thanks for finding this. A PR has been requested to fix this issue


"Ghercești" "Gârlești" "Luncșoru" are listed in the drop-down menu

Description:
When user writes "Ghercești" "Gârlești" "Luncșoru" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Ghercești"

Expected results
The location appears in the drop-down menu as "Sat Ghercești, DOLJ (Ghercești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Gârlești"

Expected results
The location appears in the drop-down menu as "Sat Gârlești, DOLJ (Ghercești)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Luncșoru"

Expected results
The location appears in the drop-down menu as "Sat Luncșoru, DOLJ (Ghercești)".


Faithfulness metric on imags explanations

Can the faithfulness metric can be used as a metric for explanations obtained using LIME or SHAP.

Yes. It can used for any feature based local explainability method.

@sadhamanus what dose it means when faithfulness_metric  gave me 'nan' while using SHAP and LIME for explaining a Tabular data ?
and thanks

Hard to say exactly but the metric just computes correlation so either the feature importance are all the same or the prediction of your model hasn't changed when setting each feature to base value. In either of these cases it means all features are equally unimportant. Another possibility could be model outputting nans for different inputs it tries by setting each feature individually to base values.


Implement Task Prioritization

It would be nice to have the ability to prioritize tasks so that we can get triage results back first, and potentially have multiple stages of triage processing.   This will be especially useful now that dfTimewolf uses streaming containers so we can get initial results back while other things are still processing: https://github.com/log2timeline/dftimewolf/pull/747.

Is this a duplicate of #1244 ?

@jleaniz Yeah, I think so, good catch.  Closing it out.


Theme not applying to hyprlauncher

I downloaded the theme using the script but the theme is not being applied to hyprlauncher.

Fixed. Thanks.


Need DSA problems ASAP

There is already a code type that shows code on the right, problem statement on the left
We need
Admin dashboard
Allow admins to put in

Problem statement
Title
Test cases

User side
User can see the problem statement on the left
Code editor on the right
Submit the code
After the code is submitted, it hits a HTTP Endpoint which runs all test cases one after the other
We can use judge0 for this, assume it is already deployed
Languages to support for now -

CPP
Javascript

Callout we already have a code type

On It

@hkirat  .. using piston is fine ??
https://github.com/code100x/daily-code/assets/73944177/8af73f61-8eb4-4cb7-b298-cf990e82b0a4

piston?

@hkirat  , so i have used piston execute for running code  - https://piston.readthedocs.io/en/latest/api-v2/#execute
in the above video . please check it . dont know its a good way or not

Have started working on this, integrating it with judge0. Might take ~2 days.
Also, adding a Wysiwyg editor for admins to create the problem statement which looks neat.

@nimit9  right now i am working on langauge support almost done ..

Hey @Rash-Hit please go ahead with it, this is something where I think I'll get to learn something, so just building it out of fun and curiosity. Trying to build it very robustly and with a good looking UI. Won't be stealing your bounty lol

@hkirat , can you please confirm the schema ?? or suggestions ??  @nimit9

@hkirat  Progress so far ..
https://github.com/code100x/daily-code/assets/73944177/c0fc5ac9-ee89-4d79-8456-41728026267f

@hkirat completed DSA Admin dashboard please have a look
Step 1 - Admin Login
Step 2 - Admin enters the problem name , description , topics , difficulty and number of input  argument and Types for input and output
Step 3 - Admin adds the driver code , user code , solution for the problem and the test cases (minimum 2) to publish the problem
Step 4- Admin Publish the problem only if every details are completed
https://github.com/code100x/daily-code/assets/148727119/900a7a44-3ea0-40c8-9dd4-c0a8fb1035a5

@hkirat you can find the complete code here
https://github.com/akshatarora130/DSA_Practice

@hkirat Progress so far ..
Progress.So.Far.mp4

If this is Monaco Editor. Add a path attribute to the editor which you can keep the language name. So that it will context switch and will give you the correct format even when you switch language.

Ref:

<Editor
          heading="Editor"
          height={"100%"}
          defaultLanguage={globalState.currentLanguage.languageCode}
          value={globalState.editorCode}
          onChange={setCode}
          theme={globalState.isDarkMode ? "vs-dark" : "vs-light"}
          options={options}
          path={globalState.currentLanguage.languageCode}
        />

Might help someone, the db might can look like something like this
enum SubmissionResult {
  PENDING
  PASS
  FAIL
  RUNTIME_ERROR
  COMPILATION_ERROR
}

model User {
  id                Int           @id @default(autoincrement())
  submissions       Submission[]
  createdProblems   ProblemStatement[]
}

model ProblemStatement {
  id              Int           @id @default(autoincrement())
  title           String        @unique
  problemText     String
  testCases       TestCase[]
  submissions     Submission[]
  passedSubmissions Int @default(0)
  failedSubmissions Int @default(0)
  creator         User          @relation(fields: [creatorId], references: [id])
  creatorId       Int
}

model TestCase {
  id                Int           @id @default(autoincrement())
  input             String
  expectedOutput    String
  problemStatement  ProblemStatement @relation(fields: [problemStatementId], references: [id])
  problemStatementId Int
}

model Submission {
  id              Int           @id @default(autoincrement())
  code            String
  language        String
  result          SubmissionResult @default(PENDING)
  runtime         Int             // in milliseconds
  memoryUsage     Int             // in bytes
  errorMessage    String
  createdAt       DateTime      @default(now())
  problemStatement   ProblemStatement   @relation(fields: [problemStatementId], references: [id])
  problemStatementId Int
  user            User          @relation(fields: [userId], references: [id])
  userId          Int
}

This is for prisma but can be replicated :0
Hope it helps someone

@hkirat Progress so far ..
Progress.So.Far.mp4

How is the current progress of this? Intrested in working on this! Feel free to add me with you.

@hkirat completed DSA Admin dashboard please have a look Step 1 - Admin Login Step 2 - Admin enters the problem name , description , topics , difficulty and number of input argument and Types for input and output Step 3 - Admin adds the driver code , user code , solution for the problem and the test cases (minimum 2) to publish the problem Step 4- Admin Publish the problem only if every details are completed
adminDashboardDSA.1.1.mp4

@hkirat
https://github.com/code100x/daily-code/assets/148727119/b14da787-de5e-4f92-b9c6-738e01bcdcdf
User Dashboard
More things that can be added

Submission Page
Solution page
Making the running time faster
UI can be enhanced

@hkirat completed DSA Admin dashboard please have a look Step 1 - Admin Login Step 2 - Admin enters the problem name , description , topics , difficulty and number of input argument and Types for input and output Step 3 - Admin adds the driver code , user code , solution for the problem and the test cases (minimum 2) to publish the problem Step 4- Admin Publish the problem only if every details are completed
adminDashboardDSA.1.1.mp4

@hkirat
UserDashboard.mp4
User Dashboard More things that can be added

Submission Page
Solution page
Making the running time faster
UI can be enhanced

@hkirat If you like the prototype for both Admin and userDashboard I can create the pull request else if you want me to add some other features please tell

@hkirat Completed ~60-70% of this
Pending Things:

Admin Dashboard FOrm to Create the PS, Test Cases
adding Runtime Error info in the test run section (right bottom panel)
Auth flow to submit the code with rate limiting
Improving the code structure.

Below is the video with things already done, Using judge0 self hosted on local.
Please assign the issue to me, so that I can finish the pending work, and let me know if you'd need any changes in this.
Code Submit.webm
Code-Exec Test Run.webm

I have created a similar project can i try to integrate that to this project
link of the project that i have created ->Video https://youtu.be/hTsJoKkY07U?si=NCNFPIsDKqcKypop
Codesubmission using Judege0 and Build using Nextjs

@hkirat Completed ~60-70% of this
Pending Things:

Admin Dashboard FOrm to Create the PS, Test Cases
adding Runtime Error info in the test run section (right bottom panel)
Auth flow to submit the code with rate limiting
Improving the code structure.
UI Improvements (someone else can work on this, otherwise I'll take it up)

Below is the video with things already done, Using judge0 self hosted on local. Please assign the issue to me, so that I can finish the pending work, and let me know if you'd need any changes in this.
Code.Submit.webm
Code-Exec.Test.Run.webm

Nimit can you please update with the latest completed and pending things? I am ready to work on any of this mentioned.


[Backport 7.53.x] [CWS] only report ebpfless selftest once

What does this PR do?
This PR backports commit 7ec22b4 from #24358 and commit 21afaa7 from #24368 to the 7.53.x branch.

Motivation
The goal of these backports is to fix the reporting of ebpfless selftests that were incorrectly run twice. This would cause the second run to be reported as failing.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Rename to Jupyter.jl?

I recently taught a course on Julia, and one of the comments I received was along the lines of "the instructions said to do Pkg.add("IJulia"), but this actually installed a program called Jupyter".
I know that IJulia predates the IPython -> Jupyter rename, but this seems like a reasonable point, especially since "IJulia" isn't used anywhere else: e.g. when I'm using a notebook, I just see the Jupyter banner and "Julia 0.4.2" on the menu bar.

The python kernel of jupyter is still called ipython so I think the julia kernel of jupyter should be called ijulia.

But the user doesn't see this: the names under the Kernel menu are just "Python x", "Julia y.y.y" etc.

IJulia is intended to mirror IPython, which still exists.  See also IHaskell.  Jupyter is the back-end and the protocol, and IXXX is the kernel for XXX.

Just had the same thought as @simonbyrne. I accept the technical correctness of the IJulia name but from a user perspective, I think Jupyter.jl would be more recognizable. I don't think it is a problem that the IJulia kernel would reside inside a Juputer.jl package. Developers will know how to find it.

I don't think we're likely to rename.


Mutations branch: "Can't find variable: require" js error in notebook

Installing the "mutations" branch and using the example code in the readme gives a blank page on Jupyter lab. The relevant javascript error seems to be "Can't find variable: require":

Sent you a message on Slack to work through this one!

So we have determined that the following JavaScript header is sometimes required at the top of the notebook:
%%javascript
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js';
document.head.appendChild(script);

Always having this at the top doesn't cause issues, though sometimes it is unnecessary. A note about this is now in the /docs/tutorial.md.


Bail node adaptation if node has subgraph

We should avoid node adaptation when the node in question has a subgraph (until we have a proper implementation that addresses issues like https://github.com/Quantco/spox/issues/145). This would affect the "If", "Loop", "Scan" and "SequenceMap" nodes.
Note that previously, this would succeed if the subgraph did not reference anything outside of it. Is it worth making this check more complex/fine-grained and allow these to continue to succeed?
Checklist

[x] Added a CHANGELOG.rst entry

Do you have any concerns with this PR @cbourjau?


Support Lion with Zero Optimizer

Currently, if you try to use the following optimizer and zero_optimizer settings:
   "optimizer": {
     "type": "Lion",
     "params": {
       "lr": 0.0006,
       "betas": [0.9, 0.999],
     }
   },
   "zero_optimization": {
    "stage": 1,
    "allgather_partitions": True,
    "allgather_bucket_size": 500000000,
    "overlap_comm": True,
    "reduce_scatter": True,
    "reduce_bucket_size": 500000000,
    "contiguous_gradients": True,
  },

You will encounter:
[2024-03-01 14:35:58,937] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed Basic Optimizer = Lion
    assert (
AssertionError: You are using an untested ZeRO Optimizer. Please add <"zero_allow_untested_optimizer": true> in the configuration file to use it.
[2024-03-01 14:35:58,937] [INFO] [utils.py:54:is_zero_supported_optimizer] Checking ZeRO support for optimizer=Lion type=<class 'megatron.optimizers.Lion'>
Traceback (most recent call last):
  File "/gpt-neox/train.py", line 34, in <module>
    main()
  File "/gpt-neox/train.py", line 30, in main
    pretrain(neox_args=neox_args)
  File "/gpt-neox/megatron/training.py", line 194, in pretrain
    model, optimizer, lr_scheduler = setup_model_and_optimizer(
  File "/gpt-neox/megatron/training.py", line 667, in setup_model_and_optimizer
    model, optimizer, _, lr_scheduler = deepspeed.initialize(
  File "/venv/lib64/python3.9/site-packages/deepspeed/__init__.py", line 180, in initialize
    engine = PipelineEngine(args=args,
  File "/venv/lib64/python3.9/site-packages/deepspeed/runtime/pipe/engine.py", line 55, in __init__
    super().__init__(*super_args, **super_kwargs)
  File "/venv/lib64/python3.9/site-packages/deepspeed/runtime/engine.py", line 309, in __init__
    self._configure_optimizer(optimizer, model_parameters)
  File "/venv/lib64/python3.9/site-packages/deepspeed/runtime/engine.py", line 1177, in _configure_optimizer
    optimizer_wrapper = self._do_optimizer_sanity_check(basic_optimizer)
  File "/venv/lib64/python3.9/site-packages/deepspeed/runtime/engine.py", line 1106, in _do_optimizer_sanity_check
    assert (
AssertionError: You are using an untested ZeRO Optimizer. Please add <"zero_allow_untested_optimizer": true> in the configuration file to use it.

This PR fixes that issue by selecting the correct version of Lion depending on whether zero is enabled.
The current version of DeeperSpeed that's pinned in requirements.txt doesn't incorporate the upstream DeepSpeed changes that include FusedLion, so a DeeperSpeed version bump is also necessary.  Recommend waiting to merge this until https://github.com/EleutherAI/DeeperSpeed/pull/60 is merged and the DeeperSpeed version in requirements.txt can be bumped to that merge commit.  That PR + this one have been tested for pipeline and tensor parallel training with FusedLion.  Verified original behavior (megatron.optimizers.Lion) in zero_optimizer["stage"] = 0 case.
zero_optimizer["stage"] = 1 case
[2024-03-02 11:08:33,052] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed Basic Optimizer = FusedLion
[2024-03-02 11:08:33,052] [INFO] [utils.py:56:is_zero_supported_optimizer] Checking ZeRO support for optimizer=FusedLion type=<class 'deepspeed.ops.lion.fused_lion.FusedLion'>
[2024-03-02 11:08:33,052] [INFO] [logging.py:96:log_dist] [Rank 0]

zero_optimizer["stage"] = 0 case
[2024-03-02 11:19:04,115] [INFO] [logging.py:96:log_dist] [Rank 0] DeepSpeed Final Optimizer = Lion

@Quentin-Anthony I think this is good to go now, verified logging error is gone and no regression in the zero_optimizer["stage"] = 0 case


Documentation of DependencyService does not describe use of DependencyService.Resolve

Documentation of DependencyService does not describe use of DependencyService.Resolve  in such a way that the reader can distinguish between the Get and Resolve methods.
See https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.dependencyservice?view=xamarin-forms where the description of Resolve is inadequate. It needs to be made clearer to distinguish between Get and Resolve.
Also see:
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/dependency-service/introduction
https://docs.microsoft.com/en-us/dotnet/api/xamarin.forms.dependencyservice.resolve?view=xamarin-forms
From a very quick look at the XF source code, I believe that using Resolve instead of Get allows the user to implement his/her own method for performing the resolve and have that called by the Resolve method. Nowhere in the documentation have I found anything that offers that explanation, or anything close to it.

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

ID: 6e9eecf7-0edb-5b24-964c-a1ae2e7556ba
Version Independent ID: 8f9243b4-0f7c-6aac-39e2-913173ea472a
Content: Introduction to DependencyService - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/dependency-service/introduction.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @johnshardman
You're right - Get resolves the type and creates it using Activator.CreateInstance. Resolve will use a dependency resolution method specified by you, or will fallback to using Get if one isn't specified. You can find out how to inject your own dependency resolution method at https://docs.microsoft.com/xamarin/xamarin-forms/internals/dependency-resolution
I'm starting a refresh of the dependency service docs today, so I'll make sure that this is mentioned. I'm expecting the refreshed docs to go live next week.


Activity logging: association build causes unwanted save

Hi, I'm using this very nice gem (I'm not an expert rails developer) and I've noticed that if I call current_user.articles.build in a controller action, the activity logger method causes an empty article object to be saved (User has_many articles).

can you supply the code in the action?
On Fri, Oct 7, 2011 at 7:48 PM, Fabio Sussetto <
<EMAIL_ADDRESS>
Hi, I'm using this very nice gem (I'm not an expert rails developer) and
I've noticed that if I call current_user.articles.build in a controller
action, the activity logger method causes an empty article object to be
saved (User has_many articles).
--
Reply to this email directly or view it on GitHub:
https://github.com/NoamB/sorcery/issues/84

Sure, I forgot to add it before:
 def new
    if !current_user
      return redirect_to signup_url
    end
    @announce = current_user.announces.build
    respond_to do |format|
      format.html # new.html.erb
      format.json { render json: @announce }
    end
  end

After reading your gem code a bit, probably the issue is caused in the call to save inside register_last_activity_time_to_db method, situated in activity_logging.rb.
For what I've understood, you call this method for each request. Inside the console, as a quick test I called the following code:
user = User.find(1)
announce = user.announces.build
user.save

I think Rails keeps track that I added an announce for that user, and then it creates an empty announce when I update the user.
Hope to be helpful,
Fabio.

Yes,
I understand the problem.
I'm not sure what is the solution...
On Fri, Oct 7, 2011 at 11:00 PM, Fabio Sussetto <
<EMAIL_ADDRESS>
Sure, I forgot to add it before:
 def new
   if !current_user
     return redirect_to signup_url
   end
   @announce = current_user.announces.build
   respond_to do |format|
     format.html # new.html.erb
     format.json { render json: @announce }
   end
 end

After reading your gem code a bit, probably the issue is caused in the call
to save inside register_last_activity_time_to_db method, situated in
activity_logging.rb.
For what I've understood, you call this method for each request. Inside the
console, as a quick test I called the following code:
user = User.find(1)
announce = user.announces.build
user.save

I think Rails keeps track that I added an announce for that user, and then
it creates an empty announce when I update the user.
Hope to be helpful,
Fabio.
--
Reply to this email directly or view it on GitHub:
https://github.com/NoamB/sorcery/issues/84#issuecomment-2328215

What about using update_attributes on the User model specifying only interested fields, instead of updating all the fields and related models? http://apidock.com/rails/ActiveRecord/Base/update_attributes

I actually removed every instance of 'update_attributes' in the code due to
this bug:
https://github.com/NoamB/sorcery/issues/48
but I agree it's the solution to your case, and I'll see what I can do.
On Sat, Oct 8, 2011 at 12:10 AM, Fabio Sussetto <
<EMAIL_ADDRESS>
What about using update_attributes on the User model specifying only
interested fields, instead of updating all the fields and related models?
http://apidock.com/rails/ActiveRecord/Base/update_attributes
--
Reply to this email directly or view it on GitHub:
https://github.com/NoamB/sorcery/issues/84#issuecomment-2329091

I just stumbled upon the same problem, which seems to be quite serious.
If you attempt to edit your user profile and validation fails the activity logger will save all fields, including the invalid ones.

I just changed to update_attributes! and specs pass, so it should be good.


Turbo visits don't set :target to the targeted element

When doing a Turbo visit to a link that has an anchor #, the targeted element does not have the :target pseudo-class.
Steps to reproduce

In the Turbo project, visit http://localhost:9000/src/tests/fixtures/navigation.html
Search for elements with :target pseudo-class: $(':target') returns null
Reload page
Search for elements with :target pseudo-class: $(':target') returns element with id element-id

Expected behavior
After clicking a link with an anchor, it's expected that the element which matches the URL hash has the :target pseudo-class.
This is important for apps that use that selector to add an indicator to the element - like navigating to a specific comment in a GitHub Issue:

We are happy to look into this if we can get some pointers on where hashes may be getting interfered with :)

This might be related to https://github.com/hotwired/turbo/issues/539.
I'm not sure there is a way to manually set the :target element, and unfortunately browsers don't seem to update it after pushState/replaceState. Turbo does focus the target element, so you might want to experiment with that.
Another option might be to create a link element behind-the-scenes with an href corresponding to the target element and with data-turbo=false, and then call click on it to mimic a non-Turbo navigation. (I've not tried this, but it might work.)

Another option might be to create a link element behind-the-scenes

This seems to work:
addEventListener('turbo:load', target)
addEventListener('hashchange', target) // for same-page navigations

function target () {
  if (location.hash) {
    const a = document.createElement('a')
    a.href = `#${location.hash.slice(1)}`
    a.click()
  }
}

Wouldn't that cause a full page navigation after the Turbo visit?

I don't think it will because the link is not contained in the document so Turbo won't handle the click.

I've encountered this problem as well when :target CSS selectors stopped working with turbo navigation.
The workaround triggering an on-page navigation in the browser seems to work well (https://github.com/hotwired/turbo/issues/592#issuecomment-1137827028).
I think it would be great if turbo provided this functionality directly. It's supposed to replace native browser navigation, so it should also cover all facets of that.

I'm facing the same issue but the fix from https://github.com/hotwired/turbo/issues/592#issuecomment-1137827028 does not fully fix it. I'm using anchors to link to a page with a large table. Scrolling to the target element works as expected. If I add the proposed fix, it does work with the CSS :target selector but it does scroll too far and the linked element is barely visible anymore.


Make a well documented Readme for this project

Could you please elaborate on what you want to add in your README file?
Just for reference Link


More tests for smallstring

Codecov Report

Merging #26 into master will increase coverage by 1.55%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   73.49%   75.04%   +1.55%
==========================================
  Files          26       26
  Lines        2056     2084      +28
==========================================
+ Hits         1511     1564      +53
+ Misses        545      520      -25

Impacted Files
Coverage Δ

src/smallstring.jl
76.92% <100%> (+26.92%)
:arrow_up:

src/index.jl
87.65% <0%> (+3.03%)
:arrow_up:

src/indexset.jl
98.4% <0%> (+8.51%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #26 into master will increase coverage by 1.55%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   73.49%   75.04%   +1.55%
==========================================
  Files          26       26
  Lines        2056     2084      +28
==========================================
+ Hits         1511     1564      +53
+ Misses        545      520      -25

Impacted Files
Coverage Δ

src/smallstring.jl
76.92% <100%> (+26.92%)
:arrow_up:

src/index.jl
87.65% <0%> (+3.03%)
:arrow_up:

src/indexset.jl
98.4% <0%> (+8.51%)
:arrow_up:

Continue to review full report at Codecov.

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


Navigation: simple function to get current url with different locale

Currently, it is possible to change the current locale by providing a Link with a different locale.
This can be combined with usePathname to show a link in a different locale. See https://github.com/amannn/next-intl/discussions/278
For my project, I want to use a custom select component to change the locale. I cannot use the Link component in this situation. Instead, I want to change the locale through a function. So I tried to use useRouter but it does not have any option to pass the new locale to it.
It would be great to have a simple function to get the current url with a specific locale to simplify the development of a component to change the locale.
The documentation should contain some kind of solution because this question has been asked multiple times, mostly by people who do not understand that the single source of truth does rely on the current URL. See: https://github.com/amannn/next-intl/discussions/320, https://github.com/amannn/next-intl/discussions/407

I tried this and it works on my project in a client component:
import {usePathname} from "next-intl/client";
import {useRouter} from "next/navigation"; // use `next/navigation`, not `next-intl/client`

const pathname = usePathname();
const router = useRouter();

router.push(`/${locale}/${pathname}`);

Is this the best solution? Does it work in all situations?
Is the / between locale and pathname an issue? (could pathname already contain a /?)
I think this should be added to the documentation.


[Bug] Resource requests not respected in multithreaded Pyrunner

Describe the bug
See notebook: https://colab.research.google.com/github/Eventual-Inc/Daft/blob/main/tutorials/text_to_image/text_to_image_generation.ipynb#scrollTo=b500e7f5
Our multithreaded PyRunner may not be respecting GPU/CPU requests, running multiple tasks in parallel when it should not be able to.

Ah I could be wrong then - I had thought that was the reason why since nothing else really changed that would potentially cause this issue. Feel free to assign the issue back to me and I can investigate further


Update teams-contact-center.md

@Caitlyn @.***> this is the PR I mentioned in IM. It has bee a week. When will it be completed?
Update teams-contact-center.md by jessiewa * Pull Request #8886 * MicrosoftDocs/OfficeDocs-SkypeForBusiness (github.com)https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/pull/8886/files/beaca59b548b335a12c8ee2467f165fc2af61a8a
From: JohanFreelancer9 @.>
Sent: Friday, May 20, 2022 3:45 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness @.>
Cc: Jessie Wang @.>; Author @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Update teams-contact-center.md (PR #8886)
@JohanFreelancer9 approved this pull request.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fpull%2F8886%23pullrequestreview-979914851&data=05|01|jessiewa%40microsoft.com|eb4d2bfcde9a4661a32608da3a4dd898|72f988bf86f141af91ab2d7cd011db47|1|0|637886403271706522|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2GNsQAI3%2F9I5kBEDY5dDnoWwxbWKgsQX2uz3X%2BFevAY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAY5Q6YU7QQW6MWHUVLIYBNLVK5UMJANCNFSM5WJ24NAQ&data=05|01|jessiewa%40microsoft.com|eb4d2bfcde9a4661a32608da3a4dd898|72f988bf86f141af91ab2d7cd011db47|1|0|637886403271706522|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=p1%2F0Wibaal0KZL3MOMjGDI6CViIZ7ICblOPxm54eeiQ%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>

@cazawideh PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Change added in another PR. Closing.


Mac: Prevent double hydration and directory expansion

Fixes #315
There were a few issues in the ProjFS for Mac user-mode library:

All messages from the kernel would be coalesced into a single callback to the provider, meaning it was possible that notifications could get lost.

The path comparisons when deciding if messages should be collapsed were case sensitive.

When messages were collapsed, the library was leaking the memory allocated for any of the collapsed messages.

The hydrate\enumerate code was not checking if the file\directory had already been expanded.  As a result, if two requests came in sequentially, it's possible that with the right timing they would both run and problems would occur when trying to expand the file\directory a second time.

This PR addresses these issues with the following changes:

Messages are no longer collapsed

There is a new per-path collection of mutexes to ensure that two threads don't expand the same path at the same time.

The hydration\enumeration handles check if the path is expanded prior to asking the provider to expand it.

LGTM, I agree with Saeed that we should get this in before considering moving to fsid & inode matching rather than blocking on it.

@sanoursa @nickgra, I just pushed a new commit that updates the map key to be fsid+inode, could you take another look?


Version 0.2.3 hangs on page load after hitting breakpoint

I have a Netbeans 11 / Rails 5.0.2 / ruby-debug-ide 0.7.0 project.
I find that with debase 0.2.3, the debugger hangs with this sequence:

I load a page on the browser.
The debugger stops at a breakpoint.
I press F5 in Netbeans to continue.
The page finishes loading in the browser.
I press F5 on the browser to refresh the page, or I try to navigate to another page.
In the Netbeans log window, the GET request is shown, but nothing further happens (the breakpoint isn't hit, and none of the normal Rails messages like "Processing by ..." appear. If I try to continue with F5 on Netbeans or to enable/disable the breakpoint, the Netbeans editor window also hangs. Once the editor window has hung, I need to kill -9 puma to break the deadlock, but before this, I can stop the debugger with Finish Debugging Session (Shift-F5).

If there is no breakpoint, the page loads correctly multiple times.
This is a regression, because debase 0.2.3-beta5 doesn't have this problem.

@rockorequin Am I right, that debugger should stop on the breakpoint after refreshing the page in a browser, but it wasn't?

Yes, the debugger should stop on the breakpoint. But I think it freezes before even that point, because there  none of the log messages you'd expect to see prior to hitting the breakpoint appear. Also, if I go to another page where there isn't a breakpoint to hit, that page never loads.

@rockorequin I managed to reproduce it

@rockorequin @thestelz Could you please check debase gem version from this repo: https://github.com/ViugiNick/debase?

@ViugiNick Thanks, debase from that repo looks like it fixes the problem.

Just a side note: Had a similar behavior with VSCode 1.36.1 and ruby-debug-ide 0.7.0, debase 0.2.3
After a successful break point cycle of stepping in and continuing code, a second break point cycle was not possible anymore. The whole server stopped responding. Only chance was to disconnect the debugger. Debase from @ViugiNick repo fixes the problem for me as well. :)

@iggycoder Sound like a problem on the vs code plugin side. Is it possible to log verbose debugger information somehow in VSCode?

Ok. This issue has been reported.

@rockorequin @thestelz Published a 0.2.4 debase version, this issue should be resolved there

@ViugiNick Thanks! 0.2.4 is working fine.

@ViugiNick I was using the 0.2.3 and 0.2.4 versions with no issues. I think it's good to go.

@rockorequin Could you please close the issue?


Append text in

Was hoping for a way to add/paste text and not replace the current text in a textarea or any input field.
For example:
Variables

now add initials -

Variables - VR 3/4/22.
Currently it replaces all text in the field resulting in:
- VR 3/4/22

Ran into a bug with this. Prepend:: is adding value twice sometimes.
Example in textarea:
Prepend::RM 3/25/2022
Results in textarea:
RM 3/25/2022RM 3/25/2022
Was working fine all day. Just randomly started happening.

New feature added in DEV version


update styles

👷 Deploy Preview for fancy-puffpuff-df775f processing.

Name
Link

🔨 Latest commit
4180fed9d910975309a6bbab421f7cab6bfbf72b

🔍 Latest deploy log
https://app.netlify.com/sites/fancy-puffpuff-df775f/deploys/665b1a3f5beec700088eedce


update_media fixes #8 #17

fix update_media so that it doesn't erase the user's current media types, only updates/adds the one you want, side effect is it won't delete orphan media types anymore (thanks @towster)

please bare with me while I try to figure out how to do PRs properly...


If I change remoteJsonSource to custom .json file, getting a wifi screen

I changed remoteJsonSource to custom .json file to load custom album and it used to work in the old app but now its not working. I am getting wifi not available screen as if network is not available.
Can anyone please help on how to resolve this issue ?

It could happen if your JSON file is not available..Are you sure that the file is reachable by https connection?

my JSON file is available and accessible and I can access the JSON content over the browser without any issue but when I use in UAMP application, I am getting above error. Can you please try with any custom JSON file so that you will notice the issue ?

Starting with Android 9 (API level 28), cleartext support is disabled by default. So it has to be available by https, not http. Otherwise, you have to add some permission in the manifest file. Have a look here https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted

@matteodamico thank you for the link. I followed this https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted and resolved the issue.


fixed clear shearch button spacing and panel pading on Asset Dashboar…

…d page
@FBRTMaka

@dlangston sweet!  :+1:


Missing file

This file https://github.com/probml/pyprobml/blob/master/scripts/svm_classifer_2d.py
(which goes with Fig 17.19) is missing.

Should be
https://github.com/probml/pyprobml/blob/master/scripts/svm_classifier_2d.py
(not spelling error).

Should be
https://github.com/probml/pyprobml/blob/master/scripts/svm_classifier_2d.py
(not spelling error).


Handle cases when LanguageServer is too quick to publish C# after creating file.

Basically the document manager attempts to update C# for a file that hasn't been opened yet.
[Info  - 4:32:56 PM] Finding descriptor for textDocument/didOpen
[Info  - 4:32:56 PM] Created attribute aspnetcorerazor::file:///c%3A/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/Views/_ViewImports.cshtml
[Info  - 4:32:56 PM] Looking for handler for descriptors textDocument/didOpen
[Info  - 4:32:56 PM] Checking handler textDocument/didOpen:Microsoft.AspNetCore.Razor.LanguageServer.RazorDocumentSynchronizationEndpoint
[Info  - 4:32:56 PM] Registration options (null)
[Info  - 4:32:56 PM] Document Selector (null)
[Info  - 4:32:56 PM] Handler Selected: Microsoft.AspNetCore.Razor.LanguageServer.RazorDocumentSynchronizationEndpoint via (null) (targeting OmniSharp.Extensions.JsonRpc.IJsonRpcNotificationHandler`1[[OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams, OmniSharp.Extensions.LanguageProtocol, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=6d868dff454e6022]])
[Info  - 4:32:56 PM] Starting: Routing Notification textDocument/didOpen
[Info  - 4:32:56 PM] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
[Info  - 4:32:56 PM] Adding document '/c:/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/Views/_ViewImports.cshtml' to project '/c:/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/BasicRazorApp1_0.csproj'.
[Info  - 4:32:56 PM] Opening document '/c:/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/Views/_ViewImports.cshtml' in project '/c:/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/BasicRazorApp1_0.csproj'.
[Info  - 4:32:56 PM] Finished: Routing Notification textDocument/didOpen in 1ms
[Client - 4:32:56 PM] Updating the C# document for Razor file '/c:/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/Views/Index.cshtml' (6)
[Client - 4:32:56 PM] Notifying document 'c:\GitHub\Razor.VSCode\test\testapps\BasicRazorApp1_0\Views\Index.cshtml' changed 'csharpChanged'
[Client - 4:32:57 PM] Updating the C# document for Razor file '/c:/GitHub/Razor.VSCode/test/testapps/BasicRazorApp1_0/Views/_ViewImports.cshtml' (1)
[Client - 4:32:57 PM] Notifying document 'c:\GitHub\Razor.VSCode\test\testapps\BasicRazorApp1_0\Views\_ViewImports.cshtml' changed 'added'

@NTaylorMullen Has this been fixed in the new editor?

@NTaylorMullen Has this been fixed in the new editor?

Yup


Pip package is not updated

Hi, I've noticed that we cant update to the newest version of hnswlib(0.4.0) now.
Can someone update the installation package via pip?
Thanks

@vonhathanh
Thanks for reminding! Updated the package.


Refactor code base to add ability for multiple concurrency models / executors

Initial executors will include gevent, asyncio, and django channels

Well done! Do you need some help for the django-channels executor?

We've been looking into using django-channels as executor, and even if the use of channels as WS transport medium seemed quite straightforward, replicating your threading / asynchrone code for channels feels weird since they already use a event queue and thus are non blocking, Any thoughts on this ?

Can you give me a specific example? I'm not super familiar w/ django channels...so that may very well be.  I was going to have to play around w/ it once I got to that point to see what was possibly.  But, if you can give me an example of the specific threading / async code you are referring to, then I'd be happy to offer any advice I have.  If you are talking about the keep_alive_timer function or the background task that checks the redis-pubsub for messages, then I was thinking to try and use a custom django consumer (with maybe an os thread?).
Honestly, it might be that we need to have separate subscription manager, pubsub or server classes, beyond just a new executor class (maybe a mixin of some sort on top of a base class).  I'm actually struggling w/ the asyncio integration a bit right now in trying to get the subscription server tests to pass, using just a new executor.  The need to have async def coroutines in order to be able to await / yield from a code block really makes it hard to not duplicate code logic when integrating asyncio...which I was really not wanting to do.  In some case I can get away with just scheduling a coroutine into a task using asyncio.ensure_future() at the very end of a function, but in other scenarios the control flow really demands that I'm able to await that block of code.  I suppose I could also attach a callback to the returned future, but again, it means duplicating code.
Also, did you happen to see this post from syrusakbary over the weekend.  This would take care of the subscription manager and pubsub classes I suppose, but there would still need to be separate integration / plugin for each async framework integrating the websocket / concurrency model (django, gevent, asyncio, etc.).

Seems like he will integrate django-channels : 'websockets with django-daphne'
In your implementation, in order to achieve non-blocking code, you use asyncio or gevent, but django-channels have their own PubSub mechanism and thus I think it would be quite different from your architecture. In fact using Channels we have no access to the underlying ws, the one needed as argument when you create your SubscriptionServer

I just re-read his post and I agree...sounds like he will integrate them.  I was still playing around w/ this asyncio refactor, because I had already started it and it gave me a chance to explore asyncio (which I had really not done before), but after seeing that post this weekend, I've been thinking I would just wait for graphene 2.0 and maybe see if I can contribute to graphql-core or graphene, instead of continuing to evolve this implementation.


Add has_pending_commit function to Group

Description of changes:
It is useful to be able to see that a commit is pending for a group
Testing:
Incorporated exercising this function into existing tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.52%. Comparing base (8f7d38b) to head (754a6b5).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #140   +/-   ##
=======================================
  Coverage   89.52%   89.52%
=======================================
  Files         173      173
  Lines       31450    31455    +5
=======================================
+ Hits        28156    28161    +5
  Misses       3294     3294

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Enhancement: Incorporate Text to Speech Models

Contact Details
<EMAIL_ADDRESS>What features would you like to see added?
Incorporate the text to speech models to turn responses into an audio stream/file that can be played in the browser.
More details
The endpoint is pretty simple. I'd be happy to implement it just curious on how it should best be done or implemented into the current UI.
https://platform.openai.com/docs/guides/text-to-speech
Which components are impacted by your request?
UI, Endpoints
Pictures
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

there is an open PR that i will revisit sometime, but you can take a look and see how it was implemented without openai's TTS
https://github.com/danny-avila/LibreChat/pull/756
Note: the UI is being replaced.
This PR is not too stale since it uses new components mostly, only 11 files touched, and the old ones have easier to work with counterparts
(discord links)
Instructions on how to access the new UI (on latest commit to main branch)
General discussion of this UI change and bugs reported here


Special duration 'Is attacked' only removing effect if attack hits

Describe the Bug
When creating an effect that has the special duration 'is attacked' the effect only ends if the character is attacked AND this attack hits.
The expected outcome should include missed attacks also.
Context

Any errors in the console; access it by pressing F12:

midi-qol |  Elara Vynnorel Rolled a 12 to hit Kellin Thorne's AC of 18 missing
systems/dnd5e/icons/svg/mouse-middle.svg:1
Failed to load resource: net::ERR_NAME_NOT_RESOLVEDUnderstand this error
foundry.js:5826 Foundry VTT | Rendering DAEActiveEffectConfig
dae.js:34 dae |  DaeFieldBrowser | Initializing
dae.js:34 dae |  DAEFieldBrowser | Fetching field data

Foundry version 12, build 331
System and version D&D 5e 3.3.1

Expected Behavior
The condition should be removed from the token, regardless of an attack hitting or not.

This has nothing to do with DFreds CE, but with MidiQOL.
I would suggest you join the posney's discord server for relevant questions. You can find the link in the Midiqol gitlab page.
Having said that, you can change that behavior from MidiQOL settings > Workflow settings > Mechanics tab.
There is a setting for expiration on Attack/damage etc.


call C++ destructor instead of free

free will just free the memory for the pointer itself, by calling the native destructor it should actually free the underlying memory.

Tested this locally by building the JAR and loading that in a small java app that loads a large (14gb) index, closes it, and then just hangs. Monitoring the mem usage I was able to see it reclaim the memory as expected. Before this change even after the index was closed the memory was not released.


Simple way to manage and release GPU memory in colab

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Google Colab Ubuntu 18.04.2 LTS (Bionic Beaver)
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: NA
TensorFlow installed from (source or binary): Google Colab has tensorflow preinstalled
TensorFlow version (use command below): tensorflow-gpu 1.14.0
Python version: 3
Bazel version (if compiling from source): NA
GCC/Compiler version (if compiling from source): NA
CUDA/cuDNN version: Cuda compilation tools, release 10.0, V10.0.130
GPU model and memory: Google Colab GPU Tesla T4, Memory: 15079MiB

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
For my research work I need to build lots of different convolutional GAN models and train them.
For this I build temporary models inside functions and test them. Once the function is done executing the models are no longer needed.
A simple example:
def test_model():
   model = build_model()
   inputs = ...
   outputs = model(inputs)
   with tf.Session() as sess:
      sess.run(tf.global_variables_initializer())
      results = sess.run(outputs)
   # evaluate results

test_model() # call the test function, once this is over we never use the model again.

However currently the models persist (can be seen in %tensorboard) and continue to fill up
GPU memory. Eventually I start getting warning about GPU memory usage and start getting OOM errors. At this point I can't build new models or train any existing ones.
I have already tried lots of different suggestions on how to release GPU memory
https://github.com/tensorflow/tensorflow/issues/1578
https://github.com/tensorflow/tensorflow/issues/19731
https://github.com/tensorflow/tensorflow/issues/17048
and several stackoverflow suggestions to no effect.
This problem is specific to a Jupter notebook based workflow (such as on Google Colab).
A workflow that uses python files will not encounter this issue since all the GPU memory is released automatically once the python interpreter finishes.
Describe the expected behavior

Please implement or suggest a way to release GPU memory being used by unneeded models in Google Colab/Jupter notebooks.
It would be nice to be able to release memory being used by specific models (that are no longer necessary) rather than resetting the runtime every time I run out of memory (which is often).
Some way to build models so that the GPU memory they occupy gets automatically released when they go out of scope would also be appreciated.

Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@HarikrishnanBalagopal I was running 10 training loops on colab and running into OOM errors after the 8th iteration. Putting the following at the end of the loop helped.
tf.reset_default_graph()

@HarikrishnanBalagopal Did you try @jmwoloso Suggestion. In some cases, you could also use tf.keras.backend.clear_session() to release the session memory. Thanks!

I am currently calling  tf.reset_default_graph() if I ever pollute the default graph and changed my code to:
def test_model():
   g_1 = tf.Graph()
   with g_1.as_default():
      model = build_model()
      inputs = ...
      outputs = model(inputs)
   with tf.Session() as sess:
      sess.run(tf.global_variables_initializer())
      results = sess.run(outputs)
      # evaluate results

test_model() # call the test function, once this is over we never use the model again.

which seems to work fine so far. The graph gets garbage collected and haven't had any OOM errors yet, so I am closing the issue.

Is there a way where I can clear specific things in the gpu? I have a few variables which I do not want to erase and there are others which I want to.


Always visible react-datepicker__day--in-selecting-range

Hello,
please is possible to have still visible .react-datepicker__day--in-selecting-range days instead of on hover only?
Thank you for help.

I'm also dealing with this issue. The examples show all the days within the range as selected (dark blue) where as in my implementation the days in range are only highlighted (light blue) on hover. I'd like to always show the selected state for days within the range.


[Quickstart Repo] update quickstarts for missing installPlans and docs urls

quickstarts need install plans and docs url to use the guided install flow
Acceptance Criteria

[x] Stijn and Samuel to update packs for missing installPlans and docs urls

@polfliet I think this is done, could you confirm?


Remove "Internal" from Shpfy Order API.CancelOrder procedure

Describe the request
I would like to get the "Internal" removed for the function CancelOrder in codeunit Shpfy Orders API.
This will allow us to automatically cancel orders in Shopify based on actions in BC.

Additional context
I have a customer requesting an automated Cancel order flow initiated from their WMS.
Scenario is:

Warehouse employee deletes order in WMS with specific reason code.
Sales Order in BC is deleted through API request from WMS
On delete of Sales Order by WMS cancel order in Shopify

This would be fairly easy to do if just the CancelOrder procedure was not marked as internal

We haven't figured out the extensibility model for functions yet. See conversation on VivaEngage https://www.yammer.com/dynamicsnavdev/threads/2724989901758464
Thanks,
Andrei Panko
PM, Microsoft


Optimize Charset finding in tests.

Check List:

Fixes : Charset finding in tests is not optimized
Unit tests : NA
Javadoc with a code example (on API only) : NA

Integrated thanks @fduminy!


expose log_analysis config in logdna_stream_config

Looking at the https://registry.terraform.io/providers/logdna/logdna/latest/docs/resources/logdna_stream_config documentation, it appears that the provider does not support any other option than the Kafka option?

When will the support be added in order to support, other Streaming types?

I will gladly help with testing/verification if you need.

We have added this to our backlog.  Updates will be made here when this is available.


boards: arm: stm32f7508_dk: add initial support

add initial support for the STM32F7508-DK Discovery kit
Signed-off-by: Alexandre Duchesne<EMAIL_ADDRESS>

LGTM,
do you have a samples/hello_word running ?

LGTM, do you have a samples/hello_word running ?

Yes the samples/hello_word is running on my board.

Thanks for this work. Looks overall good aside the soc part. Please follow the comments and split soc/dtsi introduction part in a dedicated commit.

Thanks for your review.
I followed your comments, I hope it's correct :)


change transformers.deepspeed to transformers.integrations.deepspeed

What does this PR do?
Minor fix corresponding to https://github.com/huggingface/transformers/pull/25599

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Who can review?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Resolved to check transformers versions. I also added another deprecation fix for is_torch_tpu/xla_available along the same lines.

great thanks ! can you use this method instead https://github.com/huggingface/optimum/blob/c0d9111775709aac6f1451e59911abe36b4b6c37/optimum/utils/import_utils.py#L162


Kepler installation error in logs and warning while using the command apply

Hi,

After using kubectl apply -f _output/generated-manifest/deployment.yaml in a Kubernetes cluster, I have encountered a warning in the output:
namespace/kepler created
serviceaccount/kepler-sa created
clusterrole.rbac.authorization.k8s.io/kepler-clusterrole created
clusterrolebinding.rbac.authorization.k8s.io/kepler-clusterrole-binding created
configmap/kepler-cfm created
service/kepler-exporter created
Warning: would violate PodSecurity "restricted:latest": privileged (container "kepler-exporter" must not set securityContext.privileged=true), allowPrivilegeEscalation != false (container "kepler-exporter" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "kepler-exporter" must set securityContext.capabilities.drop=["ALL"]), restricted volume types (volumes "lib-modules", "tracing", "proc" use restricted volume type "hostPath"), runAsNonRoot != true (pod or container "kepler-exporter" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "kepler-exporter" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
daemonset.apps/kepler-exporter created

After executing kubectl logs daemonset.apps/kepler-exporter here are the errors:
Found 9 pods, using pod/kepler-exporter-45rr5

I0629 15:17:59.325437       1 gpu.go:46] Failed to init nvml, err: could not init nvml: error opening libnvidia-ml.so.1: libnvidia-ml.so.1: cannot open shared object file: No such file or directory
I0629 15:17:59.330266       1 acpi.go:67] Could not find any ACPI power meter path. Is it a VM?
I0629 15:17:59.339086       1 exporter.go:151] Kepler running on version: 364c44f
I0629 15:17:59.339104       1 config.go:212] using gCgroup ID in the BPF program: true
I0629 15:17:59.339139       1 config.go:214] kernel version: 5.15
I0629 15:17:59.339178       1 config.go:174] kernel source dir is set to /usr/share/kepler/kernel_sources
I0629 15:17:59.339224       1 exporter.go:171] EnabledBPFBatchDelete: true
I0629 15:17:59.339346       1 rapl_msr_util.go:136] input/output error
I0629 15:17:59.339373       1 power.go:64] Not able to obtain power, use estimate method
I0629 15:17:59.395021       1 exporter.go:184] Initializing the GPU collector
I0629 15:17:59.395480       1 watcher.go:67] Using in cluster k8s config
modprobe: FATAL: Module kheaders not found in directory /lib/modules/5.15.106-talos
chdir(/lib/modules/5.15.106-talos/build): No such file or directory
I0629 15:17:59.502326       1 bcc_attacher.go:74] failed to attach the bpf program:
I0629 15:17:59.502346       1 bcc_attacher.go:143] failed to attach perf module with options [-DMAP_SIZE=10240 -DNUM_CPUS=24 -DSET_GROUP_ID]: failed to attach the bpf program: , from default kernel source.
I0629 15:17:59.502368       1 bcc_attacher.go:146] trying to load eBPF module with kernel source dir /usr/share/kepler/kernel_sources/4.18.0-477.13.1.el8_8.x86_64
/virtual/main.c:242:1: warning: declaration of 'struct tracepoint__irq__softirq_entry' will not be visible outside of this function [-Wvisibility]
TRACEPOINT_PROBE(irq, softirq_entry)
^
/virtual/include/bcc/helpers.h:1435:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category##__##event *args)
                                         ^

:40:1: note: expanded from here
tracepoint__irq__softirq_entry
^
/virtual/main.c:249:17: error: incomplete definition of type 'struct tracepoint__irq__softirq_entry'
    if (args->vec < 10) {

        ~~~~^

/virtual/main.c:242:1: note: forward declaration of 'struct tracepoint__irq__softirq_entry'
TRACEPOINT_PROBE(irq, softirq_entry)
^
/virtual/include/bcc/helpers.h:1435:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category##__##event *args)
                                         ^

:40:1: note: expanded from here
tracepoint__irq__softirq_entry
^
/virtual/main.c:250:41: error: incomplete definition of type 'struct tracepoint__irq__softirq_entry'
        process_metrics->vec_nr[args->vec] ++;

                                ~~~~^

/virtual/main.c:242:1: note: forward declaration of 'struct tracepoint__irq__softirq_entry'
TRACEPOINT_PROBE(irq, softirq_entry)
^
/virtual/include/bcc/helpers.h:1435:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category##__##event *args)
                                         ^

:40:1: note: expanded from here
tracepoint__irq__softirq_entry
^
1 warning and 2 errors generated.
I0629 15:18:00.027188       1 bcc_attacher.go:74] failed to attach the bpf program:
I0629 15:18:00.027214       1 bcc_attacher.go:150] failed to attach perf module with options [-DMAP_SIZE=10240 -DNUM_CPUS=24 -DSET_GROUP_ID]: failed to attach the bpf program: , from kernel source "/usr/share/kepler/kernel_sources/4.18.0-477.13.1.el8_8.x86_64"
I0629 15:18:00.027230       1 bcc_attacher.go:146] trying to load eBPF module with kernel source dir /usr/share/kepler/kernel_sources/5.14.0-284.11.1.el9_2.x86_64
/virtual/main.c:242:1: warning: declaration of 'struct tracepoint__irq__softirq_entry' will not be visible outside of this function [-Wvisibility]
TRACEPOINT_PROBE(irq, softirq_entry)
^
/virtual/include/bcc/helpers.h:1435:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category##__##event *args)
                                         ^

:28:1: note: expanded from here
tracepoint__irq__softirq_entry
^
/virtual/main.c:249:17: error: incomplete definition of type 'struct tracepoint__irq__softirq_entry'
    if (args->vec < 10) {

        ~~~~^

/virtual/main.c:242:1: note: forward declaration of 'struct tracepoint__irq__softirq_entry'
TRACEPOINT_PROBE(irq, softirq_entry)
^
/virtual/include/bcc/helpers.h:1435:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category##__##event *args)
                                         ^

:28:1: note: expanded from here
tracepoint__irq__softirq_entry
^
/virtual/main.c:250:41: error: incomplete definition of type 'struct tracepoint__irq__softirq_entry'
        process_metrics->vec_nr[args->vec] ++;

                                ~~~~^

/virtual/main.c:242:1: note: forward declaration of 'struct tracepoint__irq__softirq_entry'
TRACEPOINT_PROBE(irq, softirq_entry)
^
/virtual/include/bcc/helpers.h:1435:46: note: expanded from macro 'TRACEPOINT_PROBE'
int tracepoint__##category####event(struct tracepoint##category##__##event *args)
                                         ^

:28:1: note: expanded from here
tracepoint__irq__softirq_entry
^
1 warning and 2 errors generated.
I0629 15:18:00.495167       1 bcc_attacher.go:74] failed to attach the bpf program:
I0629 15:18:00.495191       1 bcc_attacher.go:150] failed to attach perf module with options [-DMAP_SIZE=10240 -DNUM_CPUS=24 -DSET_GROUP_ID]: failed to attach the bpf program: , from kernel source "/usr/share/kepler/kernel_sources/5.14.0-284.11.1.el9_2.x86_64"
I0629 15:18:00.495210       1 bcc_attacher.go:158] failed to attach perf module with options [-DMAP_SIZE=10240 -DNUM_CPUS=24 -DSET_GROUP_ID]: failed to attach the bpf program: , not able to load eBPF modules
I0629 15:18:00.495230       1 exporter.go:201] failed to start : failed to attach bpf assets: failed to attach perf module with options [-DMAP_SIZE=10240 -DNUM_CPUS=24 -DSET_GROUP_ID]: failed to attach the bpf program: , not able to load eBPF modules
I0629 15:18:00.495380       1 exporter.go:228] Started Kepler in 1.156321857s

this looks a privilege issue. We can expand the bcc macro in ebpf to avoid accessing /sys/kernel to avoid this situation.

@sunya-ch can you port this libebpf change? Thank you!

@fatma-laribi could you please help try #781 locally?
we are not sure the issue can be solved per discussion that by the proposed fix with @sunya-ch @rootfs
so check the proposed fix in reporting env might be a good thing to try


Add gnome system modal awareness to keyd-application-mapper

Allows ~/.config/keyd/app.conf configurations to react to global system modal dialog. For example, the pop-launcher is such a modal.
The pattern to match on is system-modal, e.g.
[system-modal]
ctrl_vim.k = C-k
ctrl_vim.j = C-j

There is some additional information called the "stage title" but its value is less reliable (it seems to always be "pop-shell" on my system).

Thanks :). Merged as d9b53e07f. Sorry this took so long. I made some minor tweaks to the commit message and rebased which github doesn't seem to like.


storage-network webhook: improve the scenario to check runnig vm existence

Problem:
Harvester prevents from configuring Storage Network even if there is no running VM and online volumes.
Solution:
Storage Network webhook should improve the scenario to check the running VM existence
Related Issue:
#4886
Test plan:

Create a VM and shutdown it inside the VM (e.q. $ sudo poweroff)
Configure the Storage Network
Storage Network should be configured successfully

Note:
This pr shares one commit with pr https://github.com/harvester/harvester/pull/4794 for a common utility function

@mergifyio v1.2


concept: clarify MLEM Object term

What's an object? ... very generic term and there's not much info about this concept [early] in the Get Started (the term comes up a few times in previous pages but it seems to refer to something else, proving that the word is too generic).
Originally posted by @jorgeorpinel in https://github.com/iterative/mlem.ai/pull/82#discussion_r888283956

TBH it sounds like an implementation-based explanation. We don't need to expose the implementation in docs 🙂 e.g. in this case we could directly talk about the types of objects (data,models,builds, etc.) and it's unclear we need to say that "MLEM is a tool to manage MLEM objects" -- it's a confusing explanation and again, kind of an implementation detail.


Czech translation (closes #32).

Hello,
I have translated the website to Czech. Just let me know in case you would need to update the translations.
With best regards
—
Pavel Mises

Nice, big thanks! I'll merge it today or tomorrow.

Merged, sorry for delay! And thanks for contribution!

To be deployed later today


Add appVersion key for check-mk and fix Yaml format error

The key "appVersion" is needed for ci testing, it's missing in this yaml. That sometimes will cause testing failure.

/assign @prydonius

/ok-to-test

/lgtm


Rename vaultEndpoint to vaultUri/vaultUrl (idiomatic)

After discussions with the arch board, we have decided to rename vaultEndpoint (parameters, properties, etc.) to vaultUri or vaultUrl (idiomatic). This is true for all clients and models where this exists across:

[ ] Secrets
[ ] Keys
[ ] Certificates

Related PR: https://github.com/Azure/azure-sdk-for-js/pull/5741/


Start screen

On this screen, a user should be able to create a new acc or login into existing
Also may be we need to display app version
How it looks now

The font on the start screen should be as on the design.
The word "builds" on the "Where Web3 Builds." should start with an uppercase letter. Also, there should be a dot at the end of this phrase.
The word "started" on the "Get started" button should start with the lowercase letter.

According to the design, the "Get started" button should be black with orange frame. The text on the button should also be orange.

Please, make text and letter spacing a little bigger for 'desktop client' text

Checked


unskip lc tests

Description

Fixes #

PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] If applicable, the PR references the bug/issue that it fixes in the description.
[ ] New Unit tests were added for the changes made and CI is passing.

Quality of Code and Contribution Guidelines

[ ] I have read the contribution guidelines.

3.10 tests currently shall be skipped until remote build is ready for 3.10


fix: better handling for mobile and blocked popups

Fixes for #300 and #333

@timstackblock the Netlify build should be fixed here. I think there were some API errors on the Netlify when this tried to deploy the first time. It's working now.

Found a weird bug here http://somup.com/cYhI25jrBU its not a show stopper because I can get around it if I just close out and do it again. But we should definitely fix it to make the roll out go smoothly.
If I select "I already have a secret key" by accident then close that box and select the option to "generate a new secret key" the box opens back up and prompts me to enter the 12 word seed phrase again.

Thanks @timstackblock - we are tracking that bug in #381 . Let's try and QA this ticket regardless of that bug

@hstove to merge