MiKo_1070 is now aware of 'document' types

@CodiumAI-Agent /describe

Title
MiKo_1070 is now aware of 'document' types

User description
@CodiumAI-Agent /describe

PR Type
Enhancement, Tests

Description

Refactored IsEnumerable method in SymbolExtensions to improve clarity and efficiency by using a local variable and additional braces.
Enhanced MiKo_1070_CollectionLocalVariableAnalyzer with new methods IsDocument and IsMefAggregateCatalog for better type checking.
Updated ShallAnalyze method to exclude certain document types from analysis.
Added comprehensive test cases to ensure no issues are reported for XML Linq nodes and custom document types.

Changes walkthrough 📝
Relevant filesEnhancement

SymbolExtensions.csRefactor IsEnumerable method for clarity and efficiency

MiKo.Analyzer.Shared/Extensions/SymbolExtensions.cs
Introduced a local variable specialType to store value.SpecialType.  Updated logic to use specialType instead of value.SpecialType.  Added additional braces for clarity in conditional logic.

+6/-2

MiKo_1070_CollectionLocalVariableAnalyzer.csEnhance type checking in MiKo_1070_CollectionLocalVariableAnalyzer

MiKo.Analyzer.Shared/Rules/Naming/MiKo_1070_CollectionLocalVariableAnalyzer.cs
Introduced methods IsDocument and IsMefAggregateCatalog for type checks.  Updated ShallAnalyze method to incorporate new type checks.  Refactored IsXmlNode to use typeName instead of type.

+28/-4

Tests

MiKo_1070_CollectionLocalVariableAnalyzerTests.csAdd test cases for document and XML Linq nodes

MiKo.Analyzer.Tests/Rules/Naming/MiKo_1070_CollectionLocalVariableAnalyzerTests.cs
Added new test cases for XML Linq nodes and document types.  Ensured no issues are reported for specific document scenarios.

+57/-1

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information


#11112: Add forward support for Relational Inplace Ops

Ticket: #11112
Add GT_ op ( greater than op)
Add LT_ op (less than op)
Add GE_ op ( greater than or equal to op)
Add LE_ op (less than or equal to op)

Test File :

Unary GT_ :tests/ttnn/unit_tests/operations/test_binary_composite.py::test_gti_ttnn - PASSED
Binary GT_ :tests/ttnn/unit_tests/operations/test_binary_composite.py::test_binary_gti_ttnn - PASSED
Unary LE_ :tests/ttnn/unit_tests/operations/test_binary_composite.py::test_lei_ttnn - PASSED
Binary LE_ :tests/ttnn/unit_tests/operations/test_binary_composite.py::test_binary_lei_ttnn - PASSED
Binary GE_:tests/ttnn/unit_tests/operations/test_binary_composite.py::test_gei_ttnn - PASSED
Unary GE_:tests/ttnn/unit_tests/operations/test_binary_composite.py::test_binary_gei_ttnn - PASSED
Unary LT_ :tests/ttnn/unit_tests/operations/test_binary_composite.py::test_lti_ttnn - PASSED
Binary LT_ :tests/ttnn/unit_tests/operations/test_binary_composite.py::test_binary_lti_ttnn - PASSED

CI test : Link - PASSED

@mouliraj-mcw Left a few comments about documentation, rest looks good !

LGTM


Flow with steps skipped according to database values

I have trouble to figure out how to implement my workflow.
Could you please help me to understand how to do this cleanly?
Let's imagine this scenario (it's an over simplification of my needs ;) ):

Step 1: choose a company (from a list in database)
Step 2: choose one of the contacts working for this company (contacts are available in the database). Step may be skipped if only one contact is available for the selected company
Step 3: choose one address of the contact's addresses (addresses are in the db). Step may be skipped if only one address is available for the selected contact.

Could you explain me how to organize my code to do this?
Thanks
Alban

Skipping the steps would be easy, but directly setting those values would not. Also, it could be problematic if a new contact or a new address is added to the database while you're in e.g. step 4 and there's now more than just one choice which could be set directly.
An easier approach would be to preselect a value but still let the user submit the form:
public function createWhateverAction() {
	$formData = new Whatever();

	$flow = $this->get('myCompany.form.flow.createWhatever');
	$flow->bind($formData);

	$form = $flow->createForm();
	if ($flow->isValid($form)) {
		$flow->saveCurrentStepData($form);

		if ($flow->nextStep()) {
			if ($flow->getCurrentStepNumber() === 2 && $companyHasOnlyOneContact) {
				// preselect contact
				$formData->setContact($onlyAvailableContactForCompany);
			}

			if ($flow->getCurrentStepNumber() === 3 && $contactHasOnlyOneAddress) {
				// preselect address
				$formData->setAddress($onlyAvailableAddressForContact);
			}

			$form = $flow->createForm();
		} else {
			// done

			return $this->redirect($this->generateUrl('home'));
		}
	}

	return $this->render('MyCompanyMyBundle:Whatever:createWhatever.html.twig', array(
		'form' => $form->createView(),
		'flow' => $flow,
	));
}


Issue when using csi provider

C:\Users\Girishgouda.Goudar\source\repos\multicluster\k8sonprem\kustomize\sql\base>kubectl get pods
NAME                                               READY   STATUS              RESTARTS   AGE
csi-secrets-store-provider-azure-f6m7x             1/1     Running             0          5m7s
csi-secrets-store-secrets-store-csi-driver-cnwcv   3/3     Running             0          14m
nginx-secrets-store-inline-user-msi                0/1     ContainerCreating   0          9m16s
Warning  FailedMount  85s (x10 over 5m35s)  kubelet, aks-default-28951543-vmss000000  MountVolume.SetUp failed for volume "secrets-store01-inline" : kubernetes.io/csi: mounter.SetupAt failed: rpc error: code = Unknown desc = failed to mount secrets store objects for pod default/nginx-secrets-store-inline-user-msi, err: failed to
find provider binary azure, err: stat /etc/kubernetes/secrets-store-csi-providers/azure/provider-azure: no such file or directory
Warning  FailedMount  79s (x2 over 3m32s)   kubelet, aks-default-28951543-vmss000000  Unable to attach or mount volumes: unmounted volumes=[secrets-store01-inline], unattached volumes=[secrets-store01-inline default-token-l45pb]: timed out waiting for the condition

@girishgouda How are you installing the driver and provider? Which version are you installing?
If installing using yamls, please follow the docs here - https://github.com/Azure/secrets-store-csi-driver-provider-azure/blob/master/docs/install-yamls.md. There is a note in the install docs on setting the required flag in the driver manifest if installing with yamls. Please ensure this flag is added -
NOTE: 0.0.9+ release of the Azure Key Vault provider is incompatible with the Secrets Store CSI Driver versions < v0.0.14. While installing the Secrets Store CSI Driver using yamls, add the following flag --grpc-supported-providers=azure to the Linux and Windows daemonset manifests.

The flag needs to be added to the secrets-store container args

@girishgouda Could you confirm if this issue is resolved now?

Closing this for now. Please feel free to re-open if you're still experiencing this issue.


add example for mounts

https://github.com/threefoldtech/terraform-provider-grid/blob/development/examples/resources/mounts/main.tf

updated

Verified
https://library.threefold.me/info/manual/#/manual3_iac/grid3_terraform/manual__terraform_mounts


Fix error message for rule C400

Fix a typos in the error message of rule C400
With the latest version of Ruff (0.3.3) if I have a scratch.py script like that:
from typing import Dict, List, Tuple

def generate_samples(test_cases: Dict) -> List[Tuple]:
    return list(
        (input, expected)
        for input, expected in zip(test_cases["input_value"], test_cases["expected_value"])
    )

and I run ruff
>>> ruff check scratch.py --select C400
>>> scratch.py:5:12: C400 Unnecessary generator (rewrite using `list()`

This PR fixes the error message from "(rewrite using list()" to "(rewrite using list())", and it fixes also the doc.
Related question: why I have this error message? The rule is not correct in this case. Should I open an issue for that?

Related question: why I have this error message? The rule is not correct in this case. Should I open an issue for that?

I think the idea is that you write this as
def generate_samples(test_cases: Dict) -> List[Tuple]:
    return [
        (input, expected)
        for input, expected in zip(test_cases["input_value"], test_cases["expected_value"])
    ]

But I might be wrong (I don't know Python well). If t

But in this case the error message is not so useful right? It should be something like (rewrite using [...])

That's true and I think that's probably a bug. The rule has a second branch that suggests rewriting the rule as a generator.

Should I open an issue to discuss that?

That would be great


Need regex for Telegram Markdownv2-style for message content

Hi @uzdeveloper1 !
could you elaborate your request?

@uzdeveloper1 we found the issue, we are releasing a fix, now markdown v2 will be an opt-in feature
escaping will still be in charge of the developer
ref #273


Permissions error when user can add/edit but not browse

Laravel Version: 5.5
Voyager Version: 1.0
PHP Version: 7.1
Database Driver & Version: MySQL

Description:
When saving your profile, users who do not have access to Browse Users are returned to the users/index view which throws a permissions error.
Steps To Reproduce:

Create a new user with a role of user
Make sure the user role does not have any BREAD permissions for the users database
Login as the new user
Go to > Profile > Edit My Profile
Click Save

Error is returned: AccessDeniedHttpException This action is unauthorized. which is correct as this user does not have access to Browse users.
Solution:
Update the VoyagerBreadController function update() from
->route("voyager.{$dataType->slug}.index")
to
->route(Voyager::can('browse_' . $dataType->slug) ? "voyager.{$dataType->slug}.index" : "voyager.dashboard")
This redirects to the dashboard instead of to the index slug, which should catch the permissions error.
Is there a better / more elegant way of doing this?

Why would you want a user to be able to add/edit but not browse...?

@fletch3555
I have a user who can't add or edit other users, but they can manage posts or pages for example.
When they edit their own profile it uses the users/edit view.
That's the only example that comes to mind, but also isn't it better to go ahead and close the loop? The system allows you to select Edit Permissions and not Browse Permissions. Without knowing all possible use cases, it may come up again.

I personally view the BREAD actions as additive.  You need to be able to see(browse/read) before you can modify(edit/add/delete).

For the most part I agree, however in the profile example specifically, I don't want all users to be able to mess with other users at all, but they should be able to update their own profile. And they currently can in Voyager. It just gives an error when they save as it tries to return them to the browse users view.

I agree with @thill0822. I user should be able to update their own profile and/or password without also being able to view all other users. Currently, an error is thrown after profile update if the user does not have view permissions.

The solution to this problem is simple, just changing:
return redirect()                 ->route("voyager.{$dataType->slug}.index")
with:
return redirect()                 ->back()
would be enough, so the users without browse users permission would be able to edit his own profile.
What do you think?

Just ran in to this, any chance on a merge for @thill0822 or @carlost89 solutions?

Implemented in https://github.com/the-control-group/voyager/pull/4453 (merged into 1.3)


Coverage out of [0, 1] range

I have observed OutlinedGlyph::draw call my callback with a coverage of 1.0000001. This goes against the documentation, which says "with a coverage value in the range [0.0, 1.0]". This is likely due to floating point error.
I see two ways of addressing the problem:

Document that the value is supposed to be in this range but might sometimes be outside. The user needs to clamp it if the exact range is important.
Clamp the value in ab-glyph like with coverage.clamp(0.0, 1.0).

I can give a full reproduction if required.

If the docs are saying that then yes they should be updated. Clamping was removed in ab_glyph_rasterizer 0.1.5

Thanks. The problematic documentation is here btw.

Thanks for reporting this :+1:


improved modmail using threads

await message.reply(f"DM Channel already exists for that user at {thread.mention}!")

this message should not be sent to the user

It literally does not send the message to the user any more.


Nightly releases not published since 12/18/2018

Expected Behavior
Each day a release.yaml is published to https://console.cloud.google.com/storage/browser/knative-nightly/build-pipeline/latest and the Images are published to
https://console.cloud.google.com/gcr/images/knative-nightly/GLOBAL/github.com/knative/build-pipeline
Actual Behavior
The latest release.yaml file and images have been published 10 days ago on 12/18/18, 9:58:59 AM UTC+1
Additional Info
Looking at https://testgrid.knative.dev/knative-build-pipeline#release it seems to due to a permission issue:
W1228 08:57:07.012] 2018/12/28 08:57:07 Using base gcr.io/distroless/base:latest for github.com/knative/build-pipeline/cmd/kubeconfigwriter
W1228 08:57:07.188] 2018/12/28 08:57:07 error processing import paths in "config/webhook.yaml": no token in bearer response:
W1228 08:57:07.188] {"errors":[{"code":"DENIED","message":"Token exchange failed for project 'knative-nightly'. Caller does not have permission 'storage.buckets.get'. To configure permissions, follow instructions at: https://cloud.google.com/container-registry/docs/access-control"}]}
W1228 08:57:07.213] Run: ('/workspace/./test-infra/jenkins/../scenarios/../hack/coalesce.py',)
E1228 08:57:07.359] Command failed
I1228 08:57:07.360] process 627 exited with code 1 after 25.0m
E1228 08:57:07.360] FAIL: ci-knative-build-pipeline-nightly-release

