Document expressions

Context:
This PR documents the use of expressions and how they can be used in themes to define gradients, also colors.txt was prettified in my adventure learning neovim(vim).

@sandmor you do reference 'TAU' in your code. This constant isn't available in rust stable.
Could you please adapt the code? You will finde a working reference in
crates/render/src/common.rs
4:pub const TAU: f64 = 6.283_185_307_179_586_f64;

Nope, it was stabilized in the last rust version you need to run rustup update stable also OrbTk already uses it on crates/render/src/common.rs.

Nope, it was stabilized in the last rust version you need to run rustup update stable also OrbTk already uses it on crates/render/src/common.rs.

Thats right, but there it is defined inside the crate. not from the std liberary, right?
My rustc 1.45.2 (stable) with the latest std doesn't accept a TAU.

Whoops, where did that come from? I just do that PR a couple of days ago and I used the std lib TAU, well okay...

@rzerres Thank you!

@sandmor de rien!

Okay, google translate me that!

looks good to me thank you.


Allow dynamic access to parsed arguments by name

Note that this PR aims to improve the public Utility library for 3rd parties.

At the moment the only way to get access to the parsed arguments from ArgumentParser.Result is to pass in the original argument instance. This method of argument lookup becomes tricky in more dynamic uses of the parser, for example when different arguments are generated at runtime, or many commands share the same arguments.
Currently the argument instance must be saved somewhere so it can be passed into the ArgumentParser.Result after parsing. This is hard  as there are many different types of arguments, and they don't all fit nicely into a standard Array or Dictionary.
This could be solved by making AnyArgument public (increases public API surface area and leaks an implementation detail)) or with the use of ArgumentBinder (a workaround).
This PR takes a different approach however and adds a get(name: String) -> Any function to ArgumentParser.Result for more dynamic use cases. This required changing ArgumentParser.Result.result from [AnyArgument: Any] to [String: Any]. This doesn't change any behaviour however as AnyArgument was using name for Hashable conformance anyway, so this in fact reduces the allocation of pointless AnyArgument values.
This change is backwards compatible and only includes an additional function to the public API.

Could someone take another look at this?

Done!

@swift-ci please smoke test


ConnectionError

ConnectionError: HTTPConnectionPool(host='localhost', port=11434): Max retries exceeded with url: /api/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000012A4FDBD250>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))

@QAVivek2991
https://github.com/ollama/ollama
Follow the download and install steps in the README.md
Basically you need to run the model using ollama first so that it is serving on the port 11434


[User Settings] Implement new Profile view

If you haven’t already, check out our contributing guidelines for onboarding!

We're adding a new profile view that will display a right-docked modal with a user's avatar, primary login, as well as their first name, last name, pronouns, and timezone (as applicable, depending on what data the user has filled out. This page will mimic the current SettingsPage.js view with a few key differences

No Settings title
No Sign Out button
New (non-editable) fields with titles that are displayed/hidden depending on what the user has filled out in the personalDetails onyx key)

Email
Phone Number
Preferred Pronouns
Local Time

Deliverables:

Update HeaderView.js to display a clickable icon associated with the given chat (report.icons)

You can reuse the MultipleAvatars.js component for this
If the chat has multiple participants (report.participants > 1) clicking on the icon should do nothing
Otherwise, the chat is a direct message (having only one participant) and clicking on the icon should open the Profile page for that report.participant

This works similarly to how the Settings page opens up when a user clicks on their own avatar in the sidebar

Add two new routes to Routes.js

Profile: '/profile/:login
getProfileRoute: login => `/profile/${login}`

Create the right-docked modal "Profile" page following the example of the "Settings" page and refactoring as necessary

The profile page should take in the login associated with the report.participant as a prop
That login will be used to get the associated personalDetail object for that user from the personalDetails onyx key

That object will contain the information to be displayed for this user on their Profile page.

Mobile

No Details Filled Out
All Details Filled Out

Web/Desktop

No Details Filled Out
All Details Filled Out

Upwork Link: https://www.upwork.com/jobs/~01f46c14a330e02af6

@NikkiWines I am interested to work on that, can you connect on Upwork with me I have already sent a proposal.

@NikkiWines
can you let me know one credentials?
https://prnt.sc/100dwaw
I tried to signup from the link of email
but it is showing this error
https://prnt.sc/100dx5l

Hello,
I'd like to take this if it's still available.
Proposal

I would update HeaderView to show avatars using  MultipleAvatars. If there's more than one participant I would redirect to the new right-docked modal and pass the login: redirect(ROUTES.getProfileRoute(login));
I would create the new route under ROUTES.js and add the new right-docked modal in HomePage.js.
I would set up a new profile page by duplicating most of the existing settings page with the changes listed above.
This new page would obtain the personalDetails from onyx using the login passed into the route.

Questions

Would you like the onPress to be passed into MultipleAvatars as a prop or should it just wrap MultipleAvatars in HeaderView?
For the person details to be display:
-- Do we have a way to determine whether login is an email or phone number to display the correct label?
-- I don't see Preferred Pronouns, is this planned to be added later and if so what is the name of the property that would exist on the personalDetails

Hi Matt,
Thanks for submitting your proposal. One minor note is that we only want to open the right-docked modal for chats with one participant. If there is more than one participant, we don't want to do anything when the avatar is clicked. I've updated the issue to make this a little clearer as well.
To answer your questions:

Would you like the onPress to be passed into MultipleAvatars as a prop or should it just wrap MultipleAvatars in HeaderView?

I would do something similar to what we did for the clickable avatar in SidebarLinks.js and just wrap MultipleAvatars in a TouchableOpacity within HeaderView.js

I don't see Preferred Pronouns, is this planned to be added later and if so what is the name of the property that would exist on the personalDetails

As of right now, we don't have a way for users to manually set their preferred pronouns but the property name would just be pronouns like so:

Thanks @NikkiWines, I have two follow up questions:

The mockups above seem to use AvatarWithIndicator, should I be using that or just Avatar instead?
That login will be used to get the associated personalDetail object for that user from the personalDetails onyx key
I'm a little stuck on this but also not too familiar with Onyx, I'm doing key: ONYXKEYS.PERSONAL_DETAILS but I only get objects associated with my own login and concierge. how would I use the login being passed in to get the user's personalDetails?

Hi @Maftalion, to answer your questions

The mockups above seem to use AvatarWithIndicator, should I be using that or just Avatar instead?

Good catch! I don't believe we have a way to identify if other users are online/offline yet, so let's just use Avatar for now.

I'm doing key: ONYXKEYS.PERSONAL_DETAILS but I only get objects associated with my own login and concierge.

The PERSONAL_DETAILS onyx key contains the details of anyone who is on your policies, owns your policies, or belongs to the domain you're on in Expensify.com. They show up if they've modified their personal details in some way. If you wanted to add another user to your PERSONAL_DETAILS list I would do the following:

Create + validate a new user in Expensify.com with an email you have access to
Add them to the policy associated with your main account in E.com
Set a first and/or last name for that user
Refresh your page in E.cash and you should see the updated PERSONAL_DETAILS list with the newly added user.
If they're still not showing up, try starting a chat with that newly added user.

how would I use the login being passed in to get the user's personalDetails?

My thought here is that the profile component will receive the participant (aka. login) from the report_# key as a prop and would be subscribed to the PERSONAL_DETAILS onyx key. We can then we can filter the PERSONAL_DETAILS list to obtain the details for that specific user. However, there's a possibility that we won't be able to find the user in the personal details, so let's be sure to pass the icon (avatar URL) from the report_# key as well so that we can always display at least a phone/email and an avatar for the report participant.
Hopefully, this clarifies things, let me know if I'm still being unclear here.
One last note - it looks like at the moment we don't keep the Local Time/Timezone information for users in the PERSONAL_DETAILS key so you can omit that for now. I'll be working on getting that added this week.


embed: support unix sockets

In response to unpredictable port conflicts in semaphore.
Fixes #5953

lgtm

LGTM. Thanks.


failure should check for empty not ! empty

You might need to bump the version number in case anyone updated before this fix. Toggling will not work. Alternately they could use the branch switcher of GitHub Updater to simply reinstall.

ok. I'll square that up.


Can we give the network only the RGB image? If we don't have a pose model?

I read the paper and I know that the network takes input as the pose and the image.
But I was just wondering

No,absoutely not.if you dont have kpts,you should have a pose esitimate model at least

No,absoutely not.if you dont have kpts,you should have a pose esitimate model at least


Consistent Spacing after semi-colon for IO.ASM

Hello,
I made the spacing consistent after the semi-colon.
Thanks,
Brice

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

Thanks, but as stated in the readme, we're not accepting changes to the code - we're preserving it as a historical record, warts & all.


Split out a package interface for non-single-drv packages

Packages that aren't a single derivation are experimental, but enable new use cases.

https://github.com/NixOS/rfcs/pull/92
multi-derivation packages, combining outputs of more than one derivation

Example: eliminate doc dependencies when docs aren't used
Example: don't rebuild program when doc tooling updates
https://github.com/NixOS/nix/issues/6507

I'm currently browsing through the open issues trying to make a list of tasks to complete on drv-parts before starting to implement dream2nix: v1 API.
My main question here is: Can we make a multi-drv package interface that is useful to end users without having to change nix?
If I implement the multi-drv interface proposed in the linked nix issue, how would we make this compatible to the current nix which expects drvPath?

Can we make a multi-drv package interface that is useful to end users without having to change nix?

The linked issue is in part doubling down on the string context, which is already how expressions work in the language. drvPath is conceptually redundant because it's already part of the output strings contexts. Only the CLI boundary uses this shortcut and bad assumption.
Functions like lib.getBin and pkgs.buildEnv already work with output strings (always have, afaik), so users of expression-based systems like NixOS should not encounter any problems with such packages.

how would we make this compatible to the current nix which expects drvPath?

I suppose you could put a derivation that builds a link farm in drvPath. This way at least all the package outputs will continue to exist when queried as a single derivation. This behavior may still lead to surprises, so maybe there's a case to be made for  pkg?drvPath == false, or drvPath = throw "This package consists of multiple outputs that are built by distinct derivations. It can't be understood as a single derivation. It's a package deal.";. Or maybe cut the end off that ;)


Network Calculation - Loopback Interface

Network traffic calculation currently includes all adapters, including the loopback adapter. lo traffic is not real traffic and should not be counted.

Closed network television


Sound

Currently spock engine gives the user no ability to play sound
Solution:

Add a sound manager, or some sort of method to play sound using SDL

// example

const char* sound_file = "sound_file.mp3"

uint32_t sound_id = spk::load_sound(sound_file);

spk::play_sound(sound_id);

added basic sound PR #7


Multiple paragraphs show up as one paragraph

@wrynearson @naomatheus
Description:
For each document section, multiple paragraphs display as one continuous paragraph.
Tasks:

[ ] A line break needs to be added between each paragraph.

Acceptance Criteria:

[ ] Multiple paragraphs are separated in the PDF downloads.

Two separate paragraphs in APT:

Result in the PDF.  Note it is one continuous paragraph.

I'm pretty sure we had this issue in SNWG. @thenav56 and @frozenhelium, this required adding line break support in both the frontend and backend, if I remember correctly. cc: @batpad


Termi-Linux-OpenGL transparent part of the window (Manjaro)

Describe the bug
When running Termi-OpenGL on the bottom part of the screen there is a blank space
Version of Termi
Commit-355
Expected behavior
Termi should fill up the whole window
Screenshots

It will come in feature

Here is also another issue. Name of window isn't displayed

Issue is fixed with commit 357. Sync of Windows version will come soon.


Traceback error

Hello! Did everything as instructed, getting these errors, please advise! thank you!
Traceback (most recent call last):
File "C:\Users###\Desktop\notion\main.py", line 1, in
from parser import BlockParser
File "C:\Users###\Desktop\notion\parser.py", line 2, in
from config import notion
File "C:\Users###\Desktop\notion\config.py", line 2, in
from notion_client import Client
ModuleNotFoundError: No module named 'notion_client'

Hello, from your error message, it seems you haven't completely installed dependencies.
Can you run 'pip install -r requirements.txt` and paste the stdout message?

Hi - Do you know what I'm doing wrong here?
File "main.py", line 1, in
from parser import BlockParser
File "/Usersxyz/Github/notion-graph-view/parser.py", line 238, in
class Graph:
File "/Usersxyz/Github/notion-graph-view/parser.py", line 271, in Graph
def get_graph(self) -> dict[str, list]:
TypeError: 'type' object is not subscriptable

Hi all,
This project has been updated to the latest Notion API version. And I also publish it to Pypi, you can install it by
pip install notion-graph

And following the README to finish your work.
Thanks for using.


fix: blank snackbar

Fixes Issue
**My PR closes #377 **
👨💻 Changes proposed(What did you do ?)

Fixed the blank snackbar error.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.

Note to reviewers

The bug wasn't caused by an error in the package. It was just a CSS issue. A good way to prevent this error in the future is to use class selectors instead of element selectors when styling specific elements.
Refactored the import statement for the eggy package, so it only imports the object ({ Eggy }) being used in the packages.ts file rather than the entire package (* as eggyJs). Not related to the error though, so I hope that's not a problem 😅

📷 Screenshots

:tada: This PR is included in version 2.48.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PGPainless should treat signatures using insecure hash algorithms as invalid

The situation is a bit more nuanced when it comes to certifications, but for signatures over data, MD5, SHA1, and RipeMD160 should be rejected.
See:

https://tests.sequoia-pgp.org/#Detached_Sign-Verify_roundtrip_with_key__Bob___MD5
https://tests.sequoia-pgp.org/#Detached_Sign-Verify_roundtrip_with_key__Bob___SHA1
https://tests.sequoia-pgp.org/#Detached_Sign-Verify_roundtrip_with_key__Bob___RipeMD
https://tests.sequoia-pgp.org/#Signature_over_the_shattered_collision
https://docs.sequoia-pgp.org/sequoia_openpgp/policy/enum.HashAlgoSecurity.html

Edit: Fixed link.

What is the point of the these tests?
Should an implementation blacklist those hash sums explicitly or is it enough to simply reject SHA-1 signatures?

The motivation for this test is two-fold.  First, it is an impressive demonstration of a practical attack.  Second, there are actually two ways to defend against it:
First and foremost, the signature should be rejected because it was made by a broken algorithm.  Second, you can try to detect the attack.  For example, Sequoia also uses SHA1CD instead of SHA1, and this also detects the attack.

I see.
I guess detection of the attack is out of scope for now, but rejection of SHA-1 definitely will make it to the roadmap :+1:


Dropdown doesn't work with Bootstrap 4

I have
"bootstrap": "^4.0.0-alpha.5",
"ng2-bootstrap": "^1.4.0"
When I click by button menu doesn't open. I checked in console and saw that class show is not added.
For testing I'm using yours example code

hey, we support bootstrap alfa.6
alfa.5 not supported already (5->6) had breaking changes
here is the doc to enable bs4 theme for ng2-bootstrap
https://github.com/valor-software/ng2-bootstrap/blob/development/docs/getting-started/bootstrap4.md


Allow-list for badges in README

Situation
Non-Java projects need different badges than the standard set PK 0.10.0 requires.
Users should be able to tell PK, which of the badges make sense in a given project. If a include-list exists, PK should only complain about missing badges in the include-list.
Acceptance Criteria

Users can specify and include-list for badge names (e.g. Quality Gate Status).
If a include-list for badges exists, PK only mandates the existence of the listed badges in the README.
PK ignores additional non-standard badges.

I have faced similar issue.
Sometimes for maven badge artifact name can be different than the one defined in the pom.xml file, for example when doing cross releasing. As a workaround, I had exclude whole readme file.
Adding an badges include (or exclude) list would be helpful.

Grooming with @kaklakariada:
PK uses a dedicated finding "E-PK-CORE-62" for badges.
In case of a non-standard badges used by a project users can simply add an exclude to their file .project-keeper.yml:
excludes:
  - "(?s)E-PK-CORE-62: The project's README.md does not contain a valid badges block.*"

Note: prefix (?s) is only required for PK versions before 2.7.0.
See


I tried python3.6, 3.9, and 3.10, all installed with  conda install -c tmap tmap,
running as python script throws a bunch of vectors and then quit, running in notebook dies immediately.
Any idea on how to fix this?

Hi I found out that batch_add can only handle tm.VectorUint, hence I converted with
    vectors = [tm.VectorFloat(embedding) for embedding in all_embeds[:100]]

    # Initialize Minhash with desired dimensions
    minhash = tm.Minhash(d=128)

    # Create MinHash signatures from the embeddings
    minhashes = minhash.batch_from_weight_array(vectors)

    # Add the Fingerprints to the LSH Forest and index
    lf.batch_add(minhashes)

Not sure whether I did this correctly.


fix: add back rules for import/first and import/order

BREAKING CHANGE: import first added back, so breaking from previous version that disabled it implicitely
BREAKING CHANGE: added import ordering

This needs to be tested thoroughly on an actual project, to measure the impacts/benefit.


Add support for setting the User metadata item

There is no validation on this, as it's very hard to do - the supported formats are

user name
user id
user name:group name
user id:group id
user id:group name
user name:group id

all of which should match either a name or an id from /etc/passwd, which we theoretically have access to through the layers, but that seems really extra to acquire, unTAR, parse and validate.
Closes #115

This builds on #358 so shouldn't merge until it does.

I will rebase/patch up after #358 is merged


Few bugs in the page

It should display an error for all the values greater than #ffffff , but it is working and showing  results for hex like #asafaz, #fgaraf, #asasas,  #ararar, etc.
Basically I'm able to put letters which come after 'f' at all the even places of the hex....like #azazaz won't show an error, but #zzazaz or #zzzzzz will.
The catch is eg. if I input #afafaf, it will show 175,175,175, but if I input #agafaf, it will show 10,175,175. It is just omitting the 2nd digit of the hex and showing only the value of 'a'. Similarly #bgafaf will give 11,175,175 and #cgafaf will give 12,175,175, and this is true for all the pairs, like #afaraf will give 175,10,175 and #ararar will give 10,10,10.
Secondly, I think you should limit the input to only 6 digits, as it is able to take 7 digits after # at present.

Thank you for your interest! These days, I really don't have much time. But I will check it as soon as possible. Feel free to create a pull request :)

