Question: Recommends of a Provides

Thanks to the merging in of RSS-CanaveralHD, that mod is now on CKAN (thanks folks!). But that then brings up a question I have about chaining things together. Because while I want to rec it in certain cases in RSS, I do not want to rec it for low end users. Right now RSS depends on a provider of RSSTextures, where four different mods each provide what RSS seeks. Example: https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/RSSTextures16K.netkan
What would happen if I set the 8k and 16k netkans to rec RSS-CanaveralHD, but not the 2k or 4k ones? If a user installs, say, RP-1 (which then deps RO, which deps RSS, which deps RSSTextures) will RSS-CanaveralHD be added to the recs list (and auto-checked) if the 8k or 16k RSS Textures are selected, and not if the others are, or is that too late in the process for recs to take effect?

Recommendations of dependencies (or other recommendations) are ignored, only recommendations of user-selected mods are offered to the user. This is regardless of whether it's through virtual modules or real ones.
So unless the user explicitly selects one of the two RSSTextures  on the mod list before clicking apply, they wouldn't see the recommendation.

My mantra is, "The metadata should be accurate." If you think that someone installing RSSTextures8192 or RSSTextures16K would likely want RSS-CanaveralHD, then I'd say to just add the recommendation. If there are cases where it isn't pulled in by the current CKAN client, we can treat that as a bug or enhancement and maybe work on improving it later.

Oooh, thanks! I thought that was true of suggests, not recs. I'll police our rec structure to be sure we're doing that right.
I guess that brings up a second question. Since I can't have this selected based on which texture set, could I do something like:
RP-1 depends on Anyof (four metapackages, each a combo of RSS + an RSS textures + either RSSCanaveral or not). That anyof should trigger upstream of when RSS's depends (for RSS-Textures) is checked?
Basically I want the user flow to be, select RP-1, then select a level of graphical fidelity (using depends/provides, or depends/anyof? Either better?), which then selects an appropriate set of mods. The complication being that I want the selection of texture to be upstream of RSS's own requirement of a texture set.
Does that make sense?

If a user selects to install just RSS itself instead of RP-1, would you want the same flow to play out? I would think so, which would suggest these releationships should branch off of RealSolarSystem somehow.

Given what you've said however, I'm not sure that's possible to do, since unless I am misunderstanding you, you 100% cannot have conditional recs, and RSS obviously does not depend on RSSCanaveral-HD at any time, even if I want to rec it if and only if you install a hirez RSS texture pack.

Sorry—would you want that, or wouldn't you?

Ah, apologies, that was a heck of a run-on sentence.
I would like it to be the case that when a user selects RSS, and they are then presented with the option of one out of four texture packs to install (because RSS deps the RSSTextures metapackage, and each texture package provides it and conflicts it), that if the user selects either the 8k or 16k package (the two highest-resolution packages), the user is then recommended to install RSSCanaveral-HD.
However, if I correctly interpreted what you said about recs, that is impossible.

Thanks for the explanation. There's some subtlety involved here that make it difficult to get a good intuitive grasp; first, the prompt to choose a texture module would be handled by throwing a TooManyModsProvide exception, which effectively cancels out of the installation and restarts it with an altered change set that includes the user's choice of textures. So that might make us think that having a new change set might allow for a new opportunity to review the recommendations of that change set. However, that's not the case; the GUI prompts the user to pick recommendations when the install first starts, based on the initial change set only, and downstream changes do not cause the recommendations screen to appear again.
It might be good to re-purpose this issue to track the overall idea of improving the user experience of installing RSS. We could analyze what the user sees and what decisions they need to make to look for opportunities to improve CKAN, both for RSS but also for other mods with complex relationships. For example, I think you asked in Discord about whether there was any way to add some help text when the user is choosing a provides mod; while this is not supported currently, there may be some low hanging fruit along the lines of allowing something like a comment property within a relationship object that could be shown on screen when resolving that relationship:
depends:
  - name: RSSTextures
    comment: Choose 8k or 16k to get Canaveral-HD as well

That makes sense, and yes just having a comment would be awesome!
I think it's probably cleaner if I make a new issue and link to this one however.


create some generic error rendering methods in router

have a method named renderErrorCode(int $code) that will take a code like 400 and locate the corresponding template. This should also set the correct response code in the header.
We may want to support providing a hook for override this more easily later on

#35 would be a better solution.


Post Comments

Add in ability for users to comment: look to 3rd party solutions

https://commentbox.io/
disqus


Adapt project for use with Mastodon?

Thank you for this fantastic project! I stumbled upon this while researching how to do the same thing myself, so… you saved me a ton of time. 😀
Would you consider adapting and/or expanding this project to also work with Mastodon (not just Twitter)?  Mastodon is interesting as it's attempting to be a much safer and more welcoming online social space. A number of queer and non-gender-conforming communities, in particular, have sprung up, in part because Mastodon tends to me a more welcoming space.  So I think it would be interesting and valuable to extend similar logic to Mastodon accounts or instances.  Mastodon has APIs built in, similar to Twitter's, so it's theoretically possible, but would require effort, naturally.  I can help put out the call for people with Python experience (i.e., not me) who would volunteer to take this on.
Selfishly, I am exploring ways to increase the gender diversity of my own instance, vis.social. If you're interested, we have a bit of discussion going on over there: https://vis.social/@scott/99920973290832650

Hi! I'm not personally interested in doing so. But I'd be excited if you recruit someone to fork the project for Mastodon. Or, if someone makes a pull request that makes this project work for both Twitter and Mastodon then I could offer support for both networks on proporti.onl.

OK, fantastic. I will ask around. Thank you!


Bitbucket auth to fetch files from private repos

#65 is not the best solution since it requires real user credentials, meaning each user has to set their id\pass.
The idea is to set id\pass in jhub cluster so everyone can access raw schemas from jupyterhub.

The real solution is to use bitbucket API so we can:

have a global read credentials set in bitbucket
easily pick it up in the environment


“get a reference” API does not accept SHAs as documented (/repos/{owner}/{repo}/git/ref/{ref})

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
The docs for this endpoint say /repos/{owner}/{repo}/git/ref/{ref}:

ref string Required
The commit reference. Can be a commit SHA, branch name (heads/BRANCH_NAME), or tag name (tags/TAG_NAME). For more information, see "Git References" in the Git documentation.

(emphasis mine)
Yet the ref API responds with 404 when used with a (valid) commit SHA:
$ gh api repos/scverse/anndata/git/ref/a4786471ee4d4e894fec150e426c3551db0f31e0
gh: Not Found (HTTP 404)
{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/git/refs#get-a-reference"
}

whereas the commits API works:
$ gh api repos/scverse/anndata/commits/a4786471ee4d4e894fec150e426c3551db0f31e0
{
  "sha": "a4786471ee4d4e894fec150e426c3551db0f31e0",
  "node_id": "C_kwDOBfZ26doAKGE0Nzg2NDcxZWU0ZDRlODk0ZmVjMTUwZTQyNmMzNTUxZGIwZjMxZTA",
  "commit": {...},
  ...
}

using the ref API with e.g. branch also works as documented:
$ gh api repos/scverse/anndata/git/ref/heads/main
{
  "ref": "refs/heads/main",
  "node_id": "MDM6UmVmMTAwMDM4Mzc3OnJlZnMvaGVhZHMvbWFpbg==",
  "url": "https://api.github.com/repos/scverse/anndata/git/refs/heads/main",
  "object": {
    "sha": "a4786471ee4d4e894fec150e426c3551db0f31e0",
    "type": "commit",
    "url": "https://api.github.com/repos/scverse/anndata/git/commits/a4786471ee4d4e894fec150e426c3551db0f31e0"
  }
}

What part(s) of the article would you like to see updated?
Either the documentation for the ref path parameter needs to be updated or the ref API needs to start working with commits as documented.
Additional information
No response

@flying-sheep Thanks for opening this issue! I'll get this triaged for review ✨

What will the fix be? Will the definition of the ref parameter change or the behavior of the API? Where can I track this?

The documentation now reads

ref string Required
The Git reference. For more information, see "Git References" in the Git documentation.

So I assume that means “commit sha” isn’t supposed to be a valid option?
Can you please clarify what the resolution here is?

The description for that endpoint says

The :ref in the URL must be formatted as heads/ for branches and tags/ for tags. If the :ref doesn't match an existing ref, a 404 is returned.

So I think that the SHA is not accepted. I'll open an internal issue to move that info into the ref parameter description to make it more discoverable.

I think the endpoint description you quote stayed the same, but the parameter description changed since I filed this:
 ref string Required

-The commit reference. Can be a commit SHA, branch name (heads/BRANCH_NAME), or tag name (tags/TAG_NAME).
+The Git reference.
 For more information, see "Git References" in the Git documentation.

I’m just confused why there’s nobody responding in this thread confirming that this change means that it was a mistake that one option for “ref” was a commit SHA.


iosTempValue can now be maximumDate

Done to fix: AB#32066

It does not look like it fixes the issue you linked

When there is not birthday on the profile, and the user open the date picker then just click on 'OK' it set the date to TODAY
Because of the iosTempValue in the lib that is set to new Date() because there is no value and minimumDate props passed from the compoment in the profile screen

Oh ok, good catch, I didn't think about it !
Good to merge then 😃


Floating messages

It'd be nice to have an extra option to float the error message instead of positioning in template.

What is the difference between floating a message and positioning a message in template?
It would be nice if you can give us some example on "floating a message".

Rather than a message embedded on the page (pushes content down and when it disappears all content is pushed up again), a positioned element that can be clicked away.
Does that make more sense?

That would be down to you @kgish, position fixed and a simple dismiss action.

@kgish were you able to resolve this issue through styling in your own app?  Have you tried the comment above https://github.com/poteto/ember-cli-flash/issues/184#issuecomment-249151620

No, can you please provide some example css that I could borrow?

Hi @kgish, I made a small example for you: http://jsbin.com/gibopiqowi/edit?html,css,output
Does this help?

Nice example, thanks!


fixed Allow importing of data from archives

hi @russss
I fixed and merged your changes for micahflee#23

Thank you @pixelead0!
@russss: can you merge this PR so we can work on your upstream PR?

Sure, I'm merging this without reviewing/testing though as I don't have time at the moment.

Thank you!


Added phonetic match filter

Add a filter that searches for keyword matches using phonetic matching algorithms

@RyanGoslingsBugle Thanks for the updates! Just a question – are you sure this should be applied to all task types?

No prolem. I don't see which tasks it wouldn't be applicable to - even in say, an RDF triple, you may wish to filter subject entities based on their soundalike quality, if you expect typos in your dataset for instance.

@tuetschek cheers!


⚠ Bofrost.be has degraded performance

In f744f20, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1480 ms

Resolved: Bofrost.be performance has improved in cbad230.


Release pipeline seems out of order... ?

https://github.com/etclabscore/pristine/blob/master/RELEASING.md#release-pipeline
The current process is:

Build
Sign
Changelog
Version bump
Commit
Push
Draft release for targets (eg Github Releases)

Problems:

(1) Sign should come after (4) Version bumping. For programs that are version-aware (eg. multigeth) doing otherwise will yield releases w/ "dirty" versions.
(4) Version bump should come after (5) Commit. Otherwise tagged releases will not include the changelog changes.

Proposed solve:

Changelog
Commit
Version bump
Build
Sign
Push
Draft

Rel #11

theres some good steps here we can look at too: https://github.com/semantic-release/semantic-release#release-steps


Polygon2D + Skeleton2D gives insufficient visibility area

I'm using Godot 3.2 on a Windows 10 system.
When working with bigger characters it can happen that some Polygon2D of them are no longer shown, even though they are still on the screen area. This happens when in the editor (see the video), but also happens when the game is running.
I think somehow the visibility rectangle (if this exists for Polygon2D) is not adjusted to keep the transformations done by Skeleton2D in mind. Since I cannot find a setting for this, I presume it's not intended to be set manually and so a bug.
The Polygons just turn off at very specific points, with no weird movement beforehand, so it's not linked to the 3.1 problem where polygons would sometimes be influenced by bones from another skeleton2D.
Link to example video.
My steps for this project:
Have big image (3000*3000), use it as texture and cut out limbs etc with Polygon2D. Link to a Skeleton2D and fill that with Bone2D. Now animate and zoom in on different parts.

Duplicate of #35726.


switch to lock all transactions is not working

switch to lock all transactions under transaction locking

issue fixed !


Fix to operate in consideration of grapheme cluster in Text

What this PR does / why we need it:
Fix to operate in consideration of grapheme cluster in Text.
Which issue(s) this PR fixes:

Fixes #110
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation:

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

I changed it back to Draft because of https://github.com/yorkie-team/yorkie-js-sdk/issues/167#issuecomment-805846059.

I had Agent calculate text in UTF-16 code units in the same way as in JavaScript.
https://github.com/yorkie-team/yorkie/pull/165


Update manage-orphan-flow-when-owner-leaves-org.md

Added Connect-AzureAD to the script and the description.
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

#sign-off


receive: make az aware ketama hashring

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Added an optional way to add AZ information to a endpoints in the hashring, and then use that to ensure even replication spread amongst AZs

Verification

Unit test

Great stuff 💪 cc @saswatamcode @philipgough

This looks overall, I am just not sure what happens to the consistent hashing property when we introduce AZ constraints. Do we have some tests to see what happens to series assignments when new nodes get added in one AZ?

Ill add one really quick


Type hinting and docstrings

It's time we added type hints to make this package a bit more developer-friendly, so here's my first contribution to type hinting and docstring inline documentation (which I developed out of frustration while reviewing the Malaysian submission over the weekend).
While adding type hints I have encountered a few things in the HolidayBase class I simply could not avoid having to refactor, and a few that needed cleaning up:

In __init__ method:

The attribute PROVINCES was unused and has been removed.
The call to the __init__ of the superclass was missing and has been added.
Code that turns years into a set has been cleaned up.
Switched to iterating years over set().copy() instead of list(set()). I contributed the original code change, which avoided corner cases of RuntimeError: Set changed size during iteration, so I take full responsibility for the original suboptimal solution.

The __add__ method had to be completely refactored:

The class HolidaySum cannot be buried inside a function, or typing and docstring won't work in IDEs, so I moved it to the top level.
The determination of the joint list of country and prov logically belongs to the class initializer, not the function that instantiates the class, so I moved it there. A joint list for state was never created so I also added it to the code.
Same for the code that combines the boolean expand and observed -- refactored.

Note that type hinting in __keytransform__ is correct once the six removal PR is applied (it's generating an error in my IDE).
Fixed the get_named function, which although apparently unused internally, it should probably work as advertised (thank you type hinting for pointing out the problem)!

I have also added doctest testing to holidays_base.py to ensure that the code used as docstring examples is guaranteed to run and produce the same results.
Finally, in utils.py.get_gre_date() I removed the bit in the docstring talking about what used to happen (when I originally wrote this function) if hijri-converter library is not installed -- it is now a project requirement, so it's irrelevant. Also updated the format of the docstring.
TODO: Inline (docstring) documentation can be improved much more, but I feel that this is a decent start.
SUGGESTION: Move the user documentation to the Sphinx tool and host it (for free) on readthedocs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

58 of 58 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 98.669%

Totals

Change from base Build<PHONE_NUMBER>:
-0.001%

Covered Lines:
5108

Relevant Lines:
5111

💛  - Coveralls

Ciao Maurizio,
Any progress on merging this?  I was going to fix the Malaysian holidays #481 as promised this weekend but found that this is still pending, Since it's an enhancement that reduces development errors, I don't want to proceed until it's (preferably) merged or (hopefully not) rejected. Grazie.

Hi Mike @mborsetti !
Sorry for being late.. I did some merging days ago, but this your PR was too complex to run it "blindly" (or almost so!).
Hereiam anyway.. thank you very much for your work, again a great improvement!
Ciao, see you 👍

Thanks/Grazie.  Hopefully will get Malaysia done next weekend.


Add capability checks for operations

In https://github.com/apache/incubator-opendal/issues/2060, we added a new concept of Capability in operator. So far, we only do checks during integration tests.
In fact, we can do this check in CompleteLayer.
Before we start any operation, we should check the Capability first. If not supported, we should return an unsupported error directly.
Tasks

[ ] Add capability checks for operations
[ ] Add strict mode in Operator
[ ] Add capability checks for OpXxx

If strict enabled, return unsupported error if the arg is not supported

Hi @Xuanwo, I'd like to explore and implement this feature, can I take it?

Hi @Xuanwo, I'd like to explore and implement this feature, can I take it?

Thanks a lot! Let me add more context for this issue.

Sounds great. I will file a draft PR first, and continue to work on it once the design is confirmed by reviewers.

The whole story is not yet finished, we still need this issue to track strict mode. @Xuanwo  could you reopen it?

Hi, @unixzii, Test for gcs failed https://github.com/apache/incubator-opendal/actions/runs/5280208287/jobs/9551992175
Would like to take a look? Thanks in advance.

Hi, @unixzii, Test for gcs failed https://github.com/apache/incubator-opendal/actions/runs/5280208287/jobs/9551992175
Would like to take a look? Thanks in advance.

Already fixed in https://github.com/apache/incubator-opendal/pull/2467

Not needed as till not, let's close.


✨ #389 - Show weeknumbers

Added an option to display the week numbers. Defaults to false.
Added an option to format the content of the new label

The week number will display at the start of the week with a W: in front.

Let me know if i need to change anything.

Thanks for your contibution. I will review it after the next version of the library is released.


cognito-identity: create identity pool does not validate identity pool name

CognitoIdentity doesnt raise a ValidationError when creating an IdentityPool with an invalid IdentityPoolName -
@moto.mock_cognitoidentity
def create_identity_pool():
    cognito_identity.create_identity_pool(
        IdentityPoolName="test-with-identity-pool",
        AllowUnauthenticatedIdentities=False,
        CognitoIdentityProviders=[
            {
                "ProviderName": "x",
                "ClientId": "x",
                "ServerSideTokenCheck": True,
            }
        ],
    )
create_identity_pool()

"test-with-identity-pool" is not valid as an IdentityPoolName,
In AWS this will result in a ValidationError eg;
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the CreateIdentityPool operation: 1 validation error detected: Value 'test-with-identity-pool' at 'identityPoolName' failed to satisfy constraint: Member must satisfy regular expression pattern: [\w ]+

Thanks; setting as a feature request.


[RFC] remove order pairs

Replace linear_strong_order_pair and others by the more standard notions pre_order, partial_order and linear_order.  From what I gather the whole distinction between weak_order and strict_order was intended to be useful in constructive logic, but we've pretty much settled on classical logic in Prop now.
I prefer this change for three reasons:

The current names and structures are fairly non-standard.  I never knew which classes represent linear orders, partial orders, or something else.  It was also not clear which type classes should be provided by (linear) orders, and which should be required for definitions that use them.
There is a duplicate hierarchy between weak and strict orders, with no clear guidelines on when to use which.  (Both the weak and strict hierarchies are in use, with no clear way to convert between them.)
Defining new linear orders required a lot of definitions and lemmas.  Ideally I'd just give a relation plus proofs for reflexivity, transitivity, antisymmetry, and totality.

  It has a default value that is suitable for preorders in general.
There were some questions about how this change interacts with a potential implementation of constructive reals: as far as I can see, this change should pose no problem for constructive reals as long as you're willing to use classical logic to prove properties about them, or don't need order theorems that mix < and ≤.  You can still define your own transitivity lemmas for the constructive < and ≤, though.  Other options would be 1) to add a separate hierarchy (weak_pre_order, weak_partial_order, weak_linear_order) that is only used by the constructive reals, or 2) try adding enough negations so that you can constructively prove the relation between < and ≤.
Here is the definition of the type classes if you don't want to look through the diff:
class pre_order (α : Type u) extends has_le α, has_lt α :=
(le_refl : ∀ a : α, a ≤ a)
(le_trans : ∀ a b c : α, a ≤ b → b ≤ c → a ≤ c)
(lt := λ a b, a ≤ b ∧ ¬ b ≤ a)
(lt_iff_le_not_le : ∀ a b : α, a < b ↔ (a ≤ b ∧ ¬ b ≤ a) . order_laws_tac)