There is another issue preventing the nightly builds:
W1228 08:52:04.362] /go/src/github.com/knative/build-pipeline/test/e2e-common.sh: line 75: ((: >> Waiting for tests to finish
W1228 08:52:04.363] >> Checking test results: syntax error: operand expected (error token is ">> Waiting for tests to finish

This should be fixed by #358.

#359 takes care of the account service issue.


[KED-1081] Make the folder /data/ as abstract data folder

Description
Usually, we have to deal with very large datasets (ie >100 Go) and text type,
storing in the folder /data/ is not possible.
Also, the dataset can be available on remote server (by HTTP or GFS).
The SQL can be also very complex ( 30 lines), so storing raw SQL in the .yml is not convenient,
Context
This allows Kedor to be more usable in really Big Data Context... and with large
and complicated tables.
Possible Implementation
Use /data/ as a folder containing virtual datasets to abstract the data access.
/data/mycsv_file.yml
/data/myremoteHIVE_table_bySQL.yml
/data/myremote_table_byPySpark.yml
Those yml explicits the data access protocol and allows
to have more different data access type.
Possible Alternatives
You can check MLFLOW or SQLAchemy for data access abstraction.

Hi @arita37
Absolute paths are already supported by all filepath based AbstractDataSets.
Please have a look here to see how to define such datasets in tha DataCatalog: make sure to replace filepath from a relative path (data/...) to an absolute (/data).

Hello,
Thanks for the reply and details.
This is more a generic design perspective (not the path),
Let me precise my point :

 Separation of code source (git versionable) vs data (not git versionnable).
 Having the dataset mixed with code, is not good always practice for software dev.
 Thats why, I propose to consider data/    as a folder of "abstract dataset" (ie represented by .yml)

Having all data config in one file, is OK.
Imagine , we may have very big SQL (ie Join of many tables to join,  4000 columns)....
having separate data cofnig file is more manageable..... (one per dataset ).

There is notebook folder, but there is not folder for CLI scripts as the application interface.
(which should be outtside of the src/ folder).
Same for model loading (suppose this should be coded ad hoc in the application).

How the training part, inference, model saving is managed ?

Compare to https://mlflow.org/ , mlflow looks more natural
in the pipeline process and ML flow building (ie following actual business ML pipelines).
It may be useful to compare both.

Thanks !

Hello @arita37
Thank you for feedback! Let me address the comments.

We don't encourage anyone to store the data files in git. data directory is in .gitignore file, that's why by default the files are just ignored.
You can already split your catalog into multiple files: https://kedro.readthedocs.io/en/latest/04_user_guide/03_configuration.html#loading
What's the purpose of the suggested CLI folder? Currently we assume that all the additional CLI commands should be put into kedro_cli.py file, which is a file of a created projects and is easily editable. All the commands added there become available via kedro COMMAND ....
We'll check it out later, thank you.

But non of the points above seem to relate to the original question: abstract /data/ directory.
If you have massive files and complex ways of accessing them, you have a few options:

Kedro DataSets, which can have any complex logic behind. We have a lot of the standard and contrib data sets available, you can easily implement your own ones, the interface is simple. Any contribution back to Kedro is welcome!
If you want to make it really transparent for the code, like reading from a file, which does all the magic inside, you can use FUSE. Basically write a script (even in Python) to handle file system events on the directory.
All sorts of SSHFS/GFS/FTPFS - virtual file systems, not storing the data locally, but surving as a transparent proxy. Usually based on FUSE.

Does it help somehow? It would be nice to know more about your use-cases and requirements.

Hello,
Thanks for replying
Question
We are evaluating vs MLFlow
which a pipeline for ML. Thats, why having the data folder (doc example ) with the code was strange from prod view.

this is not clear when packaged in Docker
which folder are kept and which one removed ?

model storage and serialization is not clear.
Same for pre-processing with states (ie clustering, )
How this is handle ? Or do we have to do it manually ?
In theory, you should have created a folder for model storage (ie same style than data).

For the concept of node,
How the data split is done ?
Should we split and distribute manually ?

The compute process is not so clear
compare to MlFLow.... We are thinking of pros/cons vs MLFlow.
Thanks

On Oct 4, 2019, at 18:35, Anton Kirilenko<EMAIL_ADDRESS>wrote:
Hello @arita37
Thank you for feedback! Let me address the comments.
We don't encourage anyone to store the data files in git. data directory is in .gitignore file, that's why by default the files are just ignored.
You can already split your catalog into multiple files: https://kedro.readthedocs.io/en/latest/04_user_guide/03_configuration.html#loading
What's the purpose of the suggested CLI folder? Currently we assume that all the additional CLI commands should be put into kedro_cli.py file, which is a file of a created projects and is easily editable. All the commands added there become available via kedro COMMAND ....
We'll check it out later, thank you.
But non of the points above seem to relate to the original question: abstract /data/ directory.
If you have massive files and complex ways of accessing them, you have a few options:
Kedro DataSets, which can have any complex logic behind. We have a lot of the standard and contrib data sets available, you can easily implement your own ones, the interface is simple. Any contribution back to Kedro is welcome!
If you want to make it really transparent for the code, like reading from a file, which does all the magic inside, you can use FUSE. Basically write a script (even in Python) to handle file system events on the directory.
All sorts of SSHFS/GFS/FTPFS - virtual file systems, not storing the data locally, but surving as a transparent proxy. Usually based on FUSE.
Does it help somehow? It would be nice to know more about your use-cases and requirements.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @arita37, I'll leave @Flid to handle the bulk of this conversation but I'll just make a few comments about MLflow.

They solve orthogonal problems and can be used together, Kedro focuses on development experience, code organisation and data abstraction and Mlflow provides tracking and better support for versioning
We have a Medium post going out soon about how our teams use both together leveraging MLflow's tracking ability
However, I definitely recommend checking out #113 to see how this team has used Kedro & Mlflow together

https://github.com/quantumblacklabs/kedro-docker/blob/53eb98201048fd4e2eed74bfb1738ab97ac5ad7a/kedro_docker/template/.dockerignore#L13 - data is not copied into a Docker image.
data/06_models is supposed to store the models. But we don't enforce it, just recommend. How you serialise the model is completely up to you, Kedro has a few useful data sets like PickleLocalDataSet that might be useful for general case scenarios.
Not sure I understand the question. If you are interested in the concept of a node itself - (here's the description what it is and how it works)[https://kedro.readthedocs.io/en/latest/04_user_guide/05_nodes.html]. If by "data split" you mean splitting into training and test parts - it's not something Kedro is responsible for. Kedro helps you organise the pipeline code, give it a structure with added benefits. The actual logic is out of scope, other frameworks (including MLFlow you've mentioned) should be used.

Thanks for your prompt reply.

noted,
Although from software Engi. Perspective
data/ should be virtual...
Suppose the code references
some csv into data/ folder : so it runs fine on local....
But, when it is transfered to docker , it failed
because data/ is not transfered.

Framework should try to enforce better “best practice”.... (at least showning the docs).

Think having a virtual model folder
should be beneficial since model is not really a data (...).
Main reason is versionning of model:
Code source
Trained model (Think of TFlow Bert, GPT2)

is important for reproductible ML.

sorry, was confused by naming “node”
refers as pipeline task ( node in spark refers to physical compute )

By data split, was thinking of distributed training (ie for TF or Pytorch or sklearn).
It seems that kedro is more the master node and the code itself called the compute node (ie spark distributed).

Have you tried mllib distributed spark code with Kedros ?

AbractDataset is very useful, this is usually one missing part of many framworks.

Think it is bette practice to separate clearly the train pipeline and the Inference pipeline.
Even though the code can handle it,
if the framework enforces it,
it wil reduce a lot of production issues (ie Devops Config, pre-processor mis-usage,..)

Also, with clear inference part, we can add the drift detector.

On Oct 4, 2019, at 19:30, Anton Kirilenko<EMAIL_ADDRESS>wrote:
https://github.com/quantumblacklabs/kedro-docker/blob/53eb98201048fd4e2eed74bfb1738ab97ac5ad7a/kedro_docker/template/.dockerignore#L13 - data is not copied into a Docker image.
data/06_models is supposed to store the models. But we don't enforce it, just recommend. How you serialise the model is completely up to you, Kedro has a few useful data sets like PickleLocalDataSet that might be useful for general case scenarios.
Not sure I understand the question. If you are interested in the concept of a node itself - (here's the description what it is and how it works)[https://kedro.readthedocs.io/en/latest/04_user_guide/05_nodes.html]. If by "data split" you mean splitting into training and test parts - it's not something Kedro is responsible for. Kedro helps you organise the pipeline code, give it a structure with added benefits. The actual logic is out of scope, other frameworks (including MLFlow you've mentioned) should be used.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Well, agree it doesn't play nicely in Docker with all cases. Still you can run the container with an additional volume, mounting your host stuff under data directory inside.
I'm not sure what you mean by "virtual", none of the definition I can find seems relevant. But anyway you have a full power of *nix: soft and hard links, FUSE, Docker volumes, virtual file systems. Kedro doesn't try to cover everything. It's actually a Unix way to do a tool, which does one small thing, but does it great and integrates with other tools easily, isn't it? :)
Versioning is also supported by Kedro! It's not perfect yet, we work on it, but I think it can already do what you need.
3-4. Re-reading the initial question with this information - Kedro is not a platform to organise multiple machines into a cluster, it's a framework to organise the code into pipelines, and then you can run the pipeline nodes in many ways. For example, check out kedro-airflow. Same can be done for other platforms, because Kedro pipeline is essentially a python script in the end, you can run nodes in isolation even on different machines, just make sure you pass the data in between and connect it all together, just what we do for Airflow.
I didn't, sorry, can't help.
Thank you :)
Again, there are lots of possible pipeline structures for multiple different use-cases. Kedro is a general purpose framework for creating pipelines. It doesn't enforce the internal node structure, doesn't provide data science tools or anything to use from inside the nodes. Kedro is a logical glue between the nodes. That's why it can usually be easily used with any DS frameworks, anything you can call from Python.

Thanks for reply.
Am trying to "help" by suggestions in the sense that there are missing parts to make
as a "production" tool... (this is far from a production setup).
For the moment, it seems only tested/working
on SK-Learn single compute node.
What is missing for more production  :

Model folder (as abstract folder) and model lifecycle (versionning, tag).
Data and model are completely different concept (its like you are saying code is like data...)

Clear separation of Train and Inference by framework :
Train:     dataset --> Process --> Train -->  Model Storage + Statistics
Inference :   Model Load, Dataset --> inference --> Results + Statistics

How can you track/check inference results done by same model, same dataset structure BUT trained at different time ?
Without trained model versioning, this is difficult.
This is typical machine learning issue in production.

Framework should enforce good workflow practices, otherwise we can just use
sklearn pipelines or spark pipelines (don"t you think ?).

Now, having a better idea of what kedro is mostly doing:
Mostly, Helping Jupyter notebook --> Package in docker (things are very manual)
Wouldn"t you think its better to create converter to generate python code files :
1) DS put Pragma  #tags in the Jupyter  : #preprocess   #train
2) A script parsess the jupyter notebook
3) the Script generates standards files and code (pipeline, node, ...)
This one would really help Data Scienstist same time AND
allows standarization of the workflow for maintenance.
Having too much boilerplate code eveerywhere, does not save DScientist time.

tahnks

I still think it's a big deal, as you are not enforced to use the provided structure and keep data in one place, you can use any virtual FS or soft/hard-links. It seems to be a sensible setup for most simple use-cases, not over-complicating things for everyone.
Again, Kedro does not tell you how to process your data and train your models. It's completely up to you how you split your pipeline into data cleaning, training, inference, validation, whatever. With the feature we are about to release in a few days, you'll even be able to make them separate pipelines and run individually.
Do you mean the lengthy model training produces some results periodically, and you wish to see the intermediate results? Anyway, it's a particular framework producing this, it seems to be out of scope for Kedro, but we need to think how to connect them nicely.
Indeed it's a good idea to do that. And even better, it's already supported 😄 Check out kedro jupyter convert command. It creates the nodes with the tagged code. Doesn't integrate these nodes into pipelines of course, but still.

The view was : as AbstractDataset and connector was developed,
why not developed AbstractModel  to manage the model lifecycle.
AbstractModel is common to all kind of Machine Learning cycle (esp. handling of model drifting).

There are automatic ML tools which already normalize the code.
As the end goal seems to to convert Jupyter to runnable code in Docker.
Why not adding more pragma tags to allows better conversion :
#PIPELINE: mypipeline_name
<python_code>
          #NODE:   mypipeline_name/node_sequence_integer/mynode_name
                 <python_code>

It also enforces better practice on user side and better normalize code for production debug.

Hi @arita37, I want to see if I can create some actionable items from this issue and then close it with the appropriate tasks.
So I have a query about your 3rd point:
You've spoken about an AbstractModel, what would you like this class to do for you? And which frameworks would be best to work with this?
And to your 4th point:
We support a workflow that allows users to use Jupyter Notebooks for what they're good for, exploratory data analysis and initial pipeline development but we do encourage that users move from Jupyter Notebooks to Python script with node tagged cells and the kedro jupyter convert command. When you're referring to better conversion, what do you mean?

@arita37 It would be great to get more input from you when you have time. For now, I'll close this issue but I'll be happy to re-open it when you're ready.


Lack of consistency in the tempfile crate dep

$ rg -ttoml tempfile
Cargo.toml
378:tempfile = "3.2.0"

src/uu/stdbuf/Cargo.toml
19:tempfile = "3.1"

src/uu/mktemp/Cargo.toml
20:tempfile = "3.1"

src/uu/dd/Cargo.toml
25:tempfile = "^3"

src/uu/sort/Cargo.toml
28:tempfile = "3"

it should probably be
tempfile = "3"
for all files

Can I work on this?

sure, please do :)

I forked it and changed the versions to 3. should I make a pull request?

please

#3244

done, thanks


Fix brand names

Not a big deal in most cases, but I think we should respect real brand names.

Airbandb & AirBnB -> Airbnb (583 -> 581 bytes)
BitBucket -> Bitbucket
BitCoin -> Bitcoin
CloudFlare -> Cloudflare
delicious -> Delicious
Digital Ocean -> DigitalOcean
ebay -> eBay
Github -> GitHub
Gitlab -> GitLab
intel -> Intel
Line -> LINE
NPM -> npm
Sketch icon: workato -> Sketch (492 -> 491 bytes)
SnapChat -> Snapchat
StackOverflow -> Stack Overflow
UpWork -> Upwork
viber -> Viber
workato -> Workato

Huh! I could have sworn Flickr & Tumblr were lower case! Good spot 😁


embed_install_prefix produces empty files when a custom install prefix is used

I noticed that, when using a custom install prefix, the .deb packages generated by py2deb contain empty files in the <install-prefix>/bin/ folder. For example, when using py2deb to build a uwsgi package, the uwsgi binary is an empty file in the resulting package.
I tracked this error to py2deb.package.PackageToConvert.transform_binary_dist. If a custom install prefix is used, this function calls py2deb.utils.embed_install_prefix on files in the bin/ folder. embed_install_prefix inspects the contents of these files to find out if they are Python executables and, if so, injects some code into them. The problem occurs only for files that are not Python executables (i.e. they lack the respective shebang). The contents of those files are read from the handle parameter, then the function immediately returns. As handle is a file-like object, this reading of the contents advances the file pointer to the end of the file. Later, handle is read again to copy the file to its final destination in the .deb package, but as the file pointer is still at EOF, the resulting file is empty.
To fix this, we could simply reset the file pointer of handle at the end of embed_install_prefix.

Hi Jan and thanks for the feedback! To be honest I never consciously realized that Python packages can install binary executables, because I'd never encountered any in the packages that I've worked with over the years. I added a test that reproduces the issue you reported and then merged your pull request, which fixed the test (as expected). The bug fix is available in py2deb version 0.24.4 which I just released to PyPI and GitHub.


Fix compilation errors with FreeBSD and libwebsocket

Add a simple way to detect FreeBSD and skip LWS_HAVE_SYS_PRCTL_H compiling libwebsocket, as it would fail otherwise. Fix #16472.

I dont think SCsub is the correct place to configure platform specific options.
I think you are suppose to add it in
godot/modules/modules_name/config.py
correct me if i am wrong

I really don't know, I never used SCons before. I just used the same approach I did with thekla_unwrap (here) which got merged.
If there is a better way to do this, I'll be glad to change both.

i never saw the thekla_unwrap module.  I have no quirms

@hungrymonkey
you can use defined(__FreeBSD__) and defined(__OpenBSD__) instead of BSD_ENABLED

@robfram
you can use defined(__FreeBSD__) and defined(__OpenBSD__) instead of BSD_ENABLED

I agree with @Faless, could you amend the commit to do this?

If that #define are available everywhere, perhaps we should use them also in theka_atlas instead what I did.
I hope I used git to modify this pull request correctly.

Looks good to me, thanks! And yeah it could be done the same for thekla_atlas for consistency.


Send custom transactions

See https://github.com/gnosis/safe-react/issues/123

Travis automatic deployment:
https://pr162--safereact.review.gnosisdev.com
Storybook book automatic deployment:
https://pr162--safereactstorybook.review.gnosisdev.com

Looks good. A few notes:

Buttons should be aligned more to the left (refer to Zeplin designs)

It should be possible to select 0 as a value for custom transactions

After I conducted a custom transaction it did not show in the transaction list. Is this a bug or not yet implemented?

@lukasschor
value is 0 if the user doesn't fill that fill, but yes, I will also remove that message :)
Transactions should appear in the transaction list. I could, for example, replace an owner of the Safe using a custom transaction with the specific data. If you used MM, make sure that not only the transaction has status success, but also that you don't see this message in Etherscan.io Although one or More Error Occured [execution reverted] Contract Execution Completed

Travis automatic deployment:
https://pr162--safereact.review.gnosisdev.com
Storybook book automatic deployment:
https://pr162--safereactstorybook.review.gnosisdev.com

Travis automatic deployment:
https://pr162--safereact.review.gnosisdev.com
Storybook book automatic deployment:
https://pr162--safereactstorybook.review.gnosisdev.com

Travis automatic deployment:
https://pr162--safereact.review.gnosisdev.com
Storybook book automatic deployment:
https://pr162--safereactstorybook.review.gnosisdev.com


Provide better error message when running pipx upgrade on a pre-0.15 venv

Describe the bug
Today I've tried to pipx upgrade virtualenv and it failed:
Traceback (most recent call last):
  File "/home/mg/.local/bin/pipx", line 8, in <module>
    sys.exit(cli())
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/main.py", line 590, in cli
    return run_pipx_command(parsed_pipx_args)
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/main.py", line 192, in run_pipx_command
    venv_dir, package, pip_args, verbose, upgrading_all=False, force=args.force
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/commands/upgrade.py", line 34, in upgrade
    package_metadata = venv.package_metadata[package]
KeyError: 'virtualenv'

I've then manually upgraded pip, setuptools and pipx via
~/.local/pipx/venvs/pipx/bin/pip install -U setuptools pip
~/.local/pipx/venvs/pipx/bin/pip install -U pipx

and tried to see if the latest pipx also fails, by running pipx upgrade pipx, and I got
Traceback (most recent call last):
  File "/home/mg/.local/bin/pipx", line 8, in <module>
    sys.exit(cli())
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/main.py", line 590, in cli
    return run_pipx_command(parsed_pipx_args)
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/main.py", line 192, in run_pipx_command
    venv_dir, package, pip_args, verbose, upgrading_all=False, force=args.force
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/commands/upgrade.py", line 34, in upgrade
    package_metadata = venv.package_metadata[package]
KeyError: 'pipx'

How to reproduce
pipx upgrade pipx
mg@blynas: ~ $ pipx upgrade --verbose pipx
pipx > (run_pipx_command:141): Virtual Environment location is /home/mg/.local/pipx/venvs/pipx
Traceback (most recent call last):
  File "/home/mg/.local/bin/pipx", line 8, in <module>
    sys.exit(cli())
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/main.py", line 590, in cli
    return run_pipx_command(parsed_pipx_args)
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/main.py", line 192, in run_pipx_command
    venv_dir, package, pip_args, verbose, upgrading_all=False, force=args.force
  File "/home/mg/.local/pipx/venvs/pipx/lib/python3.7/site-packages/pipx/commands/upgrade.py", line 34, in upgrade
    package_metadata = venv.package_metadata[package]
KeyError: 'pipx'

Expected behavior
No crash, working upgrade.

Fixed via #414


English to Korean translation problem

Hi. I was trying to translate a certain json file from English to Korean but I have faced into a problem and it seems to it cannot translate in some sentence or a word. I have tried all three translators possible, and the problem was:
undefined:63
"quest.crystals.description":"This planet has a unique ecosystem with biomes comprised of hot temperatures permeated from large lava lakes at its core, to cooler
in JSON at position 10080ken
at JSON.parse ()
at _callee2$ (C:\Users\user\AppData\Roaming\npm\node_modules@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:1412:26)
at tryCatch (C:\Users\user\AppData\Roaming\npm\node_modules@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:116:40)
at Generator.invoke [as _invoke] (C:\Users\user\AppData\Roaming\npm\node_modules@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:347:22)
at Generator.next (C:\Users\user\AppData\Roaming\npm\node_modules@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:172:21)
at asyncGeneratorStep (C:\Users\user\AppData\Roaming\npm\node_modules@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:16:24)
at _next (C:\Users\user\AppData\Roaming\npm\node_modules@parvineyvazov\json-translator\dist\json-translator.cjs.development.js:38:9)
is there anything I can do? Thank you.
Sorry this is my very first time to using github and issuing so if you need more infomation, just let me know.

also found that if the json file is over 4000 lines, it seems to give up to translate. From line 3000 the lesser it becomes to translate, and when it reaches over 4000th line, it is not translated at all. Even though I saw some logs but I ignored because it was due to the large file.

@Sallos725 can you please try other translation services such as Bing Microsoft Translate, Libre Translate, Argos Translate
v1.8.0


Rubocop fixes and update Opscode -> Chef

I'm rejecting and closing this out because rebasing would be harder than cleaning it up from scratch.  We can try to make another go at it as priority permits.


platform: Generalized event listeners and created AnchorEventProcessor

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What

Use ExecutorService to replace Thread.
Use Thread.isInterrupted() to replace shutdown flag.
Avoid creating PlatformAPIClient per event.
Scaffold event listeners (SNS and AMQP)
Created AnchorEventProcessor which is listener type agnostic.
Modified the YAML configuration to enable listener selection (kafka, SQS, and AMQP)

Why
N/A
Known limitations
N/A

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr202.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr202.previews.kube001.services.stellar-ops.com/


Type inference fails to infer generic type arguments of closure default argument values

Reproduced in

Dart SDK Version 2.0.0-dev.63.0
macOS
Chrome

Here's a gist you can run to reproduce the error: https://dartpad.dartlang.org/396f0f9b95e4bee49fb13fab97fbe7d3
The default of list in the following example is inferred as a plain List, rather than List<String>.
void Function([List<String>]) foo() {
  return ([list = const []]) {
    /* ... */
  }
}

So long as you pass a list to the closure returned by foo(), everything is fine. You can even pass an untyped list, foo([]) and rely on the inference of the return type to fill in the generic type argument as String.
However, if you omit the argument, the default value is incorrectly instantiated without the correct generic type argument of String and yields a TypeError.

TypeError: Instance of 'JSArray': type 'JSArray' is not a subtype of type 'List'

Here are two workarounds for this bug.
  return ([list = const <String>[]]) {

  return ([List<String> list = const []]) {

Considering that inference works for an untyped list passed into the closure, I'd suspect it's possible for the untyped default argument value to be correctly inferred.

I'm not sure this is a failure/bug versus WAI (though I think the inconsistency hurts in any case).
/cc @jmesserly @leafpetersen thoughts?

This is definitely not WAI.  The default value should be inferred using the parameter type as the inference context, even if the parameter type is inferred via downwards inference.
This seems to  work correctly on DDC, so I think this is just a CFE bug.

Thanks @leafpetersen!

I'm guessing this is working as intended
([List<dynamic> l]) {} is void Function([List<String]); // true
The inference won't make the argument more specific because it doesn't need to in order to satisfy the return type.
<dynamic>[] is List<String>; // false
Here the inference makes the List type more specific because it needs to in order to satisfy the return type.

I originally expected downwards inference to work here as @leafpetersen suggests, but @natebosch's point seems valid too. If the argument does satisfy the return type, why is it then a runtime error?

It doesn't need to in order to satisfy the return type, but in general it may need to in order to statically type uses of the argument in the body.  We don't consider parameter uses when doing inference, so we just go ahead and infer the more specific type.
void Function([List<String>]) foo() {
  return ([list = const []]) {
    if (list.length > 0) {
     print(list[0] + "hello");  // If I don't infer List<String> for the argument, this has to be a dynamic call, and I can't give you an error if you do list[0] + 3
  }
}

in analyzer this happens in two stages:

inferFormalParameterList in static_type_analyzer.dart -> marks the parameter with the inferred type
visitDefaultFormalParameter in resolver.dart -> makes the inferred (or declared) parameter type be the context type for the default value

@jmesserly so is step 2 not getting the inferred type, and thus using the declared?

@jmesserly so is step 2 not getting the inferred type, and thus using the declared?

oh no sorry, I was describing the behavior for the Analyzer (used by DDC and IDEs) ... this appears to be working correctly in Analyzer. I wrote that in case it would help the CFE folks track down the bug.


feat: add public API for root span id

Make it possible for external users to get a unique identifier for the
root span. This can be used to uniquely identify the top level
incoming http request context for example.

Typo in the commit message identified -> identifier.

Renamed to getCurrentContextId. Will land once the CI is green.


Acode(Prettier) scrolls to last line when saving

I just updated yesterday and with Prettier installed, when I save Acode scrolls to the last line of code. Without Prettier the code then loses most indenting/formatting. I'm on a GalaxyA02s with Android 11.

Move this issue to acode-plugin-prettier


Update README.md

Hi @susw12, thanks for you interest in contributing to VSCode! I don't think we want to add this sentence to the README, since this sounds like it's describing an extension to VSCode. If you want to make changes to the code, I recommend reading through https://github.com/Microsoft/vscode/wiki/How-to-Contribute and looking at our good first issues list


Argument of type 'WalletInstance' is not assignable to parameter of type 'WalletApi'. Problem

I have integrated lucid to nextjs mesh app and I get this error from code after this
Argument of type 'WalletInstance' is not assignable to parameter of type 'WalletApi'.
Property 'getCollateral' is missing in type 'WalletInstance' but required in type 'WalletApi'.ts(2345)
global.d.ts(15, 5): 'getCollateral' is declared here.
// Assumes you are in a browser environment
const api = await window.cardano.nami.enable();
lucid.selectWallet(api);
The error is on api the parameter for function selectWallet.
What should i do to solve this? Thank you for your help.

Thanks, it is working


An error occurs when authorizing GitHub for VSCode

OS: Win10 & Mac
Build Version: 20200514.4
Repro Steps:

Install the Static Web Apps Extension from VSIX.
Click "Create Static Web App...".
Pop up a prompt as the below. --> Click "Allow" -->Open the GitHub page in browser.

Authorize GitHub for VSCode -->Continue --> Confirm Password
Check the result.

Expect:
Authorize successfully.
Actual:
An error occurs.

More Info:

It's successful to authorize GitHub for VSCode at second time.

Back to VS Code, an error dialog pops up.

Verified on the latest build 20200819.1, this issue doesn't reproduce for now, so close it.


help

Describe your problem here.

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

you forgot to add "var" for the "VersionShit" object


New package: Quantics v0.3.7

Registering package: Quantics
Repository: https://github.com/tensor4all/Quantics.jl
Created by: @shinaoka
Version: v0.3.7
Commit: 0103130ee3060c1841fab6adb82c1d61f4d12a6a
Reviewed by: @shinaoka
Reference: https://github.com/tensor4all/Quantics.jl/issues/12#issuecomment-2242344444

OK, I will rename the package to another one. Could you close this PR?

This name seems fine
That bot is there to catch things that are immigrating.
If you edit your last message to have
[no block]
in it then will auto merge

@oxinabox
Can we reactivate this PR?

will chase up why it is stuck


Tighter types for Object.keys/values/entries

Fixes #

https://stackoverflow.com/questions/55012174/why-doesnt-object-keys-return-a-keyof-type-in-typescript


The Stage Manager with handle winodow policy

Hi  developer,
I have try your stage manager app. I found you have plan the scheme both drop window to secene and pull window from scene.
But your current scheme is only use pull window from scene.
I have try to re-managment your code with change the order first check "EnableWindowPullToScene" and then check "EnableWindowDropToScene". After the re-order the code sequence. You can both enable EnableWindowDropToScene and EnableWindowPullToScene to realize the both direction for user using. This schemem can be more intuitive.
The other scheme I still cannot realize is drop the window to "a new scene" which is not the current existed scene. Will you add this function to enhance this app ?

I started with drop to scene but found out that Apple only implemented pull to scene. If course both could be activated, I also think Apple will enable it too.

I have successed to use your code to do that. If you need, I can send the code back to you.
I am happy to use your app on my current notbook. ^.^b
The only defect of this bidirection window management is that the drop window to secene cannot remember the first mouse press window location. When the Window of "drop window to secene"  is successfully combined into the other scene, the Window location will show on the "mouse release" location. You should move the "Window" back to your perference location again.
I am a C# new beginner.  I still try to learn the structure of how to re-manage the above condition.
If you can help to do that, I will really appreciate your help very much.

I already got that managed saving a copy of the window location after each move that can be used after the drop.
However the issue with "drop to scene" was that the global mouse hook interfered with ordinary window focus clicks if they are close to the scenes and then - pop - the window was moved to another scene.
I was happy to disable that feature as I noticed Apple skips that one too.


confirmMetamaskTransaction failed with timeout error -

Hey , I am working on automation testing of Dapp. Till now everything went smoothly , like Dapp connected with wallet and before that MM was smoothly initialised . But afterwards when I confirmed transaction , test failed with following Error -

I am using synpress version 1.2.0

Hey, this is old and probably not relevant to latest synpress version. If this issue still persists, please re-open. Thanks!


does not takeover rancheros

if you're not going to support installation from docker-machine onto vsphere then it would be great if the install.sh script could takeover a rancheros installation. At least there would be a path to k3os on vmware

As mentioned in #201, please see https://github.com/rancher/k3s/issues/73

So the answer is... k3s uses containerd and rancher is docker. they work together but add layers of junk to get there. I'll have to take that at face value but it's all the more reason for k3os to support docker-machine.
Orchestration through simple tools is my motto.


Cuda out of memory(Training process)

Hellow !
I follow the following settings, and I used the NVIDIA GeForce RTX 3090 (24GB) to run the trianing code. However, I met the problem of cuda out of memory.  Is it because the VRAM of the 3090ti graphics card is insufficient for training?
single gpu
CUDA_VISIBLE_DEVICES="0," accelerate launch train_seesr.py
--pretrained_model_name_or_path="preset/models/stable-diffusion-2-base"
--output_dir="./experience/seesr"
--root_folders 'preset/datasets/train_datasets/training_for_seesr'
--ram_ft_path 'preset/models/DAPE.pth'
--enable_xformers_memory_efficient_attention
--mixed_precision="fp16"
--resolution=512
--learning_rate=5e-5
--train_batch_size=1
--gradient_accumulation_steps=2
--null_text_ratio=0.5
--dataloader_num_workers=0
--checkpointing_steps=10000

I've encountered the same issue. Has the problem been resolved?


<EMAIL_ADDRESS>postinstall: cpy 'assets/quill.html' '../../android/app/src/main/assets/'

I have this issue when I'm trying to run the install.
The attempt failed after changing cpy to 'cp' using the command as alias.

You can copy https://github.com/youngjuning/react-native-quill-editor/blob/master/assets/quill.html to android/app/src/main/assets/ manually

Sorry for that, I will remove postinstall

same here

any update?


Fix: handled the cases where markdown_with_citations, references_markdown, and filtered_html might not be defined.

@HamzaFarhan, thank you so much for your contribution. I'll definitely add your name to list of collaborators. And, in case you're interested, you can share your email address; I can send a Discord invitation.

<EMAIL_ADDRESS>

@HamzaFarhan Will send the invitation soon, thx


"discord.ext.voice_recv.opus: x packets were lost being flushed in decoder" causing wav file to be output incorrectly

When packets are flushed, the output wav file seems to speed up and skip audio sections
Example files: https://drive.google.com/drive/folders/13TclkKZRA6_9nm_jJvg3-T3WSgENQeKJ?usp=drive_link
This also seems to happen with WaveSinks, so I'm not quite sure that its my code acting up.
What I'm currently doing is writing all of the received VoiceData to a bytes() and then using Wave_write.writeframes to create a wav file with the bytes.
Is this intended behavior, and if so, is there a way around it?

  Since there's no equivalent function on the dpy voice send side of things I have to figure out if/how I want to expose it.  There's a bit more design and testing to do on my end but at this point no, problems are not "intended", but for this issue in particular I don't think I have anything for you just yet.

no problem, I understand that this is probably a lot more complicated than what appears, so please take your time!

Hey there.. any update?

I've figured out what's causing this.  The sequence rollover handling logic is a bit buggy causing it to erroneously drop packets.  This will be fixed in due time.

About time haha! Good luck

Apologies for the necropost, but are there any updates on this yet?

Unfortunately not yet.  I've been fairly busy lately and in the middle of working through the issues in this I ended up putting this aside for some time.  At the moment im still a bit busy but I'll try to see if I can sort this issue out quickly or if I need to put more work into it.


Does not works well with TSX

Package version
v3.0.0-8
Describe the bug
Hello,
I'm using the latest version of the Vite plugin with the setup indicated in this blog article: https://adonisjs.com/blog/use-tsx-for-your-template-engine.
Every time I save a tsx file in the resource directory, even with the reloadServer set to false, the server reload. With edge, only the page reload. Is this the expected behavior ? Also, I setup css file in the TS file but this create a fouc because assets take more than 2 seconds to loads (and loads after the JS loads).
Reproduction repo
No response

With a very simple app (the web start), moving from v2 to v3 increase start up time from 500ms to 2s which is a lot.

there are several mixed issues in this thread. it would be nice to open separate issues afterwards

Every time I save a tsx file in the resource directory, even with the reloadServer set to false, the server reload. With edge, only the page reload. Is this the expected behavior

Yes. Long story short : a TSX file is a javascript file that is imported via an import. Javascript maintains a cache of imported files. If you import the same file twice, you'll get the same content. So, if you want to have the latest version of home.tsx, you need to restart the node process.
We need to experiment with ESM cache busting solutions for this. But for now, yes, that's the expected behavior. In any case, there's no relation with adonisjs/vite here

Also, I setup css file in the TS file but this create a fouc because assets take more than 2 seconds to loads (and loads after the JS loads).

What do you use to make your CSS? Tailwind, SASS, vanilla CSS ? Usually the solution is just to create a specific entrypoint for your CSS and load it separately like @vite(['resources/js/app.js, 'resources/css/app.css']).
If you're using something like UnoCSS, with which you have to import CSS via Javascript, then yes you'll have a FOUC. This problem has been solved on adonisjs/inertia, but I'll have to look into backporting a solution into adonisjs/vite.

With a very simple app (the web start), moving from v2 to v3 increase start up time from 500ms to 2s which is a lot.

OS ? Windows ?

Thanks for this answer! I will open decated issues with more details!

Thank for splitting the issues. i think we can close this one


Include false values

Hey there,
As described in the readme, you should be able to set the is_preview as so:
article.is_preview = false
The problem is that in Properties#as_json we are checking if val.blank? and then dropping all non-blank values.
Since false.blank? == true that means that the is_preview property won't be included at all.
Probably a way to solve it is to exclude false values from the check.
Until then, a temporary workaround is to define it as a string: article.is_preview = "false".
Please let me know if the suggested solution makes sense.
Cheers,
Giorgos

Good catch, I remember running into this issue awhile back to but forgot to fix myself. Thanks!


Add a patch to libva to add back the correct libxcb constraint

It was accidentally removed in https://github.com/conda-forge/libva-feedstock/pull/38
Checklist

[ ] Used a static YAML file for the patch if possible (instructions).
[ ] Only wrote code directly into generate_patch_json.py if absolutely necessary.
[ ] Ran pre-commit run -a and ensured all files pass the linting checks.
[ ] Ran python show_diff.py and posted the output as part of the PR.
[ ] Modifications won't affect packages built in the future.

Will unconvert from draft once i get the patch.
But the line:
WARNING (libva,lib/libva-x11.so.2.2100.0): Needed DSO lib/libxcb.so.1 found in ['conda-forge/linux-ppc64le::libxcb==1.15=h4194056_0']

exists on the builds.

2024-06-07T12:23:21.1340850Z linux-aarch64
2024-06-07T12:23:21.1344794Z linux-aarch64::libva-2.21.0-h68df207_2.conda
2024-06-07T12:23:21.1349905Z +    "libxcb >=1.15.0,<1.16.0",
2024-06-07T12:24:53.3172078Z linux-64
2024-06-07T12:24:53.3176400Z linux-64::libva-2.21.0-h4ab18f5_2.conda
2024-06-07T12:24:53.3180366Z +    "libxcb >=1.15.0,<1.16.0",
2024-06-07T12:25:00.1849769Z linux-ppc64le
2024-06-07T12:25:00.1854348Z linux-ppc64le::libva-2.21.0-h1f2b957_2.conda
2024-06-07T12:25:00.1858594Z +    "libxcb >=1.15.0,<1.16.0",


ASTHelpersSuggestions does not flag call to packge() on com.sun.tools.javac.code.Symbol.ClassSymbol

I noticed that calls to packge() were not flagged by the new ASTHelpersSuggestions check when the static type of the receiver is com.sun.tools.javac.code.Symbol.ClassSymbol, which just inherits the packge() method from Symbol.  I think this is because the check matches on the exact class Symbol:
https://github.com/google/error-prone/blob/80650f545a4c51453b2a2df7b893411ae1732b2b/core/src/main/java/com/google/errorprone/bugpatterns/ASTHelpersSuggestions.java#L43-L46
Was this intentional?

I've sent a PR to fix this internally, so I'll optimistically mark this as fixed in the next release.


Being able to temporarily disable the trait

This is  a feature request.

Prerequisites

[X] Are you running the latest version?
[X] Are you reporting to the correct repository?
[X] Did you check the documentation?

Description
Hi,
In our existing migrations, we have some data that we create, for instance the "default user" account.  Since we now have added the trait to the User model, the trait comes in actions, and wants to save the versionings table, which at this time does not exist yet, because the migration for the laravel-enso/versioning comes later in the migrations.
Hence, doing a migrate:fresh now basically does no longer work because it crashes when creating models and saving them to the database.
I would like a way to temporarily disable the trait in the database migrations.  Would this be a nice feature?

I guess that we can change the name of the migration to make sure it's prior everything else and then make sure that php artisan enso:upgrade will update the migration name for existing projects.

Sounds great.  Meanwhile, we moved our default data providers away feom migrations into their separate command that we now run after migratuons...
Thanks!

fixed in c8207741f99d6f9f47b51b9197766f5901a3cf67


unique ptr requires a delete definition

std unique_ptr and TUniquePtr both require a defined destructor to compile.  A forward declaration is not sufficient for proper compilation.  I suspect this is hidden by Unreal's Unity build system.
The following is one pattern to fix the issue.

Which platform has a stop build for this? Windows/Android appear to compile with old setup

The unique ptr setup is a leftover from the upstream fork. If we want to transition away from std method, I'd use unreal's smart pointers and MakeShareable wrappers e.g. something like
TSharedPtr<FLlama> Llama = MakeShareable(new FLlama);

If you make that change and confirm build/run success, I'll merge it.

My environment is:
Windows
Visual Studio 2022 CE 14.40.33811
UE 5.4.4
building llama.cpp with CUDA
Converting to TSharedPtr will result in the same outcome on my environment.
I had considered that as a possibility as well.
I believe this covers the topic:
https://www.fluentcpp.com/2017/09/22/make-pimpl-using-unique_ptr/

According to the link another option is to declare the destructor and implement in the CPP file. Let's try that with Unreal's TSharedPtr as that seems like the most appropriate API

Merged thanks for the fix, saw this strictness requirement in 5.4 and confirmed your implementation worked. Will revisit if smart ptr wrapper is possible later.


Bug report: SkyFonts is not actually installed

Description of issue
Running brew cask install skyfonts is not actually installing SkyFonts but placing kind of a second installer in /Applications which shows a license agreement window when started. After accepting, the installer quits and the SkyFonts-client is not installed.
Output of brew cask install skyfonts --verbose
Warning: The default Caskroom location has moved to /usr/local/Caskroom.

Please migrate your Casks to the new location, or if you would like to keep your
Caskroom at /opt/homebrew-cask/Caskroom, add the following to your HOMEBREW_CASK_OPTS:

  --caskroom=/opt/homebrew-cask/Caskroom

For more details on each of those options, see https://github.com/caskroom/homebrew-cask/issues/21913.
==> Downloading http://cdn1.skyfonts.com/client/Monotype_SkyFonts_Mac64_<IP_ADDRESS>.dmg
/usr/bin/curl -fLA Homebrew-cask v0.51+ (Ruby 2.0.0-648) http://cdn1.skyfonts.com/client/Monotype_SkyFonts_Mac64_<IP_ADDRESS>.dmg -C 0 -o /Users/simonroth/Library/Caches/Homebrew/skyfonts-<IP_ADDRESS>.dmg.incomplete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 21.7M  100 21.7M    0     0   763k      0  0:00:29  0:00:29 --:--:--  857k
==> Verifying checksum for Cask skyfonts
==> Moving App 'SkyFonts.app' to '/Applications/SkyFonts.app'
🍺  skyfonts staged at '/opt/homebrew-cask/Caskroom/skyfonts/<IP_ADDRESS>' (637 files, 52M)

Output of brew doctor
Your system is ready to brew.

Please migrate your Casks to the new location, or if you would like to keep your
Caskroom at /opt/homebrew-cask/Caskroom, add the following to your HOMEBREW_CASK_OPTS:

  --caskroom=/opt/homebrew-cask/Caskroom

For more details on each of those options, see https://github.com/caskroom/homebrew-cask/issues/21913.
==> Homebrew-cask Staging Location:
/opt/homebrew-cask/Caskroom
==> Homebrew-cask Cached Downloads:
/Users/simonroth/Library/Caches/Homebrew
/Users/simonroth/Library/Caches/Homebrew/Casks
2 files, 43.6M (warning: run "brew cask cleanup")
==> Homebrew-cask Default Tap Path:
/usr/local/Library/Taps/caskroom/homebrew-cask
==> Homebrew-cask Alternate Cask Taps:
<NONE>
==> Homebrew-cask Default Tap Cask Count:
3208
==> Contents of $LOAD_PATH:
/usr/local/Library/Taps/caskroom/homebrew-cask/lib
/usr/local/Library/Homebrew
/Library/Ruby/Site/2.0.0
/Library/Ruby/Site/2.0.0/x86_64-darwin15
/Library/Ruby/Site/2.0.0/universal-darwin15
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin15
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin15
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin15
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin15
==> Contents of $RUBYLIB Environment Variable:
<NONE>
==> Contents of $RUBYOPT Environment Variable:
<NONE>
==> Contents of $RUBYPATH Environment Variable:
<NONE>
==> Contents of $RBENV_VERSION Environment Variable:
<NONE>
==> Contents of $CHRUBY_VERSION Environment Variable:
<NONE>
==> Contents of $GEM_HOME Environment Variable:
<NONE>
==> Contents of $GEM_PATH Environment Variable:
<NONE>
==> Contents of $BUNDLE_PATH Environment Variable:
<NONE>
==> Contents of $PATH Environment Variable:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Library/Taps/caskroom/homebrew-cask/cmd:/usr/local/Library/ENV/scm"
==> Contents of $SHELL Environment Variable:
SHELL="/bin/bash"
==> Contents of Locale Environment Variables:
LC_CTYPE="UTF-8"
==> Running As Privileged User:
No

This is not a bug, they simply changed their install process. Unfortunately, now it’s an app installer.
https://github.com/caskroom/homebrew-cask/pull/21937

Thanks a lot for the clarification and your fast commit. 😃


[TextBlock] - Runing game causes segmentation fault when Graphics Api is OpenGL

Release Type: Official Release
Version: Latest
Platform(s): Linux/Windows, OpenGL
Describe the bug
After launching, the game crashes, causing a segmentation error after exactly n seconds
To Reproduce
Steps to reproduce the behavior:

Create JumpyJet demo
Target Linux platform
Build / Publish the game on Windows
Run executable on Linux after meeting requirements or Windows
Application should crash after few seconds

Expected behavior
The application should work without any problems
My observations
Every application that had TextBlock objects caused this problem. When I removed all occurrences of it (for example, in JumpyJet) the problem did not appear

Update: There is something wrong with OpenGL api. Switched on Vulkan everything works fine

Do you have any stacktrace from the segfault?

@NicusorN5 No it just silently crash :(
I also updated title because it seems that OpenGL does not work properly on any platforn

I don't know if it be useful, but here is the frag of dotnet-dump tool analysis

I switched backed again to Windows and I've managed to receive stacktrace:
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Silk.NET.OpenGL.GL.BufferData[[System.IntPtr, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Silk.NET.OpenGL.BufferTargetARB, UIntPtr, IntPtr ByRef, Silk.NET.OpenGL.BufferUsageARB)
   at Stride.Graphics.CommandList.MapSubresource(Stride.Graphics.GraphicsResource, Int32, Stride.Graphics.MapMode, Boolean, Int32, Int32)
   at Stride.Graphics.BatchBase`1[[Stride.Graphics.UIBatch+UIImageDrawInfo, Stride.Graphics, Version=<IP_ADDRESS>8, Culture=neutral, PublicKeyToken=null]].DrawBatchPerTextureAndPass(ElementInfo<UIImageDrawInfo>[], Int32, Int32)
   at Stride.Graphics.BatchBase`1[[Stride.Graphics.UIBatch+UIImageDrawInfo, Stride.Graphics, Version=<IP_ADDRESS>8, Culture=neutral, PublicKeyToken=null]].DrawBatchPerTexture(Stride.Graphics.Texture, ElementInfo<UIImageDrawInfo>[], Int32, Int32)
   at Stride.Graphics.BatchBase`1[[Stride.Graphics.UIBatch+UIImageDrawInfo, Stride.Graphics, Version=<IP_ADDRESS>8, Culture=neutral, PublicKeyToken=null]].FlushBatch()
   at Stride.Graphics.BatchBase`1[[Stride.Graphics.UIBatch+UIImageDrawInfo, Stride.Graphics, Version=<IP_ADDRESS>8, Culture=neutral, PublicKeyToken=null]].End()
   at Stride.Rendering.UI.UIRenderFeature.DrawInternal(Stride.Rendering.RenderDrawContext, Stride.Rendering.RenderView, Stride.Rendering.RenderViewStage, Int32, Int32)
   at Stride.Rendering.UI.UIRenderFeature.Draw(Stride.Rendering.RenderDrawContext, Stride.Rendering.RenderView, Stride.Rendering.RenderViewStage, Int32, Int32)
   at Stride.Rendering.RenderSystem.Draw(Stride.Rendering.RenderDrawContext, Stride.Rendering.RenderView, Stride.Rendering.RenderStage)
   at JumpyJet.JumpyJetRenderer.DrawCore(Stride.Rendering.RenderContext, Stride.Rendering.RenderDrawContext)
   at Stride.Rendering.Compositing.SceneRendererBase.Draw(Stride.Rendering.RenderDrawContext)
   at Stride.Rendering.Compositing.SceneCameraRenderer.DrawInner(Stride.Rendering.RenderDrawContext)
   at Stride.Rendering.Compositing.SceneCameraRenderer.DrawCore(Stride.Rendering.RenderContext, Stride.Rendering.RenderDrawContext)
   at Stride.Rendering.Compositing.SceneRendererBase.Draw(Stride.Rendering.RenderDrawContext)
   at Stride.Rendering.Compositing.GraphicsCompositor.DrawCore(Stride.Rendering.RenderDrawContext)
   at Stride.Rendering.RendererBase.Draw(Stride.Rendering.RenderDrawContext)
   at Stride.Engine.SceneSystem.Draw(Stride.Games.GameTime)
   at Stride.Games.GameSystemCollection.Draw(Stride.Games.GameTime)
   at Stride.Games.GameBase.Draw(Stride.Games.GameTime)
   at Stride.Games.GameBase.RawTick(System.TimeSpan, Int32, Single, Boolean)
   at Stride.Games.GameBase.RawTickProducer()
   at Stride.Games.GameBase.Tick()
   at Stride.Games.GamePlatform.Tick()
   at Stride.Games.GamePlatform.OnRunCallback()
   at Stride.Games.GameWindowSDL+<>c__DisplayClass17_0.<Run>b__0()
   at Stride.Games.SDLMessageLoop.Run(Stride.Graphics.SDL.Window, RenderCallback)
   at Stride.Games.GameWindowSDL.Run()
   at Stride.Games.GamePlatform.Run(Stride.Games.GameContext)
   at Stride.Games.GameBase.Run(Stride.Games.GameContext)
   at Program.<Main>$(System.String[])
Segmentation fault

I tried to debug code for a couple of days and I still dont understand why It crashes. In my case adding if (mapMode == MapMode.WriteDiscard && buffer.BufferId == 11) for CommandList.OpenGL.cs -------> MapSubresource (line 940)  was fixing an issue

BufferId == 11 was ArrayBuffer in my case

So what is the problem now if you have fixed it?

this is just a workaround


add examples

add examples for each status/command that shows a request and the corresponding respons.

Json examples for each status/command has been added

great, thanks!


Sparrow dom/search

Checklist:

[ ] Code contains relevant tests for the problem you are solving
[ ] Ensure all new and existing tests pass
[ ] Update any relevant READMEs and docs

Description:

Add the search interface to origin-js
Add generic search filters to GraphQl schema
Change pagination description in GraphQl

Dependant PR: https://github.com/OriginProtocol/origin-dapp/pull/396

It feels awkward to have the discovery server querying tied into the marketplace code. Since it's entirely generic, it feels more like it should live as a services/DiscoveryService?
We can talk later today about it.

@sparrowDom Is this ready for final round of review ?

@franckc @DanielVF Yup agreed. Discovery should be a separate resource separated from marketplace. Doing the changes now

@DanielVF @franckc this PR is ready for the final review.

Let's merge this puppy and then we can iterate on improvements.


match and filter mode not working with acc :)

I faced this problem while FUZZIng Host header , some times 404 status code is a valid e.g. s3 bucket so now I wanna match 404 but also there is 404 status code isn't a valid so best option here is I have to use -mc and -acc together but while using -mc and -acc together e.g.
ffuf -u https://www.domain.com/ -H "Host: FUZZ.domain.com" -w words.txt -mc all -acc anything
ffuf prefer -mc all but ffuf here should match all status code besides filtering everything similar to anything but it's not working also I tried to use -mmode and OR -fmode and but not working too !

@0xAwali, since you are using -ac/acc, maybe it is filtering 404 size/words/lines?


docs(faq): explain field shadowing

Resolves: #2231
Signed-off-by: Vasek - Tom C<EMAIL_ADDRESS>

If we merge it to a guide ("coding style"), it could be summarized in fewer words. Basically explaining that key names need to be escaped with double quotes ("keyName") if there is another key with the same name somewhere in the same scope, otherwise it'll be considered as a reference and produce a CUE error.

Field shadowing is a complexe error that IMO deserve his own article to explain it, I think it's not enough to just explain this issue with a sentence


WPF application not working after rename protection

When I protect the following app with rename protection it no longer displays the pages properly, after protecting I copied the dll files into the Confused directory to get it to load. I am using the 2.0 branch.
Unprotected.zip

Any updates ?

The issue is that the binding expressions in the XAML files are not handled properly. This will take some time to fix. The problem is that the constructor parameter of the expression is not mapped to the property in the classes.
In detail this expression causes the issue:
DataContext="{Binding ApplicationViewModel.CurrentPage, Source={x:Static viewModel:ViewModelLocator.Instance}, Converter={valueConverters:ApplicationPageValueConverter}}"

ApplicationViewModel.CurrentPage is not resolved to the property in ViewModelLocator. Fixing this will take some time, because handling the binding expressions separately, can't be easily done in the way how the BAML analysis works now. I suggest disabling the renaming of both the ApplicationViewModel property and the CurrentPage property to work around this issue for now.

So basically a lot of the baml analysis code will have to be rewritten?

The parts that handle the processing those bindings need to anyway. They don't take into consideration what is used as the source for the binding and assume that the type will match with the property the binding writes to. That works sometimes, but it absolutely does not work for the DataContext.

I solved this in my project via a work-a-round. If i see a binding is after protection broken, so i set the binding in the constructor CS. This works for me.


Verba - Pip Installation not working at all on Ubuntu 24.04

Description
No way to get Verba working on even a brand new VM Ubuntu 24.04.
Installation

[x] pip install goldenverba

If you installed via pip, please specify the version:
Lastest Python version on Ubuntu 24.04
Weaviate Deployment

[x] Local Deployment

Configuration
I do not have, once accessing the Verba portal, any "RAG", "Add Documents", etc. tabs.
Steps to Reproduce
Run a brand new VM based on Ubuntu 24.04 and try creating a simple python venv, then run the pip install goldenverba, set up the .env with Ollama and try to open the Verba frontend on port 8000. Once selected Local Deployment, no RAG or Add Documents tabs. No settings available.
Additional context
During the startup I get the following:
✘ Document Count retrieval failed: Query call with protocol GQL
Aggregate failed with message Error in GraphQL response: [   {     "locations":
[       {         "column": 12,         "line": 1       }     ],     "message":
"Cannot query field "VERBA_Embedding_gemma2_9b" on type
"AggregateObjectsObj".",     "path": null   } ], for the following query:
{Aggregate{VERBA_Embedding_gemma2_9b(groupBy: ["doc_uuid"]){meta{count}
groupedBy { path value } }}}.
Additional info are:

Both the host and the VM can ping each other.
After the creation of the virtualenv in python there's a missing step in the docs, as I had to activate it before running the pip command.

I tried also with:
git clone https://github.com/weaviate/Verba
pip install -e .
No luck, always the same output (and it seems also connected to the Ollama server I'm running on host side).
It seems it does not work at all.

Exact same issue here, but on Ubuntu 22.04. Have tried docker and built from source deployments, as well as dockerized Ollama and local Ollama set-ups. Everything seems to work correctly (e.g., Verba sees and connects to Ollama models) but "Reconnecting" button never goes away. Below are some logs from a built from source start-up:
$ verba start ℹ Couldn't connect to Groq (https://api.groq.com/openai/v1/) INFO:     Will watch for changes in these directories: ['/home/ubuntu/verbapip'] WARNING:  "workers" flag is ignored when reloading is enabled. INFO:     Uvicorn running on http://localhost:8000 (Press CTRL+C to quit) INFO:     Started reloader process [148869] using WatchFiles ℹ Couldn't connect to Groq (https://api.groq.com/openai/v1/) INFO:     Started server process [148877] INFO:     Waiting for application startup. INFO:     Application startup complete. INFO:     [redacted]:0 - "GET / HTTP/1.0" 200 OK ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ✔ Connecting new Client ℹ Connecting to Weaviate Cluster http://localhost:8080 with Auth ✘ Couldn't connect to Weaviate, check your URL/API KEY: Invalid port: '8080:443' ✘ Failed to connect to Weaviate Couldn't connect to Weaviate, check your URL/API KEY: Invalid port: '8080:443' /home/ubuntu/verbapip/venv/lib/python3.10/site-packages/weaviate/warnings.py:303: ResourceWarning: Con004: The connection to Weaviate was not closed properly. This can lead to memory leaks.             Please make sure to close the connection using client.close().   warnings.warn( INFO:     [redacted]:0 - "POST /api/connect HTTP/1.0" 400 Bad Request ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ✔ Connecting new Client ℹ Connecting to Weaviate Cluster http://localhost:8000 with Auth ✘ Couldn't connect to Weaviate, check your URL/API KEY: Invalid port: '8000:443' ✘ Failed to connect to Weaviate Couldn't connect to Weaviate, check your URL/API KEY: Invalid port: '8000:443' INFO:     [redacted]:0 - "POST /api/connect HTTP/1.0" 400 Bad Request ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ✔ Connecting new Client ℹ Connecting to Weaviate Embedded {"action":"startup","default_vectorizer_module":"none","level":"info","msg":"the default vectorizer modules is set to \"none\", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer","time":"2024-11-27T17:40:01Z"} {"action":"startup","auto_schema_enabled":true,"level":"info","msg":"auto schema enabled setting is set to \"true\"","time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"No resource limits set, weaviate will use all available memory and CPU. To limit resources, set LIMIT_RESOURCES=true","time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"module offload-s3 is enabled","time":"2024-11-27T17:40:01Z"} {"level":"warning","msg":"Multiple vector spaces are present, GraphQL Explore and REST API list objects endpoint module include params has been disabled as a result.","time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"open cluster service","servers":{"Embedded_at_8079":56321},"time":"2024-11-27T17:40:01Z"} {"address":"<IP_ADDRESS>:56322","level":"info","msg":"starting cloud rpc server ...","time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"starting raft sub-system ...","time":"2024-11-27T17:40:01Z"} {"address":"<IP_ADDRESS>:56321","level":"info","msg":"tcp transport","tcpMaxPool":3,"tcpTimeout":10000000000,"time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"loading local db","time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"local DB successfully loaded","time":"2024-11-27T17:40:01Z"} {"level":"info","msg":"schema manager loaded","n":0,"time":"2024-11-27T17:40:01Z"} {"level":"info","metadata_only_voters":false,"msg":"construct a new raft node","name":"Embedded_at_8079","time":"2024-11-27T17:40:01Z"} {"action":"raft","index":1,"level":"info","msg":"raft initial configuration","servers":"[[{Suffrage:Voter ID:Embedded_at_8079 Address:<IP_ADDRESS>:46651}]]","time":"2024-11-27T17:40:01Z"} {"last_snapshot_index":0,"last_store_applied_index":0,"last_store_log_applied_index":5,"level":"info","msg":"raft node constructed","raft_applied_index":0,"raft_last_index":5,"time":"2024-11-27T17:40:01Z"} {"action":"raft","follower":{},"leader-address":"","leader-id":"","level":"info","msg":"raft entering follower state","time":"2024-11-27T17:40:01Z"} {"action":"bootstrap","error":"could not join a cluster from [<IP_ADDRESS>:56321]","level":"warning","msg":"failed to join cluster, will notify next if voter","servers":["<IP_ADDRESS>:56321"],"time":"2024-11-27T17:40:02Z","voter":true} {"action":"bootstrap","candidates":[{"Suffrage":0,"ID":"Embedded_at_8079","Address":"<IP_ADDRESS>:56321"}],"level":"info","msg":"starting cluster bootstrapping","time":"2024-11-27T17:40:02Z"} {"action":"bootstrap","error":"bootstrap only works on new clusters","level":"error","msg":"could not bootstrapping cluster","time":"2024-11-27T17:40:02Z"} {"action":"bootstrap","level":"info","msg":"notified peers this node is ready to join as voter","servers":["<IP_ADDRESS>:56321"],"time":"2024-11-27T17:40:02Z"} {"action":"raft","last-leader-addr":"","last-leader-id":"","level":"warning","msg":"raft heartbeat timeout reached, starting election","time":"2024-11-27T17:40:02Z"} {"action":"raft","level":"info","msg":"raft entering candidate state","node":{},"term":3,"time":"2024-11-27T17:40:02Z"} {"action":"raft","level":"info","msg":"raft election won","tally":1,"term":3,"time":"2024-11-27T17:40:02Z"} {"action":"raft","leader":{},"level":"info","msg":"raft entering leader state","time":"2024-11-27T17:40:02Z"} {"level":"info","msg":"reload local db: update schema ...","time":"2024-11-27T17:40:02Z"} {"index":"VERBA_CONFIG","level":"info","msg":"reload local index","time":"2024-11-27T17:40:02Z"} {"docker_image_tag":"unknown","level":"info","msg":"configured versions","server_version":"1.26.1","time":"2024-11-27T17:40:03Z"} {"action":"grpc_startup","level":"info","msg":"grpc server listening at [::]:50050","time":"2024-11-27T17:40:03Z"} {"address":"<IP_ADDRESS>:56321","level":"info","msg":"current Leader","time":"2024-11-27T17:40:03Z"} {"action":"restapi_management","docker_image_tag":"unknown","level":"info","msg":"Serving weaviate at http://<IP_ADDRESS>:8079","time":"2024-11-27T17:40:03Z"} {"index":"VERBA_DOCUMENTS","level":"info","msg":"reload local index","time":"2024-11-27T17:40:03Z"} {"action":"telemetry_push","level":"info","msg":"telemetry started","payload":"\u0026{MachineID:e3a87443-75d2-4a45-8c49-4366676a7ed4 Type:INIT Version:1.26.1 NumObjects:0 OS:linux Arch:arm64 UsedModules:[]}","time":"2024-11-27T17:40:03Z"} {"index":"VERBA_Embedding_nomic_embed_text_latest","level":"info","msg":"reload local index","time":"2024-11-27T17:40:03Z"} {"action":"hnsw_prefill_cache_async","level":"info","msg":"not waiting for vector cache prefill, running in background","time":"2024-11-27T17:40:04Z","wait_for_cache_prefill":false} {"level":"info","msg":"Completed loading shard verba_config_42Mq7GU59WVB in 2.868712ms","time":"2024-11-27T17:40:04Z"} {"action":"hnsw_vector_cache_prefill","count":3000,"index_id":"main","level":"info","limit":1000000000000,"msg":"prefilled vector cache","time":"2024-11-27T17:40:04Z","took":69960} ✔ Succesfully Connected to Weaviate ℹ Connection time: 3.40 seconds ℹ Using New RAG Configuration INFO:     [redacted]:0 - "POST /api/connect HTTP/1.0" 200 OK ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ℹ Cleaning Clients Cache INFO:     [redacted]:0 - "GET /ws/generate_stream HTTP/1.0" 404 Not Found ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ℹ Found existing Client {"action":"hnsw_prefill_cache_async","level":"info","msg":"not waiting for vector cache prefill, running in background","time":"2024-11-27T17:40:04Z","wait_for_cache_prefill":false} {"level":"info","msg":"Completed loading shard verba_documents_VqGEOnixuVWg in 1.029118ms","time":"2024-11-27T17:40:04Z"} {"action":"hnsw_vector_cache_prefill","count":3000,"index_id":"main","level":"info","limit":1000000000000,"msg":"prefilled vector cache","time":"2024-11-27T17:40:04Z","took":76879} ℹ Cleaning Clients Cache {"action":"hnsw_prefill_cache_async","level":"info","msg":"not waiting for vector cache prefill, running in background","time":"2024-11-27T17:40:04Z","wait_for_cache_prefill":false} {"level":"info","msg":"Completed loading shard verba_embedding_nomic_embed_text_latest_WOrKxNgiecbu in 894.277µs","time":"2024-11-27T17:40:04Z"} {"action":"hnsw_vector_cache_prefill","count":3000,"index_id":"main","level":"info","limit":1000000000000,"msg":"prefilled vector cache","time":"2024-11-27T17:40:04Z","took":71800} INFO:     [redacted]:0 - "POST /api/get_datacount HTTP/1.0" 200 OK ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK ℹ Found existing Client INFO:     [redacted]:0 - "POST /api/get_meta HTTP/1.0" 200 OK ℹ Cleaning Clients Cache ℹ Found existing Client ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK INFO:     [redacted]:0 - "POST /api/get_datacount HTTP/1.0" 200 OK ℹ Found existing Client ℹ Cleaning Clients Cache ℹ Cleaned up 0 clients INFO:     [redacted]:0 - "GET /api/health HTTP/1.0" 200 OK INFO:     [redacted]:0 - "POST /api/get_labels HTTP/1.0" 200 OK ℹ Found existing Client INFO:     [redacted]:0 - "POST /api/get_labels HTTP/1.0" 200 OK {"action":"bootstrap","level":"info","msg":"node reporting ready, node has probably recovered cluster from raft config. Exiting bootstrap process","time":"2024-11-27T17:40:04Z"} INFO:     [redacted]:0 - "GET /ws/generate_stream HTTP/1.0" 404 Not Found INFO:     [redacted]:0 - "GET /ws/import_files HTTP/1.0" 404 Not Found
I imagine that the 404's on the generate_stream and import_files are to blame but cannot track down why this error is occurring.

After thorough testing of further deployments using different weaviate set-ups including local, custom, and WCS configurations, nothing has changed. Signs seem to point to this being either a websocket issue in server/api.py or frontend issue in app/util.ts.

Hey, sorry for the late reply! Thanks for the issue, I'll look into this

@whiskeytangofoxy I think you're right, if the reconnecting button is consistently appearing the problem really might be with the websockets. If the error still persists and if you have time, could you share the frontend developer console, there might be some further indications about the websocket status
I'll try to recreate the errors you all mentioned. Thanks for all the details 🚀

Can you also let me know what exact python version you are using?


Single and multi-level wildcards

Can I use single- and multi-level wildcards (+ and #) as described in MQTT Spec v5?
What was the reasoning for relying on an ExpressJS-like parsing algorithm?
UPDATE: Actually it is possible to use # as wildcard subscription, the resulting value will be available in params as wild: 'matching-string'. However +name or just + doesn't work...

On the design choice of using ExpressJS-like path parsing, I found the matching logic for topics to handler functions very similar. I opted to re-use the broadly understood technique over reinventing something. Thanks for the question!
Regarding using MQTT wildcards, it is possible to send them to the MQTT server as-is. Instead of using the .subscribe_topic() wrapper method, use the .subscribe() and .on_topic() methods separately. The first sends the subscribe packet, and the .on_topic() allows hooking a corresponding handler. You could handle multiple different subscriptions in a single handler registered via .on_topic().
my_mqtt.on_topic('u8-mqtt-demo/*', pkt =>
    console.log(`Message`, pkt))

// ...
my_mqtt.subscribe('u8-mqtt-demo/part+/tail')

Thank you for the quick response and the new minor version published yesterday. I did not find my way around the documentation so well, so maybe you could give an example of a handler without the expressJS-like logic that comes with .on_topic()? That should be possible now, right?

Fantastic! Glad you have that working. Your example illustrates how useful it can be to separate handler logic from subscription logic.
If you want, you can name those variables using the :param_name syntax:
client.subscribe('v1/states/+/components/+/ios/channels/#')

client.on_topic('v1/states/:state_name/components/#', (pkt, params) => {
   // params contains:
   // state_name: 'value'
   // wild: 'value'
})

Also, I add a demo of splitting the two method calls at demo/simple/nodejs-split.js for others to find.


Add 'yarn build' script in root package.json

Add a top-level yarn script so that yarn build works (just an alias to lerna run build).

We don't need to cut a release for this one.


Suboptimal checklist handling

Checkbox is misaligned
Checkbox can be checked and unchecked, although the source issue is not getting updated by that action anyhow

I need this fixed I didn’t put no bug somebody did this to my phone fix it please


TypeError: a is not a function

TypeError: a is not a function
    in RL
    in Unknown
    in sT
    in Unknown
    in oM
    in Unknown
    in bs
    in Unknown
    in xA
    in Unknown
    in Qc
    in Unknown
    in $l
    in QN
    in Se
    in te
    in NH
    in v

On Google chrome...

@reimongela What version of Chrome are you using?

Hi there, I am closing this out as a duplicate issue of #3874. Please provide a response there. Thank you.


Can't install <IP_ADDRESS>

$ cabal install wreq
Resolving dependencies...
Downloading wreq-<IP_ADDRESS>...
Invalid package wreq-<IP_ADDRESS>

<IP_ADDRESS> does work tho:
$ cabal install wreq==<IP_ADDRESS>
Resolving dependencies...
Downloading wreq-<IP_ADDRESS>...
Configuring wreq-<IP_ADDRESS>...
Building wreq-<IP_ADDRESS>...
Installed wreq-<IP_ADDRESS>

Honestly I have no idea. Could you try to find out where is the problem? It's part of stackage, it compiles on the newer ghc in hackage, it seems some problem with your setup - possibly some old version of cabal/ghc?


Bump sdk to 2.12.1

Make sure tests pass

This will also fix #86

Tests are green following the commit

2.12.1 would not execute in browser due to this issue.
We have since moved on to supporting 2.17.1 (#100).
Closing this


Fix template links in azure.html

Update the azure.html page to render links using the configured Azure
release location (dcosio.azureedge.net). FIXES: https://mesosphere.atlassian.net/browse/DCOS-9357

@cmaloney this is ready for review. The current deploy-vpc-api test failure looks to be flaky/unrelated...

Have you manually tested launching with https://downloads.dcos.io/dcos/testing/pull/634/azure.html?

@cmaloney yup works great

:ship:


Import Events from Alternatives to Meetup, Like Luma

TLDR;  Meetup.com, apparently owned by WeWork, changed their pricing model and it's likely to change the way free groups look at the value of that service.  The founder of FreeCodeCamp started a conversation about making a containerized, host-your-own meetup event platform to offer a free open-source alternative.
*** Note: Chapter is an archived project. Though, we may still try to provide support for GetTogether or other FOSS tools.

https://twitter.com/ossia/status/1183845054449930241
https://discordapp.com/channels/633401573002969128/633401573002969132
https://github.com/freeCodeCamp/chapter

Matt mentioned someone forked GetTogether after not succeeding in taking over that repo and project

Robert mentioned Luma, which has been getting traction, but it seemed like someone posted in the Slack that the pricing is almost the same outside of the free level.

Matt Thornton mentioned https://www.radius.to/  - free tier, but no higher tier pricing listed and not a working app

@bogdankharchenko here's an example of the JSON+LD payload on an organization page.
This uses https://schema.org/Event and some of the fields are also Schema.org, like
eventStatus values are of type EventStatusType with possible values

EventCancelled
EventMovedOnline
EventPostponed
EventRescheduled
EventScheduled

eventAttendanceMode is one of these EventAttendanceModeEnumeration values to indicate in-person, online, or both

OfflineEventAttendanceMode
OnlineEventAttendanceMode
MixedEventAttendanceMode

A list of local orgs we've seen using Luma is in the previous comment and the below markup is for https://lu.ma/pixelpushers
{
  "@type": "Organization",
  "name": "Pixel Pushers",
  "url": "https://lu.ma/pixelpushers",
  "description": "Join us once a quarter for Greenville's web creator meetup.",
  "image": [
    "https://social-images.lu.ma/cdn-cgi/image/format=auto,fit=cover,dpr=2,background=white,quality=75,width=500,height=500/api/calendar-social-image?calendar_avatar_url=https%3A%2F%2Fimages.lumacdn.com%2Fcalendars%2Frz%2F0ca757e9-59c1-43e0-826c-a7a9ff2a5221&calendar_geo_city=Greenville&calendar_name=Pixel%20Pushers&calendar_tint_color"
  ],
  "location": {
    "@type": "Place",
    "address": {
      "@type": "PostalAddress",
      "addressLocality": "Greenville",
      "addressCountry": "United States",
      "addressRegion": "South Carolina"
    },
    "geo": {
      "@type": "GeoCoordinates",
      "latitude": "34.852618",
      "longitude": "-82.394010"
    },
    "latitude": "34.852618",
    "longitude": "-82.394010"
  },
  "potentialAction": {
    "@type": "SubscribeAction",
    "actionStatus": "PotentialActionStatus",
    "url": "https://lu.ma/pixelpushers"
  },
  "events": [
    {
      "@type": "Event",
      "@id": "https://lu.ma/4robg3w4",
      "name": "Pixel Pushers",
      "eventAttendanceMode": "https://schema.org/OfflineEventAttendanceMode",
      "eventStatus": "https://schema.org/EventScheduled",
      "location": {
        "@type": "Place",
        "name": "Register to See Address",
        "address": "Register to See Address"
      },
      "image": [
        "https://images.lumacdn.com/cdn-cgi/image/format=auto,fit=cover,dpr=2,background=white,quality=75,width=500,height=500/event-covers/xs/735b0447-080d-439b-a885-07e93c5523db"
      ],
      "description": "Pixel Pushers",
      "startDate": "2024-08-19T18:30:59.726-04:00",
      "endDate": "2024-08-19T20:30:59.726-04:00",
      "offers": [
        {
          "@type": "Offer",
          "url": "https://lu.ma/4robg3w4",
          "name": "General Admission",
          "price": 0,
          "priceCurrency": "usd",
          "availability": "https://schema.org/InStock"
        }
      ],
      "organizer": [
        {
          "@type": "Organization",
          "name": "Benten Woodring",
          "url": "https://lu.ma/user/usr-KZhxhrbzjGxrFrS"
        }
      ],
      "performer": [
        {
          "@type": "Organization",
          "name": "Benten Woodring",
          "url": "https://lu.ma/user/usr-KZhxhrbzjGxrFrS"
        }
      ]
    }
  ],
  "@context": "https://schema.org"
}

JSON Pretty Print - Privacy Policy`

Per #341 here are the calendar IDs for the API path Bogdan figured out the calendar API URL and the calendar IDs are visible. This is not the same as the paid API, but rather is a public API used by the web app that's callable from a GET without an API key.
The calendar IDs start with "cal-" and can be found by clicking the iCal icon and viewing the URL provided by "Copy URL to Clipboard", or viewing the source code and find the calendar_api_id, or for organizations without a custom URL slug, the cal-id is in the main org page's URL, as with Zapier, below.
Luma Future Events by Organization
Pixelpushers
https://lu.ma/pixelpushers
Calendar ID: cal-kmfIhQsKoWIuNab
https://api.lu.ma/calendar/get-items?calendar_api_id=cal-kmfIhQsKoWIuNab&period=future&pagination_limit=50
Tech Taco Tuesday PHP Meetup
https://lu.ma/nullai
Calendar ID: cal-p2JSHSmjI4ustkj
https://api.lu.ma/calendar/get-items?calendar_api_id=cal-p2JSHSmjI4ustkj&period=future&pagination_limit=50
Zapier Customer Meetup
https://lu.ma/calendar/cal-4XXrm7XCZBXRMbc
Calendar ID: cal-4XXrm7XCZBXRMbc
https://api.lu.ma/calendar/get-items?calendar_api_id=cal-4XXrm7XCZBXRMbc&period=future&pagination_limit=50
Luma Past Events
Set period=past to view past events
https://api.lu.ma/calendar/get-items?calendar_api_id=cal-4XXrm7XCZBXRMbc&period=past&pagination_limit=50

Pixel Pushers is now live
https://hackgreenville.com/orgs/pixel-pushers
Joel said the Zapier meetup may not be a recurring thing.
I'll check with Kevin Dees about the name of the group he's running.


Krkn lib net policy

Using the new functions in pr: https://github.com/krkn-chaos/krkn-lib/pull/102
Going to not write a file for the network policy that denies traffic, going to use a local yaml obj and pass it to kuberentes client

@chaitanyaenr @shahsahil264 @tsebastiani any more thoughts on this? Can we get this merged?


Mling centos docker version fix

Ref: https://github.com/uProxy/uproxy/issues/2288
Check docker version, if it's installed, and abort if it's too old.  The docker install script won't run right if docker's already installed (and warns against doing so).

:+1: