FG

All Issues

24,993 verified issues

🌐 Web & Full-Stack
Fresh5 days ago

Support for additional state prefixes and customizing which utilities have state variants

Consolidating #27, #121, #125. Right now we only support `hover:{utility}` state variants and only for the following modules: - backgroundColors - borderColors - textColors - fontWeights It would be great to also add support for other states: - `active:` - `focus:` - `placeholder:`, although this is a bit different - `disabled:` - `valid:` - `invalid:` - `required:` (We may not add support for all of these, but listing ideas for reference.) It would also be great to allow customizing which modules have these variants enabled, as enabling all of these for every utility would quickly bloat the outputted CSS. We have plans for all of this, but this issue will serve as a single point of reference so we can keep duplicate issues under control.

Confidence86%
86%
Candidate Fix
1 fix
☁️ Cloud & DevOpsDocker
Fresh5 days ago

`docker-compose up` hangs when tty parameter is true

Here's a minimal setup to reproduce the issue: Dockerfile content: [code block] docker-compose.yml content: [code block] Here's what happens when I try docker-compose up: [code block] My user is added to `docker` group, and the output is the same when run from `sudo`. It manages to attach only with `docker-compose run` command. I tried the experiment with same outcomes on `Docker version 1.9.1, build a34a1d5`, and compose versions `1.4.0`, `1.6.0`, and `1.6.2`. UPD: docker info output: [code block] `docker-compose --verpose up` output: [code block]

Confidence86%
86%
Candidate Fix
1 fix
🔌 APIs & SDKs
Fresh5 days ago

axios 1.2.3 causes an AxiosHeader error

Describe the bug axios 1.2.3 causes an AxiosHeader error The type {Token: string; Refresh: string; } "to type" AxiosRequestHeaders ". Type "{Token: string; Refresh: string; } "Missing the following properties for type" AxiosHeaders ": set, get, has, delete and 19 others Type "{params: {LayoutId: (string | number | null) []; check: string; }; } "cannot be assigned to an argument of type" AxiosRequestConfig<any> ". Type {params: {" LayoutId: (string | number | null) []; check: string; }; The attribute "headers" is missing from "}", but is required for type "AxiosRequestConfig<any>" To Reproduce _No response_ Code snippet _No response_ Expected behavior _No response_ Axios Version _No response_ Adapter Version _No response_ Browser _No response_ Browser Version _No response_ Node.js Version _No response_ OS _No response_ Additional Library Versions _No response_ Additional context/Screenshots _No response_

Confidence86%
86%
Candidate Fix
1 fix
☁️ Cloud & DevOpsAmazon
Fresh5 days ago

aws ssm put-parameter performs an HTTP GET request when the value param is an url

When you try to put a parameter into ssm-param-store with an url on the value `aws-cli` perform a HTTP GET request to the value. [code block] [code block] [code block] [code block] [code block]

Confidence86%
86%
Candidate Fix
1 fix
🛠️ Developer Tools
Fresh5 days ago

Prettier 3.7.0 broke VSCode integration

Environments: - Prettier Version: 3.7.1 - Running Prettier via: VSCode - Runtime: v24.11.1 - Operating System: Linux - Prettier plugins (if any): prettier-plugin-svelte Steps to reproduce: 1. Have a typescript project in the subfolder. Install prettier and prettier configuration there. 2. Open the entire repository in VSCode 3. Run `Format Document With... -> Prettier Repo: https://github.com/shinebayar-g/prettier-3.7.0-bug-reproduce Expected behavior: Prettier formats the code properly. Actual behavior: Getting this error [code block] It seems prettier is looking for plugins from the root of the repository not in the correct subfolder where it's installed. Prettier 3.6.2 is working fine.

Confidence86%
86%
Candidate Fix
1 fix
🔌 APIs & SDKsTwilio
Freshover 3 years ago

TypeError [ERR_INVALID_ARG_TYPE] webhook when the request type is application/json

Issue Summary I was using Twilio Studio setting up an appointment reminder, for the confirmation widget, I setup the request and content as below: <img width="345" alt="image" src="https://user-images.githubusercontent.com/499870/95715064-f17bc880-0cb4-11eb-9e80-51ba415e32e5.png"> and my server code is simply like below: [code block] When the confirmation callback hit my server, Twilio webhook throws: [code block] I checked the twilio source code, mainly caused by this function: [code block] obviously if the request type is application/json, express will parse the request.body to an object right away, which causes the issue. By changing the request type to "Form URL Encoded" fixes my issue: <img width="291" alt="image" src="https://user-images.githubusercontent.com/499870/95715350-6b13b680-0cb5-11eb-924a-0cf9e315c0a4.png"> Steps to Reproduce 1. Set up Twilio webhook middleware in your express server 2. Set up a confirmation callback request to your server with request type to application/json Technical details: twilio-node version: twilio@3.49.4 node version: 10.x

Confidence86%
86%
Verified Fix Available
1 fix3 verified
🔌 APIs & SDKs
Freshalmost 6 years ago

Error: Must provide Source. Received: undefined after upgrade to graphql@15.0

Title. Downgrade to graphql@14.6.0 solve problem.

Confidence86%
86%
Verified Fix Available
1 fix3 verified
🔌 APIs & SDKsStripe
Freshalmost 7 years ago

Cannot get to "requires_action" path after "requires_payment_method"

I am going through the subscriptions integration. I am at the point of integrating 3D-secure authentication path outcome 4 If I input a 3D-secure card first time - it works fine. However, If the first card I use fails (4000000000000341) and the subscription has status `incomplete` with `requires_payment_method` and THEN i try a 3D-secure card like 4000000000003220 - the `invoice.pay` method throws error instead of giving me an invoice object with a `payment_intent.status` of `requires_action` as its expected from the link provided hence I cannot show the user the modal to verify with 3D-secure. The error thrown is the following (invoice_payment_intent_requires_action) - google can't find anything for the error [code block] stripes-node version: v7.0.0 node version: v11.13.0

Confidence86%
86%
Verified Fix Available
1 fix3 verified
☁️ Cloud & DevOps
Freshalmost 9 years ago

feature request: allow tags for ebs_block_device entities within an aws_instance resource

I would like to be able to tag the additional volumes that I create attached to new instances. Like this: [code block]

Confidence86%
86%
Verified Fix Available
1 fix3 verified
🗄️ Databases
Freshalmost 9 years ago

@TypeORM splitting drivers into separate packages

I was thinking a lot how to solve all problems with new differing drivers like mongodb one. Solution is to separate packages: `@typeorm/mysql` `@typeorm/mariadb` `@typeorm/sqlite` `@typeorm/sql-server` `@typeorm/oracle` `@typeorm/websql` `@typeorm/mongodb` and possible future drivers like: `@typeorm/redis` `@typeorm/elasticsearch` `@typeorm/cassandra` `@typeorm/rethinkdb` `@typeorm/neo4j` etc. This requires lot of refactoring efforts and increases orm complexity, but that seems the only way to go further with different driver types. We may also have general packages like `@typeorm/core`, `@typeorm/sql`, `@typeorm/nosql` however I'm not sure about them. Alternatively we can simply pack everything needed into their packages using different build scripts and tsconfigs. Also another solution is to have `@typeorm/typeorm` and everything go from there, other packages just use declaration merging ability of TypeScript and add additional functionality, and users just use single `@typeorm/typeorm` namespace everywhere. Need help - suggestions, proposals or coding help if possible.

Confidence86%
86%
Candidate Fix
1 fix1 verified
📡 Networking
Freshover 11 years ago

Count of connected clients/sockets

Hi, I am using `io.sockets.clients().length` to get the count of all currently connected clients, but after some time this number is way to high, many disconnected clients are still present in this array. Below an image of `io.sockets.clients().length`, plotted every 5 minutes for 24 hours. Once the count reached over ~2k, i restarted the server, about 200 to 300 clients reconnected, which is the correct count. Is this the wrong way to get the count of all connected clients? I also tried to count the connects and disconnects manually, but after one day there were more disconnects than connects, the count was negative. Related: https://github.com/LearnBoost/socket.io/issues/349

Confidence86%
86%
Candidate Fix
1 fix2 verified
🔌 APIs & SDKs
Freshover 2 years ago

Typo in multipart bodies page of the documentation

Section/Content To Improve On the documentation page for Multipart Bodies (https://axios-http.com/docs/multipart) there is a line that reads: "HTML form can be passes directly as a request payload" Suggested Improvement I believe that this should be `passed` instead of `passes`. So the text should read: "HTML form can be passed directly as a request payload" Relevant File(s) _No response_

Confidence86%
86%
Candidate Fix
1 fix1 verified
🤖 AI & LLMs
Freshalmost 3 years ago

Network Error in `ConversationChain`

I'm getting the following `axios` error when calling my `ConversationChain` Error [code block] Implementation [code block]

Confidence86%
86%
Candidate Fix
1 fix1 verified
🤖 AI & LLMs
Freshabout 2 years ago

OpenAI's text-embedding-3-large model not compatible with pgvector 5.1

OpenAI says its new "text-embedding-3-large" embedding model with 3072 dimensions is the "new best performing model" with significantly higher score than "ada v2". See: https://openai.com/blog/new-embedding-models-and-api-updates I use only HNSW indexing with cosine distance. I gave it a try by modifying the src/hnsw.h as follows: -#define HNSW_MAX_DIM 2000 +#define HNSW_MAX_DIM 8192 But when insert records, it gives following error: Database error: failed to add index item to "xyz_cosine_idx" The "failed to add index item to" are only referenced in following files: ./src/ivfbuild.c ./src/ivfinsert.c ./src/hnswinsert.c ./src/hnswvacuum.c ./src/hnswbuild.c They point to BlockNumber and OffsetNumber based functions which I'm not familiar with. If someone could develop a patch against pgvector 5.1, I can give it a try and update here. Best regards Sagara

Confidence86%
86%
Candidate Fix
1 fix2 verified
☁️ Cloud & DevOpsAmazon
Freshalmost 9 years ago

ci-kubernetes-e2e-gci-gke-autoscaling: broken test run

https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gci-gke-autoscaling/214/ Multiple broken tests: Failed: [k8s.io] Cluster size autoscaling [Slow] should increase cluster size if pods are pending due to host port conflict [Feature:ClusterSizeAutoscalingScaleUp] {Kubernetes e2e suite} [code block] Issues about this test specifically: #33793 #35108 #35744 Failed: [k8s.io] Cluster size autoscaling [Slow] should correctly scale down after a node is not needed when there is non autoscaled pool[Feature:ClusterSizeAutoscalingScaleDown] {Kubernetes e2e suite} [code block] Issues about this test specifically: #34102 Failed: [k8s.io] Cluster size autoscaling [Slow] should correctly scale down after a node is not needed [Feature:ClusterSizeAutoscalingScaleDown] {Kubernetes e2e suite} [code block] Issues about this test specifically: #33891 Failed: [k8s.io] Cluster size autoscaling [Slow] should add node to the particular mig [Feature:ClusterSizeAutoscalingScaleUp] {Kubernetes e2e suite} [code block] Issues about this test specifically: #33754 Failed: [k8s.io] Cluster size autoscaling [Slow] shouldn't increase cluster size if pending pod is too large [Feature:ClusterSizeAutoscalingScaleUp] {Kubernetes e2e suite} [code block] Issues about this test specifically: #34581 Failed: [k8s.io] Cluster size autoscaling [Slow] should increase cluster size if pending pods are small and there is another node pool that is not autoscaled [Feature:ClusterSize

Confidence86%
86%
Candidate Fix
1 fix1 verified
🤖 AI & LLMsAnthropic
Freshover 2 years ago

Tokenizer Error

When I run: pip install anthropic Then: from anthropic import Anthropic client = Anthropic() client.count_tokens('Hello world!') 3 I get the error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".pyenv\pyenv-win\versions\3.11.3\Lib\site-packages\anthropic\_client.py", line 225, in count_tokens tokenizer = self.get_tokenizer() ^^^^^^^^^^^^^^^^^^^^ File ".pyenv\pyenv-win\versions\3.11.3\Lib\site-packages\anthropic\_client.py", line 230, in get_tokenizer return sync_get_tokenizer() ^^^^^^^^^^^^^^^^^^^^ File ".pyenv\pyenv-win\versions\3.11.3\Lib\site-packages\anthropic\_tokenizers.py", line 33, in sync_get_tokenizer text = tokenizer_path.read_text() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File ".pyenv\pyenv-win\versions\3.11.3\Lib\pathlib.py", line 1059, in read_text return f.read() ^^^^^^^^ File ".pyenv\pyenv-win\versions\3.11.3\Lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 1980: character maps to <undefined> I'm on a windows machine and setting my environment variables -> system settings PYTHONUTF8 to 1 didn't work either.

Confidence86%
86%
Candidate Fix
1 fix1 verified
🗄️ Databases
Freshover 10 years ago

Error when trying to reconnect to a dead server

Hi, today our Redis server was down (connect timeout) and this was the chance to see how reconnection logic was working in ioredis. But I noticed some strange error: [code block] Looks like calling self.connect() doesn't return a promise, but Redis instance, which is strange. Does anyone know what's wrong here?

Confidence86%
86%
Candidate Fix
1 fix1 verified
🌐 Web & Full-Stack
Freshabout 11 years ago

io.js support

This is a tracking issue for when "official" io.js support comes to Express 4.x and 3.x. As of now, support for io.js is not completely known, but if there are issues, please open a new issue and they will be fixed, even before "official" support. Official support will not arrive until https://github.com/iojs/io.js/issues/269 or something similar is resolved; Express needs to be able to specify engine compatibility on installation.

Confidence86%
86%
Candidate Fix
1 fix1 verified
🤖 AI & LLMs
Freshalmost 2 years ago

Index Build Time Does Not Improve as Expected When Changing "Workers"

Hello, I'm Sabrina, a data scientist at GSI Technology. I've been working on a pgvector benchmarking project on deep-1B dataset. The documentation states that I can improve index build time by changing the parameters max_parallel_maintenance_workers and max_parallel_workers. Unfortunately, if I increase the values of the parameters beyond 10, I do not see an improvement. We tested with 1M records of deep-1B and here are some results: | number of workers | index build time in seconds | | ----------- | ----------- | | default | 4041 | | 10 | 2043 | | 20 | 2090 | I am using the following hardware: - Intel(R) Xeon(R) Gold - 104 cores Here are the loaded extensions: | Name | Version | Schema | Description | | ----------- | ----------- | ----------- | ----------- | | plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language | | vector | 0.6.1 | public | vector data type and ivfflat and hnsw access methods | Should I expect to see better performance as I increase the value of workers? Thank you! I am happy to provide my code or any additional machine information needed.

Confidence86%
86%
Verified Fix Available
1 fix3 verified
🤖 AI & LLMsAnthropic
Freshabout 2 years ago

Unexpected failure when `None` is passed for optional API endpoints, due to `NotGiven` class

I was surprised to see an error when creating a response like so [code block] It works if I omit the system kwarg entirely. But it's generally intuitive to use None for higher-order functions where kwargs are optional, but it fails here. I've not seen this kind of type before, and would've hoped that None would be available, too: [code block]

Confidence86%
86%
Candidate Fix
1 fix2 verified
← PrevPage 30 of 1250Next →