Sure! I can try...


Cellular component assembly/disassembly - add missing logical definitions

Though logical definitions (aka ‘cross-products’) have been added broadly to the ontology, a few stray terms have escaped the effort. Making a note here as my task to look at the branches under ‘cellular component assembly’ and ‘cellular component disassembly’ and add the missing defs.
(Note for self: previous work was recorded in a Jira ticket
https://www.ebi.ac.uk/panda/jira/browse/GO-178
now closed, but may wish to look into its more recent comments.)

I've looked at the 'cellular component disassembly' branch and the only term that was obviously lacking a logical def was 'mitochondrion disassembly'. Now added.
Next, face the 'cellular component assembly' branch...

Opened related https://github.com/geneontology/go-ontology/issues/12711.
Added GO:0097735 ’DIM/DIP cell wall layer’; added logical def to ‘DIM/DIP cell wall layer assembly’.

Left to do: see if these terms should be given logical definitions:

[ ] intermediate filament bundle assembly - should we have a term for ‘intermediate filament bundle’, has_part ‘intermediate filament’? Similar to the existing ‘actin filament bundle’. I suppose it would be meaningful to have it, as a bundle will have added value (function) than a single filament…
[ ] neurofilament bundle assembly - same as above
[ ] Gram-negative-bacterium-type cell outer membrane assembly - should we have a term for ‘Gram-negative-bacterium-type cell outer membrane’? Probably not as this could be captured by ‘cell outer membrane’, and the bacterial cell outer membrane is already a characteristic of Gram-negative-bacteria.
[ ] metallo-sulfur cluster assembly - and descendants - not looked at yet
[ ] mycolate cell wall layer assembly - not looked at yet

Also, still to do:

[ ] Look at descendants of ‘macromolecular complex assembly’ to see if any need logical defs
[ ] Look at descendants of ‘organelle assembly’ to see if any need logical defs

Then close.

Looking at descendants of ‘organelle assembly’, these terms may be given a logical definition, but haven’t had time to check further so just making a note here:

[ ] NMS complex assembly involved in kinetochore assembly
[ ] children of cardiac myofibril assembly
[ ] muscle thin filament assembly
[ ] children of skeletal myofibril assembly
[ ] children of striated muscle myosin thick filament assembly
[ ] striated muscle paramyosin thick filament assembly

Hi Paola,
At the same time, can
NMS complex assembly involved in kinetochore assembly
be renamed
NMS complex assembly
(The NMS complex is part of the kinetochore so this is a given, it is also in the def)
Thanks
Val

Hi @ValWood ,
As per your request
"can
NMS complex assembly involved in kinetochore assembly
be renamed
NMS complex assembly
(The NMS complex is part of the kinetochore so this is a given, it is also in the def)"
that's done. Cheers.

Note for self: this is low priority, but I'll leave it assigned to me for the time being, in case we decide I should (be the one to) address it.

Hi @pgaudet and @cmungall
I noticed the discussion on old tickets in the minutes of the latest ontology call. Obviously at this point I'm not going to be working on this ticket any time soon. If you think that it's still relevant, could you please assign it to someone else? Else, I guess it can be closed according to your recent discussion. Thanks.

Assigning myself - I'll have a look.

Thanks @pgaudet .

I created most of the logical definitions suggested here (and a few more in the assembly/organization branches), except for the ones that required creating new terms, including:
children of cardiac myofibril assembly
muscle thin filament assembly
children of skeletal myofibril assembly
children of striated muscle myosin thick filament assembly
striated muscle paramyosin thick filament assembly
mycolate cell wall layer assembly
Gram-negative-bacterium-type cell outer membrane assembly


Insiders' Build: Tab scrolls page - does not insert a tab

See demo gif.  When I tab the page is scrolled, right off the screen.  I cannot actually insert a tab.

Version: 1.41.0-insider (user setup)
Commit: 9579eda04fdb3a9bba2750f15193e5fafe16b959
Date: 2019-12-10T21:44:16.632Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.19037
(W10 -fast ring)
Steps to Reproduce:

Any file.
Press the tab key.

Does this issue occur when all extensions are disabled?: Yes

@ArtemGovorov I'm not able to reproduce this issue, does this happen when all extensions are disabled?

Yes, I disabled all extensions prior to posting the issue.  Still happens - only in Insiders'.


want to handle multiple files on drop

It currently cares only first one file even if there're multiple files had been dropped.
Consider handling it.

this issue is from #82 2nd request.


Question: Azure SQL Database deployment SQL DACPAC Deploy Report Difference As Error

Question, Bug, or Feature?
Type: Question
Enter Task Name:
Azure SQL Database deployment
Environment
Server - Azure Pipelines
Issue Description
The idea is to use SQL DACPAC File / Deploy Report to validate changes to the database.
I would like the pipeline run to fail if ANY schema differences are detected.
Is there any parameter I can set to achieve that? Or could you suggest an alternative approach?

Have you tried using setting BlockWhenDriftDetected flag?
You can pass  /p:BlockWhenDriftDetected=true as part of additional arguments.


init: fixed To_Uppercase_String primitive function bug

There were some minor performance bugs from To_Uppercase_String primitive function. Hence, let's fix it.
This patch fixes To_Uppercase_String primitive function bug in init/ directory.

thank you.


Is there a bug here?

https://github.com/mandarjoshi90/coref/blob/bdd15253d174a6a9e155b578ea8e53a46a9aff4c/independent.py#L231
Hi,  I guess an offset can only be the first term, not the subtraction.

Apologies for the late response. IIRC, I don't think I changed that part of the code from e2e-coref. You could be right, though. At a quick glance, it would seem that it's computing distances between indices of the span pairs. That should still be fine for the mask in the following line but less so for the distances.

I was worried about the negative values in antecedent_offsets.
Maybe we only need to consider the positive ones (they are real distances), and the negative ones will be masked out later on?

Right. The bucket_distance  function will mask out the negative values.

