CV2-4953: Storing ClassyCat data in Alegre

Description
Store successful classification results of ClassyCat in Alegre
Reference: CV2-4953
How has this been tested?
Has been tested locally and in unit tests.
Are there any external dependencies?
New SSM parameters need to be added to Presto for the Alegre endpoint URL
Have you considered secure coding practices when writing this code?
None

Did this work when running locally with Alegre (i.e. a manual integration test)?

I think it needs the key to specify which model will be used for vectorization

Comment: I'm still not entirely sure why we are storing again in Alegre? I believe the text, the associated vector, the cluster, and the labels are already stored in alegre or calling systems by the time we call classycat. Have we ruled out appending an additional 'context' to existing items to store the labels? Or having a separate "label propagation" function in classycat that accepts an item, and a list of items with associated labels (assumed to be in a cluster) returns the propagated label or a new one if none available?

We plan to use Alegre for KNN similarity queries, since we already have Open/ElasticSearch set up for that service, makes a lot of sense. I agree that there are optimizations to be made here, but I rather not concern ClassyCat with those atm, we are still trying to achieve basic functionality in this ticket.
Also to address the issue of already having the items stored in Alegre prior to calling classycat, I think it's a lot easier to make sure that Alegre updates existing records vs. adding duplicate ones, instead of adding additional endpoints and complexity to classycat. We can do that by allowing an optional "doc_id" for each record submitted to classycat. If that field exists in the call, I will make sure to pass that on to Alegre (as opposed to generate a new unique id) and ensure that Alegre does "upserts" rather than "inserts" into the DB. As mentioned before, I think this is work for a another time and should be a separate ticket.


DOC: Inaccurate Tool Custom parameters of SerpAPI tool Documentation

Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
Custom tool parameter defined within the notebook is for Python_REPL tool.

and it does not show the usage of the tool in an agent.
SerpAPI Tool Docs
Idea or request for content:

Fix Custom tool Definition of SerpAPI tool.
Add more information about being used with an agent.

I have the fix for this Issue and would like to work on it. 😊


Made the Todo.html page dynamic for heading by adding Animation

Description
Made the Todo.html page dynamic for heading by adding Animation
Fixes #(issue number)
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change)
Font Styling: Utilizes 'Poppins' for a modern look, ensuring a sans-serif fallback.
Visual Appeal: The chosen color and text-shadow improve visibility and aesthetics.
Animation: A smooth fade-in effect enhances user experience by drawing attention to the subtitle.

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so that they can be reproduced.

[Running index.html and moving to start, which shows the transition for heading ] Test A

Checklist:

[YES ] My code follows the style guidelines of this project
[YES ] I have performed a self-review of my code
[YES ] I have commented my code, particularly in hard-to-understand areas
[YES ] I have made corresponding changes to the documentation
[YES ] My changes generate no new warnings
[YES ] Any dependent changes have been merged and published in downstream modules

@Anshgrover23 Please review and accept the pull request for HacktoberFest if you like it.
Thank you!

https://github.com/user-attachments/assets/c7ddd400-2bbb-4b42-8083-c0d4bddacab2
This is video showing the animation change for the Todo list heading @Anshgrover23

Thank you so much!!
On Sun, Oct 27, 2024, 00:12 Ansh Grover @.***> wrote:

Merged #309 https://github.com/Groverio/To-Do-List/pull/309 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/Groverio/To-Do-List/pull/309#event-14910124457, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BCITFGUCLQTPJ5JGRT6XJD3Z5PPCXAVCNFSM6AAAAABQO6TYXCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUHEYTAMJSGQ2DKNY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Refactor builtin runner tests

Refactor builtin runner tests
Description
Use macros in the builtin runner tests to reduce verbosity
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report

Merging #407 (0e9321d) into main (8ea36ff) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #407      +/-   ##
==========================================
- Coverage   96.40%   96.34%   -0.06%
==========================================
  Files          50       50
  Lines       11420    11239     -181
==========================================
- Hits        11009    10828     -181
  Misses        411      411

Impacted Files
Coverage Δ

src/vm/runners/builtin_runner.rs
91.69% <100.00%> (-2.84%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Quotes

Hi,
I really have enjoyed playing around this nodejs module, very good work i like cheeriojs a lot.
So, i have just added quotes.js if you can tell me if you have an idea on how is it possible to keep working with regexp instead of what i've added in the cases of imdb.js

Please fix your changes to work with v2.0.0 if you are interested in having them in this module

I just have a good idea on how to make a pull request and should be in another branch then the maser branch if you agree i can dig a little bit more on the question

I'm just asking you to make your changes against the master branch, meaning you edit in the master branch, but you submit your pull request in another branch.

That seems a good option, i don't know how to pull request on another branch but am going to try it now

In fact the brach have to exist before making a pull request right ?

Just do what you did with https://github.com/albator2018/imdb/commit/ca0e755038b41f722d187e42c760654fc2f42542, but against the current master

done :sweat_smile:


TASK [atomic-k8s-master-post : Install the k8s dashboard]       fails

hello
any tips why this fails and how can i continue?
TASK [atomic-k8s-master-post : Install the k8s dashboard] ****************************************************************************************************************************************************
fatal: [atomic01]: FAILED! => {"changed": true, "cmd": ["/usr/bin/kubectl", "create", "-f", "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml"], "delta": "0:00:00.962618", "end": "2017-05-15 11:49:29.138992", "failed": true, "rc": 1, "start": "2017-05-15 11:49:28.176374", "stderr": "Error from server (AlreadyExists): error when creating "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml\": serviceaccounts "kubernetes-dashboard" already exists\nError from server (BadRequest): error when creating "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml\": ClusterRoleBinding in version "v1beta1" cannot be handled as a ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1beta1"\nerror validating "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml\": error validating data: found invalid field tolerations for v1.PodSpec; if you choose to ignore these errors, turn validation off with --validate=false", "stderr_lines": ["Error from server (AlreadyExists): error when creating "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml\": serviceaccounts "kubernetes-dashboard" already exists", "Error from server (BadRequest): error when creating "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml\": ClusterRoleBinding in version "v1beta1" cannot be handled as a ClusterRoleBinding: no kind "ClusterRoleBinding" is registered for version "rbac.authorization.k8s.io/v1beta1"", "error validating "https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml\": error validating data: found invalid field tolerations for v1.PodSpec; if you choose to ignore these errors, turn validation off with --validate=false"], "stdout": "", "stdout_lines": []}
RUNNING HANDLER [atomic-k8s-master-post : restart k8sapi] ****************************************************************************************************************************************************
to retry, use: --limit @/var/home/centos/centos-atomic-k8s/atomic-master-post.retry
PLAY RECAP ***************************************************************************************************************************************************************************************************
atomic01                   : ok=6    changed=2    unreachable=0    failed=1

i see the url path has changed ?

which version are you running ?..
kubectl --version
If you are using Kubernetes 1.5 or earlier, you can install the latest stable release by running the following command:
$ kubectl create -f https://git.io/kube-dashboard-no-rbac

hello @rootsami
kubectl --version
Kubernetes v1.5.2
i see its running
kubectl get pods --all-namespaces | grep dashboard
kube-system   kubernetes-dashboard-3585514280-1nj2n   1/1       Running   0          6d
how do i access it though ? http://floatingip of this node will not work

after leaving the dashboard running for a day, revisiting http://myserver:8080/ui/ did gives me back my awesome dashboard.


properly handle errors when initializing etcdv3 client

Description

Fixes https://github.com/projectcalico/calico/issues/1696
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

@ozdanborne I'm happy with this as-is. btw what do the errors we get now look like?

@ozdanborne let's cherry-pick this into release-v3.0 as well.

The error is pretty descriptive. This is what they look like (when i flip the test from To to NotTo
Running Suite: EtcdV3 Suite
===========================
Random Seed:<PHONE_NUMBER>
Will run 2 of 2 specs

• Failure [0.001 seconds]
RulesAPIToBackend
/home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:10
  should raise an error if specified certs don't exist [It]
  /home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:11

  Expected error:
      <*errors.errorString | 0xc42043b530>: {
          s: "could not initialize etcdv3 client: open /fake/path: no such file or directory",
      }
      could not initialize etcdv3 client: open /fake/path: no such file or directory
  not to have occurred

  /home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:19
------------------------------
• Failure [0.000 seconds]
RulesAPIToBackend
/home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:10
  shouldn't create a client with empty certs [It]
  /home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:22

  Expected error:
      <*errors.errorString | 0xc42043bb20>: {
          s: "could not initialize etcdv3 client: tls: failed to find any PEM data in certificate input",
      }
      could not initialize etcdv3 client: tls: failed to find any PEM data in certificate input
  not to have occurred

  /home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:30
------------------------------

Summarizing 2 Failures:

[Fail] RulesAPIToBackend [It] should raise an error if specified certs don't exist
/home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:19

[Fail] RulesAPIToBackend [It] shouldn't create a client with empty certs
/home/turk/go/src/github.com/projectcalico/libcalico-go/lib/backend/etcdv3/etcdv3_test.go:30

Ran 2 of 2 Specs in 0.001 seconds
FAIL! -- 0 Passed | 2 Failed | 0 Pending | 0 Skipped
Process finished with exit code 1


客户端连接 k8s rocketmq 集群问题

Before Creating the Bug Report

[X] I found a bug, not just asking a question, which should be created in GitHub Discussions.

[X] I have searched the GitHub Issues and GitHub Discussions  of this repository and believe that this is not a duplicate.

[X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment
OS：("CentOS 7.9.2009")
RocketMQ version
4.9.7
JDK Version
1.8
Describe the Bug
k8s 自定义镜像部署 rocketmq 集群，把 namesrv:9876 暴露出去，但是 namesrv 返回的 broker ip 是 k8s 集群内ip，外部客户端可以连接 namesrv，但是发送消息不成功：org.apache.rocketmq.client.exception.MQClientException: Send [3] times, still failed, cost [9024]ms, Topic: test, BrokersSent: [broker-b, broker-b, broker-b]
Steps to Reproduce

producer.setNamesrvAddr("${宿主机ip}:${k8s暴露的namesrv端口}")
java 客户端访问 k8s 内部mq集群，连接正常但是发送消息时报错：org.apache.rocketmq.client.exception.MQClientException: Send [3] times, still failed, cost [9024]ms, Topic: test, BrokersSent: [broker-b, broker-b, broker-b]

What Did You Expect to See?
希望可以通过外部客户端访问 k8s 集群内 namesrv 并可以成功发送消息到 broker
What Did You See Instead?
无
Additional Context
无

1.利用5.x proxy方式，可以只对外暴露proxy接入点
2.如果用4.x nameserver的方式，需要有能力从外面连接到broker，可以采用node ip方式

此外，由于这类问题不属于bug，建议先去Github Discussion讨论。


Enquiry:: Set Codec in Spring-Data-Redis

I am using spring-data-redis -> LettuceConnectionFactory for connection. I have gone through the lettuce doc, and it says that it supports codec integration here
I couldn't found similar integration for LettuceConnectionFactory.
Is there a way to add CompressionCodec in LettuceConnectionFactory?

It's possible to use custom codecs in front of a binary codec but that's a tough exercise with Spring Data. Please post your question on StackOverflow because this repo isn't really the right place for this topic.


Cannot build an image with buildpack-deps:bionic

It's not possible to build an image with repo2docker due to the missing package repositories for ubuntu/bionic.
Bug description
This line causes errors while attempting to install packages with apt-get while building an image with repo2docker:
https://github.com/jupyterhub/repo2docker/blob/b6098c02f315a37d690a0c538973de53dd0631a3/repo2docker/buildpacks/base.py#L16
Expected behavior
The CI build should succeed.
Actual behavior
   ...
   ---> 8078583bc546
  Step 3/52 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends locales > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
   ---> Running in c73d5a674d8c
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/restricted/binary-amd64/Packages  403  Forbidden [IP: <IP_ADDRESS> 80]
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/binary-amd64/Packages  403  Forbidden [IP: <IP_ADDRESS> 80]
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-amd64/Packages  403  Forbidden [IP: <IP_ADDRESS> 80]
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  Removing intermediate container c73d5a674d8c
  The command '/bin/sh -c apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends locales > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

How to reproduce
See the CI status at https://github.com/NSLS-II/scipy-binder/pull/57.
Your personal set up
CI config of https://github.com/NSLS-II/scipy-binder.

@yuvipanda, should it be here or at https://github.com/jupyterhub/repo2docker-action?

Does this error occurred all the time or does it fix itself after a few hours?
Do you see the same error if you install and run repo2docker locally?

Thanks for your reply, @manics! Indeed, looks like the issue was transient and disappeared after I restarted the CI job a couple of hours later. False alarm. Local builds passed that failing step.
It's probably still worth considering a newer ubuntu tag as bionic will be EOL pretty soon. Are there plans to use a newer base image?

There are several discussions but although it's an easy code change it's a big breaking change:

https://github.com/jupyterhub/repo2docker/pull/909
https://github.com/jupyterhub/repo2docker/issues/1220

Thanks for the insights, @manics!


Introduce a proper order of events

ATM most listeners bind to 'document:changed' events, introducing problems as some of them are not independent.
For example:
A Surface should have rendered everything before another listener can rely on the DOM/DOMSelection.

We will introduce Substance.Flow as new concept in Beta 5

EditorSession does this now.


Colorize swift syntax diagnostics

Use the newly-introduced colorizing code in swift-syntax (https://github.com/apple/swift-syntax/pull/1256) to colorize diagnostics that use the swift-syntax rendered.

@swift-ci please smoke test

@swift-ci please smoke test and merge


Reply to this email directly, view it on GitHub
https://github.com/RaduMC/AssetStudio/issues/47#issuecomment-830214413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASORZIUEMKD3XTASA7UTA7TTLLLTXANCNFSM434R6NHQ
.

i never thought the original would be this shitty,
useless tool ahahahaahahaa
get a life
On Fri, Apr 30, 2021 at 11:06 AM Radu @.***> wrote:

This IS the original AssetStudio, get your facts straight.
The project is no longer maintained.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RaduMC/AssetStudio/issues/47#issuecomment-830198910,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASORZIV3QAZWDWXA6L4TZJ3TLLIQ3ANCNFSM434R6NHQ
.


EntityWhitelist throws a false-positive warn whenever a component is used in ItemCounter whitelist

Description

Example is in this commit build log - https://github.com/space-wizards/space-station-14/runs/3151796361
This happens whenever a component is used in ItemCounter's EntityWhitelist, regardless if it's valid or not.
Screenshots

fixed in dcc9f02e55738b0584569bff5606162443b5a7f3


utterances-bot cannot work when change domain

I have posted the seminar 3 blog but utterances didn't file a new issue on the issue list:

fixed by changing _config.yml


TLS for ApicastOperator

Rewrite TLSGateway to work with both Template and OperatorApicast

Moved the actual TLS setup into the individual classes

Update TLS tests to work with this new gateway

Notably, path_policy doesn't work on OperatorApicast as we cannot mount an arbitrary volume to it.

Conflicts!


Implement ecs project delete subcommand

I see there is no command exists to delete a project. Is there any plan to implement the same?
$ ecs -h
Launch and manage applications on Amazon ECS and AWS Fargate.
Commands
Getting Started ✨
init        Create a new ECS application.
Develop 🔧
project     Project commands.
env         Environment commands.
app         Application commands.
Release 🚀
pipeline    Pipeline commands.
Settings ⚙
version     Print the version number.
completion  Output shell completion code.
Flags
-h, --help      help for ecs-preview
--version   version for ecs-preview
Examples
Display the help menu for the init command
$ ecs-preview init --help

Yup! It's being worked on right now :) you can track it here: https://github.com/aws/amazon-ecs-cli-v2/issues/573

Resolving this issue for tracking it at https://github.com/aws/amazon-ecs-cli-v2/issues/573  instead.


I honestly don't know, but you can lock comments


Set version as 5.0.0 for a initial release

Hi  @ajoberstar
I have fresh repo and want to release version v5.0.0 directly from that repo is there any option to do so using release-opinion' ?
Thanks

For an initial seed, there's not anything you can directly do through the plugin. But you can just manually add the tag from the Git CLI. Running the build again, will keep the 5.0.0 version as long as you don't change anything in the repo after the tag.


Ask for Suggestions about Research Topics

Hi, Thanks for your great work.
I am an AI researcher from Swinburne University of Technology in Australia. I watched your code prediction demo and want to conduct research related to ISLET. May I ask if there are any particular topics you care about, so maybe my team could contribute to your work.
Thanks again.

@Vul4Vendetta ,  Thanks for your interest in this work! I think it depends on where you want to contribute to. But first, I'm going to simply assume that you're interested in how confidential computing makes AI more secure as you said you are an AI researcher. (If it's not, please let us know)
What ISLET ultimately wants to do is build a platform on top of ARM CCA, we're seeing AI stuff as one of key use cases that benefit from ISLET for security.
In this view, the straightforward way to contribute might be finding and implementing a new AI-related use case and integrating into ISLET as an example (like code prediction demo). But this feels like just engineering stuff and not having a research impact.
So, if you want something more about research work (e.g., your goal is to write a research paper in which ISLET is used to realize your idea), adversarial AI would be a good point IMO. More technically, it means coming up with a better idea to tackle the current problem of adversarial AI, by utilizing ISLET (+ Certifier framework if needed). I think this would be a better way to contribute as your team is a research organization. (But we have to admit ISLET is currently not that mature to be used this way)
This is a kind of too simplified suggestion. You may or may not build some concrete idea from my suggestion. If you want us to develop a more concrete idea together, we're willing to do it. To do so, it would be helpful to hear from you guys more about what you're interested in.

Thanks for your reply.

@Vul4Vendetta ,
Are you familiar with federated learning (FL) and attacks against it? (e.g., inference attacks, backdoor attacks (also known as poisoning attacks)
This page describes how ISLET can eliminate those attacks.
If you're interested in eliminating security problems in FL with the aid of ISLET (confidential computing in more general), I think I can give you two suggestions,
In a short term, you can get our confidential-ml demo better by demonstrating that some inference attacks can be defeated by ISLET (in collaboration with Certifier framework).
To do so, what you have to do might be as follows.

launch an inference attack and show it works without ISLET.
do the same attack under the protection of ISLET, and show it fails.
update our demo code to include these attack demonstrations.

In a long run, it would be a good topic to figure out ways to eliminate backdoor attacks in FL, by using ISLET, more generally speaking, using confidential computing. I think this could be a research topic that might be formed as a full paper. As you may know, "differential privacy" is one way to mitigate this issue, but I don't think it's a perfect solution.
If you come up with some research idea to address this and write a paper in the end and cite ISLET as a building block for your idea, that would be the best output I can imagine.

@jinbpark Thanks, my teammates are discussing about FL and confidential computing.
Some papers mentioned that the TEE won't be allocated too much memory to avoid the TCB being large. Under such constraints, when running AI, there will be a latency problem because of page swapping and decryption. So, it is a topic to research how to deal with it.
Some of my teammates want to start from this, so may I ask if you have any interest in the ML execution with the limited memory size?

@Vul4Vendetta ,
Of course. I know about the problem you mentioned. Some papers mentioned about the shortage of available memory capacity for on-device ML operations, particularly training. For example, PPFL (MobiSys 2021) addressed this problem by running a ML model on a per-layer basis inside ARM TrustZone. So the problems that you said would happen.
The main reason why it causes frequent page swapping is that ARM TrustZone has a fixed portion of secure memory. (SGX too)
In contrast, ARM CCA (that ISLET is based on) offers a dynamic secure memory configuration. In other words, CCA (and ISLET) is designed from the beginning to promise a better support for program/data that demands a large memory footprint.

ML execution with the limited memory size

So, in this context, I'm sure that there will be no problem or significant performance downgrades in running a small model in ARM CCA, even for training. But, I think it would be a great research topic to deal with a large model in ARM CCA (ISLET), e.g., figure out the performance bottleneck in running a large model and how to optimize that.


Approv my pull request

It been a week please approve my pull request

Closing this as outdated. Sorry for the lack of response here. Busy times.


[sw/testing] current SW patching for english-breakfast top level does not scale

Currently, we patch SW srcs (both runtime  and smoke tests) to enable use with English Breakfast toplevel. Making matters worse the English Breakfast toplevel build is run in CI.
This doesn't scale, as we have to keep regenerating the patch if we touch any of the code it patches. What we should do is parameterize this code to run on any top level. I believe this will happen as a part of my work overhauling our on-device test infra (which is a WIP). But want to track log this issue for now.

@timothytrippel do you have any thoughts as to how likely it will be software to run across different tops?
I personally feel like if the chip architecture is "mostly" similar, it will probably be okay.
The bigger issue is when things that ROM expects to be there suddenly starts disappearing.
The real ROM obviously needs to be hardened.. but maybe for the fake rom we could have it check for configurations?
Just an idea, i'm sure there will be others.

There are both short-term and long-term motivations for this issue. Short-term the SW patching mechanism used for building the English Breakfast top needs to be fixed. This patching mechanism is used to make toplevel-specific patches to portions of the: 1) fake (test) boot rom, 2) pinmux.c, 3) some SCA sw, and 4) the AES smoke tests. To avoid this for the time being, a quick fix could involve a few macro switches. This obviously doesn't scale past a few top-levels but its better that what we currently have.
Long term, regarding tests, I was thinking we should parameterize everything we can to run on different tops, i.e. make them as generic as possible, and ones that are top specific just subfolder them and create separate tests per top (see #7976). Regarding (real) ROM, I would expect that to be top-specific given constraints (though this is probably better answered by @cfrantz or @moidx), but the fake ROM currently used for testing could most certainly check for configs, or have parameters passed by the build system.

That sounds good to me! I know @imphil at one point explored the idea of dynamically generating all the design tops, does it make sense to have a larger discussion on how everything converges?

That seems like a good idea, best we settle on this.

In the software WG we have discussed this topic in the past and @mcy created a link-time dependency injection guidance doc. We should revisit this topic and work on publishing implementation guidelines.
CC: @mundaym, @cfrantz, @mcy

That seems like a good idea, best we settle on this.

@timothytrippel this is not directly related to this issue, but COULD impact you.
I think part of the discussion we need to have is... "what exactly is a top"? This is a subject that we have not found wide agreement on in the project.  Is it a chip, is it any variation from FPGA, is it a variant of a type of chip, or is it a configuration of a particular architecture?  What I worry is that if we have two VERY distinct architectures, it will be difficult to map the software on top such that it is always generic and happy. So to me there is still a clear breaking point somewhere.
I think once we settle on that decision, a lot of the downstream collateral such as design, dv, documentation, software and validation framework will all be affected.

Making this a Bazel migration priority. I suspect the way we'll deal with this is with teporary ifdefs, and long term with either a link shim or support for arbitrary tops as separate Bazel platforms.


[UI] View Experiments shows Error: failed to retrieve list of experiments

Describe the bug
In the MLX UI, Pipelines, clicking on "View Experiments" shows Error: failed to retrieve list of experiments.
To Reproduce
Steps to reproduce the behavior:

Run a pipeline
Go back to featured pipelines
Click on "View Experiments"
See error

Expected behavior
List of previously run pipelines (experiments)
Screenshots

Environment

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
MLX Version [e.g. 22]

Additional context
Error Details:
{
  "error": "Invalid input error: Invalid resource references for experiment. ListExperiment requires filtering by namespace.",
  "code": 3,
  "message": "Invalid input error: Invalid resource references for experiment. ListExperiment requires filtering by namespace.",
  "details": [
    {
      "@type": "type.googleapis.com/api.Error",
      "error_message": "Invalid resource references for experiment. ListExperiment requires filtering by namespace.",
      "error_details": "Invalid input error: Invalid resource references for experiment. ListExperiment requires filtering by namespace."
    }
  ]
}

@drewbutlerbb4 @Tomcli -- I supposed we need to specify the kubeflow namespace here? Or the logged in admin/mlx user's?

Thanks @yhwang for fixing this issue in PR #252


License?

Hi!
I'm interested in perhaps forking your codebase or using it directly for a project - but it doesn't seem to have a license. Could you add one  (e.g. MIT License) to the README so folks can safely fork?
Thanks!

Sure, will do it by 18th of this month
On Tue, Nov 17, 2020, 2:29 AM Gabe Dottl<EMAIL_ADDRESS>wrote:

Hi!
I'm interested in perhaps forking your codebase or using it directly for a
project - but it doesn't seem to have a license. Could you add one (e.g.
MIT License) to the README so folks can safely fork?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Norbert515/flutter_ide/issues/37, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEUCHNE424AGS5DF3YYQ33DSQGHBRANCNFSM4TXWEBMA
.

Hey, of course
Here you go https://github.com/Norbert515/flutter_ide/pull/38 :)


Solving Issue 31

Output for the following code is "Size of List = 5"

send two different pr with issue name as title of pr.
eg:
title of pr: List Interface - int size()
and in pr description: Fixes #11 (if 11 is issue number)


Feature Request: Line break on/off switch in settings.

Really like this plugin but would like to be able to auto-close HTML without inserting a line break. Consider allowing a toggle with a hotkey for line breaks. I'll see if I can make this happen.
Edit: Just realized this functionality is already included, but there is no hotkey to toggle all on one line/all off one line. Hotkeys!

I'm targeting 0.23.0 for this (hopefully will come in a week or so), once the dust settles on 0.22.0.
My plan is to have cmd/ctrl + > force inline or block (with an option to choose which)
and alt + cmd/ctrl + > to force the other

I'm no longer using this package.


Exclude rules for specific lines/sections of scss code

Feature request: exclude rules for specific lines of code.
Currently it seems like entire files can be ignored, but you can't ignore only specific rules per file, or only for a small section of the code.
scss-lint handles this but it doesn't seem to be available in sass-lint (https://github.com/brigade/scss-lint/#disabling-linters-via-source)

Please see #70 and #677 for details.


cannot execute script error on line 24

The error is:
File "tellonym.py", line 24
def send(self, message) -> bool:
SyntaxError: invalid syntax

I'm running it on raspbian os.
Any help would be appreciated.
Thanx.

Run python -V and paste the output.

Python 2.7.16

This program requires python3 to work. Install the latest version from your package manager or from the official website. Also, you really shouldn't be using python2 anymore since it's reached EOL.

ok, thanx


Fix ATC Warnings

If this is what ATC wants, we can do it

Yes, when I wanted to release the transport with "saff_generate_repo" in UIA, I could not release because of this SLIN warning in line 4895


ljones1359's file

I hope this works

Feel free to add a description of what you’ve accomplished so far. As a reminder, you have: created a branch, created a file and made a commit, and opened a pull request

Made a change


Fix fmt format issue introduced in 67415bd031b

LGTM
FYI, you can use a commit link to point to a specific commit: https://github.com/mvdan/heapster/commit/67415bd031b1191e0fa0a9902d6d1c8e1cf47b73

You mean using a github commit http link on a commit message? That's way too long IMHO. For a pull request name/description sure, but for a git commit summary/message I've never seen it done.
I assumed github would pick up the hash and link to it. I could've used the link for the PR title, yeah.

Amended. Thanks for picking that up!

LGTM. For the commit link, I meant only for the description, so whoever reviews your PR can just click through to the previous commit. You could mention a PR number in a commit message, though, like #418

FWIW, the PR page doesn't pick up the link but the commit history page does pick it up.


Possible bug in parsing of InitStmt expression of for-loop.

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.11.1 linux/amd64
(Though, seems more versions are affected since it's present in Playground, see below)
Does this issue reproduce with the latest release?
Haven't checked yet, though no open or closed issue regarding InitStmt was found.
What operating system and processor architecture are you using (go env)?
Irrelevant, see below.
What did you do?
First, this code, which may show some weird-yet-valid use of for-loop but still works:
https://play.golang.org/p/YRAkTiXiUIb
Then, the same code but using empty struct declaration directly in InitStmt of for-loop, not working:
https://play.golang.org/p/jNQCiG-2oL1
What did you expect to see?
Both code snippets working (or not working) alike.
What did you see instead?
Results differ (I believe due to parser bug misinterpreting '{' in "struct{}" for initial '{' of loop body).

Search for "parsing ambiguity" in https://golang.org/ref/spec#Composite_literals .

Sorry, the above-mentioned solution seems to apply to conditions only and therefore can't be used for InitStmt.

So, the parsing ambiguity — yes, it certainly is, but I can't see how it can be resolved without using a factory like in my first playground snippet.

for i:= (SomeStruct{}); i.somefield == nil; i = SomeMoreFactory() {


feature(web): add ip comments row to docs accordion

Describe your changes

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

Could we please get a small PR description and link to the ticket?


Add scrollbar support for Dropdown

I should investigate if min_width even matters that much in our UI. The scrollbar setting should be max_height, not minimum as that doesn't make sense - so I think it should be a separate int either way.

I should investigate if min_width even matters that much in our UI. The scrollbar should show after exceeding a max_height, not minimum, as that doesn't make sense - so I think it should be a separate int either way.

I think there might be some confusion about the terms. When scrolling is enabled in a ScrollContainer, we need to set its size manually; otherwise, it defaults to the smallest size possible. That's why I'm setting its minimum height, in this context, it effectively acts as a fixed height since it won't grow beyond that.

Thanks!


Typehandler's argument "columnName" is not column name, but is column label

MyBatis version
3.5.1
Database vendor and version
h2database 1.4.199
Test case or example project
https://github.com/yukihane/mybatis-columnname
Steps to reproduce
Typehandler's getResult method argument is named columnName, but it is not column name in actuality.
For example, StringTypeHandler passes it to ResultSet#getString.
This method argument is columnLabel.

columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

It seems this naming without any explanation is very mistakable.
Expected result
Should be explained as column label.
Actual result
No explanation.

Fair point. Would you submit a PR for this?

Thank you, @yukihane !


Allow declaring shared required header/cookie(/query?) parameters on controller

We could make controllers more useful by allowing users to declare shared parameters on the controller level, making it redundant to declare them per route. This will also enhance the usefulness of composition and inheritence.
Suggested implementation:
from starlite import Controller, Parameter, get

class MyController(Controller):
    path = "/some-path"
    parameters = {
        "controllerHeader": Parameter(header="controller-header"),
        "controllerCookie": Parameter(header="controller-cookie"),
        "controllerQuery": Parameter(query="controller-query"),
    }

    @get("/sub-path")
    def my_route_handler(self, controllerHeader: int, controllerCookie: str, controllerQuery: list[str]) -> None:
        return None

As seen above, the suggestion I put forward is to use a dictionary that maps parameters keys to Parameter type values. The Parameter instances define the required data about the actual parameter, and this way of mapping it will allow us to still properly type the variables and use pydantic inference.

I can see an argument for making these another thing that we resolve all the way up to the application level. One might want to have a consistent required param across handlers registered to multiple controllers, for example.

I'm keen to take this one on.
Any thoughts on behaviour if a parameter isn't used in a handler in the scope? Config error?
What if a handler had **kwargs defined, should we inject it?

I'm keen to take this one on.
Any thoughts on behaviour if a parameter isn't used in a handler in the scope? Config error?
What if a handler had **kwargs defined, should we inject it?

Go for it.
You mean if no handler uses the parameter at all?
Maybe make a new error called UnusedParameterError?
Currently there is no **kwargs defined, and we shouldnt add it imo. We won't be able to generate OA docs.
On the topic of OA - you'll need to rework some stuff for this to work with the new pattern.

Good points.
Yes, we cannot validate that a parameter is unused if we need to use it for middlewares. And since middlewares are now also on the handler level, this makes validation either impossible - or it needs to be somehow made optional.

Forgetting about the middleware thing for a second, I still like the overall idea of not needing to repeat Parameter(...) definitions for every handler - although its a problem I've mostly worked around it in other ways.

So middlewares are a problem we need to tackle separately I think. I'll make a proposal.
So what's the design you want to go for?

I have stuck some thoughts in the discord dev channel, but the crux is this:
@runtime_checkable
class MiddlewareProtocol(Protocol):
    parameters: dict[str, tuple] = {"middleware_required_header": (int, Parameter(header="required-header"))}

    def __init__(self, app: ASGIApp):  # pragma: no cover
        ...

    async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:  # pragma: no cover
        if self.validated_paraeters.get("middleware_required_header") != "13":
            ...
        else:
            ...

    @property
    def validated_parameters(self) -> dict[str, Any]:
        # this mapping actually constructed dynamically
        return {"middleware_required_header": 13}

Released in v1.6.0


docs(createQuerySuggestionsPlugin): rewrite docs

This rewrites the createQuerySuggestionsPlugin docs.

Broken unit tests are caused by 752afd8 which broke the build.

There are additional params since the doc creation: https://github.com/algolia/autocomplete/blob/612b0406784af570b3936a4cb1486d59b64b1a2b/packages/autocomplete-plugin-query-suggestions/src/createQuerySuggestionsPlugin.ts#L23-L38

There are additional params since the doc creation:

Addressed in 4d429dfe.


[Request] Add a check utility for test purposes

Basically similar to doobie's approach. Take a Query as an input, validate against a server connection that the query as written matches the types.
It shouldn't require inserting any rows, only that the tables involved exist.
Full-fledged integration tests for certain queries are often hard to write. They might involve many foreign key relations, and thus a lot of distracting and fiddly test setup, or they might be highly-parameterized queries (in terms of the sql structure - imagine a "list from table, maybe sort on a user-selected property, sometimes filter some other property by a user input, etc").

We could add something to Session like
def check(query: Query[_, _]): F[Unit] = prepare(query).use(_ => Applicative[F].unit)

and then provide doc on how to make a Session available in various unit testing frameworks. But I don't really want to add modules like we did with doobie because it becomes a maintenance issue.

So prepare does the type validation, even prior to executing the query? That's not bad at all!

Yes, it does Parse which will catch syntax errors, and then Describe which will catch any type mismatches. See https://github.com/tpolecat/skunk/blob/master/modules/core/src/main/scala/net/protocol/Prepare.scala#L43-L44


modified app.py

Improved Celery setup for better configuration handling

Enhanced Celery configuration loading using config_from_object.
Improved error handling in _read_env_config to catch specific exceptions.
Used get method for accessing configuration values with defaults.
Added type hints for better code readability.
Added docstrings and comments for better understanding.
Minor refactoring for better clarity.

no Response


Select a market to make a trade

Task
As a user I would like to select a market
ACs

[ ] It should allow you to select the market by searching for a name
[ ] It should display automatically a list of markets underneath search box (is this most recent searches, 1st 10 or all?)
[ ] It should show the market description/text
[ ] It should show the market name once you select it and click next

Other ACs to be discussed

[ ] It should automatically select a Time in Force set to ?
[ ] It should automatically select the type of trade as Market
[ ] It should show if the market is currently open or suspended for trading

Note: Need to figure out what Time in Force to have selected as default

Question: What happens on desktop search/selection? Display as dropdown?


Fix DataArray api doc

Seems like I forgot to point head, tail and thin to the right direction in the DataArray api documentation

Looks good. Thanks @DangoMelon!

Thanks @DangoMelon !


[Seeking Guidance, v4/v5] - Automatic Placement of Annotations

Is there any automatic placement strategies built into G2 to keep annotations from overlapping with marks / other annotations? I'm evaluating whether or not we will have to write something ourselves to be able to keep the automatically annotated graphs clean.
E.g. if I have four annotations, and I say that they all point at one particular point, is there any sort of placement / automatic adjustment feature built into G2 that would allow the annotations to be positioned without overlapping?
If not is this something that would be considered for the future / is there any placement strategies or algorithms you would recommend to implement this myself?

Can you give me a concrete example? I'm not sure I'm understanding it correctly. A chart that is currently plotted and the result that you expected will be very helpful.

@pearmini Yes - so this is what happens now if you plot multiple datamarker annotations for the same point:

This is what they could look like if G2 had the ability to place them automatically:

Basically, I was wondering if there was any functionality for G2 to prevent overlapping of annotations without me having to manually use offsets and positioning. This would make annotations dynamic with the graph, so that you can initialize a large number of annotations, and they reposition themselves so that they don't overlap with other graph elements.
My use case for this would be to dynamically generate graphs with multiple custom HTML annotations. It will look something like this when I'm done:


Add custom_default_t (alternate approach)

This is a more minimal approach to the same functionality as #9, and works without partial specialization of type<>.

Thanks for your PRs, nice to see the interest in type lite.
Hadn't thought of making a default value part of the type. Can't remember having noticed it elsewhere :)
Would like to get an idea of circumstances you'd find its use compelling.
Before proceeding, I'm curious to know if there are more changes you have in mind.
Other items:

I seem to have a light preference for this somewhat simpler variation, unless there are clear arguments in favour of PR #9.
Both variations do compile with the ancient MSVC 2010.
To prevent ambiguity for boolean, use nonstd::boolean here.
Would you like to give an initial go at describing the custom default feature and type cusom_default_t in the Readme?
I'm fine with updating A.2 Type lite test specification myself, as it requires a MSVC compiler to get the order of the tests as in type.t.cpp.

I've made/used probably tens of variations of "type-safe ID" classes/templates over the past 15 years of my career, though somehow I never managed to write one under a BSL-1.0 license. On a project recently I'm using several of your other header libraries, and it seemed like it might be good to use your version of the same concept instead of adapting or writing my own again.
My most complex versions have had configurable (policy-based) default/sentinel values and "validity" predicates, so I could define the default value (e.g. -1) and how to determine if a value is "valid" (e.g. >= 0) separately. (for example https://github.com/rpavlik/UVBI-and-KalmanFramework-Standalone/blob/master/inc/unifiedvideoinertial/TypeSafeId.h ) I most often use these as ways to turn what's effectively just an index in an array into a type-safe handle, so I need a non-zero default value.
I certainly can update the readme, and don't mind going with the simpler version. It's been a while since I cared about pre-C++11 and old msvc, apparently :)

OK, there, I think I did things right. I made example 02a since it's another default construction variation, didn't want to renumber everything. I can move it to the end if you prefer.

Thanks for your extensive explanation and the further adaptations.
Looks good to merge.
As for the spacious code style, I've not (yet) been able to instruct clang-format to follow my wishes, specifically to spread function declaration/calls with many parameters over multiple lines with the desired indentation.

awesome, glad you like it, and thanks for the merge!

You're welcome :)
Will update the test specification in the Readme shortly.


[Cherry-pick] formatNumber, formatEpoch and  formatTicks as prebuilt fumctions

cherry pick  formatNumber, formatEpoch and  formatTicks related commits

All tests passed from my local side

run the tests on my local machine, all tests are ok here. LGTM


forgives whitespace in currency list. Closes #1

This PR won't let the accidental or intentional space in the currency list break the output.

The build is breaking, but it doesn't seem like its a problem with this specific commit, because the same build error happens on a clean (unmodified) version of this repository.

Hmm it looks like something related to travis and perhaps their default settings. I'll have to take a look. But the code looks good, thanks!


[V11] Massive slowdowns / choppiness of movement in PF2E

With TokenLightCondition on, the movement of tokens is prolonged and choppy, with no fluid animations, and appears at the end of movement points (with Drag Ruler, changes of movement vectors). The issue only happens with the mod. It must be something related to the optimization of calculation during movement.

This may be resolved if there is no light calculation during movement, only when a movement ends.

Updated with 0.6.4
This will probably be solved via use of the Delay Calculations.  You may have to adjust the delay based on range of token movement expected.


Different crates.io version

Hello, your github source code seems to be on version 0.2.2 while crates.io has version 0.3, did you forget to push on github?
crates.io link: https://crates.io/crates/async-datachannel

Indeed I did, just pushed. Thanks for your comment.


Context provider "Active file" (ex Alt+Enter) doesn't work for unsaved files

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows
- Continue version: v0.8.55
- IDE version: VS Code 1.95.1

Description
ContextProvider for active file (ex. when submitting prompt about the file in Chat with Alt+Enter) doesn't work for unsaved files. This happens despite the UI saying that it has been passed as context, however it is seen as an Object content, not visible by the model.
This is the behaviour I get:

I haven't tested if this is also the case for the Quick Edits (Ctrl+I) since my Ctrl+I isn't working due to another bug (#2346 , https://github.com/continuedev/continue/issues/2346#issuecomment-2439655702 ).
To reproduce

Open a new file, write some stuff, but don't save to disk
Open Chat, make a query about the file, add the active file as context with Alt+Enter

Log output
No response

Thanks for bringing this up @Astlaan. My guess is that the solution to https://github.com/continuedev/continue/issues/1226 will be the same as for this, and it's something we plan to fix later this week

Looks like it does check open text document case here
https://github.com/continuedev/continue/blob/885e7c138d725dfed88d9165df99f1f692c49fb8/extensions/vscode/src/VsCodeIde.ts#L450-L457
Wondering if path issue, will debug

just for clarity it does work for unsaved files that already exist, just not for brand new unsaved files like in @Astlaan's case

Fixed by https://github.com/continuedev/continue/pull/2841

just for clarity it does work for unsaved files that already exist, just not for brand new unsaved files like in @Astlaan's case

Yes, sorry, could have been clearer


metrics series 1 : add TimeWindowCounter

What is the purpose of the change
Add TimeWindowCounter and TimeWindowCounterTest
Related pr : https://github.com/apache/dubbo/pull/10331
Related issues : https://github.com/apache/dubbo/issues/9886
Related Documentation : https://qnac8r4ct8.feishu.cn/docx/doxcncmY1gYiRGX9ccX264W6JJd
Brief changelog
Provide a sliding window to dynamically obtain recent data
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #10493 (766f4a2) into 3.1 (6fdc6a5) will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.1   #10493      +/-   ##
============================================
- Coverage     65.48%   65.43%   -0.06%
+ Complexity      318      294      -24
============================================
  Files          1275     1275
  Lines         55045    55045
  Branches       8297     8296       -1
============================================
- Hits          36048    36019      -29
- Misses        15072    15099      +27
- Partials       3925     3927       +2

Impacted Files
Coverage Δ

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-16.67%)
:arrow_down:

...e/dubbo/rpc/protocol/tri/transport/WriteQueue.java
73.80% <0.00%> (-4.77%)
:arrow_down:

...dubbo/remoting/exchange/support/DefaultFuture.java
87.06% <0.00%> (-4.32%)
:arrow_down:

.../registry/zookeeper/ZookeeperServiceDiscovery.java
68.35% <0.00%> (-2.54%)
:arrow_down:

...etadata/report/support/AbstractMetadataReport.java
69.09% <0.00%> (-2.28%)
:arrow_down:

...pache/dubbo/registry/support/AbstractRegistry.java
68.33% <0.00%> (-2.00%)
:arrow_down:

...bo/registry/support/CacheableFailbackRegistry.java
77.64% <0.00%> (-1.77%)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
59.09% <0.00%> (-1.14%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
70.51% <0.00%> (-0.86%)
:arrow_down:

...java/org/apache/dubbo/remoting/api/Connection.java
80.83% <0.00%> (-0.84%)
:arrow_down:

... and 4 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[IMPAC-35] Better time period selection

@xaun can you have a look when you have time please?
It's going to be merged only next week after the backend is updated and the specs finished


unknown subdirective 'data.sql'

I added it to the Caddyfile file file:
file_server /database/* {
		fs sqlite data.sql
}

Running error occurred:
Error: adapting config using caddyfile: parsing caddyfile tokens for 'file_server': unknown subdirective 'data.sql', at Caddyfile:19

Caddy compiles as follows:
xcaddy build --with github.com/mholt/caddy-webdav  --with github.com/mohammed90/caddy-git-fs --with github.com/mholt/caddy-sqlite-fs

Please post your full (and unredacted) Caddyfile so I can try to reproduce the error

:3000

encode zstd gzip
root * .
file_server browse

file_server /database/* {
	fs sqlite data.sql
}

If I remove the fs sqlite part, it's ok
:3000

encode zstd gzip
root * .
file_server browse

caddy.exe run --config caddyfile
2024/10/31 02:24:33.327 INFO    using config from file  {"file": "caddyfile"}
2024/10/31 02:24:33.328 INFO    adapted config to JSON  {"adapter": "caddyfile"}
2024/10/31 02:24:33.333 INFO    admin   admin endpoint started  {"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//<IP_ADDRESS>:2019"]}
2024/10/31 02:24:33.334 INFO    tls.cache.maintenance   started background certificate maintenance      {"cache": "0xc000432f80"}
2024/10/31 02:24:33.334 INFO    http.log        server running  {"name": "srv0", "protocols": ["h1", "h2", "h3"]}
2024/10/31 02:24:33.334 INFO    autosaved config (load with --resume flag)      {"file": "C:\\Users\\w\\AppData\\Roaming\\Caddy\\autosave.json"}
2024/10/31 02:24:33.334 INFO    serving initial configuration
2024/10/31 02:24:33.342 INFO    tls     storage cleaning happened too recently; skipping for now        {"storage": "FileStorage:C:\\Users\\w\\AppData\\Roaming\\Caddy", "instance": "c646fa76-23b0-48b2-9ef8-23968a04da2b", "try_again": "2024/11/01 02:24:33.342", "try_again_in": 86400}
2024/10/31 02:24:33.342 INFO    tls     finished cleaning storage units

Thanks -- I was able to reproduce the bug and verified that this fixes it: https://github.com/caddyserver/caddy/commit/350ad38f63f7a49ceb3821c58d689b85a27ec4e5
(Basically, using NextBlock() the proper way.)


Amend README

The pull request fixes some typos.

@mtshr Thank you for the thorough check!
Would appreciate if you add a few more corrections that @kenkoooo suggested - all looks fine to me :)

Thank you two for taking a look and @kenkoooo -san for pointing out what I overlooked. I have fixed those as suggested.
While I was reworking I just found a few more I regrettably overlooked to fix. May I ask you to review these too?

fixure to fixture
https://github.com/estie-inc/cder/blob/fe54c8f0f3c89eec03bfa80430eba7e655e357db/README.md?plain=1#L12
https://github.com/estie-inc/cder/blob/fe54c8f0f3c89eec03bfa80430eba7e655e357db/README.md?plain=1#L121
https://github.com/estie-inc/cder/blob/fe54c8f0f3c89eec03bfa80430eba7e655e357db/src/database_seeder.rs#L109

seed to seeds
https://github.com/estie-inc/cder/blob/fe54c8f0f3c89eec03bfa80430eba7e655e357db/README.md?plain=1#L15

@kenkoooo @fursich
It seems that tests/database_seeder_async.rs and tests/database_seeder.rs depend on tests/test_utils/mod.rs's
pub use mock_database::{sort_records_by_ids, MockTable};

but tests/struct_loader.rs does not, and therefore clippy failed.
There may be some ways to resolve the issue by like allowing unused imports or removing the above line and specifying only used identities in tests/*.rs, but what would be desirable and preferable for the crate? It would be helpful to hear your ideas and policy, or any better way I could not hit upon.

@mtshr
Thanks for the analysis on CI failure - yes, apparently it's nothing to do with this change (sorry for that..!)
My view on this:

In principal I'd like to respect the default clippy rules. (avoid allow wherever possible)
I originally imported everything with * (which is pretty convenient for tests), but it may not be a good practice.

So my suggestion is to specifying all the required imports instead of * in all files under tests/ folder (preferably in a separate PR).
I'll be submitting a PR to fix it, so that you can rebase upon this. Or if you would be willing to create a separate PR, of course I'm happy to accept - let me know!

@fursich
Thank you for the reply. In order to avoid my misinterpretation, may I request you to make a pull request to resolve the problem? I am grateful for your help.

@mtshr
Looks like it's a false positive (possibly a bug with latest rustc ??) - and I ended up add a workaround.
Anyway the fix is merged, so would you please rebase your PR? Thank you!

@fursich
Thank you for taking your time to further look into the problem.
I rebased the branch and squashed the commits.

Thank you for kind supports!


SQLTools crashes

Describe the bug
When I try to launch VS Code with SQLTools enabled, the plugin crashes.
Desktop (please complete the following information):

VSCode Version: 1.68.0
OS: Windows 7

Additional context
Here is my logs.
[1655090020164] INFO  (ext): SQLTools is starting
[1655090020175] INFO  (ext): initializing language client...
[1655090020721] INFO  (ext): Registering client for languages [{"scheme":"sqltools"},{"language":"sql","scheme":"untitled"},{"language":"sql","scheme":"file"},{"language":"sql","scheme":"sqltools"}]
    ns: "lc"
[1655090020725] INFO  (ext): loading plugins...
[1655090020725] INFO  (ext): registering Formatter Plugin.
    plugin: {
      "name": "Formatter Plugin"
    }
[1655090020726] INFO  (ext): registering Connection Manager Plugin.
    plugin: {
      "name": "Connection Manager Plugin"
    }
[1655090020726] INFO  (ext): registering CodeLens Plugin.
    plugin: {
      "name": "CodeLens Plugin",
      "registeredLanguages": []
    }
[1655090020728] INFO  (ext): registering Dependency Manager Plugin.
    plugin: {
      "name": "Dependency Manager Plugin",
      "installingDrivers": []
    }
[1655090020731] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1655090020732] INFO  (ext): registering History Manager Plugin.
    plugin: {
      "name": "History Manager Plugin"
    }
[1655090020733] INFO  (ext): registering Bookmarks Manager Plugin.
    plugin: {
      "name": "Bookmarks Manager Plugin"
    }
[1655090020736] INFO  (ext): SQLTools activation completed. 571.408245 ms
[1655090020768] INFO  (ext): Formatter Plugin registered!
[1655090020768] INFO  (ext): CodeLens Plugin registered!
[1655090020769] INFO  (ext): Dependency Manager Plugin registered!
[1655090020769] INFO  (ext): Connection Manager Plugin registered!
[1655090020769] INFO  (ext): History Manager Plugin registered!
[1655090020769] INFO  (ext): Bookmarks Manager Plugin registered!
node:os:68
      throw new ERR_SYSTEM_ERROR(ctx);
      ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:106815)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105434)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105121)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:16:47682)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:100903)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -4054,
    code: 'ENOSYS',
    message: 'function not implemented',
    syscall: 'uv_os_gethostname'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}
[Info  - 06:13:41] Connection to server got closed. Server will restart.
[1655090021795] INFO  (ext): EXECUTING COMMAND => sqltools.refreshTree
[1655090021796] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
node:os:68
      throw new ERR_SYSTEM_ERROR(ctx);
      ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:106815)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105434)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105121)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:16:47682)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:100903)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -4054,
    code: 'ENOSYS',
    message: 'function not implemented',
    syscall: 'uv_os_gethostname'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}
[Info  - 06:13:41] Connection to server got closed. Server will restart.
[1655090022324] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
node:os:68
      throw new ERR_SYSTEM_ERROR(ctx);
      ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:106815)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105434)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105121)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:16:47682)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:100903)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -4054,
    code: 'ENOSYS',
    message: 'function not implemented',
    syscall: 'uv_os_gethostname'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}
[1655090022785] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[Info  - 06:13:42] Connection to server got closed. Server will restart.
node:os:68
      throw new ERR_SYSTEM_ERROR(ctx);
      ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:106815)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105434)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105121)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:16:47682)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:100903)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -4054,
    code: 'ENOSYS',
    message: 'function not implemented',
    syscall: 'uv_os_gethostname'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}
[Info  - 06:13:43] Connection to server got closed. Server will restart.
node:os:68
      throw new ERR_SYSTEM_ERROR(ctx);
      ^

SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:106815)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105434)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:105121)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:16:47682)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261)
    at Object.<anonymous> (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:22:100903)
    at __webpack_require__ (c:\Users\User\.vscode\extensions\mtxr.sqltools-0.23.0\dist\languageserver.js:1:261) {
  code: 'ERR_SYSTEM_ERROR',
  info: {
    errno: -4054,
    code: 'ENOSYS',
    message: 'function not implemented',
    syscall: 'uv_os_gethostname'
  },
  errno: [Getter/Setter],
  syscall: [Getter/Setter]
}
[Error - 06:13:44] Connection to server got closed. Server will not be restarted.
[1655090024164] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1655090024182] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1655090024183] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1655090024185] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"
[1655090024188] INFO  (ext): Connection explorer changed. Will be updated.
    ns: "conn-man:explorer"

Does the problem still happen after you update to the latest SQLTools (0.24.0)?
I see you are using Windows 7. The final release of VS Code for that platform is 1.70.3. The latest VS Code (1.71) is not compatible with Windows 7.

Yes, the problem still happens on the version 0.24.0

Thanks for checking. I have some more questions:

Is your Windows 7 32-bit or 64-bit? The info copied from VS Code's Help\About dialog will show us this.
Does the crash also happen with VS Code 1.70.3?
Does it happen as soon as you start VS Code after installing the SQLTools extension?
Does it happen if you disable all other extensions?
If it happens only when connecting to a database, which driver?

I tested on 32-bit Windows 7 and wasn't able to produce a crash.

same error shows in windows 10


WIP: kata-ctl: Switch to slog logging; add --log-level argument

Currently WIP - implement slog logging for kata-ctl. Will fix #5401 when finished

Closed to push upstream


Cmd+click doesn't work on .env

When pressing cmd+click in the file .env does not throw it to the place where dotenv () is used, but writes Cannot find declaration to go to

Find Usages will work only on key. So, please try CMd-click to "LOCALE".
And if it won't work, what dotenv() call do you mean? What language? How does it look like?


Add bound check to int() and update tests for type casting

As title.

How about this approach:
In an overflow, toInt() returns the truncated result as the first element of the pair, and false as the second so that we can log warnings base on this boolean value.
WDYT? @Shylock-Hg @czpmango

How about this approach:
In an overflow, toInt() returns the truncated result as the first element of the pair, and false as the second so that we can log warnings base on this boolean value.
WDYT? @Shylock-Hg @czpmango

Make sense.


Stream support

adding support for streams

streamed chunks are valid and safe to parse JSON from the start, stubbed out with default values based on the provided response_model
validation occurs progressively as data streams in and is appended to the partial response along with the key that is being actively streamed.
{
age: 30,
name: "Jason Liu",
_isValid: true,
_activeKey: "age",
}
without progressive validation and/or partial parsing on the stream, supporting streams at all would seem to be useless - unless I'm missing a key use case - since we expect validation to occur before the completion is considered good to use, we would have to wait for the stream to complete anyway before returning, right?

is there any kind of generator type / monadic thing like this?
so we can run it without that reader etc.
const users = ...
users.forEach

or

for user in users:

a test for python was
from typing import Iterable

class Character(BaseModel):
    age: int
    name: str
    house: Literal["Gryffindor", "Hufflepuff", "Ravenclaw", "Slytherin"]

resp = client.chat.completions.create(
    model="gpt-4-1106-preview",
    messages=[{"role": "user", "content": "Five characters from Harry Potter"}],
    stream=True,
    response_model=Iterable[Character],
)

for character in resp:
    print(character)


Handling multiple yes and no in dialouge

latest build of both rasa core and rasa nlu:
Python 3.6**:
Operating system (windows,) :
Designing a conversational applications how can we handle multiple yes and now to control the flow of conversation
Eg conversation :
user: hi
bot hi
user i want to watch a movie
bot : you can watch below movies:
1.hsdjgfhgsdh
2......
3.......
user : ok
bot do u like them
user yes/no(both responses will have some response)
bot do u have a feedback
user yes/no(both responses will have some response)

Please ask these kind of questions in our forum


Wrong sql format in statement WITH FILL STEP

Describe the bug
In SQL editor,  "WITH FILL STEP" will be move to the beginning of final query.
Versions
Grafana v7.3.0
ClickHouse 1.0.1
Query
SELECT
$__timeInterval(datetime) as time,
quantile(0.50)(int_value) as "p50"
FROM "primitives"
WHERE
topic = '$topic' AND
$__timeFilter(datetime)
GROUP BY time
ORDER BY time ASC WITH FILL STEP 30
To Reproduce
Steps to reproduce the behavior:

Go to SQL editor
order by ... with fill step
run query
check the query in query inspector

Expected behavior
wrong sql in query inspector
Screenshots

requires #131


Bug: On error ktx closes current shell

When ktx encounters an error (for example, a user specifying a file that does not exist in the user's ~/.kube directory), it closes the current shell (instead of just reporting the error and setting an exit code).
How to reproduce:

Launch a clean Bash shell with env -i bash --noprofile --norc.
Source ktx into this clean Bash shell.
Run ktx. It will report an error that the /.kube directory doesn't exist (it can't find it because the $HOME variable isn't defined in the environment). The clean Bash shell will terminate and return you to your original shell.

Some quick research suggests that we should use return 1 instead of exit 1 since this is a Bash function.

Closing, fixed via #18.


Update project-overview.html

Updated wayfinding description. Added link to research summary. Removed task summaries.
Here's the French: https://github.com/donohuech/blogue-canada-ca-blog/compare/main...donohuech-patch-1

This is the link to the preview of the page:
https://deploy-preview-130--blog-tbs.netlify.app/pages/project-overview.html
@delisma can you approve this pull request please?

Link directly to the preview: https://deploy-preview-130--blog-tbs.netlify.app/pages/project-overview.html

Just following up on this one please :) @delisma


Provide valuable type information

Type definitions serve multiple purposes. One one side, they help the compiler to determine choices depending of context and enrich the development workflow.
On the other side, do they provide documentation for possible consumers and readers.
In terms of  #15 and #30, I would like to suggest to enrich the project with valuable type information to promote the usage of this library.

@awaltert @Retro64 wrt https://github.com/zalando-incubator/lib-oauth-tooling/commit/541d9cd411a4850dcd4c0cecd7af2f38f5069ca9: regarding the interface definitions of Token and TokenInfo we have to keep in mind that we want to get independent of the oAuth2 server implementation (currently we are "bound" to Zalandos implementation). So we have to find out which properties are mandatory for an oAuth2 server imolementation. Maybe the RFC is helpful (https://tools.ietf.org/html/rfc6749) however i did no research until now in that direction.

@bzums Refactoring should be easier afterwards, if the types are established. Should be done with #39 or #40


backend: Modify logs to reference config files

Thank you for contributing to the Cohere Toolkit!

[ ] PR title: "area: description"

Where "area" is whichever of interface, frontend, model, tools, backend, etc. is being modified. Use "docs: ..."  for CI changes.
Example: "deployment: add Azure model option"

[ ] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change

[ ] Add tests and docs: Please include testing and documentation for your changes

[ ] Lint and test: Run make lint and make run-tests

AI Description

This PR updates the code to use configuration.yaml and secrets.yaml files for environment variables, improving flexibility and security.
Previously, environment variables were hardcoded, making it challenging to manage and update them. With this change, the application now uses the configuration.yaml and secrets.yaml files for environment-specific settings, offering better organization and the ability to separate sensitive information.
Here are the changes in detail:

src/backend/compass_sdk/compass.py: Updates the error message to reflect that the username and password can be set in the secrets.yaml file under tools.compass.username and tools.compass.password.
src/backend/config/settings.py: Modifies the Settings class to fetch environment variables from configuration.yaml and secrets.yaml files, maintaining backwards compatibility with the .env setup.
src/backend/config/tools.py: Adjusts the error messages for TavilyInternetSearch and PythonInterpreterFunctionTool to refer to the secrets.yaml and configuration.yaml files, respectively.
src/backend/routers/auth.py: Updates the login function to require auth.frontend_hostname from configuration.yaml for Tool Auth.
src/backend/routers/deployment.py: Changes the list_deployments function to check for required variables in configuration.yaml and secrets.yaml, providing clearer instructions for setting up deployments.
src/backend/services/auth/jwt.py: Modifies the __init__ function to raise a ValueError if auth.secret_key is missing in secrets.yaml.
src/backend/services/cache.py: Updates the error message when retrieving the Redis client to refer to redis.url in configuration.yaml.
src/backend/tests/unit/configuration.yaml: Enables the use_agents_view feature flag.
src/backend/tools/base.py: Adjusts the error message for Tool Authentication to include auth.backend_hostname and auth.frontend_hostname from configuration.yaml, and auth.secret_key from secrets.yaml.
src/community/config/tools.py: Updates the error message for WolframAlphaFunctionTool to set tools.wolfram_alpha.app_id in secrets.yaml.

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 76.25%. Comparing base (74f1394) to head (8187d14).
Report is 1 commits behind head on main.

Files
Patch %
Lines

src/backend/services/cache.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #666      +/-   ##
==========================================
- Coverage   77.10%   76.25%   -0.85%
==========================================
  Files         238      238
  Lines       10455    10591     +136
==========================================
+ Hits         8061     8076      +15
- Misses       2394     2515     +121

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


Setting up username and password for db

Bug description
Dear reader,
I have set Tenant::create([     'tenancy_db_username' => 'foo',     'tenancy_db_password' => 'bar', ]); and after that I am getting an error

Illuminate\Database\QueryException

SQLSTATE[HY000] [1045] Access denied for user
I just want to create a name and password for each tenant db to monitor and control traffic while keeping the connection and default db the same.
Steps to reproduce
Follow this
https://tenancyforlaravel.com/docs/v3/customizing-databases/
Expected behavior
Connection with db
Laravel version
8.1
stancl/tenancy version
v3

Please use our Discord for support questions. This is not a bug in the package.

There is a bug when I connect to the database that is in azure devops, while in local it is working, have you faced this before ?
php artisan migrate
INFO  Preparing database.
Creating migration table ........................................ 225ms DONE
INFO  Running migrations.
2019_09_15_000010_create_tenants_table .......................... 363ms FAIL
Illuminate\Database\QueryException
SQLSTATE[42000]: Syntax error or access violation: 1068 Multiple primary key d
efined (Connection: mysql, SQL: alter table tenants add primary key (id))
at vendor\laravel\framework\src\Illuminate\Database\Connection.php:822
818▕                     $this->getName(), $query, $this->prepareBindings($b
indings), $e
819▕                 );
820▕             }
821▕
➜ 822▕             throw new QueryException(
823▕                 $this->getName(), $query, $this->prepareBindings($bindi
ngs), $e
824▕             );
825▕         }
826▕     }
1   vendor\laravel\framework\src\Illuminate\Database\Connection.php:580
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1068 Mu
ltiple primary key defined")
2   vendor\laravel\framework\src\Illuminate\Database\Connection.php:580
PDOStatement::execute()


Error during installation: No matching version found for<EMAIL_ADDRESS>inside the workspace

When trying to install the package using npm or pnpm (haven't tried yarn) I get the following error:
In : No matching version found for<EMAIL_ADDRESS>inside the workspace
This error happened while installing the dependencies of<EMAIL_ADDRESS>Progress: resolved 29, reused 19, downloaded 0, added 0

I think it's connected to the monorepo setup, but not sure what is the problem exactly and how to resolve it locally without cloning the whole dessert-box repo.

Seeing the same issue inside a regular repo, using pnpm, with the core package installed. Wondering if it's related to this?

Can't install this either. 😢

Not sure, but could it be that the publish wasn't run with pnpm publish and the dependencies weren't swapped for the proper syntax?
https://pnpm.io/workspaces#publishing-workspace-packages

Pulled repo and tried npm pack and pnpm pack on the react package.
If you use pnpm pack the dependency is correctly swapped out. I have to imagine they used npm publish and it pushed a broken package.json to NPM.

I think a re-publish using pnpm would solve this.

@talovski @MMMikeM @brandonpittman just fixed this, sorry about this issue, somehow pinned the wrong version when publishing, will add a few tests so this does not happen again!!
Just published 0.7.0 which should be working!!

@brandonpittman excited to know you want to try the styled utility! let me know how it works for you!

@TheMightyPenguin
Install worked fine, but getting an error when trying to use styled.
@see: https://github.com/TheMightyPenguin/dessert-box/issues/30


Adding Code Coverage to Utils

Description
Just adding a little code coverage.
In the process, my pylint tripped up on a bunch of unit tests, so I fixed that too.

Checklist

[X] This PR has only one purpose or idea.  (Well, one idea plus cleanup.)
[X] Tests have been added/updated to verify that the new/changed code works.

[X] The code style follows good practices.
[X] The commit message(s) follow good practices.

[X] The release notes (location doc/release/0.X.rst) are up-to-date with any bug fixes or new features.
[X] The documentation is still up-to-date in the doc folder.
[X] The dependencies are still up-to-date in setup.py.

@opotowsky @albeanth
Thanks ya'll.
I realize I do too much cleanup in my PRs.  At the time, my little pylint lines in this one seemed so minor.  But I will try to do better about splitting this PR into two in the future.
Thanks!


Failed assertion: line 5545 pos 14: '!_dependents.isEmpty': is not true.

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

Hi, When opening an issue, please try to provide all or some of the information indicated in the template.
Issue Template
Closing this issue, since no information has been provided. Thank you.

thank you for the advice but the problem is every time I try to create a simple flutter project this issue comes just I can't specify what is the problem this is example of Time Picker on TextField Tap
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget{
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "Test App",
home: HomePage(),
);
}
}
class HomePage extends StatefulWidget{
@override
State createState() {
return _HomePage();
}
}
class _HomePage extends State{
TextEditingController timeinput = TextEditingController();
//text editing controller for text field
@override
void initState() {
timeinput.text = ""; //set the initial value of text field
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title:Text("TimePicker on TextField"),
backgroundColor: Colors.redAccent, //background color of app bar
),
body:Container(
padding: EdgeInsets.all(15),
height:150,
child:Center(
child:TextField(
controller: timeinput, //editing controller of this TextField
decoration: InputDecoration(
icon: Icon(Icons.timer), //icon of text field
labelText: "Enter Time" //label text of field
),
readOnly: true,  //set it true, so that user will not able to edit text
onTap: () async {
TimeOfDay? pickedTime =  await showTimePicker(
initialTime: TimeOfDay.now(),
context: context,
);
                if(pickedTime != null ){
                  print(pickedTime.format(context));   //output 10:51 PM
                  DateTime parsedTime = DateFormat.jm().parse(pickedTime.format(context).toString());
                  //converting to DateTime so that we can further format on different pattern.
                  print(parsedTime); //output 1970-01-01 22:53:00.000
                  String formattedTime = DateFormat('HH:mm:ss').format(parsedTime);
                  print(formattedTime); //output 14:59:00
                  //DateFormat() is from intl package, you can format the time on any pattern you need.

                  setState(() {
                    timeinput.text = formattedTime; //set the value of text field.
                  });
                }else{
                  print("Time is not selected");
                }
              },
            )
        )
    )
);

}
}
ones i tap on the textfeald this error comes
Performing hot restart...
Syncing files to device sdk gphone64 x86 64...
Restarted application in 71,546ms.
I/OpenGLRenderer(13613): Davey! duration=877ms; Flags=0, FrameTimelineVsyncId=148322, IntendedVsync=99877725627066, Vsync=99877775627064, InputEventId=929792306, HandleInputStart=99877785833680, AnimationStart=99877785886180, PerformTraversalsStart=99877786868780, DrawStart=99877787155680, FrameDeadline=99877742293732, FrameInterval=99877785802280, FrameStartTime=16666666, SyncQueued=99877788839280, SyncStart=99877789157480, IssueDrawCommandsStart=99877790233880, SwapBuffers=99878459949180, FrameCompleted=99878603727280, DequeueBufferDuration=105729600, QueueBufferDuration=5224700, GpuCompleted=99878497607880, SwapBuffersCompleted=99878603727280, DisplayPresentTime=74332999009172,
D/EGL_emulation(13613): app_time_stats: avg=83273.87ms min=68.63ms max=249052.03ms count=3
D/EGL_emulation(13613): app_time_stats: avg=2844.11ms min=2844.11ms max=2844.11ms count=1
D/EGL_emulation(13613): app_time_stats: avg=73295.51ms min=73295.51ms max=73295.51ms count=1
======== Exception caught by widgets library =======================================================
The following assertion was thrown building Overlay-[LabeledGlobalKey#a3b93](state: OverlayState#15154(entries: [OverlayEntry#e4cc4(opaque: true; maintainState: false), OverlayEntry#0e630(opaque: false; maintainState: true), OverlayEntry#9a664(opaque: false; maintainState: false), OverlayEntry#cff88(opaque: false; maintainState: true)])):
'package:flutter/src/widgets/framework.dart': Failed assertion: line 5545 pos 14: '!_dependents.isEmpty': is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md
The relevant error-causing widget was:
MaterialApp MaterialApp:file:///C:/Users/Pc%20Occas%20Djelfa/AndroidStudioProjects/time_picker/lib/main.dart:12:12
When the exception was thrown, this was the stack:
#2      InheritedElement.debugDeactivated. (package:flutter/src/widgets/framework.dart:5545:14)
#3      InheritedElement.debugDeactivated (package:flutter/src/widgets/framework.dart:5547:6)
#4      _InactiveElements._deactivateRecursively. (package:flutter/src/widgets/framework.dart:1988:15)
#5      _InactiveElements._deactivateRecursively (package:flutter/src/widgets/framework.dart:1990:6)
#6      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:5151:14)
#7      _InactiveElements._deactivateRecursively (package:flutter/src/widgets/framework.dart:1986:13)
#8      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:5151:14)
#9      _InactiveElements._deactivateRecursively (package:flutter/src/widgets/framework.dart:1986:13)
#10     _InactiveElements.add (package:flutter/src/widgets/framework.dart:1998:7)
#11     Element.deactivateChild (package:flutter/src/widgets/framework.dart:4090:10)
#12     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:6247:11)
#13     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6746:17)
#14     Element.updateChild (package:flutter/src/widgets/framework.dart:3748:15)
#15     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5125:16)
#16     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5266:11)
#17     Element.rebuild (package:flutter/src/widgets/framework.dart:4816:7)
#18     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2785:19)
#19     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:866:21)
#20     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:378:5)
#21     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1286:15)
#22     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1216:9)
#23     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1074:5)
#24     _invoke (dart:ui/hooks.dart:142:13)
#25     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:338:5)
#26     _drawFrame (dart:ui/hooks.dart:112:31)
(elided 2 frames from class _AssertionError)
this is the first time i try use github thanks for the help


stop linting my web build files please

I never ran the linter locally when PR'ing because I would get some many linting errors I wouldn't even be able to scroll up far enough to see the relevant errors.
This is because the lint command will lint all .js and .jsx files in the web/ directory... which includes web/dist/**.
This PR just adds web/dist/** to the .eslintignore file so that build files don't get linted, and brings some sanity to running yarn lint.

Since this issue is still open, this could be considered a resolution for #4027

Since this issue is still open, this could be considered a resolution for #4027


cleanup: add info to install and operate guides to improve clarity for adoption in production

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

/kind event

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area community

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

@leogr sorry accidentally pushed empty and closed the previous one https://github.com/falcosecurity/falco-website/pull/1113 🤦♀ Let's just do a new one.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Release the protoc plugins artifacts

Hey! I'm really excited to see that you are working on gRPC for F# and I'm curious if you could also release the protoc plugins as release artifacts on the repository?
I'm currently using F# using Bazel instead of MSBuild and I would like to try creating a Bazel rule that could would use the protoc plugins to generate the F# files.

I think maybe this is a request to add the contents of the protoc folder as Assets in a github release.

I originally wanted to see if it was possible to release the plugin as a single executable but I think it's not going to work since the DLLs are always required. Closing this.


Add mobile layout to chapter 1 intro page

Screenshot:

Design (Figma):

Also, the image should resize proportionally on desktop - it should not distort.

Hey, I would like to work on this issue


remove "entities" from nexus sdk doc

The word "entitie" comes with a little bit of history, it should be replaced with "class" or else

done


Powershell 7 Ctrl + G from Terminal fails for paths with space

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

VS Code Version: 1.94.2
OS Version: Windows 11

Steps to Reproduce:

Open Terminal with Powershell 7.4.6
mkdir "TEST TEST"
cd "TEST TEST"
cd -
Ctrl + G
Select a directory to go: ___ path ___\TEST TEST
In the Terminal you see cd & '___ path ___\TEST TEST'

Changing directory fails due to the space in path: the command contains a weird &.
Other paths, withous spaces, correctly work.
Any hint?

does this work on an external terminal?

No, it doesn't work on external Terminal.
I don't see how it can work: : cd & any_path is executed, but it means another thing.
The point is the following:

when I select a path, via Ctrl + G, without any space, in the terminal I see the command: cd 'C:\my\path\test'
when I select a path, via Ctrl + G, with a space, in the terminal I see the command: cd & 'C:\my\path\test test'

That character & is not correct.

Given it does not work on an external terminal, closing this as it's not an issue with VS Code.

No. :)
The problem is the shortcut Ctrl + G, key binding used in the terminal inside VS Code to change directory.
It "creates" a wrong command for the terminal.
It is a VS Code affair, not the fail of the wrong command in the external terminal.

cd & 'C:\my\path\test test' is a wrong command for VS Code terminal and external Terminal.
cd'C:\my\path\test test' is correctly executed on VS Code terminal and external Terminal.
cd & 'C:\my\path\test test' is created only in VS Code when the terminal has focus, typing Ctrl + G displays a combo box with paths (select a directory to go).
Better explanation?

I dig the code.
Here the code of the combo box, displaying the list of the paths.
src/vs/workbench/contrib/terminalContrib/history/browser/terminalRunRecentQuickPick.ts
Basically here it is generated the command to be executed on terminal. The path is prepared for changing folder.
// line 300
if (type === 'cwd') {
	text = `cd ${await instance.preparePathForShell(result.rawLabel)}`;

Here the util code for preparing the path for the shell
src/vs/workbench/contrib/terminal/common/terminalEnvironment.ts
// line 319
preparePathForShell

In the function preparePathForShell we have:
// line 347
	if (isPowerShell && (hasSpace || originalPath.includes('\''))) {
		return `& '${originalPath.replace(/'/g, '\'\'')}'`;
	}

Basically those lines prepare to execute a job (&), not a path, a parameter for cd command.
The final result is the weird & in cd command.
Hope that helps.

I should debug, but I have not the setup. Sorry.
preparePathForShell has the following signature:
/**
 * Takes a path and returns the properly escaped path to send to a given shell. On Windows, this
 * included trying to prepare the path for WSL if needed.
 *
 * @param originalPath The path to be escaped and formatted.
 * @param executable The executable off the shellLaunchConfig.
 * @param title The terminal's title.
 * @param shellType The type of shell the path is being sent to.
 * @param backend The backend for the terminal.
 * @param isWindowsFrontend Whether the frontend is Windows, this is only exposed for injection via
 * tests.
 * @returns An escaped version of the path to be execuded in the terminal.
 */

The function is called from terminalRunRecentQuickPick passing only the path and executable should be undefined.
	if (!executable) {
		return originalPath;
	}

For some reason this condition is false.

@meganrogge Any chance to give a second look with the added details, please?
/cc @gjsjohnmurray