given file text and position, how to parse the current form

Problem/Opportunity

problem is quite standard: a clojure/script editor extension needs to read/select the current ~top level~ (the form cursor is in) form in a file when a shortcut is pressed; the knowns are the whole file text and current position
parse-string reads the next form, but given document and position we can be inside the form and need to scan left and right, find the boundaries of the form
right now every extension seems to implement its own version of reading until next matching delimiter to get the text in range
in parser/core.cljc there's already delimiter traversing logic, ~would be great if it was reusable across extensions~ it already is reusable, would be great to have and addtional api to parser to not just read the next from, but current ~top level~ form from position

please correct me if i'm missing an obvious solution

and an important note:

we cannot pre-parse the whole document, because there may be invalid forms (as discussed https://github.com/clj-commons/rewrite-clj/issues/87)
but for users it should still be possible to format select the current valid form, even if other code in the file cannot be parsed

Hi @sergeiudris, thanks so much for raising this issue. I think it is an interesting use case.
I tend to paraphrase to make sure I understand, so please bear with me. 🙂
Let's see if I get it:

A typical scenario for editors is that they hold Clojure/Script source in, effectively, a string.
Sometimes it makes sense to only parse a current Clojure form within the string.
This current Clojure form would be found by its offset (or maybe, row/col) within this string.
But... rewrite-clj's public API seems to only support parsing the entire string.

And I often ask questions to which the answers may seem obvious, but again, I just want to make sure I have a clear understanding.

In addition to not wanting to trigger a failure for other, perhaps invalid, Clojure forms in the string, are there other reasons why an editor might want to only parse the current Clojure form?  Does, for example, performance come into play for large Clojure source files?
You want to parse the current form in the string to rewrite-clj nodes, correct? (as opposed to just wanting to finding the start and end positions of the form with the string)
Do you think editors would typically want to parse the current form in the string to a  rewrite-clj zipper?  (I would guess yes, but some folks like to deal solely with the node API and don't touch the zip API).
How many forms would rewrite-clj parse? For example if I have form (1 2 3 [a b [3 4]]) and I am at located at 3, I'd obviously parse more than 3, but how much more? [3 4]? [a b [3 4]] or the entire top level form?
Or maybe the passed in position is always the start of the form?  And you'd just like to parse to the end of that form?
What would you like to happen if the current form contains invalid Clojure? (this is really maybe #87, but would be interesting to know what behaviour would be useful to you here.)

A typical scenario for editors is that they hold Clojure/Script source in, effectively, a string.
Sometimes it makes sense to only parse a current Clojure form within the string.
This current Clojure form would be found by its offset (or maybe, row/col) within this string.
But... rewrite-clj's public API seems to only support parsing the entire string.

yes, that sums it up

In addition to not wanting to trigger a failure for other, perhaps invalid, Clojure forms in the string, are there other reasons why an editor might want to only parse the current Clojure form?  Does, for example, performance come into play for large Clojure source files?

performance does come in to play, definitely (a file like clojure.core comes to mind)
for example, indentation formatting as we type: even if file string is valid edn, calling (of-string file-text) on every change to then find form at position, call cljfmt.core/refromat-form or any other zloc friendly logic (like rewrite-clj/paredit) would be inefficient

Right now extension is at the point of implementing formatting, color brackets/tokens. And most importantly - selection of form to send to nrepl. And the way existing extensions have their own implementations of parsing/editing seems repetitive. Finding forms should be generic (rewrite-clj,rewrite-clj/paredit and cljfmt already are), the question is how to get from text + position to zloc.

what may be needed (hope not, but thinking about how to solve it properly), a reactjs shadow-dom like approach
not part of rewrite-clj, but a library relying on it
it would take source file string (valid or not), build a "smart" zloc, on each document change efficiently apply it to "update" zloc without whole re-parse
an editor extension would import it, point it at source file string, and get  the source file constantly represented as zloc, allowing  to cljfmt/paredit

Did try using clojure-lsp to solve formatting/paredit and form selection altogether, but the features are mostly about static analysis, while extension still needs to select the form. And again - even if this logic (form selection, invalid parsing) become possible with clojure-lsp, it still should be extracted into a library

You want to parse the current form in the string to rewrite-clj nodes, correct? (as opposed to just wanting to finding the start and end positions of the form with the string)

to zloc, yes
but if start and end are known, it's sufficient, right? we can substring and call (parse-string form-substring) and get zloc, allowing  to cljfmt/reformat-form or (rewrite-clj.node/string node) and send to nrepl to eval

Do you think editors would typically want to parse the current form in the string to a  rewrite-clj zipper?  (I would guess yes, but some folks like to deal solely with the node API and don't touch the zip API).

rewrite-clj.paredit uses zloc, so definitely zipper

How many forms would rewrite-clj parse? For example if I have form (1 2 3 [a b [3 4]]) and I am at located at 3, I'd obviously parse more than 3, but how much more? [3 4]? [a b [3 4]] or the entire top level form?

Calva (the extension with great editing/formatting experience) has Expand Form shortcut - pressing once selects 3, pressing again  expands selection to [3 4], again to [a b [3 4]] etc.
thinking of specifying levels: e.g. (parse-current-form s pos {:expand 0}) -> 3, {:expand 2} -> [a b [3 4]] (naming should be re-thought obviously); {:expand ##Inf} -> top level form

Or maybe the passed in position is always the start of the form?  And you'd just like to parse to the end of that form?

position should be anywhere in the document
if at start/end of form, form
if between forms, go up (left) for example (Calva's behavior):  (1 2 3 ,,,,,,,,,,,,,, [a b [3 4]])  cursor on rightmost coma -> select form -> 3

What would you like to happen if the current form contains invalid Clojure? (this is really maybe #87, but would be interesting to know what behaviour would be useful to you here.)

i think, from extension's user experience, given form   ( { :x [  }) :
( ) { } would get that form's zloc with  (yes this is #87 territory) the invalid form's (vector) node inside{} node
putting cursor at the missing ] and selecting form is a question:  it will go left find [, then go right and find }  - and it's unclear which form is broken, map inside vector, or vector inside map; would assume the whole top form needs to be parsed to know that it's vector; unclear

@sergeiudris thanks for the good discussion.
I've noticed what seems to be a related issue here: https://github.com/weavejester/cljfmt/issues/212.
On your shadow-dom idea:
It feels like the zipper could almost act as the source of truth that the editor updates and renders.
I sincerely don't know how well that would play out, but interesting to think about.
And we'd need, of course, to support holding syntactically invalid source.
On form selection:
Sometimes a node gains context from its parent nodes.
For example if we have #::{:a 1 :b 2}, :a is a keyword node,  {:a 1 :b 2} is a map node, and #::{:a 1 :b 2} is a namespaced map node. If context from parents is important to an editor, I suppose the editor could expand scope until it has enough information to make whatever decision it needs to make about a form.
Also :a standing alone is different that :a in a namespaced map from the perspective of sexpr.  So I expect we'd want to return node :a from #::{:a 1 :b 2} with its namespaced map qualifier context.
I wonder also if returning the selected node depth might be interesting... but if this would mean rewrite-clj parsing to the top level form to calculate it might defeat any performance benefit.  Maybe indicating that the node is top level or not would be enough.
Or maybe... always returning the entire top level form would be sufficient if the zipper location is set to the node at/near the requested row/col position.
Next steps
I'd like to be pretty certain that whatever changes we make to rewrite-clj will be useful to you and others.
I am happy to hash this out until we figure out what form those changes might take.


Change hardcoded title to variable

I found that title of /blog is hardcoded. Therefore I changed it to variable from siteConfig.js just like other pages.

thanks!


[eas-cli] use completedAt timestamp as build finish date instead of updatedAt in eas build:run command

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
I noticed that finish dates aren't valid for the builds when I ran the command locally. I figured out that we are using the incorrect timestamp as the build finish time.
How
Use completedAt timestamp as build finish date instead of updatedAt timestamp
Test Plan
Test locally.

/changelog-entry bug-fix Use the completedAt timestamp as the build finish date instead of the updatedAt timestamp in the eas build:run command


Multiple Encodings for Sources Garble Localization

In Ck2, text files for mods are expected to be in Windows-1252 encoding, certain mods or base game files (on Linux or MacOS) may be encoded in UTF-8. In the base game and with unmerged mods this poses no issue, but all mods need to be transliterated into a standard encoding (UTF-8) for doing file comparisons before being exported into the preferred encoding for each game.

Current set up causes localization text with extended characters to be rendered improperly.


Twitter authentication fails when using netrc

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
Worldwide
Provide a description that is worded well enough to be understood
Worked initially after support was added for login. Some recent Twitter change must've broken it.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Encodings: locale utf-8, fs utf-8, pref utf-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (pip)
[debug] Python 3.11.4 (CPython aarch64 64bit) - Linux-4.19.229-disrupt-gb9e45bb24f0e-aarch64-with-libc (OpenSSL 3.1.1 30 May 2023, libc)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[twitter] Downloading login page
[twitter] Downloading flow token
[twitter] Submitting JS instrumentation response
[twitter] Submitting username
ERROR: [twitter]<PHONE_NUMBER>201206785: Unrecognized subtask ID "ArkoseLogin"; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 707, in extract
    self.initialize()
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 613, in initialize
    self._perform_login(username, password)
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/yt_dlp/extractor/twitter.py", line 278, in _perform_login
    raise ExtractorError(f'Unrecognized subtask ID "{next_subtask}"')

I can't reproduce with my account, but ArkoseLogin appears to be a captcha challenge. We can add a better error message for that but otherwise nothing we can do. Pass cookies instead if you get this when trying to login

Issue no longer persists after acquiring a new IP. Carrier provides dynamic IPs and perhaps some sort of check was triggered due to unwanted traffic.


Messager, auto scroll after sending message

Hi,
is it possible to auto scroll to bottom from the single_message.html after sending a message?
When I wrote a message to a user and all messages are more the one page, then the last message are not visible.
Example picture in attachment

I noticed it @raugbein I've been looking for a solution, but this is not my strong side, so I haven't been able to solve it in a good fashion. I'm open to suggestions, or even a most preferred PR solving it, if you have one.


BUGFIX test class namespace

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6d82ed4). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
  Complexity        ?      4
=======================================
  Files             ?      1
  Lines             ?     14
  Branches          ?      0
=======================================
  Hits              ?     14
  Misses            ?      0
  Partials          ?      0

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 6d82ed4...ed3ab3b. Read the comment docs.


Card component and demo updates

Card component:

reverse kebab and check so that check comes last.
remove "Example with only card body and actions in the card head"

Rename card demo from "Card" to "Card View"
cc @mcarrano

:tada: This issue has been resolved in version 2.12.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SignerInformationVerifier - complicated way to prepare Signature.getInstance()

I had an interesting encounter of things that BC can sign, but can not verify the resulting CMS signature.
It turns out that the SIV converts possible multi-AlgorithmIdentifier signatures to an attempt of single case which is then converted to a String.  The String is then used to instantiate the Signature algorithm.
What happens for a CMS Signature of

SHA256withRSA
SHA512withRSA
SHA512(256)withRSA
SHA256withRSAandMGF1
SHA512withRSAandMGF1
SHA512(256)withRSAandMGF1
SHAKE256withRSA
SHAKE256withRSAandMGF1
SHAKE256(1024)withRSA

About half of these cases the verification fails with very obscure error message to instantiate the Signature class for the verify.
All of these cases I have generated signatures with internal and external Signers (JCE instances and HSMs).
The whole thing is a terrible mess, and hard to even debug until I copied the core parts of it to my own versions, and added debug statements.  To enable most I added:

pkix/src/main/java/org/bouncycastle/cms/DefaultCMSSignatureAlgorithmNameGenerator.java: new OID -> strings entries
pkix/src/main/java/org/bouncycastle/operator/DefaultSignatureAlgorithmIdentifierFinder.java: new string -> OID entries

The algorithm to map CMS AlgorithmIdentifiers to String of Signature methods goes roughly as follows inside the SignerInformationVerifier.getContentVerifier() method:

DefaultCMSSignatureAlgorithmNameGenerator.getSignatureName(AlgID digestAlg, AlgID signingAlg) -> String  signatureName
DefaultSignatureNameFinder.find( String signatureName ) -> AlgID baseAlgID
new AlgID(baseAlgID.getAlgorithm(), signiningAlg.getParameters())  -> AlgID ver
OperatorHelper.createSignature(AlgID ver)  -> Signature sig

OperatorHelper.getSignatureName(AlgID ver) -> String sigName

DefaultSignatureNameFinger.getAlgorithmName(AlgID ver) -> String sigName

Signature.getInstance( String sigName, Provider prov ) -> Signature sig

wrap into SigVerifier class or sometimes RawSigVerifier or CompositeVerifier

This is way too complicated.
Things in steps 2-6 should be unnecessary.
And maybe the Signature.getInstance() uses version without the explicit Provider parameter, it is not clear..
Furthermore that intermediate processing relies on assumption that with an exception of RSA/PSS algorithms, no other thing needs extra parameters, and that there exists unique OID for every possible signature algorithm.
The BC knows digest algorithm SHA512(256), and it knows the  "withRSA", but there is no OID mapping defined for the combination.
The X.509 certificate signatures use these   PKCSObjectIdentifiers.sha512_256WithRSAEncryption  OIDs on certificates, however CMS never uses them.  (The pkix/src/main/java/org/bouncycastle/operator/DefaultSignatureNameFinder.java  knows this OID and name combination, two other mappers do not know it.)

The BC knows how to instantiate Signatures:

SHA512(256)WITHRSA
SHA512(256)WITHRSA/PSS + SHA512(256)WITHRSAandMGF1
SHAKE256WITHRSA/PSS but no SHAKE256WITHRSAandMGF1 !
SHAKE128WITHRSA/PSS but no SHAKE128WITHRSAandMGF1 !

However the BC does not know how to convert any of CMS signatures done with these to Signature instances.
The RFC 8702 defines SHAKE digest algorithms for RSA-PSS and ECDSA signature forms.
There are no signature algorithm OID constants for for SHAKE{128|256}WITHRSA.
Such single algorithm OID would not be needed, if the first dual-parameter  getSignatureName(.. , ..) would be used directly to instantiate the validator's Signature instance.
For 2048 bit RSA keys the following PKCS#1 v1.5 Signature format is provably secure: "SHAKE256(1024)withRSA"
Or at least as secure as the SHAKE256 algorithm is at any output length. (https://eprint.iacr.org/2018/855)
Instantiating it is a bit of challenge of its own kind, and more so on validation, as the digest output bit length parameter can be anything at all in range of 512 to public key length minus a bit.
Related:   SHA3.DigestSHAKE instantiators do not actually use the size parameter, and all instances instantiate SHAKEDigest of "type" and constant derivation of output size.  It would be nice if SHAKEDigest would support also non-default output sizes -- and should that size parameter be number of bits or bytes?  The RFC 8419 uses id-shake256-len OID with INTEGER parameter for number of output bits.  There is the model to follow.

Always interested in simplifying things, if you have any suggestions we would be interested.
One thing there is no SHAKE128withRSAandMGF1, perhaps we should define SHAKE128withRSAandMGF as the RFC refers to it.

An example of what happens in SignerInformationVerifier and what calls/conversions are done:

(SignerInformation) - doVerify() encName=RSAandMGF1
(DefaultCMSSignatureAlgorithmNameGenerator) - getSignatureName() digestAlgID={2.16.8<IP_ADDRESS>.4.2.6}  signAlg={1.2.840.1135<IP_ADDRESS>{[[CONTEXT 0][2.16.8<IP_ADDRESS>.4.2.6, NULL], [CONTEXT 1][1.2.840.1135<IP_ADDRESS>, [2.16.8<IP_ADDRESS>.4.2.6, NULL]], [CONTEXT 2]32]}}
(DefaultCMSSignatureAlgorithmNameGenerator) - getSignatureName() -> digestName=SHA512(256)
(DefaultSignatureAlgorithmIdentifierFinder) - generate() alg=SHA512(256)WITHRSAANDMGF1  sigOID=1.2.840.1135<IP_ADDRESS>
(SignerInformationVerifier) - getContentVerifier() signatureName=SHA512(256)withRSAandMGF1 baseAlgID=1.2.840.1135<IP_ADDRESS>  ver=1.2.840.1135<IP_ADDRESS>{[[CONTEXT 0][2.16.8<IP_ADDRESS>.4.2.6, NULL], [CONTEXT 1][1.2.840.1135<IP_ADDRESS>, [2.16.8<IP_ADDRESS>.4.2.6, NULL]], [CONTEXT 2]32]}
(OperatorHelper) - createSignature() sigAlgId=1.2.840.1135<IP_ADDRESS>{[[CONTEXT 0][2.16.8<IP_ADDRESS>.4.2.6, NULL], [CONTEXT 1][1.2.840.1135<IP_ADDRESS>, [2.16.8<IP_ADDRESS>.4.2.6, NULL]], [CONTEXT 2]32]}  sigName=SHA512(256)WITHRSAANDMGF1
(OperatorHelper) - .. RSA-PSS parameters
(JcaContentVerifierProviderBuilder) - RawSigVerifier() AlgID=304106092a864886f70d01010a3034a00f300d06096086480165030402060500a11c301a06092a864886f70d010108300d06096086480165030402060500a203020120  signature=java.security.Signature$Delegate@24408abd Signature object: SHA512(256)WITHRSAANDMGF1  rawSig=java.security.Signature$Delegate@14e78d2a Signature object: NONEWITHRSAANDMGF1
(SignerInformation) - doVerify() contentVerifier=fi.methics.validator.bc.JcaContentVerifierProviderBuilder$RawSigVerifier@17d6c416
(SignerInformation) - doVerify() wrote content to verifier
(SignerInformation) - doVerify() content type attribute is good
(SignerInformation) - doVerify() message-digest attribute matches that of embedded data's digest
(JcaContentVerifierProviderBuilder) - RawSigVerifier::verify()  Calling SigVerifier::verify()  with expected=6622c585922664c298fc3510b13ddc192c66f1df24b770b5e60eff0199e4bfeb169a7dfef2fcc175f36d55b1f468137ceb16ca9662b440b3800e723838a112dbae7a2c09abb9a9812bb10790873f009187ff6acde93c34887de1424a546d75f2d5f5d572e78f4556f4daa94ff2bffc71f1ad5c2e9e4f0075f953e498c42ab7b35693e9570e260d81c958e4c01e832a8fb27353178c6b872b68bd57346425880ea2e6ee3d2369b0a00845f12f838c50be7fd9950d6461baac879e3f0f66a3f08c50eaa969bfedc7afff7fb790eeb646ee1f405617674b6196a6c4510b4e5f722fec9aa57e9e2b74008ab48d3e0ff04234dab3119b1b4da6a75e5e5648c36b7db0
(JcaContentVerifierProviderBuilder) - SigVerifier::verify()   Calling Signature::verify()  with expected=6622c585922664c298fc3510b13ddc192c66f1df24b770b5e60eff0199e4bfeb169a7dfef2fcc175f36d55b1f468137ceb16ca9662b440b3800e723838a112dbae7a2c09abb9a9812bb10790873f009187ff6acde93c34887de1424a546d75f2d5f5d572e78f4556f4daa94ff2bffc71f1ad5c2e9e4f0075f953e498c42ab7b35693e9570e260d81c958e4c01e832a8fb27353178c6b872b68bd57346425880ea2e6ee3d2369b0a00845f12f838c50be7fd9950d6461baac879e3f0f66a3f08c50eaa969bfedc7afff7fb790eeb646ee1f405617674b6196a6c4510b4e5f722fec9aa57e9e2b74008ab48d3e0ff04234dab3119b1b4da6a75e5e5648c36b7db0
(SignerInformation) - doVerify() ContentVerifier.verify(byte[]signature)   verify result: true

In the SignerInformationVerifier:
    public ContentVerifier getContentVerifier(AlgorithmIdentifier signingAlgorithm, AlgorithmIdentifier digestAlgorithm)
        throws OperatorCreationException
    {
        String              signatureName = this.sigNameGenerator.getSignatureName(digestAlgorithm, signingAlgorithm);
        AlgorithmIdentifier baseAlgID = this.sigAlgorithmFinder.find(signatureName);
        AlgorithmIdentifier ver = new AlgorithmIdentifier(baseAlgID.getAlgorithm(), signingAlgorithm.getParameters());

        log.debug("getContentVerifier() signatureName="+signatureName+" baseAlgID="+Asn1Tools.toString(baseAlgID)+"  ver="+Asn1Tools.toString(ver));

        return this.verifierProvider.get(ver);
    }

The signatureName  is already what the future  Signature.getInstance(...) call should be using.
Some additional parameters may be needed depending on the algorithm (like RSA-PSS).

I see the confusion - if there's a similarity at this level between a JCA signature name and what's coming out of the high level operators, it's a coincidence. The code at this level has nothing to do with the JCA, anymore than because one JCA provider might refer to an algorithm one way another one will always do the same. It's only in the packages that end with .jcajce that the JCA/JCE is relevant.
It has a lot to do with CMS though - in some signed data the signature used is a composite of the digest algorithm and the signing algorithm. The signing algorithm is not always enough in itself (this is a lot less true than it used to be, for some messages now it would probably be safe to skip sigNameGenerator.getSignatureName() altogether which may be the correct way to simplify this).

Yes, the problem is in CMS the signature/encryption algoritihm is not always the actual signature algorithm. The pickup does not assume a unique object identifier though, it assumes there's an algorithm identifier that fully represents the signature, the issue in CMS is you have to assemble it, sometimes. It might actually work better now if the assembly code was only invoked for specific signature/encryption algorithms - it would remove a layer of construction.
Can you give some examples of what you are trying to add?


Research how to implement a plugin that extends the job-scheduler

Description
As part of the command manager development process, we need to understand how to schedule tasks within the Wazuh Indexer.
Some kick-off questions we need to address are:

How to use job-scheduler classes from within other plugins.
What is the extent of the functionality provided by the job-scheduler plugin

After we have a grasp of the above, we can move on to writing code that leverages the job scheduler to run a command periodically.
Reference links

Job Scheduler's readme
Opensearch's documentation page
Sample extension plugin

Superseded by https://github.com/wazuh/wazuh-indexer-plugins/issues/65


Add the ability to output image to a window using some graphics api and probably winit

Use a graphics api like vulkano or glium to output images to a window(probably using winit) so you can see the output of the different processing algorithms. It would probably help with informal testing of algorithm correctness and faster iteration when writing or using them.

I agree that this would be useful. I don't want to pull in extra graphics dependencies unconditionally so this should be enabled via a package feature.
I've not felt any need to add this myself because I've not got round to finding a decent debugger setup and so just write files to disk instead. Got any tips on debuggers for Rust?

I'm also in the same boat. I've tried debugging on vscode and it isn't as satisfactory as the ones found in ides from jetbrains. I've heard clion might be good but I don't have the money to invest into it.

Thanks for the tip - I'll give the codelldb extension a go.

Would winit be preferred for the output window or is it ok to use sdl2, although it requires a c library

My main constraint is that this functionality is hidden behind a feature flag. Beyond that, I'm happy for it to be provided in any sensible form, even if it requires (clearly documented!) extra dependencies or installed libraries.

That would be cool to have, but it wouldn't totally remove the need for this feature - it's useful to be able to debug an image processing operation somewhere in the middle of a larger piece of code.

I've seen this example in the image-png repo, which might be a useful starting point:
https://github.com/PistonDevelopers/image-png/blob/master/examples/show.rs


removed accidental path description

That path in
PS C:\WINDOWS\system32> kubectl ....

is deleted.
Is should be like:
kubectl ....

Now it's on par with the other code samples

@fcabrera23
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Possible hardcoded paths

When using the 0.3.3b release (GUI) on OSX v10.11.1 and trying to export for OSX 64bit I get the following message:
['Traceback (most recent call last):\n', '  File "/Users/joey/Projects/Web2Executable/command_line.py", line 760, in make_output_dirs\n', '  File "/Users/joey/Projects/Web2Executable/command_line.py", line 638, in create_icns_for_app\n', '  File "/Users/joey/Projects/Web2Executable/pycns.py", line 19, in save_icns\n', '  File "/Users/joey/Projects/Web2Executable/pycns.py", line 14, in encode_image_to_icns\n', '  File "/Users/joey/Projects/Web2Executable/icns_info.py", line 994, in parse_image\n', '  File "/Users/joey/Projects/Web2Executable/png.py", line 1958, in read_flat\n', '  File "/Users/joey/Projects/Web2Executable/png.py", line 1920, in read\n', '  File "/Users/joey/Projects/Web2Executable/png.py", line 1719, in preamble\n', '  File "/Users/joey/Projects/Web2Executable/png.py", line 1706, in validate_signature\n', 'FormatError: FormatError: PNG file has invalid signature.\n']

No idea where /Users/joey is coming from (quick text search only revealed some commented text in the bash script)

There aren't any hard coded paths. The packet I use keeps my local paths so that it's easy to debug.
I am aware of this issue. It's caused when a .icns file has a jpeg encoded inner icon format. Basically, you'll need to encode your .icns file differently, or use a png file for the Mac Icon (it will be converted to an icns file)

Hey Joey.
Having a very similar issue but Using Win and Web2Exe v0.3.2b. Tried v0.3.1b with same results.

Thanks man!

@2braincells2go It looks like you're hitting the Windows 255 character limit with your long node modules path. You might be able to fix the issue by running this npm module: https://docs.npmjs.com/cli/dedupe

Ok, thanks Joey.
Not positive know how to solve. Install this module and it handles things in future?
but if it were you:
Where would you place projects so this will not happen in first place?

I don't think you have to install it. It might be included when you install the more recent versions of npm. Basically, in the root of your project, where your node_modules folder is located, you'll have to open up a command line window and enter npm dedupe and it will move some of your dependencies around so that they aren't so deeply nested.
This is a well known issue with npm and there's not really anything you can do to prevent it except know that it's going to happen at some point and then run this module or a similar one to make the paths shorter. It's an annoying problem for sure since it's only related to Windows and the APIs that Python uses in Windows.

Wonderful advice Joey, thank you.
I have never ran into it before but then again this is "amateur hour":) I should have started learning all this when I was a much younger man. Like a 1st Sargent told a 2nd lieutenant long ago when I was in military: if you had one more braincell, they would fight and kill each other!
Thanks again Joey.

:D I didn't know you were in the military. What was your rank?
You're very welcome, Woody. Hope your classes are coming along well :)

I got out in 1985 as a lowly staff sergeant. Loved my time in and learned a lot but way too many rules for this ole boy:) Don;t get me wrong, excellent training and wonderful experience just not for head strong people, lol.
I teach classes for teens who have issues with authority, so I fit into that well. Basically show them how to use a computer and do something creative with their time. So classes are going great!

:) I think there would be too many rules for me as well.
That's cool :) Glad to hear that they're going well!


adding pypandoc to vaxrank requirements

Fixes #35. Adding pypandoc because very easy to push from a virtualenv where you happen to forget to manually install pypandoc, and then everything is terrible

LGTM!

Coverage remained the same at 91.571% when pulling e1d73d2a4c68a30f992a3f385dfd690a7f950a00 on vaxrank-really-fix-readme into 1ed48da60d2fc77abadaaea96e7abcdabbad1c0a on master.


Problem with arrow keys mapping in insert mode, apparently linked to OmniComplete

I very recently started having problems with arrow keys when in insert mode; using them causes the letters A B C or D to get inserted. Disabling OmniComplete by adding the following to my .vimrc.before.local fixes the problem:
let g:spf13_no_omni_complete = 1

I'm pretty sure this is a recent breakage, as I wasn't having this problem until the last couple of weeks when I updated spf13. I update every few weeks, so I would be surprised if this problem was introduced much earlier than mid-January.
Aside from completely disabling OmniComplete, I can also make the problem go away by commenting out the following two lines in .vimrc (lines 426-427):
inoremap <expr> <Esc>      pumvisible() ? "\<C-e>" : "\<Esc>"
inoremap <expr> <CR>       pumvisible() ? "\<C-y>" : "\<CR>"

I'm on Ubuntu 12.04 and I'm running vim in tmux, though the problem existed outside of tmux as well. I've got TERM=xterm-256color (when outside tmux) and TERM=screen-256color (when inside tmux).
On a related note, it appears that the option for disabling OmniComplete and the option for noninvasive completion conflict with each other. In my .vimrc.before.local I have:
let g:spf13_noninvasive_completion = 1
let g:spf13_no_omni_complete = 1

When I start vim I get the following error:
Error detected while processing /home/dev/.vimrc:
line  728:
E31: No such mapping

If I comment either of those flags the error goes away.

@spf13: do you have any insight here?

Fixed my problem as well.
I was also having a really annoying problem with the completion prompts taking two, sometimes three escapes to get back to normal mode, which resulted in a lot of extra j/k/l/h/u characters in my code.  After disabling omnicomplete this phenomenon when away, too.  Seems like omnicomplete integration is broken...

Same here.
Today i click ESC 3/4 times every time just for safety :neckbeard:

:+1: same issue and workaround on new Mac today... old Mac that hasn't been updated on spf13 for a while, but both are using same dotfiles.

I have no insights, but disabling omnicomplete seems like an awful thing to
give up. I don't experience this on my machines. We need a better solution.
Are all of you editing the same type of files? Same OS? more information
here would be very helpful as it's likely a specific plugin causing it.
--
Steve Francia
http://stevefrancia.com
http://spf13.com
http://twitter.com/spf13
On Sat, May 2, 2015 at 11:25 PM, Bret Fisher<EMAIL_ADDRESS>wrote:

[image: :+1:] same issue and workaround on new Mac today... old Mac that
hasn't been updated on spf13 for a while, but both are using same dotfiles.
—
Reply to this email directly or view it on GitHub
https://github.com/spf13/spf13-vim/issues/567#issuecomment-98432028.

To recreate:

New VM in Parallels of Mac 10.10.3 Yosemite (built from recovery partition)
Start Terminal
install spf13 curl http://j.mp/spf13-vim3 -L -o - | sh
prompts to install xcode tools. Once finished:
vim
i
use arrow keys
Up inserts A on newline above current line, Down inserts B, Right inserts C, Left inserts D
arrow keys work normally in normal mode

I wondered if was my zsh shell, or maybe iterm, but nope, that's as pure of a test as we can get on Mac. A fresh new OS with nothing installed. I'm happy to test other things.

Normal in vim, arrow keys are seen like ABCD.
Try with this fix that vim wiki gives:

Remote
Broken arrows

After I comment those 'convenient' mappings (as shown below) in omnicomplete part, I find ESC and arrow keys works as expected.
" Some convenient mappings
inoremap <expr> <Esc>      pumvisible() ? "\<C-e>" : "\<Esc>"
inoremap <expr> <Down>     pumvisible() ? "\<C-n>" : "\<Down>"
inoremap <expr> <Up>       pumvisible() ? "\<C-p>" : "\<Up>"

Thanks @FiloSpaTeam, solution 15 under Broken arrows works for me with omnicomplete enabled.
imap <ESC>oA <ESC>ki
imap <ESC>oB <ESC>ji
imap <ESC>oC <ESC>li
imap <ESC>oD <ESC>hi

Perfect! :dancer: :+1:

@BretFisher that solution is working for me also, but I still wonder why the problem appeared after the last update...

@BretFisher worked for me in the case of arrows, but its not fixing the ESC key... any clues?

@gisphm have better solution, don't you think the problem is near .vimrc:728 like @davidbrewer said?
anybody knows when it precisely stop working... ? Which commit? Could you blame it?
Hacks like:

imap oA ki
imap oB ji
imap oC li
imap oD hi
is not the best, because :set nocompatible should repair that bug...

@JulianVolodia I don't think the omnicomplete part is to blame. I have been using this distribution for half a year(though I forked one recently). Before some recent commits, this distribution worked well.
As you proposed, I checkout some commits as new branches, just for testing which commit maybe the reason why those keys stop working. I find that after this commit, arrow keys act as compatible. In this commit,  vim-autoclose is replaced with auto-pairs, meaning that vim-autoclose is deleted from bundle list.
Well, I am not good at vim script. I have no idea what has been coded in auto-pairs. So, can anybody look into auto-pairs and find what is the real reason that those keys are not working as expected?

you have auto-pairs in .vim/bundle/auto-pairs/plugin/auto-pairs.sh
After disabling it (move that file elsewhere or change name) it still don`t work (arrows).

If you want disable auto-pairs move directory auto-pairs in another directory and reload Vim, auto-pairs doesn't act anymore and configuration doesn't load if conditions ;-)

doesn't load if conditions
what do you mean?

I still looking for sth which broke spf13 to behave like in compatible mode (ABCD letters). @gisphm mentioned that auto-pairs could be badass... but not.
I ask you (all my dear friends :D) to find out which is regressive commit... to collaborate ;)

In my fork all works as expected but i changed auto-pairs with this plugin (that i think is better too, because handles some particular conditions).
In this beautiful .vimrc, most of configurations are loaded only if the plugin exists ;-)
Like:

if expand("~/.vimrc.bundles.fork")
# do something
endif

@FiloSpaTeam - I got it earlier.

In my fork all works as expected ...

what exacly work? you disabled that plugin and it works?

I use Vim (with Konsole) and GVim and i don't have problems with Arrows keys.
I replaced plugin with this ;-)

@julianduque Replace auto-pairs with vim-autoclose, then the arrow keys perform well.
I am confused about those convenient mappings in omnicomplete part. They are actually useless. So I came up with the idea commenting these mappings.
By the way, I use a keyboard with 61 keys, so I don't use arrow keys when coding with vim. :-)

@JulianVolodia after many changes in spf13-vim, you must clear out the .vimviews directory. Not sure if for this particular plugin though,

The suggested solution:
let g:spf13_no_omni_complete = 1 to .vimrc.before.local worked for me.
However, I cannot use arrows to select an entry from the autocomplete menu.

Friends, the "auto-pairs" plugin was not added, it was just moved from line 159 to 109 on this commit. This commit actually removed the "vim-autoclose" plugin.
I've added Bundle 'spf13/vim-autoclose' to my .vimrc.bundle.local and after running Bundle to install the plugins this problem with arrow keys was fixed.
I don't know what on "vim-autoclose" fixes this behaviour, but it works. rs =)

Hey @diraol, I think you meant .vimrc.bundles.local
This is the command I ran after adding Bundle 'spf13/vim-autoclose to ~/.vimrc.bundles.local
vim +BundleInstall! +BundleClean +q
The ABCD arrow problem is now fixed for me. Thanks @diraol!

@davidbrewer it works, thx a lot!

For me, the only thing that worked was:
imap oA ki
imap oB ji
imap oC li
imap oD hi
Disabling omni didn't have any effect.

Adding back spf13/vim-autoclose, thx @diraol @damianball

+1

spf13/vim-autoclose fixes this with the following:
if &term[:4] == "xterm" || &term[:5] == 'screen' || &term[:3] == 'rxvt'
      inoremap <silent> <C-[>OC <RIGHT>
endif


extractMethod: Support renameLocation

Fixes #17852
Does not fix #18048

@mhegazy @amcasey Could you review again?

Please port this to release-2.5


✨ feat(core): Add progress bar to file downloads

Current dependencies on/for this PR:

new-dawn

PR #1038   👈

This stack of pull requests is managed by Graphite.


Also cache failed version bump attempts.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

Otherwise, failed checks will run again immediately, never giving outdated checks a chance.

Review period skipped due to critical label.


[EN] Feedback for: /web/fundamentals/getting-started/push-notifications/step-07?hl=en

The cURL command as supplied will result in a 400 bad request with a response body that says "to". Adding a "to" field in the request body makes it work.

Merging into #3445


Migrate documentation google doc to mkdocs

now that we're going to move to sphinx I might close this ticket ! fyi @lizgzil


[BE][DATA_PROVISIONING] Providing registry reload based on the assets

As a User
I want to be able to import data into my company
so that I can share data within the catena network with my partners
Hints / Details
See concept: Catena Concept
Acceptance Criteria

[ ] Shelldescriptor table has been removed
[ ] Datamodel of shelldescriptors and all references have been removed
[ ] Logic which was in shellDescriptor table has been completly migrated to asset table (per bom lifecycle)
[ ] API has been provided for IRS webhook call (provides response for sync jobs)
[ ] API is able to map the jobdetailresponse of irs and persists the assets
[ ] IRS HTTP Calls have been adapted to use the webhook logic
[ ] ASYNC Handler has been removed

Out of Scope

:no_entry: is blocked by #412

Decreased story as some of the acceptance criteria has been addressed already.

Story has been implemented. @ds-alexander-bulgakov please verify.

Tested on e2e-a, amount of requests to the IRS is reduced and all ACs met. Ticket was already accepted on the review.


While using react app for azure for locator.It is showing at coordinates[0,0]

I have created LocationMarker.js to import the symbol and expect it to be displayed on the coordinates given by in Map.js..(ie) following code. But by default it showing wrong..
import React from 'react'
import {AzureMap, AzureMapsProvider, IAzureMapOptions} from 'react-azure-maps'
import {AuthenticationType} from 'azure-maps-control'
import LocationMarker from './LocationMarker'
const option: IAzureMapOptions = {
    authOptions: {
        authType: AuthenticationType.subscriptionKey,
        subscriptionKey: '<key>'
    },
}
const Map = (center,zoom) => {
    return(

            <AzureMapsProvider>
                <AzureMap options={option}>
                    <LocationMarker center= {78.9629, 20.5937}/>
                </AzureMap>

            </AzureMapsProvider>

    )
}
export default Map

@Sreeja-Veeramreddy can you show your LocationMarker component?

LocationMarker.js
import { Icon } from '@iconify/react'
import locationIcon from '@iconify/icons-mdi/fire-alert'

const LocationMarker = ({ lng, lat, onClick }) => {
    return (

            <Icon icon={locationIcon} className="location-icon" />

    )
}

export default LocationMarker

@Sreeja-Veeramreddy Please use <AzureMapHtmlMarker /> component to show HTML marker - that should be the easiest way, but is not good performance way.
You can also add image sprites to AzureMap - ImageSprite and use Layer and DataSoure to show your markers.


Support for other languages

When trying to download a story from one of Literotica's other language sites, the following error occurs:
"Invalid literotica story url format".
Since the sites are structured the same way as the English version, except with the language added to the URL, I believe it shouldn't be too difficult to add this. For example https://german.literotica.com/ instead of https://literotica.com/
Currently, there are these language varieties:

https://german.literotica.com/
https://dutch.literotica.com/
https://spanish.literotica.com/
https://french.literotica.com/
https://italian.literotica.com/
https://romanian.literotica.com/
https://portuguese.literotica.com/
https://other.literotica.com/

aae612c75f7ab7efdd9eb2944e48a0f76a21e61e
Fixed in v1.0.6: https://github.com/Videogamers0/StoryManager/releases/tag/v1.0.6


Specific Instructions on Creating Custom Visuals that Work on Report Server

There are no instructions on how custom visuals can be created so that they work on PBI Report Server. Really need to add this because not all the Marketplace custom visuals work on PBIRS, and we are having trouble creating one.

Hi, @sjlarkin Thanks for your comment. Assigning to someone familiar with custom visuals, to help.

Custom Visuals don't require any changes for PBI Report Server.
@sjlarkin, Could you please send a list of visuals which don't work in PBI RS?

@uve, R visualizations do not work on PBIRS. Beyond that, I don't have a list, but asked Microsoft to mark the custom visualizations that either work or don't work on Report Server. Crickets.
We have had to do it by trial and error. Use a visualization with a very simple dataset, upload to PBIRS, and see if it works.
If you add the idea to the ideas page, and get some response, can you post it here on this thread?

All, I've added a new idea to ideas.powerbi.com. Please vote it up:
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39855259-mark-custom-visualizations-that-work-with-power-bi.
Sorry you have to copy and paste. I'm using IE11, and probably should be using Chrome.

@sjlarkin - Thank you for submitting feedback on our documentation. Since this comment is not against a specific article and the you've posted to ideas, we'll now close this issue. If your feedback isn't addressed, please feel free to submit additional feedback for a particular page.


[SPIKE] - Parallelize Cypress runs

Description
Once our e2e isolation effort is done / each of the e2e's can run individually, we should look into parallelizing our Cypress runs to take advantage / make our CI ⚡blazing fast⚡
Proposed solution
Research options for us to parallelize our Cypress runs. Considerations include

Resource constraints in our Github runners?
Leveraging the cached image infra that the devops team did for the testing workflow refactor
Whether we can use Cypress Cloud / other out of box Cypress solutions or need something else

Additional context

Cypress Parallelization docs
This should be a solved problem, so might want to do some analysis on options out there other teams use

Related ticket: https://github.com/orgs/CDCgov/projects/15/views/1?pane=issue&itemId=59021834


navigationState duplicate key when restarting the app after an error

@jevakallio
I reproduced the scene stack error I mentioned to you at the meetup. This happens when I open the app after another error occurred. So I guess leaving some dirty state in the application.
Contacts is the name of the route. To clear this error I have to clean manually the data cache for the app.
Possible Unhandled Promise Rejection (id: 0):
navigationState.children[2].key "scene_Contacts" conflicts withanother child!
Invariant Violation: navigationState.children[2].key "scene_Contacts" conflicts withanother child!
    at invariant (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:2433:7)
    at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:71833:1
    at Array.forEach (native)
    at NavigationScenesReducer (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:71825:20)
    at new NavigationAnimatedView (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:71457:8)
    at ReactCompositeComponentWrapper._constructComponentWithoutOwner (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:28503:19)
    at ReactCompositeComponentWrapper._constructComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:28485:13)
    at ReactCompositeComponentWrapper.mountComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:28404:15)
    at Object.mountComponent (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:26913:29)
    at ReactCompositeComponentWrapper.performInitialMount (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:28580:28)

UPDATE:
This happens when inside the NavigationState another children with the same key gets pushed
using the chrome debug console:
// prev state state
Object NavigationState = {
   MainNavigation: {
      routes: [
         {key: 'pageA'},
         {key: 'pageB'},
      ]
  }
}

// next state
Object NavigationState = {
   MainNavigation: {
      routes: [
         {key: 'pageA'},
         {key: 'pageB'},
         {key: 'pageB'},
      ]
  }
}

// NOTE: the key `routes` is called `children` with react-native < 0.28

I have narrowed down this issue to this line:
https://github.com/futurice/pepperoni-app-kit/blob/master/src/modules/navigation/NavigationState.js#L48
proposed fix:
const getNewChildrenList = (children) => {
    const sameChildren = children.filter((child) => {
        return child.get('key') === (action.payload && action.payload.key);
    });
    if (sameChildren.isEmpty()) {
        children.push(fromJS(action.payload));
    }
    return children;
}
return state
    .set('isNavigating', true)
        .updateIn(['children', state.get('index')], tabState =>
            tabState
                .update('children', getNewChildrenList)
                .set('index', tabState.get('children').size);
        );

Basically it checks that the child is not already present before pushing it in.
At the moment this solution doesn't work 100%, because the index between NavigationState and Scenes goes out of sync.
But hopefully this will help help others with thid same issue

@fabriziomoscon is this issue solved by https://github.com/futurice/pepperoni-app-kit/pull/89 or is there something more we need to do in your opinion?

@jevakallio I haven't see this issue at all after implementing the change in PR #89
I think this is the fix: https://github.com/futurice/pepperoni-app-kit/blob/master/src/modules/navigation/NavigationState.js#L61-L68

Awesome 🎉


Fix HostsDeleteByIds with Zabbix 6.0+ (take 2)

Fix https://github.com/claranet/terraform-provider-zabbix/issues/34
Revert claranet/go-zabbix-api#11 which broke support for old (v2.0 and older) versions of Zabbix Server.
Reverse the calls to host.delete API to favor newer versions of Zabbix Server that don't use hostid in params.
See https://github.com/claranet/go-zabbix-api/pull/11#issuecomment-1260962897

Further testing reveals that another API broke with Zabbix Server v5.4+, application was removed completely:

ZBXNEXT-2976 dropped support of whole Application API.

https://www.zabbix.com/documentation/5.4/en/manual/api/changes_5.2_-_5.4#application
[zabbix] Request (POST): {"jsonrpc":"2.0","method":"application.create","params":[{"hostid":"10529","name":"App<PHONE_NUMBER>249329442 for fv-az290-762-testing-7300031146395502685"}],"auth":"baf253922a1bc39089e594a50d440de8","id":4}
[zabbix] Response (200): {"jsonrpc":"2.0","error":{"code":-3[26](https://github.com/claranet/go-zabbix-api/actions/runs/3147435342/jobs/5116934981#step:5:27)01,"message":"Method not found.","data":"Incorrect API \"application\"."},"id":4}

https://github.com/claranet/go-zabbix-api/actions/runs/3147435342/jobs/5116934981#step:5:27

Zabbix 5.4+ compatibility work moved to https://github.com/claranet/go-zabbix-api/pull/15


IndexError: too many indices for tensor of dimension 1

Thanks for sharing your great code!
I'm trying to run your sample code:
python seal_link_pred.py --dataset ogbl-ppa --num_hops 1 --use_feature --use_edge_weight --eval_steps 5 --epochs 20 --dynamic_train --dynamic_val --dynamic_test --train_percent 5
there is an 'IndexError':
Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/opt/anaconda3/envs/seal2/lib/python3.8/multiprocessing/spawn.py", line 116, in spawn_main     exitcode = _main(fd, parent_sentinel)   File "/opt/anaconda3/envs/seal2/lib/python3.8/multiprocessing/spawn.py", line 125, in _main     prepare(preparation_data)   File "/opt/anaconda3/envs/seal2/lib/python3.8/multiprocessing/spawn.py", line 236, in prepare     _fixup_main_from_path(data['init_main_from_path'])   File "/opt/anaconda3/envs/seal2/lib/python3.8/multiprocessing/spawn.py", line 287, in _fixup_main_from_path     main_content = runpy.run_path(main_path,   File "/opt/anaconda3/envs/seal2/lib/python3.8/runpy.py", line 265, in run_path     return _run_module_code(code, init_globals, run_name,   File "/opt/anaconda3/envs/seal2/lib/python3.8/runpy.py", line 97, in _run_module_code     _run_code(code, mod_globals, init_globals,   File "/opt/anaconda3/envs/seal2/lib/python3.8/runpy.py", line 87, in _run_code     exec(code, run_globals)   File "/Users/shanghanglin/SEAL_OGB/seal_link_pred.py", line 702, in <module>     loggers[key].print_statistics()   File "/Users/shanghanglin/SEAL_OGB/utils.py", line 364, in print_statistics     valid = r[:, 0].max().item() IndexError: too many indices for tensor of dimension 1
Could you please help me with that? Thank you!

Thanks for your reply.
PyTouch: 1.6.0
PyG: 2.0.1
OGB: 1.2.4

I just can’t find a way to install a specific version of PyG...like your version of 1.6.1. Could you help me?

Hi! I have tested the repo with PyTorch 1.9.0, OGB 1.3.1 and PyG 2.0.2. Maybe your OGB version is too old. Can you update it by "pip install -U ogb"?


Better readability for test logs

Before:

After:

@quarckster Thanks for doing this! 🔥💯🙌I like the new format a lot better. 👍 I'll merge this today!


Refactor the way to set labels to tests

Codecov Report
Patch and project coverage have no change.

Comparison is base (f6f46d4) 73.78% compared to head (c3a220f) 73.78%.

:exclamation: Current head c3a220f differs from pull request most recent head 3ec410f. Consider uploading reports for the commit 3ec410f to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #59   +/-   ##
=======================================
  Coverage   73.78%   73.78%
=======================================
  Files          59       59
  Lines        1095     1095
  Branches      270      270
=======================================
  Hits          808      808
- Misses        132      133    +1
+ Partials      155      154    -1

see 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


AutoDataAttribute not compatible with xunit 2.0.0.

Hi,
xunit 2.0.0 has been released, and some of the classes in xunit extensions have been moved.
The latest nuget package for AutoFixture.Xunit is not compatible.

Thank you for reporting this. – You may track AutoFixture.Xunit2 progress here.

Perhaps we should change the .nuspec version requirements for the AutoFixture.Xunit package to explicitly be less than xunit 2.0.0, if that's possible.

Yes, that's a very good idea.

Hi,
I have built the pull request, and can report that the tests do seem to work with one very important caveat.
The test explorer battles to report back the results of some of the tests. AutoFixture (or perhaps another component) seems to be changing the name of the test to include some of the data, for example, I get this error in the output window when running the tests.
xunit2 Test adapter sent back a result for an unknown test case. Ignoring result for 'Messages.DownstreamLoginMessageTests.TestLoginMessageOnNonWorkingDayThrowsException(date: 2016-02-27T20:21:53.2560541)'.
It would seem that the test explorer is adding the auto generated date parameter into the name of the test. This occurs when choosing run all tests in test explorer. If however I manually select every test, and then select 'run selected tests' it seems to use the correct test names. I'ts particularly noticeable with string parameters that contain GUID values. Unfortunately this means one cannot be certain that all the tests have actually passed.
I suspect therefore, that the integration is not quite 100% yet.
If you look in the test explorer after running all the tests you will notice the test names have parameter values added to them.
I am going to wait a little longer before upgrading.

This looks like an issue related to either xUnit.net runner for Visual Studio or Visual Studio Test Explorer itself...
The build-release script uses the xUnit.net console runner and runs without warnings (on my machine).

@jimmymain have you tried using the xunit visual studio runner (like #363)?

That's the runner I am using.
xunit.runner.visualstudio      2.0.0-rc1-build1030  Includes support for running xUnit.net v1 and v2 tests from Visual Studio 2012+.
I am using the nuget package to install the runner, and using the regular visual studio test explorer. That is where I am experiencing the problem.

I agree that this looks very much like a test adapter issue.
@jimmymain You are using a pre-release version of the test runner; there have been three more release candidates plus the actual release after that. You may want to check whether the problem still occurs with the final 2.0.0 release. Generally make sure all your xUnit 2 bits are 2.0.0 final (but NuGet should enforce that anyway if you use the PR).

Autofixture remains incompatible with xunit 2.0.0.
Perhaps another issue needs to be created?

@jimmymain, as @moodmosaic described March 31, that issue already exists.

FWIW, @TeaDrivenDev has been so kind to create a place-holder issue to track progress on this feature.


Add EnableTLS config

This PR exposes the node config required to enable HTTPS in the transport used for gossiping.
This is a dependency for https://github.com/grafana/alloy/pull/1724, which fixes https://github.com/grafana/alloy/issues/367.
Why is this change required
My organization runs alloy pods in environments that require all pod communications over HTTPS and require TLS encryption. When enabling clustering, we noticed that communication between pods was blocked because it was going over HTTP.

This looks reasonable to me, @tpaschalis thoughts?


Test pr

@KubaGrid Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Relational quality - examples of usage confusing

From<EMAIL_ADDRESS>on June 19, 2012 12:24:50
Melanie is confused by examples for relational quality: a marriage bond, an instance of love, an obligation between one person and another. Does that imply that marriage, love and obligation are qualities?  I would prefer things like "axial to" (from PATO)
Alan adds " I concur that the examples for relational quality are not obvious.
I suspect it has to do with Barry's recent work on "Mental qualities".
I think this one is definitely worth filing an issue on. To me these
seem like relational roles."
see https://groups.google.com/d/msg/bfo-owl-devel/s9Uug5QmAws/qDA-5Q3bXQ8J
Original issue: http://code.google.com/p/bfo/issues/detail?id=56

From<EMAIL_ADDRESS>on January 28, 2013 08:56:48
An example of a relational quality is the distance between the earth and the moon. Work on reference is needed.
Status: Accepted


Fix test dbc files to include BU_ section

BU_ section is mandatory. CANdb++ is not able to open a file without such section.

Thanks!


Cannot add video to post

Create a new post and paste the link https://www.youtube.com/watch?v=QDyfUyyPM9A
You will see that the video is added to the post
Publish post and notice video is missing

Moved to https://github.com/ResearchHub/researchhub-web/issues/1738


Ignore PR

Changes the /block and /account endpoints of Rosetta according to the recent archive schema changes.

Closes #11846

Duplicate of #12010


Allow infinite lifetime particles

I'd expect to be able to set particle lifetime to zero and have them never die.  This relates to the fact that many parameters that shouldn't have a max value are arbitrarily capped e.g. Lifetime at 600, Damping 100, etc ...

You can't keep generating particules infinitely, so lifetime cannot always be infinite.
For fixed-count particles however (for example 50 orbs rotating in a circle), that would be relevant.

Is there a particular reason why those parameters are capped as they are? It might not be arbitrary.
If infinite-lifetime particles are allowed, then there should also be no limit to finite-lifetime particle lifetimes.

Looks like the above PR might've fixed it.
If not, maybe setting lifetime to 0 should make it infinite? 0 lifetime doesn't make much sense anyways.

@KoBeWi with the current system for particles it doesnt make sense to have infinite lifetime for particles. However, it would be nice to implement a new feature in conjunction with fixed-count particles. As Zylann explains above.

Is this still being considered for one-shot particles? I'm using those e.g. for vegetation. While the maximum lifetime should realistically never be reached, it still feels a bit hacky.

For static objects you should be using a MultiMeshInstance, not particles.
That being said, someone should still make a PR for infinite life particles.

I'm not sure this is possible given the current setup. I though it might be, but now I don't think so.
For now, as a workaround, you can set the lifetime at 1,000,000,000 seconds which is equivalent to about 317 years. If your game needs to run for more than 317 years, then I am truly sorry.

1 billion seconds is actually 31.7 years, not 317. If Godot supports 64-bit timestamps, we could make it run for about 292,277,000,000 years. If you encounter an issue with this time limit, please file a bug report in whatever bug tracker exists in the future. If bug reports do not exist in the future, god help you.

My bad. If 31.7 years is a dealbreaker we can always reopen the issue. :laughing:


question with Step1: Convert TTF to Sdfs

Why still prompt ModuleNotFoundError: No module named 'fontforge' after successfully downloading python3-fontforge

you can check under  /usr/bin/python3 for fontforge.

you can check under /usr/bin/python3 for fontforge.

It has been checked and the return path is /usr/lib/python3/dist-packages/fontforge.cpython-38-x86_64-linux-gnu.so, but the error will still be prompted as follows :
File "/home/p520/公共的/lwq/code/deepvec-v2/deepvecfont-v2-main/data_utils/convert_ttf_to_sfd.py", line 56, in process
cur_font.selection.select(char1)
AttributeError: 'int' object has no attribute 'selection'

Can I manually process the dataset through Fontforge to meet the training format requirements


Can't install any CLI

npm install -g <anyapp>-cli installs, but with no functionality. Just tried npm-which, hoodie-cli and yo which all installed fine.
switching between node v4.2.5 and v0.12.7 makes no difference.

Issue was caused by a nodist prefix setting. Fixed now.


Flutter 2.0 [Web]: Hot restart takes a lot of time to display changes in release mode

I'm using Flutter 2.0 the Stable Flutter version for Mobile and App  yet Flutter for web is taking too much time in Hot reload/restart

🔥 Hot reload/restart logs

🩺 Flutter Doctor

📝 Note

It does hot reload/restart normally for newly created flutter app, but as soon as I try to change any single line of code it start taking more than 30 secs sometimes.

⚙ Solution tried

flutter clean
recreated the project (twice)
restarted PC, after changing flutter 2.0 path

Thanks @m-hamzashakeel for reporting this. It seems to be only happening in release mode for both canvaskit and html renderers.  In debug mode, the hot restart is fast and quick.
1. flutter run -d chrome --release (last 2 rows of each command denotes time taken after making changes):

Performing hot restart...                                          649ms
Restarted application in 652ms.

Performing hot restart...                                          568ms
Restarted application in 568ms.

Performing hot restart...                                          546ms
Restarted application in 547ms.

**Performing hot restart...                                          40.3s
Restarted application in 40,346ms.

Performing hot restart...                                          38.6s
Restarted application in 38,567ms.**

2. flutter run -d chrome

Performing hot restart...                                          325ms
Restarted application in 327ms.

Performing hot restart...                                           92ms
Restarted application in 92ms.

Performing hot restart...                                           69ms
Restarted application in 69ms.

**Performing hot restart...                                          190ms
Restarted application in 191ms.

Performing hot restart...                                          182ms
Restarted application in 182ms.**

3. flutter run -d chrome --web-renderer html --release:

Performing hot restart...                                          568ms
Restarted application in 570ms.

Performing hot restart...                                          526ms
Restarted application in 526ms.

**Performing hot restart...                                          31.2s
Restarted application in 31,209ms.

Performing hot restart...                                          31.1s
Restarted application in 31,119ms.**

4. flutter run -d chrome --web-renderer html:

Performing hot restart...                                          145ms
Restarted application in 148ms.

Performing hot restart...                                           86ms
Restarted application in 86ms.

**Performing hot restart...                                          206ms
Restarted application in 206ms.

Performing hot restart...                                          210ms
Restarted application in 210ms.**

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.2, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.2 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 8962f6dc68 (4 days ago), 2021-03-11 13:22:20 -0800
    • Engine revision 5d8bf811b3
    • Dart version 2.12.1

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.54.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.

@darshankawar Yes, it seems to be working fine in debug mode
So, what if I want to release a build then? Won't it be a problem in performance?
And one more thing? The issues remains open or should I close it? (Sorry new to opening issues)

Hot restart in release mode needs to do a full release compilation and refresh - of course its slow. Closing as this is working as intended


Further adaptations to DownstreamExpirationTime vs. TransactionMaxLifetime

This is a follow-up on #7 und #8.
After our clarifying recent discussion, please further tweak the implementation and doc as follows.

Rename TransactionMaxLifetime (and the leftover parameter/variable name downstreamExpirationTime) to  DownstreamTimeout.
The RA component sets up the internal time limit of a transaction in the moment when returning a response to downstream if it remembers the transaction because it expects further (polling or other) requests from downstream.
If the response contains a retryAfter value, this value is added to the configured timeout value (such that the time limit is extended by the expected waiting time of the client).
Adapt the documentation in the configuration README file accordingly, for instance like this.

The **`DownstreamTimeout` object**
optionally specifies the maximum allowed reaction time of the downstream entity
apart from any applicable `retryAfter` period.
That is, the RA will keep a transaction open while awaiting a further request
form the client side until it receives the expected request or the configured
number of seconds, plus any `retryAfter` time given in its last response, has elapsed.
In the latter case the RA cleans up and forgets the transaction.<br>
By default, or if the value 0 is given, no restriction is placed,
such that a transaction may idle indefinitely. It is recommended to specify
a nonzero timeout value in order to prevent blocking RA resources indefinitely,
for instance when an expected subsequent request message by the client is lost
or the client terminates during a transaction without the RA knowing.

Adapt the documenting comment(s) in the respective CMP RA Component API Java file.

How ist the expected behaviour, if no retryAfter is in place?

fixed in a622075a25195c67ea6e3b902bb60fbd83d7d6b1


Error info not accurate and retry too fast when Replication factor: 2 larger than available brokers: 1

What did you do?

create Kafla set replicas: 1
create changefeed set "replication-factor": "2"

What did you expect to see?

create changefeed should fail and error information should let customer know the real reason. (Replication factor: 2 larger than available brokers: 1)
No need to retry in this case

What did you see instead?

/cdc cli report error "kafka server: Request was for a topic or partition that does not exist on this broker."
CDC retries 6 times for the error, and retry is too fast, it is finished within one seconds.

bash-5.1# /cdc  cli  changefeed  create "--pd=http://upstream-pd.testbed-cdc-fb-zq5hd:2379" "--sink-uri=kafka://downstream-kafka-kafka.testbed-cdc-fb-zq5hd:9092/cdc-event-open-protocol-realtime?max-message-bytes=1048576&protocol=open-protocol&replication-factor=2" "--changefeed-id=kafka-open-protocol-task-1"
[2022/08/29 08:54:37.217 +00:00] [WARN] [kafka.go:478] ["partition-num is not set, use the default partition count"] [topic=cdc-event-open-protocol-realtime] [partitions=3]
[2022/08/29 08:54:37.227 +00:00] [ERROR] [kafka_manager.go:187] ["topic metadata is fetched with error"] [topic=cdc-event-open-protocol-realtime] [error="kafka server: Request was for a topic or partition that does not exist on this broker."]
[2022/08/29 08:54:37.329 +00:00] [ERROR] [kafka_manager.go:187] ["topic metadata is fetched with error"] [topic=cdc-event-open-protocol-realtime] [error="kafka server: Request was for a topic or partition that does not exist on this broker."]
[2022/08/29 08:54:37.430 +00:00] [ERROR] [kafka_manager.go:187] ["topic metadata is fetched with error"] [topic=cdc-event-open-protocol-realtime] [error="kafka server: Request was for a topic or partition that does not exist on this broker."]
[2022/08/29 08:54:37.531 +00:00] [ERROR] [kafka_manager.go:187] ["topic metadata is fetched with error"] [topic=cdc-event-open-protocol-realtime] [error="kafka server: Request was for a topic or partition that does not exist on this broker."]
[2022/08/29 08:54:37.632 +00:00] [ERROR] [kafka_manager.go:187] ["topic metadata is fetched with error"] [topic=cdc-event-open-protocol-realtime] [error="kafka server: Request was for a topic or partition that does not exist on this broker."]
[2022/08/29 08:54:37.733 +00:00] [ERROR] [kafka_manager.go:187] ["topic metadata is fetched with error"] [topic=cdc-event-open-protocol-realtime] [error="kafka server: Request was for a topic or partition that does not exist on this broker."]
Error: [CDC:ErrKafkaCreateTopic]kafka create topic failed: [CDC:ErrReachMaxTry]reach maximum try: 6, error: kafka server: Request was for a topic or partition that does not exist on this broker.: kafka server: Request was for a topic or partition that does not exist on this broker.

kafka log
[2022-08-29 09:06:45,063] INFO [Admin Manager on Broker 0]: Error processing create topic request CreatableTopic(name='cdc-event-open-prorg.apache.kafka.common.errors.InvalidReplicationFactorException: Replication factor: 2 larger than available brokers: 1.


Themes

Actually there are some themes but I think they need some improvements in the CSS, mostly the neumorphic ones.
Any new theme is welcome, neumorphic or not

Hey! Can I work on this?

Hey! Can I work on this?

Sure


Create Infinite Scroller Component

Issue Description
Create infinite scroller component, handling cell queuing/de-queuing.
Issue Type

[x] New Feature
[ ] Enhancement
[ ] Bug
[ ] Other

Orion JIRA created

It may be worthwhile to look into https://github.com/bvaughn/react-virtualized
It offers an open source solution to infinite scroll: https://github.com/bvaughn/react-virtualized/blob/master/docs/creatingAnInfiniteLoadingList.md
Here are a few components from react-virtualized
https://bvaughn.github.io/react-virtualized/#/components/List (supports dynamic row height)
https://bvaughn.github.io/react-virtualized/#/components/InfiniteLoader


Added demos for C# and Dart (Flutter)

Added two more files in the demo folder for CSharp and Dart (in this case, with a file from a Flutter project) to request a better "colorizing" in VSCode.
The CSharp one is covered by the Visual Studio plugin, but I didn't find anyone that made it for Dart in any other editor.
I will follow your "How to" to understand the structure of the plugin and try to correct the colors.
C#

Dart (Flutter)

Thank you!


Add sample ddl for translation DAL

1. Why is this change necessary?
I found no hint how I have to create my tables to support translations. That is why I added a hint on the DAL explanation so everyone can see link between DAL and SQL.
2. What does this change do, exactly?
Add my notes on how to make a translatable entity.
3. Describe each step to reproduce the issue or behaviour.

Make entities
Make translatable entities
What is this TranslatedField doing?
Where does it know its language?
Skim the docs
Skim the source code
Finally I found how shopware is doing it

4. Which documentation changes (if any) need to be made because of this PR?
This is a documentation change
5. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-5150
Please use this issue to track the state of your pull request.

Thanks @mitelg for merging :blue_heart:

Docs PRs are always welcome :)


NavigationView: Pane light dismiss does not adjust item width

Describe the bug
When light dimissing the NavigationView pane in left display mode, the NavigationViewItems widths are not adjusted to now match the new width of the closed pane. This causes UI issues especially for NavigationViewItemSeparators as they are not applying their right margin to the new width of the collapsed pane. Please the see the following gif for illustration:

Expected behavior
NavigationViewItems should work with the correct pane width when the pane is light dismissed:

Version Info
NuGet package version:
2.4.0-prerelease.200322001

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

November 2019 Update (18363)
Yes

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Additional context
I would like to fix this.

That is a bug.


Short and fast flinging does not change page of ViewPager

This does not happen if not calling parent.requestDisallowInterceptTouchEvent(true); in ACTION_DOWN.
It may be caused by b2889624675d8a09ccfa762b17392fa3aaf7ca0f (#72).

For workaround: use v1.2.3.
Note that this version contains FloatMath.sqrt() call which is removed in API 23.
So if you set compileSdkVersion to >= 23 it cannot be used without modification.

how can i make image swipeable? After I import photoview, its cancelFling() make my image cannot swipe to change image? plz help me.
Tks :)))

Do you see this behaviour in the sample project? I do not see this happening

I have exactly the same issue as mentioned above with PhotoView version 1.2.6, compiled for api 23. This also happens in sample projects, I tried it right now. Page jumps forth and back when swiping fast and short. Try to fill pages with differently coloured images, so it will became more noticeable.


TSConfig Italian translation: added various files

Files added:

dowmlevelIteration.md
jsx.md
module.md

LGTM

LGTM

That's signed now: merging!

That's signed now: merging!


opsgenie using Content type 'application/octet-stream' causing 415

Content type is not set in opsgenie.py causing 415

Hmm, thanks for reporting -- let me take a look

Yup, definitely an issue -- pull request soon

Thanks

Merged -- unrelated issue with bugzilla tests led to an unexpected delay.


Drop dependency on deprecated gulp-util

See #166.
This PR is extracted from #170. #170 update all the dependencies but had issues with the supported Node versions. The current PR reduces the scope of the update to only drop gulp-util.

Can't this be merged now that this plugin is in gulp-community?

I don't have write access. @phated could you grant me write access or merge this PR?

@demurgos added you to the github and npm.  Cheers.

Thanks: seems good on Github. I'll merge this PR and check with npm.

I'm waiting on #175 (dependency updates, also make sure that Travis CI works fine) to rebase and merge this PR.


Allowing providing cos and sin as float instead of same as input

Hello Tri,
Thanks a lot for all the great contributions you made for building efficient transformers. I'm trying to use your custom Rope implementation, and I was surprised to see you enforce the cos and sin param to be provided with the same dtype as the input. However, according to my test, while that leaves little error for float16, it seems to lead to as much as 24% relative error in my use case when using bfloat16. I've tried modifying the implementation in rotary_cuda.cu to accept bfloat16 for the input and float for cos and sin, and it seems to have little impact on speed, but allows to get the exact same output as doing everything in float32 then casting to bfloat16 (our reference implementation).
I wanted to double check with you if that was intended.

After further experimenting, it seems under a real life workload, the extra bandwidth used for loading the cos and sin values as float32 still seems detrimental to getting the largest possible speed. Maybe some kernel leveraging the fact that cos and sin are repeated across heads and batch size might improve things...

I've switched to the rotary implementation in Triton: https://github.com/Dao-AILab/flash-attention/blob/main/flash_attn/ops/triton/rotary.py
If you pass in cos and sin in float32 it should work. There's an assert right now to check x.dtype == cos.dtype but you can comment that out to see.

Thanks @tridao, I've just tried that but I wasn't able to get any speed up compared to the naive implementation sadly. I do know that rope is taking a significant amount of time as switching to additive pos embedding on the very first layer is much faster. I would have to investigate this more at some point.

my initial benchmark were faulty due to other issues with some of our GPUs, closing the issue!


A suggestion! Nameplate border

A suggestion!
Add an option to enable the border to nameplate hp bar :)
Im talking about the same border that are around the unitframes.
I usually do it myself but its annying to do it everytime

Hey! Thanks for taking the time for make a suggestion. I can't make any promises here and I would love to do this. We will see. I will fiddle around with it and see where it goes.


Various portability fixes for Slinky

Various fixes to improve portability to targets/compilers that we hadn't tested on (much):

index_t needed some love to avoid multiple issues:

on 32-bit systems we really want it to be a 32-bit type for efficiency; there were various templated functions that assumed it was always an int64_t that needed to use an index_t (or T) as the temporary instead
defining index_t as ptrdiff_t or intptr_t seems like the right thing but introduces pain on some compilers (eg Emscripten, AppleClang) where the result is a long type that is distinct from both int32_t and int64_t, making it painful to get the overloaded ctors for expr correct without an ugly mass of ifdefs. Instead, I chose to use std::conditional to make it explicitly int32_t or int64_t to dodge that particular bullet.

expr() needs a size_t ctor; note that size_t can be a bespoke type that doesn't match uint32_t or uint64_t
Visual C++ fixes (alloca -> __builtin_alloca; implicit bool -> expr conversion doesn't match gcc/clang in some cases, requiring explicit conversion)

Still not quite right, converting to draft

OK, I think this is ready to review


[Style]:  Make ShareProfile component responsive

What would you like to share?

Additional information
No response

Hello @87prashant is this issue resolved ? if not than can it get assigned to me ?

Probably, I was waiting for review of PR

@87prashant okay thanks for the quick response ! will lookout for other issues !


As a user I want to add a placeholder image to a page

... if the component I want to use is not developed yet.
I should be able to drag n PNG or JPG from my local folder into the page element layers.

Hey @tilmx I don't get the difference between this issue and #29
Can you explain it? and if it's duplicated close one of them? thank you :)

#29 is about re-ordering page elements and this #28 is about adding a PNG/JPG-placeholder, if the component I want to use in my design is not developed yet.

@kotzendekrabbe this one is more about the management of additional project ressources and the #13 only considers a extra component for implementing them

Yeah, but it’s true that it may cause some trouble. Should we close this issue as #28 has a more detailed description?

I see very different problems in both of these issues.
In this one we only have to consider the management and additions to ressources.
In #13 i see way more ui concept problems. Just one of them is that we should probably highlight it as a temporary component.

it's totally fine to have both, but then you have to explain the difference better :)
The description field has than to be changed in this issue.


Create landing page for "Free consultation"

Description
New campaign on providing expert advice to attract new MQLs. This will be the landing page for  leads to schedule a free consultation. It will be linked from an email to start with.
Here is the Content for landing page
Epic/Story
No response
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Hi @Hasmin-AC,
For the initial iteration, we can use the /book-demo template. We have the option to switch to a two-column layout later if you prefer, but considering the short length of the content, a single column layout might be more suitable.

@Hasmin-AC Is something like this what you had in mind?

Yes this works. Couple of notes:

Can we make the title be all in one line?
Make the "Our expertise...." title bigger.

Also note that its a form that placed on the right hand side and not a calendar. The form ID is on the doc.

Ok, this is just a Figma File, I can't check the form until I add it to the frontmatter (or maybe there's a way of tracking it in hubspot using the ID?). It'll render whatever is linked to that form ID.

I can't check the form until I add it to the frontmatter (or maybe there's a way of tracking it in hubspot using the ID?)

Found it on HS!!


How can I add sortable, when I overwrite the component?

Hello, I need to sort the attributes of a column, I am sending the property sortable = "true", but I don't know if it is the correct way, because I have errors in my console.
Example code:
 <BeeColumn field="email" title="Correo electrónico" type="text" sortable="true">
          <template slot-scope="{ row }">
            {{row.email}}
          </template>
 </BeeColumn>

Error:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "sortable". Expected Object, got String with value "true".

found in

---> <TableColumn>
       <BeeGridTable>
         <Representative> at src/views/private/components/index.vue
           <Private> at src/views/private/application.vue
             <App> at src/App.vue
               <Root>

You need to update to v1.2.2
example

You need to update to v1.2.2
example


Change to WakeCounter API proposal

I would like to propose a breaking change in API for the WakerCounter type in the futures-test crate. The current API has the counter and LocalWaker implementation in the same WakerCounter type, which can be limiting. I propose an API that splits it into two types. Since it's not a lot of code I have a working implementation below.
/// Create a new `LocalWaker` that counts the number of times it's awoken.
pub fn new_count_waker() -> (LocalWaker, AwokenCount) {
    let inner = Arc::new(WakerInner { count: AtomicUsize::new(0) });
    (local_waker_from_nonlocal(inner.clone()), AwokenCount { inner })
}

/// Number of times the waker was awoken.
///
/// See [`new_count_waker`].
pub struct AwokenCount {
    inner: Arc<WakerInner>,
}

impl AwokenCount {
    /// Get the number of times the waker was awoken.
    pub fn get(&self) -> usize {
        self.inner.count.load(Ordering::SeqCst)
    }
}

struct WakerInner {
    count: AtomicUsize,
}

impl Wake for WakerInner {
    fn wake(arc_self: &Arc<Self>) {
        let _ = arc_self.count.fetch_add(1, Ordering::SeqCst);
    }
}

And the usage.
let (waker, count) = new_count_waker();

// Polling is easy since we just have a `LocalWaker`.
let future = // ...
future.poll(&waker);

// And elsewhere we can check the wake count.
assert_eq!(count.get(), 1);

I think that's a reasonable API. However since this is mostly a test API, I think the current one does it's job pretty well too, and there's not too benefit from a nicer API. Maybe we can just add a derive for Clone for the use-cases that are currently not covered?
If things are changed, maybe AwokenCount could also implement Deref or Into for usize. But since comparisons afaik don't automatically use those, and comparing with *&count looks less obvious than count.get(), it's probably also not worth it.

I think that's a reasonable API.

Is reasonable better then the current API, or worse?

However since this is mostly a test API, I think the current one does it's job pretty well too, and there's not too benefit from splitting things into a nicer API (with separation of concerns).

I have to say that I strongly disagree, even for a test API it is still code we have to live with and use on a daily basis. Eventhough it's test code doesn't mean it should meet quality standards.

Maybe we can just add a derive for Clone on the current implementation for the use-cases that are currently not covered?

That would be a good start.

If things are changed, maybe AwokenCount could also implement Deref or Into for usize. But since comparisons afaik don't automatically use those, and comparing with *&count looks less obvious than count.get(), it's probably also not worth it.