Hi,
I'm still confused after taking another close look. My understanding is that top_antecedent_offsets will contains negative values, since antecedent_offsets has negative values.
As a result, there will be some unexpected behavior within bucket_distance function, as it calculates the log value of ```top_antecedent_offsets````.

Also, I think maybe the top_fast_antecedent_scores in
https://github.com/mandarjoshi90/coref/blob/master/independent.py#L324 needs to be updated along with the loop, since top_span_emb gets updated after every iteration.

Maybe? I suspect it doesn't matter since the slow scores are doing the heavy lifting. Happy to accept a PR though if you're seeing an improvement with that change :)


Client version number not propergated correctly to production

It is correct in the :https://zoonotify.bfr.berlin/


fix library import so c function 'setns' and 'pclose' can included pr…

…operly
close #24

do not have permission to make pr towards to code-5.4 only have permission to makes pr to master please adjust that thanks.

Thanks


How to configure the credentials for the openFGA server

Hello,
I wanted to use this extension in my project to work with an openFGA server but the only properties I found are these one:

quarkus.zanzibar.filter.enabled
quarkus.zanzibar.filter.deny-unannotated-resource-methods
quarkus.zanzibar.filter.unauthenticated-user
quarkus.zanzibar.filter.timeout

And I can't find how to setup the url and secrets for the openFGA server
Can you help me ? or point me to the correct item of documentation

https://docs.quarkiverse.io/quarkus-zanzibar/dev/index.html#_installation
OpenFGA properties are on the OpenFGA connector.

Thanks !


Fix the bug for the category( Maybe the API is the problem)

The problem is the API because The api only send 10 article and when you change for three categories, the api dont send you any more articles because of you have a lot of petition


Update docs for compute_gradient

As a part of TensorFlow docs sprints from Munich.
cc @dynamicwebpaige

@alextp I've updated the PR


Fix minor typos

PR Summary
i think comments are worth it
i also think that there should be a PR-CompletelyUseless label.

PR Context
I like fixing typos

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

@PoshChan Please remind me in 24 hours

@TravisEz13, this is the reminder you requested 24 hours ago


new error catch function

new error catch function

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 5 committers have signed the CLA.:white_check_mark: felixhjh:white_check_mark: TeslaZhao:white_check_mark: bjjwwang:white_check_mark: HexToString:x: jiawei.wangjiawei.wang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Creating playlists not working as expected

I am trying to create a playlist that is a copy of another playlist and add it to a folder.
When I create the playlist it works fine and I get no error, but when I open the Spotify client the playlist is nowhere to be found. I can grab the uri of the playlist when I create it and use that to find the playlist through search, but it never shows up in my list of playlists in the side bar. It seems like the playlist is created but never associated to my users account. Any help is much appreciated, see the code below.

import datetime
import spotify
import getpass
import threading
import sys

def create_playlist(session, name, tracks, index):
  new_playlist = session.playlist_container.add_new_playlist(name, index)
  new_playlist.add_tracks(tracks)

############Session Setup
logged_in_event = threading.Event()
def connection_state_listener(session):
  if session.connection.state is spotify.ConnectionState.LOGGED_IN:
    logged_in_event.set()

session = spotify.Session()
loop = spotify.EventLoop(session)
loop.start()
session.on(spotify.SessionEvent.CONNECTION_STATE_UPDATED, connection_state_listener)
print "Enter Spotfify User Name:"
uname = raw_input()
pw = getpass.getpass()
session.login(uname, pw)
logged_in_event.wait()
###############End session setup

session.playlist_container.load()

nmf_playlist = 0
archive_folder = 0
archive_index = -1
index = 0
session.playlist_container.load()
#Look through playlists for one to make a copy of
#Find index of folder to insert playlist into
for playlist in session.playlist_container:
  if type(playlist) is spotify.PlaylistFolder:
    if playlist.name == "Archive":
      archive_folder = playlist
      archive_index = index
  else:
    playlist.load()
    if playlist.name == 'New Music Friday':
      nmf_playlist = playlist
  index += 1

#If we found the original and a folder to copy to make a copy
if archive_index >= 0 and nmf_playlist != 0:
  create_playlist(session, 'New Music Friday Archive ' + str(datetime.datetime.today()), nmf_playlist.tracks, archive_index + 1)

session.logout()

When you've edited a playlist, you need to run session.process_events() (this is what the event loop does for you in the background if you use that) until session.playlists_container.has_pending_changes is False. If not, you'll logout before the changes is synced to the Spotify servers.

Also, session.logout() is async, so you should wait for the LOGGED_OUT event before you exit the process.

Thanks, I will incorporate that into the code.

Hey, thanks again @jodal , but I am still having some issues.
I am guessing when you said session.playlists_container.has_pending_changes you meant just playlist.has_pending_changes? I added that and my playlists are consistently showing up in the list, but they don't seem to be added at the index I indicate, specifically within a folder. They are all being added to the first position.
See code here:

import datetime
import spotify
import getpass
import threading
import sys

def create_playlist(session, name, tracks, index):
  new_playlist = session.playlist_container.add_new_playlist(name, index)
  new_playlist.add_tracks(tracks)
  while new_playlist.has_pending_changes:
        session.process_events();

############Session Setup
logged_in_event = threading.Event()
playlist_created_event = threading.Event()
logout_event = threading.Event()

def connection_state_listener(session):
  if session.connection.state is spotify.ConnectionState.LOGGED_IN:
    logged_in_event.set()

def logged_out_listener(session):
        logout_event.set()

session = spotify.Session()
loop = spotify.EventLoop(session)
loop.start()
session.on(spotify.SessionEvent.CONNECTION_STATE_UPDATED, connection_state_listener)
session.on(spotify.SessionEvent.LOGGED_OUT, logged_out_listener)

print "Enter Spotfify User Name:"
uname = raw_input()
pw = getpass.getpass()
session.login(uname, pw)
logged_in_event.wait()
###############End session setup

session.playlist_container.load()

nmf_playlist = 0
discover_playlist = 0
archive_folder = 0
archive_index = -1
index = 0
session.playlist_container.load()
#Look through playlists for one to make a copy of
#Find index of folder to insert playlist into
for playlist in session.playlist_container:
  if type(playlist) is spotify.PlaylistFolder:
    if playlist.name == "Archive":
      archive_folder = playlist
      archive_index = index
  else:
    playlist.load()
    if playlist.name == 'New Music Friday':
      nmf_playlist = playlist
    elif playlist.name == 'Discover Weekly':
      discover_playlist = playlist
  index += 1

#If we found the original and a folder to copy to make a copy
if archive_index >= 0 and nmf_playlist != 0:
  create_playlist(session, 'New Music Friday Archive ' + str(datetime.datetime.today()), nmf_playlist.tracks, archive_index + 1)

if archive_index >= 0 and discover_playlist != 0:
  create_playlist(session, uname + ' Discover Weekly Archive ' + str(datetime.datetime.today()), discover_playlist.tracks, archive_index + 1)

session.logout()

logout_event.wait()

Closing on the assumption that you haven't been waiting for my answer for 4y. If anyone else have the same issue, shout out.


Remove Extra Fields From Minimal CR

Description
This PR removes the extra fields from the CSM CR when deploying using a minimal sample. ensuring it is cleaner, more efficient, and thoroughly validated. Below is a summary of the changes:
Key Changes

Replica Count Fix

Adjusts the replica count in the CR to align with the correct controller counts.

Removal of Empty Fields

Eliminates empty structs such as csiDriver, Node, and Controller from the CR.

Environment Variable Cleanup

Removes the KUBELET_CONFIG_DIR field from the CR.

PowerFlex-Specific Changes

Removes initContainer and sdc-monitor fields for PowerFlex in the minimal configuration.

Improved Unit Test Coverage

Increases UT coverage to 97%.

Fix Operator Crashing

Fix operator crashing when initContainer ENVs are empty
It will use secrets to update MDM

E2E Test Enhancements

Adds an E2E test step to the minimal standalone deployment to verify:

A non-zero replica count.
Absence of unexpected fields when using the minimal sample.

GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/1594

https://github.com/dell/csm/issues/1603

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[x] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have maintained backward compatibility
[x] I have executed the relevant end-to-end test scenarios

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Verified Minimal & Maximal Samples
[x] All Driver Minimal Sample E2E
[x] PowerScale E2E
[x] PowerStore E2E

@rishabhatdell , just to double-check on the E2E process, since we have some upgrade scenarios, have we run those as well? It's fine if the minimal CR doesn't support upgrades, but normal CRs do. I noticed that the field types have been changed from normal types to pointers, so I wanted to confirm whether we've tested the upgrade process to account for these changes.

@rishabhatdell , just to double-check on the E2E process, since we have some upgrade scenarios, have we run those as well? It's fine if the minimal CR doesn't support upgrades, but normal CRs do. I noticed that the field types have been changed from normal types to pointers, so I wanted to confirm whether we've tested the upgrade process to account for these changes.

Yes, I have run the upgrade, and downgrade scenarios for Powerflex.

Please attach to the PR or the JIRA ticket, screenshots of the CSM CR spec after driver installation via minimal CR. Also attach the result of kubectl get pods -n vxflexos , kubectl describe the daemonset and the deployment after install via minimal CR.

here are the logs:
minimal-sample-vxflexos.log

With the changes from commit https://github.com/dell/csm-operator/pull/800/commits/16a6a745c75547c8645d7ed231f0aba1598d71e6:
Staring with 3 replicas:
[root@master-1-Txr3PYbBmlO6l ~]# k describe deployment -n test-vxflexos       test-vxflexos-controller | grep  replicas
NewReplicaSet:   test-vxflexos-controller-6c8f8c9f7f (3/3 replicas created)
[root@master-1-Txr3PYbBmlO6l ~]# kubectl get pods -n test-vxflexos
NAME                                        READY   STATUS    RESTARTS   AGE
test-vxflexos-controller-6c8f8c9f7f-88hvm   5/5     Running   0          3m55s
test-vxflexos-controller-6c8f8c9f7f-frkzx   0/5     Pending   0          58s
test-vxflexos-controller-6c8f8c9f7f-m5vx7   5/5     Running   0          75s
test-vxflexos-node-jn4qk                    2/2     Running   0          39m
test-vxflexos-node-ss28x                    2/2     Running   0          39m

set to 0 replicas:
[root@master-1-Txr3PYbBmlO6l ~]# k edit csm -n test-vxflexos   test-vxflexos
containerstoragemodule.storage.dell.com/test-vxflexos edited
[root@master-1-Txr3PYbBmlO6l ~]# k describe deployment -n test-vxflexos       test-vxflexos-controller | grep  replicas
NewReplicaSet:   test-vxflexos-controller-6c8f8c9f7f (0/0 replicas created)
[root@master-1-Txr3PYbBmlO6l ~]# kubectl get pods -n test-vxflexos
NAME                       READY   STATUS    RESTARTS   AGE
test-vxflexos-node-jn4qk   2/2     Running   0          40m
test-vxflexos-node-ss28x   2/2     Running   0          40m
[root@master-1-Txr3PYbBmlO6l ~]# k describe csm -n test-vxflexos   test-vxflexos | grep -i replicas
    Replicas:             0

back to 2 replicas:
[root@master-1-Txr3PYbBmlO6l ~]# k edit csm -n test-vxflexos   test-vxflexos
containerstoragemodule.storage.dell.com/test-vxflexos edited
[root@master-1-Txr3PYbBmlO6l ~]#
[root@master-1-Txr3PYbBmlO6l ~]# k describe deployment -n test-vxflexos       test-vxflexos-controller | grep  replicas
NewReplicaSet:   test-vxflexos-controller-6c8f8c9f7f (2/2 replicas created)
[root@master-1-Txr3PYbBmlO6l ~]# k describe csm -n test-vxflexos   test-vxflexos | grep -i replicas
    Replicas:             2
[root@master-1-Txr3PYbBmlO6l ~]# kubectl get pods -n test-vxflexos
NAME                                        READY   STATUS    RESTARTS   AGE
test-vxflexos-controller-6c8f8c9f7f-fvzgt   5/5     Running   0          19s
test-vxflexos-controller-6c8f8c9f7f-g9fwh   5/5     Running   0          19s
test-vxflexos-node-jn4qk                    2/2     Running   0          42m
test-vxflexos-node-ss28x                    2/2     Running   0          42m

When installing powermax using minimal sample, we are adding the reverseproxy module to the CR: https://github.com/dell/csm-operator/blob/d7827cb6d34044b9f3b3428e018f100b2f296260/pkg/drivers/powermax.go#L98.   Shouldn't we change this to update the yamls but not update the CSM spec (like we did for SDC init container for pflex) ?


Python Bindings

Are there any plans to add the python bindings for Tensorflow?

Hello Jack,

Are there any plans to add the python bindings for Tensorflow?

I'm afraid not at the moment. Perhaps further down the line though.
Kind regards, Chris


[Bug]: Stream in HA can only be started once

Version
1.7.1
Node version
?
Operating System type
Other
Operating system version
Home Assistant OS 11.1
Describe the bug
After upgrading from Homebase 2 to 3, each camera stream can only be started once. After that, addon eufy-security-ws and integration eufy_security have to be restarted to work again. After starting stream for a 2nd time in debug log appears the message "Received already processed sequence" (see log attached below)
To reproduce

Start RTSP-Stream
Watch Camera Stream
Stop Stream
Start Stream again
Video-Player says "streams: wrong response on DESCRIBE" and stops

Screenshots & Logfiles
eufy-security-ws.log
Additional context
Eufy-Hardware:
2x 2C Pro
Homebase 3 (S380)
I reported that issue also here: https://github.com/fuatakgun/eufy_security/issues/978 fuatakgun asked me to provide addon logs also here.

I looked at the log and could not find any problems.
The entire P2P communication takes place via UDP (stateless protocol), whereby the same data packets are sent several times. The message "Received already processed sequence" is just the filtering away of packets that have already been processed.
Livestreaming is actually only intended via P2P.
Livestreaming via RTSP was a request from @fuatakgun and is actually just a hack, as it uses the P2P test command of the NAS configuration in the background (see NAS settings in the Eufy app).
If this doesn't work now with the Homebase 3, there is nothing I can do as it probably depends on the firmware. Furthermore, I do not have a Homebase 3 to carry out further tests.
As already mentioned, streaming via P2P should be used for live streaming.

So, should we say one of these;
-it cannot be not supported with homebase3 or

you need a device to implement this

So, should we say one of these;
-it cannot be not supported with homebase3 or

you need a device to implement this

It could easily be that the new firmware in the Homebase 3 does not allow the "NAS test" command to start the RTSP stream several times in a short period of time.
What I wanted to say before is the following:

i don't think you should use this method to start the stream as it is less future proof. In the official app it was implemented as a test of the NAS configuration. In the future, this functionality could be limited (e.g.: duration of the active stream, number of calls to this functionality in a short time)
i need a Homebase 3 to be able to say more precisely

Don't know if this Information is helpful - but what is working as a Workaround: turning the RTSP-Switch off and back on after each stream brings function back.

Toogling the RTSP switch is actually imitating the initial rtsp setup via the app, so the device will stream for couple of minutes so you can test nas setup. But if you are actually recording this into a nas, turning it off might break the recording.
Maybe, you can share your device with bropat if he is available so he can validate what is going on (firmware issue, no more hack, etc)


Hayagriva citations always format to (N.d.).

Reproduction code:
import { Cite } from 'npm<EMAIL_ADDRESS>import 'npm<EMAIL_ADDRESS>import 'npm<EMAIL_ADDRESS>import 'npm<EMAIL_ADDRESS>
const bibtexCite = new Cite( `
  @article{sample2023,
    title={Sample Article},
    author={John Doe},
    journal={Journal of Examples},
    year={2023},
    volume={1},
    number={1},
    pages={1-10},
    publisher={Example Publisher}
  }