class partial_order (α : Type u) extends pre_order α :=
(le_antisymm : ∀ a b : α, a ≤ b → b ≤ a → a = b)

class linear_order (α : Type u) extends partial_order α :=
(le_total : ∀ a b : α, a ≤ b ∨ b ≤ a)

The le and lt fields are different so that we can have e.g. n < m = n+1 ≤ m as a definitional equality.

I support this change.


Stale props issue

Hei brother,
Thanks for this awesome lib !
When you have the time, could you please look over this piece of code and confirm that this is the correct way of reproducing the stale props late revalidation issue ?
https://codesandbox.io/s/usecontextselector-late-state-update-lopcv
I've been having some troubles with late updates in my app and only found out about this after carefully debugging parts of my app that contained memoized data parts provided by use-context-selector.
In case that's true, for use cases where instant re-validation is needed, would you recommend simply using react's context instead and NOT use-context-selector ?
Thanks !

If I understand your example correctly, it is not the stale prop issue that's defined/originated from react-redux.
What you observe is tearing with react state value and use-context-selector value. It used to work in the previous versions, but from v1.3, it's the known limitation.
I would suggest to use https://github.com/dai-shi/use-context-selector#usecontext, and not use React.useContext at all.

Thanks for clarifying and for the recommendation !


Added fake-useragent package for RandomUserAgent.

Fix for issue https://github.com/twintproject/twint/issues/426#issue-444612249.
Added python package fake-useragent to randomize the user agent.

1min too late. Duplicate of #427


[BUG]: using an embedding model serving with VLLM generate issue during usage

How are you running AnythingLLM?
Docker (remote machine)
What happened?
I use VLLM to serve the embedding model SFR-Embedding-Mistral
I define this embedding in the Embedding Preference using the Local AI provider (and get automatically the running Model Name).
I create New workspace and embed a basic txt file.
When Asking a question I see in the instance of VLLM logs that the embedding model response correctly but in AnythingLLM I get the following issue :

LanceDBError: LanceError(IO): Execution error: LanceError(IO): Execution error: LanceError(IO): Execution error: Failed to compute scores: LanceError(Arrow): Invalid argument error: all columns in a record batch must have the same length

This is the kind of response that I get from the embedding model :
{
    "id": "cmpl-2b68cee...",
    "object": "list",
    "created": 407104,
    "model": "/SFR-Embedding-Mistral/",
    "data": [
        {
            "index": 0,
            "object": "embedding",
            "embedding": [
                0.0162200927734375,
                0.00872802734375,
                0.00435638427734375,
                0.0008563995361328125,
                -0.0070343017578125,
                -0.019927978515625,
                0.0008945465087890625,
               ....
             ]
         }
    ],
    "usage": {
        "prompt_tokens": 18,
        "total_tokens": 18,
        "completion_tokens": 0
    }
}

At the beginning I thought that it was because of the embedding values that did not have the same number of decimal But I try with other embedding model same result.
I check special parameter for VLLM to harmonize the values but didn't find anything.
Could you please tell me if this is a normal behavior or is there something wrong with anythingLLM ?
Thanks for your support!
Are there known steps to reproduce?
No response

Looks like VLLM is working as intended but the Workspaces vectordb's very first record was not the dimension of the output of whatever the current embedder is. Did you even use any other embedder - even the native?
To solve this quickly, you can go to workspace settings -> Vector Database -> Reset Vector Database

all columns in a record batch must have the same length

It indicates that whatever you are attempting to insert is not the schema lancedb expects and its schema is set on the very first upserted vector (first document embedded to workspace).

Yeah you are right I was using the native AnythingLLM embedder before trying with this one And now it's clear :)
Thanks for your quick response !
I didn't find this Reset Vector Database option but manually delete all elements from vector-cache (inside the mounted volume).
Now it's working 👍
Thanks again


"not" operator in queries

There is no not in the query language yet. That's silly. Let's add it.

a unary operator would also be appreciated (or not null/etc)

Implemented, either with not or !


add USGS watermark SVG to the package

for matthew.
Like the favico, it might be nice to have this in the package (inst/extdata/ or sysdata.rda?) so it is easy to pull in

it's right here for the copying - let's get it into vizlab: https://github.com/USGS-VIZLAB/hurricane-maria/blob/master/scripts/fetch/fetch.watermark.R

It would be nice to be able to add an argument to the fetch that would make it simple to "justify" the watermark - such as baseline alignment/center/top, left, right middle. Otherwise, fiddling is needed.

suggesting jordan as reviewer

So should this live in inst/images/ and then create function to fetch from folder and align?

Ooh, I think I like that! What I don't know yet personally is how and where the aligning should happen. In Maria, it appears that the alignment happened in visualize.hurricane_map, but @jread-usgs suggested above that we could move this to be an argument to the fetch() function...
@jread-usgs, I'd like some more input from you here on why doing the alignment during the fetch would be preferable to doing it during the visualization step. Isn't alignment more of a visualization thing (or even a javascript thing) rather than a fetch thing? Maybe we just need a simpler way of adjusting the alignment in the visualize phase?

Good point @aappling-usgs
if we use something like D3 to place the watermark (instead of R) it can be smart and do things like get the height or width of the bounding box for the watermark and use that info to place it correctly w/ justification.
So yes, I don't think justification is needed in the fetch assuming we use better methods to place the watermark.

Deal - sounds like a good D3 task

yes it does :+1:


Fix error caused by uninitialized attn_weights (#1391)

fix following error from CI run
tests.transformers.tests.models.mixtral.test_modeling_mixtral.MixtralModelTest
UnboundLocalError: local variable 'attn_weights' referenced before assignment

Okay so let's merge this one to main once the CI is completed

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


feat: add Conformity GCP deployment on terraform

Cloud One Service
[X] Conformity
Proposed Changes

Add Terraform GCP deployment

Found a "Typo" in the premission.tf where "cloudSql.instances.list" is used, but should be "cloudsql.instances.list".
However, run into the next error:
local_file.myaccountjson: Creation complete after 0s [id=ecc33859e2da30e46c9e5177a19a9d11a33b8eaa]
│ Error: Request Create IAM Members CloudOneConformityAccess<EMAIL_ADDRESS>for project "black-beach-369009" returned error: Error applying IAM policy for project "black-beach-369009": Error setting IAM policy for project "black-beach-369009": googleapi: Error 400: The role name must be in the form "roles/{role}", "organizations/{organization_id}/roles/{role}", or "projects/{project_id}/roles/{role}"., badRequest
│
│   with google_project_iam_member.cloud-one-conformity-service-account-attachment,
│   on role.tf line 21, in resource "google_project_iam_member" "cloud-one-conformity-service-account-attachment":
│   21: resource "google_project_iam_member" "cloud-one-conformity-service-account-attachment" {

@Robi1021 I made some changes and tested and it works, please let me know if you encounter any other errors, but it should be fix by now...


Manifest.yaml per package

This repo holds multiple packages.
There should be one manifest.yaml per package.  You can put the manifest.yaml alongside the actions in their individual package folders.
Because there are so many actions, i like the thought of putting them in their own folder.  We do this for our other templates & packages, and would prefer this repo to match.
Something like this:
package-name1\
  README.md
  manifest.yaml
  actions
      action1.js
      action1.json
package-name2\
  README.md
  manifest.yaml
  actions
    action2.js
    action2.json

Currently there is one giant manifest.yml for all the packages.
https://github.com/watson-developer-cloud/openwhisk-sdk/blob/next-templates/runtimes/nodejs/manifest.yml

This can be closed with latest merge to master.


iidx 30 invalid default logger configuration

I have followed all the instructions and when i try to launch iidx 30 with the "gamestart-30.bat" and that is the error i get.

Hopefully this isn't me just being stupid. here is my "iidxhook-30.conf" file as well

If there is anything else i need to add i can, i am running windows 11

Also i might have added the thing for the "avs-config.xml" in the wrong place, i replaced the fs block so hopefully thats right. If it is wrong please let me know thank you

The logger statement is from AVS, so you might have something misconfigured in the avs-config.xml (or it cannot be found?).
Did you place the avs-config.xml under the prop/ subfolder?
Would you mind sharing your configuration so I can check it?

I checked and its in the prop subfolder. Here is the file


Hello, may I know how to quickly change and configure the interface address

I tried this：

But the request was still made at the original address

Hi, what is your expected outcome.

Hi, what is your expected outcome.

Thank you for your reply
I want to be able to log in
I deployed tang-boot on the server, but now there is an error logging in. Is there a problem with my interface address configuration

Hi, what is your expected outcome.

Thank you for your reply I want to be able to log in I deployed tang-boot on the server, but now there is an error logging in. Is there a problem with my interface address configuration

Hi, your configuration is correct, the issue is because ip2region.xdb was not found, I have fixed this issue, you can pull the latest code to fix it.

Thank you very much, my backend is not the latest
If you have any future needs, I am willing to co build the front-end part with you

I appreciative that, my front-end is not good. I have problems a lot. Should I create a group or something?

I appreciative that, my front-end is not good. I have problems a lot. Should I create a group or something?

Of course, I am also constantly learning
This is my WeChat account: at-WZM521

I sent a friend request


feat(pointcloud_preprocessor): calculate visibility score in ring outlier filter

Description
calculate visibility score based on oulier pointcloud.
This feature is disabled by default with publish_outlier_pointcloud

Tests performed

launch logging_simulator with following commnad

ros2 launch autoware_launch logging_simulator.launch.xml map_path:=/path_to_your_map vehicle_model:=lexus sensor_model:=aip_xx1 sensing:=true

Enabling this feature (for left lidar for example) with following command

ros2 param set /sensing/lidar/top/ring_outlier_filter publish_excluded_points true

play rosbag

ros2 bag play --clock -r 0.5 /path_to_your_rosbag

output visibility score in the terminal

ros2 topic echo /sensing/lidar/top/ring_outlier_filter/debug/visibility

get the following result
---
stamp:
  sec:<PHONE_NUMBER>
  nanosec: 200355584
data: 0.6482204794883728
---
stamp:
  sec:<PHONE_NUMBER>
  nanosec: 300320000
data: 0.6338975429534912
---

Effects on system behavior
not applicable

Interface changes
not applicable

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Can you add an algorithm summary to the readme?

@yukkysaito
Updated document in https://github.com/autowarefoundation/autoware.universe/pull/7011/commits/c61dab92e5f602cc1afe6823fb6f55a786a98e5e

@vividf
I will be reviewing:
https://github.com/autowarefoundation/autoware.universe/pull/7011
https://github.com/autowarefoundation/autoware.universe/pull/6746
So please review this one in the meantime


How to test web resources in UCI for v9.1 branch

Hello Team,
I need to test few scenarios in web resources which are developed as per UCI UI standards, please help us with some insights on how to test web resources.
Thanks,
Sachin Annam

The web resource will be in an iframe so you will need to switch to the frame. It would look something like this "driver.SwitchTo().Frame(0);" but you will need to do a little bit of work to figure out what frame it is.   Then you can use the base driver to work with the document.

Good afternoon,
I seem to be running into the same problem with v9.1. If I look in the examples and search on Google the following code should work:
**_var driver = xrmBrowser.Driver;
            xrmBrowser.LoginPage.Login(_xrmUri, _username, _password);

            xrmBrowser.GuidedHelp.CloseGuidedHelp();

            xrmBrowser.ThinkTime(100);
            xrmBrowser.Navigation.OpenSubArea("Werkplek", "Zaken");

            xrmBrowser.ThinkTime(100);
            xrmBrowser.CommandBar.ClickCommand("Klantcontact");
            xrmBrowser.ThinkTime(100);

            //driver.SwitchTo().Frame("contentIFrame0");
            //driver.SwitchTo().Frame("WebResource_RelatieType");

            xrmBrowser.Driver.SwitchTo().Frame("WebResource_RelatieType");_**

Where the IFrame has the following information (searched with F12 on Chrome):

The frame is not recognized when the test is run though. Any suggestions?
Best regards,
Huub

We have used web resources to meet specific business requirements and the web resources are used as custom forms in different tabs. And they are built using react js components.
These forms are incorporated in tabs.
So do we have any feasibility to achieve automation testing for the web resources?


Revert "fix(node/p2p)!: remove resource manager and it's API (#1500)"

Closes #1566

Codecov Report

Merging #1570 (b91654b) into main (0863eb1) will increase coverage by 0.04%.
The diff coverage is 34.48%.

@@            Coverage Diff             @@
##             main    #1570      +/-   ##
==========================================
+ Coverage   55.11%   55.15%   +0.04%
==========================================
  Files         213      213
  Lines       13048    13069      +21
==========================================
+ Hits         7191     7208      +17
- Misses       5121     5126       +5
+ Partials      736      735       -1

Impacted Files
Coverage Δ

header/p2p/server.go
68.03% <0.00%> (+1.63%)
:arrow_up:

nodebuilder/p2p/mocks/api.go
9.20% <0.00%> (-0.54%)
:arrow_down:

nodebuilder/p2p/module.go
85.29% <40.00%> (-8.65%)
:arrow_down:

nodebuilder/p2p/p2p.go
53.84% <40.00%> (-1.71%)
:arrow_down:

header/p2p/exchange.go
67.29% <100.00%> (ø)

nodebuilder/p2p/host.go
90.90% <100.00%> (+0.28%)
:arrow_up:

share/ipld/get.go
93.38% <0.00%> (ø)

header/p2p/session.go
80.40% <0.00%> (+2.70%)
:arrow_up:

... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Instead of making limits for all nodes besides bootstrappers, I went with limiting LNs only for now.


passing variables (including an element of a vector) as second arg to getParam gives unhelpful error message

Here's a user's code where they were trying to parameterize usage of getParam. They're trying to use positional value as the second arg, but even if trying to use a vector of strings, the issue still occurs. It's occurring because we are creating new setup code and eval'ing it in the context of the an environment in which i is not defined/meaningful.
We should give a better error message. But we might also want to think more about what the user is trying to do.
N <- 1000 # number of observations
num.X = 10 # number of predictors
beta0 <- 1  # intercept
sigma <- rexp(1) # prior variance
beta1 <- rnorm(num.X, 0, sigma) # slopes
X <- matrix(rnorm(n=N*num.X),ncol = num.X)  # standard normal predictors
eta <- beta0 + X%*%beta1 # linear  predictor
lambda <- exp(eta)  # link function
set.seed(1);y <- rpois(n=N, lambda=lambda) # generate data

#################################
########### BUGS code ###########
#################################

pois.glm <- nimbleCode({
  ## Likelihood
    for(i in 1:N){
      y[i] ~ dpois(lambda[i])
      log(lambda[i]) <- eta[i]
      eta[i] <- inprod(beta[1:k],X[i,])
    }
    for(l in 1:k){
      beta[l] ~ dnorm(0,1)
    }
})

#################################
############ sampler ############
#################################

test_sampler <- nimbleFunction(
  contains = sampler_BASE,
  name = 'test_sampler',
  setup = function(model, mvSaved, target, control) {
    targetAsScalar <- model$expandNodeNames(target, returnScalarComponents = T)
    priorParID <- integer(length(targetAsScalar))
    for(i in 1:length(targetAsScalar)){
      priorParID[i] <- which(names(getDistributionInfo(model$getDistribution(targetAsScalar[i]))$paramIDs)%in%c("var","cov"))
    }
    priorCov <- double(length(targetAsScalar))
  },
  run = function(){
      for(i in 1:length(targetAsScalar)){
          priorCov[i] <- model$getParam(targetAsScalar[i], priorParID[i])
          print(priorCov[i])
      }

    copy(from = model, to = mvSaved, row = 1,
         nodes = target, logProb = TRUE)
  },
method = list(reset = function () {}))

#################################
############# fit it ############
#################################

dat <- list(X=cbind(1,X),
            y=y)
const <- list(
  N=N,
  k = num.X+1)
# construct model object
model <- nimbleModel(pois.glm, const, dat, buildDerivs = T)
mod <- nimble::compileNimble(model)
# briefly test sampler
#test_sampler(model,model,"beta")$priorParID # works
test_sampler(model,model,"beta")$run() # works

# assign sampler
nimbleMCMCconf <- configureMCMC(mod, monitors = "beta", print = FALSE)
nimbleMCMCconf$removeSamplers()
nimbleMCMCconf$addSampler("beta",type="test_sampler", print = T)
nimbleMCMCb <- buildMCMC(nimbleMCMCconf)
nimbleMCMCc <- compileNimble(nimbleMCMCb, project = mod) # eek: getParam throws error

Error in eval(newSetupCodeOneExpr, envir = instance) :
  object 'i' not found

This is occurring in nfProcessing$evalNewSetupLinesOneInstance.
Perhaps more concerningly, we also have a scoping problem here. If one sets i in the global env, then the eval will use it.
I'm adding a check in the getParam keyword processor to make sure that all vars in the param expression are found in the nfProc symbol table.
One note is the uncompiled execution will still look for i (in the example) in run and then outside of the nimbleFunction if not otherwise found.

Confusingly I named the branch fix_1144.

Trapped in PR #1370


EKS anywhere vSphere cluster with worker VMs stuck in provisioned state when ubuntu 22.04 UEFI is enabled

What happened:
Ubuntu worker VMs stuck in provisioned state when UEFI is enabled
DNS name shows "localhost"
most VMs are in bootstrap cluster (with only 2 control-plane VMs visible in the target cluster)
What you expected to happen:
DNS name shows the VM name
All VMs are in target cluster, and bootstrap cluster is deleted
How to reproduce it (as minimally and precisely as possible):
When creating EKS anywhere vSphere cluster, use Ubuntu UEFI enabled template to create worker VMs in the EKS anywhere cluster, then the cluster creation will timeout with following error:
"Error: retries exhausted waiting for machines to be ready: nodes are not ready yet"
Anything else we need to know?:
Environment: vSphere (vcenter v7.0.3)

EKS Anywhere Release: 0.18.0
EKS Distro Release:

The worker VM node has following condition:
                "conditions": [
                    {
                        "lastTransitionTime": "2023-12-13T06:44:18Z",
                        "message": "Node failed to report startup in 10m0s",
                        "reason": "NodeStartupTimeout",
                        "severity": "Warning",
                        "status": "False",
                        "type": "Ready"
                    },
                    {
                        "lastTransitionTime": "2023-12-13T06:30:04Z",
                        "status": "True",
                        "type": "BootstrapReady"
                    },
                    {
                        "lastTransitionTime": "2023-12-13T06:44:18Z",
                        "message": "Node failed to report startup in 10m0s",
                        "reason": "NodeStartupTimeout",
                        "severity": "Warning",
                        "status": "False",
                        "type": "HealthCheckSucceeded"
                    },
                    {
                        "lastTransitionTime": "2023-12-13T06:31:03Z",
                        "status": "True",
                        "type": "InfrastructureReady"
                    },
                    {
                        "lastTransitionTime": "2023-12-13T06:31:03Z",
                        "reason": "NodeProvisioning",
                        "severity": "Warning",
                        "status": "False",
                        "type": "NodeHealthy"
                    }
                ],

The NODENAME is missing in following command:
$ kubectl get machines --kubeconfig mgmt20/generated/mgmt20.kind.kubeconfig -n eksa-system
NAME                      CLUSTER   NODENAME       PROVIDERID                                       PHASE         AGE   VERSION
mgmt20-4ftj6              mgmt20    mgmt20-4ftj6   vsphere://423be917-e122-9546-38ab-ba09fc23fc37   Running       25m   v1.28.2-eks-1-28-6
mgmt20-etcd-2pf4w         mgmt20                   vsphere://423b8c01-b85a-19e5-627a-8a7068bea15b   Running       27m
mgmt20-etcd-772d7         mgmt20                   vsphere://423b088f-3fa6-c702-bddf-1d70772eeaaf   Running       28m
mgmt20-etcd-8mx5f         mgmt20                   vsphere://423bbebc-5a89-890c-dee7-427511c600ef   Running       27m
mgmt20-gjzh9              mgmt20    mgmt20-gjzh9   vsphere://423b171a-a3d2-7faa-a8f5-e6e20dec6c6e   Running       24m   v1.28.2-eks-1-28-6
mgmt20-md-0-zzjt8-n2289   mgmt20                   vsphere://423ba80e-fb13-1566-3343-946fbd35e16e   Provisioned   28m   v1.28.2-eks-1-28-6

It's something specific to ubuntu 22.04
I don't have such issue with ubuntu 20.04

@ygao-armada It seems like you're hitting the NodeStartupTimeout threshold configured in the MachineHealthCheck. Could you try running the create cluster command with the --no-timeouts flag to rule out any issues like network latency or something external?


Requirements.txt python file created

#5
Python file with all requirements for "gui_requirements.txt" and "ml_requirements.txt" is created

!bounty 35


fix: backend returns 204 against Camel Route JSON with script step

Fixes: #529
This makes

We'd want a script step extension with the syntax selector.

On hold, can't add script from source code editor, seems not enough

Why is that issue being close? Isn't it important any more?


Step in Phase with precisely calibrated unit(s)

Unexplained step in the phase monitoring with precisely calibrated, maybe this was always there but only visible now we have very low drift...
3 units monitored at same time, fed by single UltraSync One. 30fps.

Similar location, but NOT exactly. X-axis is the RX timecode (ie unit's sync'ed)

Here's the time stamps for the first drop into the '-0.01' region.
$ cut -d " " -f 3,4 ttyACM1/2024-10-26_10\:06\:08 | grep -m 1 "\-0.01" -
13:49:20:00 -0.01166333
$ cut -d " " -f 3,4 ttyACM2/2024-10-26_10\:06\:08 | grep -m 1 "\-0.01" -
13:51:01:02 -0.01238333
$ cut -d " " -f 3,4 ttyACM3/2024-10-26_10\:06\:08 | grep -m 1 "\-0.01" -
13:42:28:03 -0.01244333

Maybe something related to how the system reads the incoming LTC, it's a digital process... Though should stress this is a
very small step.

Well this plot of a (calibrated, but stock XTAL) unit seems to show that it's repeatable, and something to do with the zero crossing point.... again it's a tiny step, so perhaps it's not important.


Cannot save ComfyUI integration, model list doesn't get populated

Bug Report
Installation Method

latest docker images of ollama/ollama:rocm and ghcr.io/open-webui/open-webui:main
I have ComfyUI installed so it listens on localhost
I have in open-webui added a host entry host.docker.internal -> host-gateway so I can access ComfyUI
I have checked the box "Enable Dev mode Options" in ComfyUI

Environment
open-webui: v0.3.12

Operating System: arch linux
Browser (if applicable): firefox

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[x] I have included the browser console logs.
[x] I have included the Docker container logs.
[x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
I don't seem to be able to connect to ComfyUI
Actual Behavior:
I get no models populated so I cannot save my settings.
Description
Bug Summary:
Cannot save ComfyUI integration
Reproduction Details
Steps to Reproduce:

I go to http://localhost:3122/admin/settings
click images
I select ComfyUI under Image Generation Engine
I enter http://docker.host.internal under ComfyUI Base URL
I click off to enable the connection
I get this error message:

Logs and Screenshots
Browser Console Logs:
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
XHRGET
http://localhost:3122/images/api/v1/models
[HTTP/1.1 400 Bad Request 4ms]

Object { detail: "Something went wrong :/\nInvalid URL '/object_info': No scheme supplied. Perhaps you meant [https:///object_info](https://object_info/)?" }
[index.ts:358:11](http://localhost:3122/src/lib/apis/images/index.ts)
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
Message received from iframe:
Object { source:

Docker Container Logs:
nothing is printed here
Screenshots/Screen Recordings (if applicable):

A default model must be set from the Select a model dropdown for the Set Default Model option.  This option points to your ComfyUI installation's /models/checkpoints directory.

It's step 6 I cannot do. I get the error above and cannot continue. What is the full API call it uses to access the list of models in comfyUI?


ActiveRecord: Autoincrement field not populated after save if field is not primary key

What steps will reproduce the problem?
Create a new table (i'm using mysql 5.5.41)
CREATE TABLE `test` (
	`id` INT(11) NOT NULL,
	`autoinc` INT(11) NOT NULL AUTO_INCREMENT,
	`test` VARCHAR(50) NOT NULL DEFAULT '0',
	PRIMARY KEY (`id`),
	INDEX `autoinc` (`autoinc`)
)
COLLATE='utf8_general_ci'
ENGINE=InnoDB;

in a controller action put this code:
$model = new \app\models\Test();
$model->id = 2;
$model->test = 'prova';
$model->save();
return print_r($model->getAttributes());

execute this action
What is the expected result?
I expected the autoinc field was populated with last insert id automatically
What do you get instead?
empty $model->autoinc after save
Additional info

Q
A

Yii version
2.0.9

PHP version
5.4.38

Operating system
CentOS release 6.5

The field is populated on the database side so you have to re-read the record with calling ->refresh() in this case. It's not done by default since most of the time you already have all the data you've just saved. Won't be changed.


Detect unused function calls

This changes adds the ability to report UnusedFunctionCall issues when code does not use the return value of functions annotated with the <<Hakana\MustUse>> attribute.
Future changes could extend this to method calls, or infer must_use based on more sophisticated criteria (contexts and capabilities, looking for side effects in the body of the function, etc.)
The motivation for this change was a bug that looks like this:
if ($condition) create_error('not_allowed');

where a return statement is missing. As written the code has no effect.

Thanks!


503 Server Error: Service Temporarily Unavailable token retrieval

This issue mostly a question. I am getting 503 Server Error: Service Temporarily Unavailable in a random manner (by the way, It was working without failure like 2-3 weeks ago). I tried to increase the delay of scraper however, it did not decrease the rate of failure. What are the reasons for this behavior?
Links observed failures (I have many many more.These have been given for observation):
http://www.hltv.org/download/demo/46596
http://www.hltv.org/download/demo/46568
http://www.hltv.org/download/demo/46595

Waiting for a fix for rep. owner.

up.

up.

Can you stop bumping this @quancore ?

Thank you for your answer. I have checked my code and decided that it is entirely related to the scraper. The thing is that it happens randomly and I cannot figure out why is happening. There would be wonderful to state a reason why this is happening?

You seem to misunderstand how this community works. Just because you think you found an issue does not mean everybody will stop what they are doing and work for your apparent issue.
If you can't find out whats wrong yourself and you don't get the answers you are looking for here, then hire someone who can.
Just because you can file an issue does not mean you have the right to get answer, real problem or not.
For people that would like to follow the project but are annoyed by this issue, you can ignore just this thread by unsubscribing from the specific issue.

First of all, it is obvious that I am not expecting that kind of reaction (everybody will stop what they are doing and work for your apparent issue) because I opened the issue 22 days ago and no solution or working advice happened and I am keep waiting as it should be.
I am sharing the important issue for me and I have no idea about whether it is a real problem or real issue that's why I always bump up the issue to get a valid answer.
And I am agreeing with your advice that if you do not have an idea for the solution, not faced with this issue or annoyed with messages, just unsubscribe it.

Can you please try upgrading cloudflare-scrape with pip install -U cfscrape and see if you continue to experience this issue?


Add some logs to diagnose issues

Codecov Report

Merging #47 (0530b20) into main (f5630a0) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main      #47      +/-   ##
============================================
+ Coverage     87.62%   87.73%   +0.11%
  Complexity      117      117
============================================
  Files            18       18
  Lines           323      326       +3
  Branches         41       41
============================================
+ Hits            283      286       +3
  Misses           25       25
  Partials         15       15

Impacted Files
Coverage Δ

...com/datadog/gradle/plugin/DdAndroidGradlePlugin.kt
77.27% <100.00%> (+0.80%)
:arrow_up:


Question : why csproj or fsproj as project extensions over sqlproj

Sqlproj gets the job done as well so why csproj  or fsproj ?

That's covered in our readme:

It provides much of the same functionality as the SQL Server Data Tools .sqlproj project format, but is built on top of the new SDK-style projects that were first introduced in Visual Studio 2017.

We don't have control over the file formats, and the platform doesn't provide the ability to extend .sqlproj files.
You can still use .sqlproj files side-by-side; again, please more information is available in the readme.


Prefer HTTPS protocol in README

Bug/issue #, if applicable:
Summary
in current README, SSH protocol is used as protocol for SwiftPM.
but it requires SSH keys, this might not suitable for CI environments and peoples that don't have github.com account or prefer HTTPS authentication.
so change it to HTTPS protocol.
Dependencies
Testing
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests: not applicable to change README
[ ] Ran the ./bin/test script and it succeeded: not applicable to change README
[ ] Updated documentation if necessary: not applicable to change README

@swift-ci please test


Netplan config for MetalLB overridden by dataplane updates

Context
We are setting up a kubernetes cluster on bare metal servers. The servers are connected on a VLAN and a public subnet is available for the VLAN for servers to dynamically retrieve public IPs. MetalLB manages and announces the assignment of those public IPs.
Expected Behavior
IP addresses assigned and announced by MetalLB should be routed to the correct Service with type Loadbalancer and the node/loadbalancer/pod should react to service and ICMP requests on the publicly announced IP.
Current Behavior
MetalLB correctly announces and assigns the IP to the node in layer2 mode. The netplan config used for the VLAN and to route the subnets is attached at the end.
Without Calico or Calico with a version lower than v3.14.0 service and ICMP requests are correctly answered.
Starting with Calico v3.14.0 running netplan apply temporarily allows service and ICMP requests through, but connections are broken after a couple of seconds. This happens at the moment where felix applies dataplane updates after having checked CIDRs and interfaces.
Possible Solution
It seems like felix is overwriting the netplan configuration when updating the dataplane. However I couldn't yet figure out how to prevent this from happening or configure calico to apply the netplan configuration. Setting chainInsertMode: Append or xdpEnabled: false did not solve the issue (if the config via calicoctl did work).
Is this an issue that can be solved by a special configuration or is there something that must be changed in felix?
Steps to Reproduce (for bugs)

Node(s) connected to VLAN with public subnet routed into the VLAN
Set netplan config to route the ips from the public subnet
Create Loadbalancer and assign public IP with Metallb
Check that MetalLB correctly announces IP with arping
Ping the assigned public IP --> no response
Run netplan apply on the node where the IP is announced
Ping the assigned public IP --> Responses run for up to 90 seconds and then stop

Your Environment

Calico version: v3.16.6 but issue exists since v3.14.0
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes v1.19.8
Operating System and version: Ubuntu 20.04

Thank you very much,
Ferdinand
Netplan config
network:
  version: 2
  vlans:
    # Configure vSwitch vswitch
    enp4s0.4000:
      id: 4000
      link: enp4s0
      mtu: 1400
      addresses: ["<IP_ADDRESS>/24"]
      routes:
        - to: <IP_ADDRESS>/0
          via: <IP_ADDRESS>
          table: 1
          on-link: true
      routing-policy:
        - from: <IP_ADDRESS>/29
          to: <IP_ADDRESS>/18
          table: 254
          priority: 0
        - from: <IP_ADDRESS>/29
          to: <IP_ADDRESS>/18
          table: 254
          priority: 0
        - from: <IP_ADDRESS>/29
          table: 1
          priority: 10
        - to: <IP_ADDRESS>/29
          table: 1
          priority: 10

It seems that the issue was a configuration race condition with the ip tables. For the netplan rules a table vswitch with table number 1 was used which seems to have been overwritten by felix. Limiting felix' RouteTableRange to 2-250 (compared to default 1-250) solves the issue describe above.
Closing for now.


Add ability to test if connection already exists

Need to query whether a session already exists so that it doesn't get recreated needlessly.

Hi!
With PR merged - I assume that one can be closed?

Yes!


is there a difference between npm build and npm build:production?

once gets uglified https://github.com/tildeio/rsvp.js/blob/master/Brocfile.js#L42-L47


customize keybindings

Hi, I have a German keyboard. Therefore, I can only enter an asterisk * by pressing "Ctrl + +" (control and plus sign). I'd like to change the shortcut. Can I do it anyhow?

Hi, there is no builtin way to change the shortcuts right now.  This would be a very nice feature!
I documented a manual process for doing this: https://github.com/mgsloan/todoist-shortcuts#how-to-customize-keyboard-shortcuts

Yes! It sadly overcomplicates keyboard usage for QUERTZ (german) keyboards.

I found the process of customizing the add-ons a bit daunting because I use Firefox, not Chrome. So I procrastinated on that task.
The only thing that bothered me about the shortcuts was that I didn't get the asterisk shortcuts to work.
I've noticed that on a US keyboard, the asterisk is not that on a US keyboard, the asterisk is not available without shift on the main keyboard (as I call it). However, I saw that it is available as a single key on the numpad – on both US and QWERTZ keyboards.
If you don't have a numpad, you can still activate CAPSLOCK and then use some of the shortcuts that need an asterisk.

Please implement

Please implement


Keyboard not working (LWJGL)

I'm using existing LWJGL app and creating imgui like this:
ctx = Context()
val window = Application.instance.window.getHandle()
io.configFlags = io.configFlags or ConfigFlag.NavEnableKeyboard.i
io.configFlags = io.configFlags or ConfigFlag.NavEnableGamepad.i
ImGui.styleColorsDark()
implGlfw = ImplGlfw(GlfwWindow.from(window), true)
implGL3 = ImplGL3()

This works and I can see the demo window and open examples from the menu. However I cannot type in any input field.
I was using my own event system and installing my own callbacks to glfw and thought that might be the problem, so I commented out creation of key and char callbacks, but the result hasn't changed.
I also tried this with both
implGlfw = ImplGlfw(GlfwWindow.from(window), true)

and
implGlfw = ImplGlfw(GlfwWindow.from(window), false)

I am using lwjgl:3.2.2 and imgui:-SNAPSHOT on Windows 10 with JDK 11

I will look deeper into this tomorrow, but first I'd recommend moving to the imgui tag 1.73-SNAPSHOT. If that doesn't help, can you please post some basic code so we can see your render and set up loop? Thanks!

Hi, the entire project is available here, and the relevant files are

ImGuiLayer.kt where I set up imgui,
Window.kt where I set up GLFW window and callbacks, and
Application.kt where the main loop happens.

Although the latest commit of this repo is still using -SNAPSHOT, moving to 1.73-SNAPSHOT is still producing the same result on my machine.

What I believe to be the issue is that your application is eating the inputs ImGui is expecting. ImGui uses different mouse inputs that you define, so it is able to get the mouse. However, the chars are eaten by your glfwSetKeyCallback. What you cold try doing is passing them to ImGui separately, after you have decided whether or not the rest of your app has consumed them.

I've considered that, but like I mentioned in the first message, not installing my own key and char callbacks does not fix the problem.
How can I pass inputs to ImGui separately?

Do you still experience this in 1.73?

Yes this is still the case on version 1.73

I forward my inputs to Imgui via:
override fun keyTyped(character: Char): Boolean {
  if (ctx.io.wantCaptureKeyboard) {
    ctx.setCurrent() // Only needed if you use multiple context like I do
    ImplGlfw.charCallback(character.toInt())
    return true
  }
  return false;
}

I have similar calls to ImplGlfw.keyCallback(keycode, 0, GLFW.GLFW_RELEASE/GLFW_PRESS, 0); for keyUp and keyDown .
Too see if mouseclicks/scroll should be eaten by imgui or not i check ctx.io.wantCaptureMouse .
Scrolling:
if (ctx.io.wantCaptureMouse) {
  ctx.setCurrent()
  ImplGlfw.scrollCallback(Vec2d(0, -amount))
  return true
}

I hope that helps.

I cant reproduce, I'd need a sscce (your link is a C project?)

Sorry, the project was renamed, I updated the link.

hi @mertcanekiz news?


NTR: small ribosomal subunit processing (or maturation?) complex

Hallo,
here a new term to suggest
thanks in advance
Livia
Term1:

Name: small ribosomal subunit processing (or maturation?) complex
Def: A protein complex that is required during early maturation of nascent 40S ribosomal subunits. The complex has endonuclease activity, it interacts with the small ribosomal subunit pre-rRNA and cleave it it to produce the mature 18S (or small ribosomal subunit) rRNA.
[in S. cerevisiae it is composed by: Rc11p and Bms1p]
References:
GOC:lnp
PMID:
25064857
Relationships:
is_a GO:1905348 endonuclease complex
capable_of GO:0003924 GTPase activity (??)
part_of GO:0005730 nucleolus
capable_of_part_of GO:2000232 regulation of rRNA processing
capable_of GO:0070181 small ribosomal subunit rRNA binding
capable_of_part_of GO:0042274 ribosomal small subunit biogenesis
DB xref:
IntAct: EBI-16720319

It might be good to say a "small protein complex" at the beginning of the definition because my first thought was that this was another large complex like the SSU processome and the 90S preribosome complexes which are large assemblages that include the U3 snoRNA as well as rRNA in some stage of processing.
Also, is it know which cleaveage(s) this complex is involved in? The U3 snoRNA and another snoRNP that I forget the name/number of just now is also thought to be involved in these early rRNA cleaveages.

Hi @krchristie ,
thanks for your helph!
ok, I understand that the term might create confusion, so it might be worth saying 'heterodimeric' or 'small';
yes it's known that it cleaves A2 sites (21849504)

Like this?
Def: A small heterodimeric protein complex that is required during early maturation of nascent 40S ribosomal subunits. The complex has endonuclease activity, it interacts with the small ribosomal subunit pre-rRNA and cleave it it to produce the mature 18S (or small ribosomal subunit) rRNA.
[in S. cerevisiae it is composed by: Rc11p and Bms1p]
I can also include PMID:21849504 in the def refs.

it sounds perfect!
:)

+[Term]
+id: GO:0140638
+name: small ribosomal subunit processing complex
+namespace: cellular_component
+def: "A small heterodimeric protein complex that is required during early maturation of nascent 40S ribosomal subunits. The complex has endonuclease activity, it interacts with the small ribosomal subunit pre-rRNA and cleave it it to produce the mature 18S (or small ribosomal subunit) rRNA. In S. cerevisiae it is composed of Rc11p and Bms1p." [GOC:lnp, PMID:21849504, PMID:25064857]
+synonym: "small ribosomal subunit maturation complex" RELATED []
+is_a: GO:1905348 ! endonuclease complex
+relationship: capable_of_part_of GO:0042274 ! ribosomal small subunit biogenesis
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/15290 xsd:anyURI
+created_by: pg
+creation_date: 2021-04-21T08:07:11Z

There is a problem with the protein name Rc11....should i be rRl1?

corrected Rcl1


Checksum mismatch in deb package for .desktop files

VSCode Version: 1.53.0
OS Version: Ubuntu Linux 20.04

Steps to Reproduce:

install .deb package
run debsums -s

Does this issue occur when all extensions are disabled?: Yes
I'd like to resurrect #37762: the checksums for .desktop files included in the .deb archive fail to pass post-install.
$ debsums -s code
debsums: changed file /usr/share/applications/code.desktop (from code package)
debsums: changed file /usr/share/applications/code-url-handler.desktop (from code package)

This happens because the postinst script calls desktop-file-install for the .desktop files, which adds an X-Desktop-File-Install-Version entry to them, and hence the checksums change.
I don't know why the desktop-file-install call is there, as including the .desktop files in the deb archive is sufficient to have them installed (in their proper place under /usr/share/applications/), with the checksum intact.
I built the package with just those desktop-file-install calls removed (see below), after which the checksums pass post-install (with no other changes that I can see).
diff --git a/resources/linux/debian/postinst.template b/resources/linux/debian/postinst.template
index c72fe5f9f5..dcc147de93 100755
--- a/resources/linux/debian/postinst.template
+++ b/resources/linux/debian/postinst.template
@@ -12,12 +12,6 @@ ln -s /usr/share/@@NAME@@/bin/@@NAME@@ /usr/bin/@@NAME@@
 # developers would prefer a terminal editor as the default.
 update-alternatives --install /usr/bin/editor editor /usr/bin/@@NAME@@ 0

-# Install the desktop entry
-if hash desktop-file-install 2>/dev/null; then
-       desktop-file-install /usr/share/applications/@@NAME@@.desktop
-       desktop-file-install /usr/share/applications/@@NAME@@-url-handler.desktop
-fi
-
 # Update mimetype database to pickup workspace mimetype
 if hash update-mime-database 2>/dev/null; then
        update-mime-database /usr/share/mime

I believe desktop-file-install is there so that the application shows up in the desktop manager menu immediately, which was some other bug that someone wanted fixed if I recall correctly.

I believe desktop-file-install is there so that the application shows up in the desktop manager menu immediately, which was some other bug that someone wanted fixed if I recall correctly.

Should be fixed in https://github.com/microsoft/vscode/issues/134839


[Min & Max] Rewritten to ternary operation

It seems ternary operation here prevents creating additional var, which might be a bit faster. It also makes code more readable.

I generated two SILs (attached) for min-if and min-ternary. You are right regarding additional var as min-if has stack management routine, while min-ternary SIL does not. Not sure is it optimized anyway further down the line or not, but anyway the resulting output for min0ternary should be less or equal to min-if, while readability definitely better. I am dying out of curiosity to see what was the reason to write min & max as it is now.
min-if.sil.txt
min-ternary.sil.txt

I don't have the IEEE 754-2008 spec handy, but IIRC min() and max() for floating-point types should return the non-NaN value if there is a (quiet) NaN involved. It looks like the floating-point types end up in these functions.
I don't know what the plans are around correcting this behavior. Perhaps @stephentyrone or @gribozavr can weigh in on that?

I don't see why ternary-based code would be faster.  The optimizer should generate the same code.
If you are interested in making other improvements in this area, please read the discussion in #137.


[Trudvang Chronicles] add missing data-i18n tags to the sheet

2 weeks ago a lot of data-i18n tags have been added to this sheet but there is a part of the sheet that still can't be translated : the part of the skills.
data-i18n tags have not been added because the text to translate is in the property "value" or "placeholder" of the "div" tags.
The problem cencerns the lines between line 291 and line 1022
for example you have this code

<input type="text" name="attr_agilityname1" class="sheet-main-skill" value="Agility" readonly>

it should become

<input type="text" name="attr_agilityname1" class="sheet-main-skill"  readonly data-i18n="Agility">Agility

if someone, perhaps @TheAziraphale or @Anduh, can do something...

I see that you can add data-i18-placeholder and data-i18n-title tags.
Does it work for values too? data-18n-value is a valid property ?

Thanks for all the informations. I'll try to do the dev and submit a pull request.

This looks to me like it was resolved by #5564 but if it's still an outstanding problem, please create a new issue for it.


add support for compiling and analyzing package:flutter_web apps

add support for compiling and analyzing package:flutter_web apps:

simplify the existing abstraction around package imports
add a new abstraction in to support package:flutter_web/ and related imports
provision the package once per server, the first time we get a flutter_web request in
fix https://github.com/dart-lang/dart-pad/issues/954, fix https://github.com/dart-lang/dart-pad/issues/953
add tests
add a local config override, so you can point to a local copy of package:flutter_web

@domesticmouse @RedBrogdon
I may need to disable some of the tests - they likely depend on being able to provision package:flutter_web.

(updated tests and the grind script)

Coverage decreased (-1.6%) to 78.465% when pulling e733eadf51f07624e1f4967116936a506feb29ce on flutter_web_support into ee96add09981149e5585079d91141f2d53e37aa1 on master.

Travis failures are due to the latest dart dev sdk; I filed https://github.com/dart-lang/dart-pad/issues/1002 to track.
I'll remove testing on dev in this PR to get it green.


chore(main): release 0.1.2

:robot: I have created a release beep boop
0.1.2 (2024-01-26)
Bug Fixes

expected at most 5 keywords per crate (6cb20ea)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/chenhunghan/jwks/releases/tag/v0.1.2 :sunflower:


links to atom.io (minor issues)

(different than the package.json's repo which points here properly)
package-name (language-autohotkey) inside Atom's Settings -> Packages goes to the atom.io managed repo by nshakin which is no longer managed by him
in the same area, your git username is not attached to atom.io
I have no idea how same-name repos react in atom.io's packages - may need to rename the git-repo?

Relevant discussion:
https://discuss.atom.io/t/how-should-we-deal-with-unmaintained-and-deprecated-packages/15407

atom/apm currently supports installing packages from git urls (atom/apm#518).
Before linking this repo to atom.io, a relatively simple way to install this could be
apm install cescue/language-autohotkey

rather than replacing package.json and grammars/autohotkey.cson files. Would you consider updating this info in Readme?


diesel-cli is out-of-date

Checklist

[x] Checked the nixpkgs master branch

[x] Checked the nixpkgs pull requests

Project name
nix search name: diesel-cli

current version: 1.4.0
desired version: 1.4.6
Notify maintainers

maintainers: @danieldk
Note for maintainers
Please tag this issue in your PR.
Additional notes
I've tried to update this package myself, but ran into a lot of trouble specifically because I also want to add support for Barrel migrations (see here for an overview) to the Diesel CLI. If, alongside this package being updated, support was added for this via override, it'd be much appreciated (since as far as I can tell the only thing required is specifying a feature, and then another feature per enabled database).

I am not the maintainer of diesel-cli (and do not know much about this package), so I'll unsubscribe from this issue. I have only updated it to fix it with hookification of buildRustPackage.

It looks like building barrel support requires choosing just one backend? "Important: you can only select one (1) backend with diesel. Whichever you select will determine the migration files that are generated later." https://github.com/rust-db/barrel/blob/master/guides/diesel-setup.md

That looks to be the case, yeah... missed that.
Thanks for updating it, though.

I'd still appreciate the support for enabling barrel, although it's easy enough to implement that I'll just patch the expression locally for now.


CLOUD-826 Update CONTRIBUTING.md

add container images information

Test name
Status

demand-backup
passed

init-deploy
passed

monitoring
passed

operator-self-healing
passed

scaling
passed

scheduled-backup
passed

self-healing
passed

start-from-backup
passed

telemetry-transfer
passed

users
passed

custom-extensions
passed

We run 11 out of 11

commit: https://github.com/percona/percona-postgresql-operator/pull/576/commits/3acffac402f4bed7766e4e09c76b023790555deb
image: perconalab/percona-postgresql-operator:PR-576-3acffac40


Azure Issue on new UI

In the new UI, when using azureAuth, it is currently not possible to make changes, e.g. deploy/lock services. Viewing the current state still works.

Bugfix: https://github.com/freiheit-com/kuberpult/pull/624

fixed with 0.4.64


Feature Request:Hope ModernFlyouts can provide 64bit version of the application

希望ModernFlyouts可以提供64位版本的应用
Hope ModernFlyouts can provide 64bit version of the application

We do provide x64 bit build of this app since v0.8.2 (I don't know if it's out on the Store).
You may get a proper x64 build with the next release.

很好，我很期待在新的版本——0.8.2里看见64位的ModernFlyouts，希望也能够在Microsoft Store看见它发布
Very good, I am looking forward to in the new version - 0.8.2 saw 64bit ModernFlyouts, hope can also be released at the Microsoft Store to see it

Great! Thanks for your patience!

@ShankarBUS
I have seen this architecture mess up a lot of times. Sometimes, the app supports all 32, 64 bit CPUs, sometimes only 32. Why does it keep happening?

希望ModernFlyouts可以提供64位版本的应用
Hope ModernFlyouts can provide 64bit version of the application

If your PC has an Intel or AMD chip inside, it would run the app without any problem though.

我的电脑是Intel64位的
处理器	Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz   2.81 GHz

@Cyberdroid1,
To long; Didn't read:
Because we're still newbies!
Unnecessary information (read this if you wanna waste your time like how I did writing this useless passage):
To be honest, I've never used any configuration other than AnyCPU previously.
.NET assemblies with AnyCPU configuration can run on any CPUs (it's pretty obvious).
The .NET bootstrapper (the normal *.exe built by the compiler) loads the appropriate runtime depending on the system's architecture (it does the work for us).
If we're to publish our app as "framework independent" [i.e. .NET 5 runtime (x64 or x86, it depends on the target system) has to preinstalled], we can just publish a small package (just 2 MB) with AnyCPU config. No additional work.
But we can't force the users to download and install the .NET runtime by themselves. They would just not use our app due to this burden. (Store could automatically do this. MSIX doesn't do this too. This is why Power Toys don't use the Store and MSIX)
v0.3 and prev were all based on .NET Framework (preinstalled on all Windows 10 OSes). So, we didn't have to force the users to install the .NET runtime.
It all started since we made the jump to .NET Core. Since then we are publishing this app as "self contained" (bundling a copy .NET runtime together with our app. Results in an increased package size 2 MB -> 60 MB) to reduce end users' burden.
While publishing as self contained we have to specify which runtime we are targeting (either x86 or x64). So no AnyCPU and no easy procedures. Thus we have to publish this app 2 times and the packager will bundle them into a mega package and provide the necessary package to the user.
@Samuel12321, hard coded the package to be x86 previously and we're smashing our heads at the wall wondering what went wrong.
See #41
Later we figured it out and fixed it during the v0.8.2 release
The End!

Gotcha! Sorry for making you type all that 😅. I feel sorry both for you and your computer's keyboard.

@Cyberdroid1,

Gotcha! Sorry for making you type all that 😅. I feel sorry both for you and your computer's keyboard.

Bruh! Why did you read all that??? I was in the toilet, got bored and typed all those in my mobile to just pass my time!
Anyways thanks for understanding our pain 😞😃.

as @ShankarBUS said, fixed in 0.8.2, which you should get soon. (currently waiting on store certification)


v5.2.30 blade "stacks" is broken

Docs: https://laravel.com/docs/5.2/blade#stacks
When I have:
    @push('scripts')
        <script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.2/js/select2.full.min.js"></script>
    @endpush

and:
@stack('scripts')
it does not echo out what has been set in the stack

Does clearing the view cache fix this|?

@GrahamCampbell Yes it does, didn't realize that cache:clear did not clear the view cache too - thank you very much!


Change Patient ID in metadata to Unique ID

This makes things more generic when we use different types of hosts.