`);

// from https://www.npmjs.com/package/@citation-js/plugin-hayagriva
const hayagrivaCite1 = new Cite(`citation-js:
    type: article
    title: "Citation.js: a format-independent, modular bibliography tool for the browser and command line"
    author: Willighagen, Lars G.
    date: 2019-08-12
    doi: 10.7717/peerj-cs.214
    serial-number: e214
    parent:
        type: periodical
        title:
            value: PeerJ Computer Science
            verbatim: true
        volume: 5
        issn: 2376-5992
`);

// from https://github.com/typst/hayagriva/blob/main/docs/file-format.md
const hayagrivaCite2 = new Cite(`electronic:
    type: Web
    title: Ishkur's Guide to Electronic Music
    serial-number: v2.5
    author: Ishkur
    url: http://www.techno.org/electronic-music-guide/`)

const hayagrivaCite3 = new Cite(`kinetics:
    type: Article
    title: Kinetics and luminescence of the excitations of a nonequilibrium polariton condensate
    author: ["Doan, T. D.", "Tran Thoai, D. B.", "Haug, Hartmut"]
    serial-number:
        doi: "10.1103/PhysRevB.102.165126"
    page-range:<PHONE_NUMBER>39
    date: 2020-10-14
    parent:
        type: Periodical
        title: Physical Review B
        volume: 102
        issue: 16
        publisher: American Physical Society`)

const bibtexHtml = bibtexCite.format('bibliography');
const hayagrivaHtml1 = hayagrivaCite1.format('bibliography');
const hayagrivaHtml2 = hayagrivaCite2.format('bibliography');
const hayagrivaHtml3 = hayagrivaCite3.format('bibliography');

console.log(bibtexHtml);
console.log(hayagrivaHtml1);
console.log(hayagrivaHtml2);
console.log(hayagrivaHtml3);

Doe, J. (2023). Sample Article. Journal of Examples, 1(1), 1–10.

(N.d.).

(N.d.).

(N.d.).

Automatic detection of Hayagriva is not implemented yet, as it does not seem to have particularly distinctive fields. (see the README). You can force it to parse as Hayagriva with the following:
new Cite('...', { forceType: '@hayagriva/file' })

@larsgw Apologies, I saw that part of the README and left it out because it yields:
✅ Granted all read access.
error: Uncaught (in promise) TypeError: No synchronous parser found for @hayagriva/file

and then using async Cite.await(..., { forceType: '@hayagriva/file' })
✅ Granted all read access.
error: Uncaught (in promise) TypeError: No parser found for @hayagriva/file
    at dataAsync (file:///Users/mjbo/Library/Caches/deno/npm/registry.npmjs.org/@citation-js/core/0.7.14/lib/plugins/input/data.js:43:11)

Ah okay, I'll take a look later.

This seems to work for me with Node.js. I think the issue has to do with Deno's resolution of peer dependencies, the Hayagriva plugin is simply not registering. I got this error when installing:
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/@citation-js/core
npm error<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm error node_modules/@citation-js/plugin-hayagriva
npm error<EMAIL_ADDRESS>from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

However installing with --legacy-peer-deps worked.
I think Deno instead installs two different versions of @citation-js/core. I don't know how to resolve that exactly, I haven't used Deno yet.

There's an old issue to improve the plugin system which would avoid this. It's good to now that Deno leads to such silent errors, that puts that resolution higher on the priority list.

Should be fixed now.

@larsgw works now!

Great!


Fix imatinib NCMC null transformation test failures

The imatinib NCMC null transformation test still occasionally fails:
======================================================================
ERROR: Testing alchemical null elimination for 'imatinib' with 50 NCMC steps
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda/envs/_test/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/miniconda/envs/_test/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/tests/test_elimination.py", line 267, in check_alchemical_null_elimination
    raise Exception(msg)
Exception: Delta F (50 steps switching) = 3.173915 +- 0.367807 kT; should be within 6.000000 sigma of 0
delete logP:
[ 52.83907179  56.96881809  58.72221244  53.66332188  54.39244732
  55.20878563  56.42911385  62.5737624   47.22239953  52.64230924
  52.68643293  51.52396585  48.99477714  52.35681286  50.4809076
  53.9227835   56.61910085  52.69879979  52.22066052  52.8527985
  53.48836845  51.30178305  56.78153917  56.04516468  51.6749105
  55.60416723  51.679132    49.14696474  51.27811396  52.11830492]
insert logP:
[-56.94178584 -57.93855619 -75.74928178 -57.65467855 -64.17625056
 -63.93724275 -61.50533476 -69.62354963 -57.2744736  -79.88086955
 -56.74460312 -60.32094396 -55.35969296 -56.36628618 -53.71085795
 -66.62961333 -60.6884257  -65.73408047 -53.86550795 -59.83222306
 -64.63476613 -56.69728159 -60.02577208 -73.42986568 -59.48264145
 -58.47741466 -62.61625228 -51.43052224 -52.73681281 -54.31872933]
logP:
[ -4.10271405  -0.9697381  -17.02706934  -3.99135666  -9.78380324
  -8.72845712  -5.07622091  -7.04978723 -10.05207407 -27.23856031
  -4.05817019  -8.79697811  -6.36491582  -4.00947332  -3.22995035
 -12.70682983  -4.06932486 -13.03528068  -1.64484743  -6.97942456
 -11.14639768  -5.39549854  -3.24423292 -17.384701    -7.80773094
  -2.87324743 -10.93712028  -2.2835575   -1.45869886  -2.20042441]
-------------------- >> begin captured logging << --------------------

I thought this was due to the lack of initial equilibration, but it could also be due to the fact that the samples are not really uncorrelated and so the statistical error is being underestimated.  Or there could be something actually wrong here.  I will investigate.

This was resolved by https://github.com/pandegroup/openmm/pull/1384


initialize bridge before connecting

pre needs to be called before sc is required

Lets move this method call inside the SC.js module


Heat Map Cell Customization and Override

Description

Added MudHeatMapCell to allow deeper customization of each individual cell as well as added limited example and extended into the final example. There are two points I need feedback on.

Position is one. Currently it positions everything center. I can potentially add a Position property using the already existing Position enum, but that will add complexity. Thoughts?
Color override is currently using MudColor, is that the path I should have written it?

How Has This Been Tested?

Unit tests and Visual tests
Type of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation (fix or improvement to the website or code docs)

Checklist

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

I really don't know how to get rid of all the old commits. Everytime I create a new branch it seems to have them. I suppose I will just delete the fork and refork after this PR.  The tab PR we didn't merge is still in this one too.

I really don't know how to get rid of all the old commits. Everytime I create a new branch it seems to have them. I suppose I will just delete the fork and refork after this PR. The tab PR we didn't merge is still in this one too.

Your dev is off because you merged dev onto dev.  You can reset it PM me on discord if you want help.

Love the no idea commit

Love the no idea commit. I can fix your branch if you want.

yah pretty sure the no idea commit isn't supposed to be there lol. I may take you up on it but trying to learn so I don't keep doing it. It's a terrible waste of time. I'll let you know.

I will review it after my vacation. Currently only reviewing small PRs.

It would be cool if you could write the map using razor markup. Something like:
<HeatMap>
    <Columns>
        @foreach (var day in DaysOfWeek)
        {
            @day
        }
    </Columns>

    @foreach (var row in Month.Days.Chunk(7))
    {
        <Row>
            @foreach (var day in row)
            {

<EMAIL_ADDRESS>                        <MudSpacer />
                        @day.Emoji

            }
        </Row>
    }
</HeatMap>

I found it a little difficult to make a layout like this:

Small note: localization support is missing for "Less", "More"

It would be cool if you could write the map using razor markup. Something like:
<HeatMap>
    <Columns>
        @foreach (var day in DaysOfWeek)
        {
            @day
        }
    </Columns>

    @foreach (var row in Month.Days.Chunk(7))
    {
        <Row>
            @foreach (var day in row)
            {

<EMAIL_ADDRESS>                        <MudSpacer />
                        @day.Emoji

            }
        </Row>
    }
</HeatMap>

I found it a little difficult to make a layout like this:

But it totally might not be intended for this in the first place!

I agree, but trying to keep within MudChart pattern. It was heavy learning process for me!

2. Color override is currently using MudColor, is that the path I should have written it?

Don't think I understand the question?

Color override is currently using MudColor, is that the path I should have written it?

Don't think I understand the question? When color is involved, it's always should be used over a string (as example).

Well there's a Color class used quite extensively as well (theme colors), the more I think on it the answer is to me obvious as MudColor for flexibility.

Well there's a Color class used quite extensively as well (theme colors), the more I think on it the answer is to me obvious as MudColor for flexibility.

Don't think we would want to limit it to the enum colors of theme.


New demo showcasing options in real time

I was talking with my team about using Fuse in our product for building a filter UI. I showed the demo but it didn't really showcase some of flexibility. They are mostly non-technical so explaining the options didn't quite help and having them tweak JSON is not really feasible.
I whipped up this alternative demo that shows the options, the search output, as well as the dataset used in the filter.

I just wanted to share this as it helped my team imagine how this would be used and see the flexibility. If you'd like, I can submit a PR or update the docs with a link to this demo as well

Could be nice to have on the site. Feel free to start a PR. Thanks!

Closed with #513


Added KDE support

The code I used is ripped from here
This should work but I don't know if it does (changing the wallpaper manually through the python REPL works so if this is the only bit of code that I needed to add it should be ok).
If anyone can get the command-line method from here to work (using qdbus to send the message/whatever you call it) it would get rid of the dbus dependancy.

This should be easy to fix, I just don't know the packages required to get python-dbus to work on Ubuntu. On my (already quite polluted) Antergos system it works fine but I had quite a few packages installed before simply installing python-dbus using pacman.

Does this command work?:
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://IMAGE HERE")}'

I'd like to avoid the dependency on dbus if possible. I'd rather call it in the background as a system command and fail silently if dbus is unavailable (It shouldn't be).

$ qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 'var allDesktops = desktops();print (allDesktops);for (i=0;i<allDesktops.length;i++) {d = allDesktops[i];d.wallpaperPlugin = "org.kde.image";d.currentConfigGroup = Array("Wallpaper", "org.kde.image", "General");d.writeConfig("Image", "file://~/Pictures/wallpapers/wallhaven-151762.png)}'
Error: org.freedesktop.DBus.Error.Failed
SyntaxError: Parse error

The same happens when I try it with a jpg image.

We should wait until KDE implements an easier way of doing this. I'm not happy how convoluted this method is. Until then you can easily create an external script and use ksetwallpaper with wal -i img -o script to change the wallpaper.
Something like this:
#!/usr/bin/env bash

# Get the current wallpaper.
source "$(< "${HOME}/.cache/wal/wal")"

# Set the wallpaper.
python3 ksetwallpaper.py filename

Well, I guess I'll do that and try asking around on the KDE subreddit for ways to submit feature requests.

(Updated the example in my previous comment.)


Add Continuous Integration with Travis-ci

e.g. https://forum.qt.io/topic/50340/installing-qt-5-4-dev-packages-in-travis-ci/15

What would be the benefit of doing it?

http://stackoverflow.com/questions/22587148/trying-to-understand-what-travis-ci-does-and-when-it-should-be-used

Do you see unit tests in this project? We also have in-house builders for this project so we know when it breaks.


Terminal doesn't catch Ctrl-B any more

On today's Linux Insiders (d471d1c7f918ff567e71026671896f17f388a784):

Focus terminal
Press Ctrl B

The sidepanel hides/shows.
This broke sometime this week, so it could be related to grid work @sbatten. Assigning @Tyriar as well just in case.

Weird, I can't repro off master in dev.

I also can't repro dev out of d471d1c7f918ff567e71026671896f17f388a784, which is latest insiders.

Doesn't repro on today's Insiders: 6d82826e990407364d5c829b73602a19ecdf7d00
Turns out I didn't actually have the latest.

I caused this by trying to fix an a11y issue, fixed yesterday https://github.com/microsoft/vscode/issues/77945


Ability to reset the TaxonomyPicker (Remove all selected Terms)

Category
Question
Version
1.14.0
Expected / Desired Behavior / Question
I need to remove the selected Term(s) from multiple TaxonomyPicker controls when the "Clear" button is clicked. Seems like there is no Clear function available? Please suggest how can I achieve this?
Basically the webpart has multiple TaxonomyPicker controls used for filtering the data in a grid. I need a functionality where users can click a button and all the filters needs to be removed.
Thanks!

Hi @M-SGFx
Have you tried to implement custom Clear button and change initialValues property to be []?
Like
private clear() {
this.setState( { pickerInitialValues: [] });
}

public render() {
// ...
<TaxonomyPicker
  initialValues={this.state.pickerInitialValue} />
}

But keep in mind that in that case the picker becomes "controlled" component and you will need to handle onChange event as well to update selected terms collection.

It seems like it was broken.
The fix has been implemented and will be included in the next release.
In a meanwhile you can test the functionality in beta version


Problem with serialization of a list of strings.

There is a problem with the code in OrientSerializationCSV._encode_value(), as it throws an error when attempting to join a list of string values. Below is the current code.
PS- I haven't bothered to learn how to use github yet, so my code pasting here will have to do.
elif isinstance(value, list):
    try:
        ret = "[" + ','.join(
            map(
                lambda elem: self._parse_value(type(value[0])(elem))
                if not isinstance(value[0], OrientRecordLink)
                else elem.get_hash(),
                value
            )) + ']'
    except ValueError as e:
        raise Exception("wrong type commistion")
elif isinstance(value, dict):
    ret = "{" + ','.join(map(
        lambda elem: '"' + elem + '":' + self._parse_value(value[elem]),
        value)) + '}'

The self._parse_value() method calls need changing to _encode_value. This is definitely required for a list (in my tests), and I presume the same will hold true for dict.
Further to this, the lambda seems a bit dodgy to me, as it is referencing it's own variables, plus the local variables of the _encode_value method (ie self and value are the local variables of _encode_value function, not the lambda function). I believe the following code makes it clearer. Perhaps it should be changed?
elif isinstance(value, list):
    try:
        base_cls = type(value[0])
    except IndexError:
        elements = value
    else:
        if issubclass(base_cls, OrientRecordLink):
            elements = [elem.get_hash() for elem in value]
        else:
            try:
                elements = [
                    self._encode_value(base_cls(elem))
                    for elem in value
                ]
            except ValueError as e:
                raise Exception("wrong type commistion")
    ret = "[" + ",".join(elements) + "]"

Hi @neRok-
don't worry for git.
Anyway i will try to apply your patch but without git you will lose your signature on this fix.
More important, can you send me your test code? In this manner i can reproduce and fix the error.
Later i will insert such code it in the test suite to avoid future regressions.

I'm not sure if this is the same bug or not, but I've run into some issues creating records with embedded lists and dictionaries. I can load records with them:
client.record_load('9:2')
# {'@V':{'foo':` ['bar']},'version':2,'rid':'9:2'}
client.record_load('9:3')
# {'@V':{'foo': [{'bar': 'bar'}]},'version':4,'rid':'9:3'}

but if I attempt to create my own I get an exception:
rec = {'@V': {'foo': [{'bar': 'bar'}]}}
pos = client.record_create(9, rec)
# AttributeError: 'dict' object has no attribute 'lstrip'

I don't have a fix, but I do have two failing tests https://github.com/erikwiffin/pyorient/commit/80521357579c8fb7e6464e3fe906e23c41bf4f31.

Fixed, tnx @neRok- for the contribution.


Use the ExpressionDeParser to de-parse AnalyticExpressions

Revision 066199c of ExpressionDeParser de-parses AnalyticExpressions by simply taking the value of the toString method.  Shouldn't the ExpressionDeParser be made to visit the Expressions that make up the AnalyticExpression?
I'd like to take a crack at this so please go ahead and assign it to me if you approve.

You are digging deep 👍 .

Fixed by 81de7a6.

So are these github squashed commits ok for you?

Actually, I personally prefer --no-ff merges but it's your repo so it's your rules 😃

The question was about the squashing. Some developers prefer to squash by themselfs. And I prefer one commit PRs. So I use happily githubs Squash & Merge.

I see.  No problem!  I'll squash all subsequent PRs for this repo.


Develop

What I did
Merging PR# 243

:tada: This PR is included in version 3.15.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Banned after a few games (with a screenshot of the message)

I think the bot is not working anymore as it is. I just played like 1 game per day and I got banned anyway, so I think the feature that someone requested, to only play 1 game per day will not solve the issue.
Below are the screenshots of the games and the message that I received.

Yea, there are a number of ways to combat their automated detection of the bot. However, I am waiting till vanguard is released this week before trying to implement anything, because vanguard will probably prevent the bot from working altogether.

I play on the Japan server.
So far, I have been able to run without being detected by Vanguard.
Occasionally it stops with a Vanguard error, but this is probably due to a problem with Vanguard itself or my internet connection.

I play on the Japan server. So far I am able to play without being detected by Vanguard. Sometimes it stops with [Vanguard Error VAN 0], but this could possibly be a problem with Vanguard itself or my internet connection.

In VM or single bare metal server?

Again, I will update the bot sometime this summer after assessing the new bots and vanguard. Atm, I am unfortunately busy with other projects.

After the recent maintenance, I logged in and found that I had been banned.
I have been using this bot for about a year and this is the first time I have been banned.
After the introduction of Vanguard, the number of INTRO BOTs decreased and the number of humans increased, so maybe more people are reporting it!

Yea, hopefully I'll have time to update the bot over the summer. At the latest in the fall.

https://www.op.gg/summoners/jp/TopWard-JP2
Just used the BOT for 4 matches and was detected and banned by VANGUARD (first 2 matches were manual).
Wait until the BOT is fixed.

HWID bans are 4 months long. It is not recommended to run this bot on Windows as it will likely result in a VAN 152 hardware ban. If you get this ban, your only recourse is to wait 4 months before creating a new account and playing on that new account.


Linux desktop app crashes

Linux 7.4.184 Beta
When I click on 'Add new project' - 'Add new client' - Fill new client name - click on 'Add' button ToggleDesktop crashed
More information on bug, with video and log log at conversations/18549944315

I can't reproduce this. Is there anything specific that triggers this?

Unable to reproduce this. Closing.


[Question] FormViewModel Validation for Individual Form Fields

Discussed in https://github.com/FilledStacks/stacked/discussions/530

Originally posted by serpv357 November 17, 2021
I am learning Stacked Architecture and working with the form generator. I see that in the FormViewModel class there is a single showValidation property and a single validationMessage property, which means that you can only have one validation message showing using setValidationMessage "out of the box". What would be the best way to have validation for each individual form field displaying under each field?
Edit: What seems to work is something like this but let me know what I should be doing.
Edit 2: I also have the use case where I want one (or more) of the FormTextFields to be readonly, and set that as a result of a calculation relying on the other fields, like in a calculator app, but it seems that the automatically generated stuff does not have a setter. Edit 3: oh, looks like the answer to this is here: https://github.com/FilledStacks/stacked/issues/382
class AgePayFormViewModel extends FormViewModel {
  final _navigationService = locator<NavigationService>();

  bool _showValidationAge = false;
  bool get showValidationAge => _showValidationAge;

  String? _validationMessageAge;
  String? get validationMessageAge => _validationMessageAge;

  void setValidationMessageAge(String? value) {
    _validationMessageAge = value;
    _showValidationAge = _validationMessageAge?.isNotEmpty ?? false;
  }

  @override
  void setData(Map<String, dynamic> data) {
    setValidationMessageAge(null);
    super.setData(data);
  }

  @override
  void setFormStatus() {
    // do validation for each field

    if (ageValue?.isEmpty ?? false) {
      // set validation message for age
      setValidationMessageAge("Enter an age");
    }
  }

  // If the dev doesn't want realtime validation then they can
  // simply validate in the function that they'll use to submit the
  // data to the backend or db.

  Future? saveData() {
    // here we can run custom functionality to save to our api
  }

  Future? navigateSomewhere() {
    // possible navigation
  }
}

```</div>

@serpv357 this functionality is not supported out of the box. Most likely if we can update the validation message to be a map that is generated using the same key as the controller form value map then you'd have the option built in.
Unfortunately I have not had time to improve stacked functionality but if you want to you can make a PR and I can review it and get the functionality into the package.

This is going into planning

Hello @FilledStacks, any progress on this?
I might have a PR ready in a few days if still needed! 👀😄

Awesome! @Gerfaut I will check it out later today and review


Add QR code with direct URL to each story

This is an important feature so that developer can preview a component in a native Weex container (app) easily.
We need deeper understanding of the storybook add-on architecture and how a component view can be accessed separately.

Since the bundle code can't work in Weex environment, we need to develop the client API and new configuration for Webpack ourself so that it can work on Weex.

[ ] Client side
[ ] Sever side


Help with adding Guix support upstream

Hey all!
I am a Guix user, and I am rocking SwayFX 0.4 now. I noticed it depends on scenefx but it's not yet packaged in Guix.
I wanted to gather help to put this upstream, in Guix packages, since currently it only exists in my personal config (https://github.com/jjba23/sss).
It is all working real nicely so I think almost no more work needs to be done, but I need help in getting this out there.
(define-public scenefx
  (package
   (name "scenefx")
   (version "0.1")
   (source (origin
            (method git-fetch)
            (uri (git-reference
                  (url "https://github.com/wlrfx/scenefx.git")
                  (commit version)))
            (file-name (git-file-name name version))
            (sha256
             (base32
              "1r7f8bprsn0mwlkmc8d14nr3iibljfyxypb4i06v66ghlngaw6dw"))))
   (build-system meson-build-system)
   (inputs (map (lambda (x) (specification->package x))
                `("basu"
                  "cairo"
                  "gdk-pixbuf"
                  "json-c"
                  "cmake"
                  "libevdev"
                  "libinput-minimal"
                  "libxkbcommon"
                  "pcre2"
                  "pkg-config"
                  "pcre2"
                  "wayland"
                  "libdrm"
                  "wlroots@0.17.4")))
   (home-page "https://github.com/wlrfx/scenefx.git")
   (synopsis "SceneFX")
   (description
    "SceneFX")
   (license license:expat)))

Fixed, scenefx is now in guix packages :)

Fixed, scenefx is now in guix packages :)

Thanks a ton, you're awesome for getting this in! I'll give you the nice fancy package maintainer role on discord

That's sweet @WillPower3309 and an honor 😄
I will soon work to get SwayFX 0.4 upstream as well now that it's unblocked.
FYI the final package definition is this:
(define-public scenefx
  (package
    (name "scenefx")
    (version "0.1")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/wlrfx/scenefx")
                    (commit version)))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "1r7f8bprsn0mwlkmc8d14nr3iibljfyxypb4i06v66ghlngaw6dw"))))
    (build-system meson-build-system)
    (native-inputs (list pkg-config
                         ;; for wayland-scanner.
                         wayland))
    (inputs (list pixman
                  mesa
                  libxkbcommon
                  libdrm
                  wlroots-0.17))
    (home-page "https://github.com/wlrfx/scenefx")
    (synopsis "Drop-in replacement for the wlroots scene API")
    (description
     "A drop-in replacement for the wlroots scene API that allows wayland
compositors to render surfaces with eye-candy effects.")
    (license license:expat)))


Issue while converting html to pdf

I am using dinktopdf to convert the html to pdf.
It is converting successfully. But the issue is when page break done in pdf it also break the text that occur on page border.
How can I stop it. If text not accommodating in same page then whole text should be on next page. there should not be half-half text on both pages in pdf.

LegalDocs_11128765_57355lmkven.pdf

what is solution of this issue. Please provide solution

Here is issue is the images are breaking up between two pages in attached generated pdf.

LegalDocs_92263649_57355lmkven.pdf

text is breaking b/w two pages in second attached pdf

I am facing the same issue. Have you managed to find a solution to this?


SOLR-16213 Upgrade Jackson to 2.13.3

https://issues.apache.org/jira/browse/SOLR-16213

Not sure I understand why precommit fails here

[21:05:39.470] FATAL (antora): problem encountered while reading ui.supplemental_files: ENOENT: no such file or directory, access '/home/runner/work/solr/solr/.gradle/node/solr-ref-guide/node_modules/@antora/lunr-extension/supplemental_ui'

Wonder if that is some stale builder cache issue, seems unrelated.

Not sure I understand why precommit fails here

[21:05:39.470] FATAL (antora): problem encountered while reading ui.supplemental_files: ENOENT: no such file or directory, access '/home/runner/work/solr/solr/.gradle/node/solr-ref-guide/node_modules/@antora/lunr-extension/supplemental_ui'

Wonder if that is some stale builder cache issue, seems unrelated.

It looks like the upstream antora-lunr-extension changed it's download path in the node modules? Will make a fix soon

Ahh ok it's here. Just making our lives easier 🙂
https://gitlab.com/antora/antora-lunr-extension/-/issues/15

@janhoy I pushed the merging to main to get precommit fixes from Houston.


fix(metallb): update nmstate api to v1

Description
Use nmstate/v1 instead of v1beta1, since the features we use are in v1 completely and v1beta1 will be removed in future releases.
Fixes MGMT-10369 (issue)
Type of change
Please select the appropriate options:

[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have performed a self-review of my own code
[x] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[x] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[x] PRs should not be merged unless positively reviewed.

for me is OK if tests passed again after fix the mirror bug, but check if Jira is associated to merge as Flavio said


nerian_stereo: 3.3.0-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository nerian_stereo to 3.3.0-0:

upstream repository: https://github.com/nerian-vision/nerian_stereo.git
release repository: https://github.com/nerian-vision/nerian_stereo-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.7.2
previous version for package: 3.2.1-0

nerian_stereo
* Updated to Nerian vision software release 6.3.0
* Added functionality to use timestamps from SceneScan for timestamping transmitted messages.
* Contributors: Konstantin Schauwecker

Sorry, there's a problem with this release. Will create a new pull request.


crash when the user keeps refreshing quite fast

https://github.com/stellar/java-stellar-sdk/issues/169
probably, it takes time for the socket to close while is being triggered to be open again.

streams were removed.


Does not work with typescript

when trying to install library typing using:
npm install @types/react-donut -D
I get the following error message:
@types/react-donut@latest' is not in the npm registry.

@luis-antonio-ac  Thanks for reporting this issue. I'll look into this

Hello, good night, any news about this?

@luis-antonio-ac  Haven't looked. Can you assist to solve this bug ? Much more appreciated!

@luis-antonio-ac Hello. Thanks for pinching me 😄.
Yeah, this morning I worked on this and have added type definitions to this package. New package version is available on npm with version - 1.1.4
Again, thanks for your feedback !
link - https://www.npmjs.com/package/react-donut

I think that @types error will persist, but your use-case of having type definitions for package's API is being solved by latest update. Let me know if you have still any problem


[Feature Request] Allow interchangeable use of stream types by exposing ImplFtpStream

Description
I'd like to do something like
pub fn connect(addr: &str, user: &str, password: &str, secure: bool) -> FtpResult<ImplFtpStream> {
    let mut ftp_stream = match secure {
        false => init_plain_stream(addr)?,
        true => init_secure_stream(addr)?,
    };
    ftp_stream.login(user, password)?;
    Ok(ftp_stream)
}

where init_plain_stream() and init_secure_stream() respectively return FtpStream and NativeTlsFtpStream using the connect()/into_secure() calls outlined in the documentation.
Basically my desire is to establish the connection once - going through the appropriate steps to secure it, or not - and then use it as a generic stream afterwards. In terms of function signatures I feel like I should be able to achieve this by using the ImplFtpStream struct that's common across connection types. But this is currently set to private.
Is what I'm thinking likely to work? And if so, would it be possible to make the generic ImplFtpStream struct public?
By the way, if there are other ways to do this I'd be quite happy to reconsider my approach! I'm fairly new to Rust. (Also I'm aware that the match statement in my example code won't work as is anyway since the types of the arms need to match, but that's solvable).
Changes
Make ImplFtpStream public?

Made public in 5.1.1

Thanks a lot for the quick response to this! I had a go at doing what I need to do with the new version but somehow didn't quite get it to work. I'm sure this will expose my ignorance when it comes to some Rust concepts, but since ImplFtpStream is actually a struct and not a trait, I'm not able to use it as a dyn type.
Is there a way to write code that will set up an ftp_stream that is generic over ImplFtpStream (regardless of whether the encapsulated stream is secure or not) and can then carry out the login() and other methods that are common to both types of connection? Sorry if I'm missing something simple...

Probably a trait would be needed, but it's not that easy to implement here.
Anyway at the time I didn't think much about your request, but there's no need to use the plain FTP stream if secure is enabled. You can just use the RustlsFtpStream or NativeTlsFtpStream and call into_secure only if secure = true

Oh wow, that's a very good point! Didn't occur to me to try that at all. Seems to work perfectly also.


Fixed Issue with auto-generating users

Description

Made data parameter optional so auto-generating a user can compile successfully on typescript
Changes

Tests

We have moved the definitions file to https://github.com/Kinvey/js-sdk/blob/MLIBZ-1999_Mono_Repo/src/kinvey.d.ts


feat: add thrift

This is my first time writing a textobjects.scm file - I would appreciate critique.
For the weird queries at the top, I don't want to match assignments that could, say, have optional attributes above them,  only the qualifiers, identifier, and value. I hope I did it right but maybe it's better to use #make-range! here.

Thank you. I didn't check everything yet, but assignment.inner should select either LHS or RHS of the assignment. So depending on your cursor location it should select left or right.
In my experience, if you put assignment.inner on both side in one query, then it will ignore one of them. So I recommend you to copy the query and add an inner for the left side.

Also, sorry for the delay. There are languages I understand better and others that I don't know very well. If you don't mind, I'd appreciate if you can provide with a sample code that can test all of the textobjects you've defined. If not, don't worry, I'll also look into finding them. It's just for ease of testing, and plus documenting what kind of cases are tested.


External-schema support and packages

While working on #83 I implemented some loaders, to load schema files in different formats (xml, yaml, json, php).
Now I should work on merging external schemas and different packages.
My questions are:

packages were born to simulate a sort of namespaces, when they were not implemented yet in php. Are Propel packages still useful? (I used them at the time of Propel 1.5 :smile: )
Since I can have multiple schemas, describing my domain, living in the same project, is external-schema still useful? (I never used this feature)

Oh yes, please. if your application is modularized, external-schemas is the way to link to "core/other" packages and get relations correct. Because external-schema has a bad "include" paths to those external files, that was my initial idea behind refactoring the schema loader 😉


Use JNA 4.2 to get Windows folder names

I contributed the Shell32.SHGetKnownFolderPath and a few related methods to JNA 4.2, which has been released recently.
This simplifies the process of getting pre-defined Windows folder names somewhat.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/304/
Hooray Jenkins reported success with all tests good!

Very cool to be able to put an external contribution to work like this :-)
And congrats on claiming PR / issue #2000 ! ;-)


users need a uidnumber and gidnumber to work with eos

currently, the api does not allow setting a uidnumber and gidnumber, but they are needed to integrate users with eos

UidNumber is now generated and default GidNumber (30000 = group users) is applied. Does this solve this issue?


Need support for AdaptiveAvgPool2d

Describe the bug
Need support for AdaptiveAvgPool2d for MobilenetV2 model
Model card: https://github.com/tenstorrent/tt-metal/issues/13798
device: WH N150

@keerthana-r-mcw pls add more description, what are the adaptive average pooling configurations from the model that we need support for. a
Please add the torch examples at least to the issue

Replaced with ttnn.global_avg_pool2d.

Replacing with ttnn.global_avg_pool2d results in low pcc, so reopening the issue.

With latest main, ttnn.global_avg_pool2d is working fine.


No BulkDeleteAsync

Hi, although there is a Microsoft.Azure.CosmosDB.BulkExecutor.BulkDelete namespace with a couple of classes, there is no BulkDeleteAsync method in the BulkExecutor.
Is this a work in progress, or am I looking in the wrong place to do bulk deletions?

I also have the same question.
There's a class called BulkDeleteQuerySpec but this doesn't appear in any docs?

I also have the same question.
Using Version 1.0.1, and found in the class BulkExecutor is defined BulkDeleteAsync.

Hi.
I reverse engineered it.
This class uses to build SQL query.
Usual SQL query is like select * from t where t.id = 1
BulkDeleteQuerySpec.RootSymbol is ' t '
BulkDeleteQuerySpec.FilterExpression is ' t.id = 1 '
and so on
So, the right usage of the BulkDeleteAsync method is
`
var querySpec = new BulkDeleteQuerySpec(" t ", " t.id = 1 ", "", null);

var method = typeof(BulkExecutor).GetMethod("BulkDeleteAsync", BindingFlags.NonPublic | BindingFlags.Instance);

await ((Task)method.Invoke(bulkExecutor, new object[] { querySpec })).ConfigureAwait(false);

`
P.S. See here how to get bulkExecutor. Btw, to avoid 'Value cannot be null. Parameter name: key' exception in the bulkExecutor constructor, reread document collection from the server.

Please use 1.3.0 version of teh BulkExecutor library that supports BulkDeleteAsync API.