FG

All Issues

24,993 verified issues

☁️ Cloud & DevOpsDocker
Freshover 8 years ago

Feature request: add scale parameter in yml

As a user of compose (formally fig), I would like to be able to specify the number of nodes started for any given definition (a.k.a scale) from inside the manifest (yaml configuration file), so that I can ship my cluster definition with my service orchestration. E.g. syntax: [code block]

Confidence79%
79%
Verified Fix Available
1 fix7 verified
☁️ Cloud & DevOpsAmazon
Freshover 1 year ago

V2 support for Python 3.12

Describe the feature aws-cli V2 currently supports: > 3.8.x > 3.9.x > 3.10.x > 3.11.x Add support for Python 3.12.x too. Use Case I installed aws-cli V2 using Homebrew, and it's the last tool I have installed still using Python 3.11. But more importantly, I believe this helps keep V2 up-to-date. Proposed Solution Add support for Python 3.12.x too. Other Information Python 3.12 was first released on 2023-10-02 and has EOL scheduled for 2028-10. See https://devguide.python.org/versions/ Acknowledgements - [X] I may be able to implement this feature request - [X] This feature might incur a breaking change CLI version used 2.13.37 Environment details (OS name and version, etc.) Darwin/21.6.0

Confidence79%
79%
Verified Fix Available
1 fix5 verified
📱 Mobile & Cross-Platform
Freshover 9 years ago

response.json() hangs when chrome debugging

When using fetch to make a get to an external api, and if debugging in chrome is active, then it never reaches the second "then" until there is an interaction with the UI, such as a tap on the screen, but if debugging is turned off then this problem goes away. [code block] Using React Native 0.22 Only occurs on Android (both Genymotion and on device (5.0)) Using a Mac

Confidence79%
79%
Verified Fix Available
1 fix6 verified
🗄️ DatabasesVercel
Fresh8 months ago

Running `prisma migrate dev` against Supabase with `multiSchema` throws error: `db error: ERROR: cannot drop table auth.users because other objects depend on it`

Bug description `prisma migrate dev` command fails when using `multiSchema` with Supabase. How to reproduce 1. Create a new Supabase project and copy the database connection string. Make sure to set up and use the shadow database by following this: https://supabase.com/docs/guides/integrations/prisma 2. Create a new Nuxt3 app and set up environmental variables 3. Set your `schema.prisma` as shown below 4. Run `prisma db pull` to pull to introspect. This will pull all tables in public and auth schema 5. Run `prisma generate ` 6. Next, run `prism migrate dev --name init` 7. See the error: [code block] Expected behavior After setting up schema.prisma to use multischema, and successfully running prisma db pull, the migrate command should work successfully with a message such as: [code block] Prisma information [code block] Environment & setup - OS: macOS - Database: PostgreSQL - Node.js version: v16.14.1 Prisma Version [code block]

Confidence79%
79%
Verified Fix Available
1 fix3 verified
🌐 Web & Full-StackMicrosoft
Freshover 9 years ago

the typeclass model offers superior extensibility

Subclassing inheritance is an anti-pattern (see also this and this and this). For those who aren't familiar with nominal typeclasses in for example Rust and Haskell, they conceptually (without getting into details and caveats yet) are a way of adding implementation to existing nominal types without modifying the source for those existing nominal types. For example, if you have an instance of existing nominal type `A` and your want to invoke a function that expects a nominal type `B` input, typeclasses conceptually enable you to declare the implementation of type `B` for type `A` and invoke the said function with the said instance of type `A` as input. The compiler is smart enough to automatically provide (the properties dictionary data structure or in ECMAScript the prototype chain) to the function the type `B` properties on the type `A` instance. The has efficiency, SPOT, and DNRY advantages over the alternative of manually wrapping the instance of `A` in a new instance which has `B` type and delegate to the properties of `A`. Scala has `implicit` conversion to automate, but this doesn't eliminate all the boilerplate and solve the efficiency (<sup><sub>and tangentially note Scala also can implement a typeclass design pattern employing implicits</sub></sup>). This disadvantage of wrapping with new instances compared to typeclasses is especially significant when the instance is a collection (or even collection of collections) of instances (potentially heterogeneous with a un

Confidence79%
79%
Verified Fix Available
1 fix3 verified
🗄️ DatabasesVercel
Freshover 4 years ago

API for interactive transactions with dependencies between write-operations

There already is a GitHub issue asking for a way to submit multiple mutations within the same HTTP request where all mutations are executed as one transaction. However, this feature does not allow for creating a transaction where the mutations depend on each other. Here is an example where the second operation depends on the first: [code block] This is currently not possible with the Prisma API as it would require having a long-running connection where the results of the operations are sent back and forth between Prisma and the database. It should be considered whether it is helpful to add such an API to Prisma, or whether abstractions like nested mutations and the requested transactional execution of multiple _independent_ transactions are the better approach for Prisma.

Confidence79%
79%
Verified Fix Available
1 fix7 verified
📱 Mobile & Cross-Platform
Freshover 6 years ago

Add support for AlarmManager in Timing to allow proper handling of long timers

Setting timers for multiple minutes isn't handled properly in React Native on Android: it keeps the Timing module awake instead of relying on the system waking us up when the timer should go off. We should explore setting a cut off at which we delegate to AlarmManager and Handler.postDelayed instead of handling the timers using framecallbacks.

Confidence79%
79%
Verified Fix Available
1 fix9 verified
🔌 APIs & SDKsGoogle
Freshabout 11 years ago

Batch Request Update

As mentioned in Issue #290 batch requests were removed with the idea to introduce a new updated way of performing batch requests. Any update on this? If not, what is the alternative? I potentially need to do 100s of calls via a service account to retrieve the activities of all the user's in our system.

Confidence79%
79%
Verified Fix Available
1 fix3 verified
🔌 APIs & SDKs
Fresh12 months ago

AxiosError: Network Error

Describe the bug while hitting same url getting success response but from react native application getting Axios Error Network error To Reproduce _No response_ Code snippet _No response_ Expected behavior _No response_ Axios Version 1.6.3 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_

Confidence79%
79%
Verified Fix Available
1 fix4 verified
🌐 Web & Full-Stack
Freshabout 1 year ago

4.0.8 is a break update, many styles don't work after upgrading in the Astro project

What version of Tailwind CSS are you using? v4.0.8 What build tool (or framework if it abstracts the build tool) are you using? pnpm10.4.1 astro5.3.0 tailwindcss4.0.8 @tailwindcss/vite4.0.8 What version of Node.js are you using? v20.18.0 What browser are you using? Chrome What operating system are you using? Windows Reproduction URL Describe your issue many styles don't work after upgrading in the Astro project Especially our private component package cannot parse correctly Return to 4.0.7 and work normally

Confidence79%
79%
Verified Fix Available
1 fix4 verified
📱 Mobile & Cross-PlatformExpo
Freshover 1 year ago

expo-splash-screen preventAutoHideAsync() seems to have no effect

TEMPORARY SOLUTION: The bug is in 0.27.6 - downgrade to 0.27.5 Minimal reproducible example https://github.com/jaworskimatt/splashscreentest What platform(s) does this occur on? iOS Where did you reproduce the issue? in Expo Go Summary Calling `SplashScreen.preventAutoHideAsync();` seems to have no effect on the app, the splash screen is automatically hidden. Steps to replicate: `npx create-expo-app@latest splashcreentest` to deploy a fresh app Edit `app/_layout.tsx` and comment out or delete `SplashScreen.hideAsync();` `npx expo start` Expected result: Since hideAsync() is not called, the splash screen should stay forever Actual result: The splash screen auto-hides anyway Environment [code block] Expo Doctor Diagnostics [code block]

Confidence79%
79%
Verified Fix Available
1 fix5 verified
🗄️ Databases
Freshabout 1 year ago

[BUG]: Check constraint are not being generated for postgres.

Report hasn't been filed before. - [X] I have verified that the bug I'm about to report hasn't been filed before. What version of `drizzle-orm` are you using? 0.36.1 What version of `drizzle-kit` are you using? 0.28.0 Other packages _No response_ Describe the Bug Check constraints are not being generated when using drizzle with postgress. Respective docs: https://orm.drizzle.team/docs/indexes-constraints#check Schema: [code block] Using `npx drizzle-kit generate`. Generated SQL, does not contain score constraint: [code block] (The tables use the prefix "pandorasdb")

Confidence79%
79%
Verified Fix Available
1 fix4 verified
🔌 APIs & SDKsGoogle
Freshover 6 years ago

Expose API to clear offline persistence (in IndexedDB).

Please expose a way to clear offline persistence (in IndexedDB). It would be useful to clean up when the user signs out.

Confidence79%
79%
Verified Fix Available
1 fix4 verified
🗄️ Databases
Freshover 1 year ago

[BUG]: Cannot update SQLite database due to foreign key constraints.

What version of `drizzle-orm` are you using? 0.29.3 What version of `drizzle-kit` are you using? 0.20.13 Describe the Bug I don't have a reproducible demo created, but after making the following change: and trying to run `pnpm drizzle-kit sqlite:push`, I initially got this error: [code block] When I run it again, it prompts me to confirm that I want to delete `__old_push_projects` [code block] and upon agreeing, I get the same error: [code block] (I updated my drizzle-kit to latest and it produced the same error) Expected behavior Drizzle-kit should update my database. I'm not sure what the best approaches to this would be, since SQLite's table alters are pretty limited in what they can do, but maybe we can do something similar to how the Knex ORM resolved a similar issue in #4155 where they disabled foreign key checks temporarily using `PRAGMA foreign_keys = ON/OFF;` and retroactively checking post-migration with `PRAGMA foreign_key_check;` (see 7. Making Other Kinds Of Table Schema Changes on the sqlite.org site) Environment & setup node v21.5.0 better-sqlite3 9.2.2 edit: just realized I probably should've opened this issue on drizzle-kit, not sure how to transfer issues on GitHub though.

Confidence79%
79%
Verified Fix Available
1 fix4 verified
🛠️ Developer ToolsMicrosoft
Freshabout 4 years ago

Installing packages (npm)...npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! errno ERR_SOCKET_TIMEOUT

Is there an existing issue for this? - [X] I have searched the existing issues This issue exists in the latest npm version - [X] I am using the latest npm Current Behavior npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/postcss-import: Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config' npm ERR! A complete log of this run can be found in: npm ERR! /home/bentex/.npm/_logs/2022-03-11T08_41_06_921Z-debug-0.log ✖ Package install failed, see above. The Schematic workflow failed. See above. Expected Behavior I expect to create a new angular project using the command ng new but seems theres a socket timeout each time i try Steps To Reproduce 1. In this environment... linux distro parrotOs 2. With this config... 3. Run '...' ng new .. 4. See error... Environment npm -v 8.3.1 $node -v v17.4.0 "user" config from /home/bentex/.npmrc legacy-peer-deps = true ; node bin location = /home/bentex/.nvm/versions/node/v17.4.0/bin/node

Confidence79%
79%
Verified Fix Available
1 fix7 verified
🛠️ Developer ToolsMicrosoft
Freshalmost 7 years ago

Directory tree indent guides in File Explorer

It's hard to navigate through project with complex directory structure. Much better to look at something like this: [code block] Instead of this: [code block]

Confidence79%
79%
Verified Fix Available
1 fix9 verified
🤖 AI & LLMsAnthropic
Fresh5 months ago

AI agent loses conversation context after tool call in multi-turn chat

In a multi-turn AI agent loop, the conversation history is not properly maintained between tool calls. After the model calls a tool, the developer appends only the tool result to the messages array without including the original assistant message that contained the tool_use block. The API then returns a validation error because the tool_result message has no preceding tool_use to reference.

Confidence79%
79%
Verified Fix Available
1 fix10 verified
☁️ Cloud & DevOpsDocker
Freshover 8 years ago

ERROR: for db Cannot start service db: driver failed programming external connectivity on endpoint ltg_db_1

when i do the following : ± docker-compose up Starting ltg_db_1 ERROR: for db Cannot start service db: driver failed programming external connectivity on endpoint ltg_db_1 (ecc3bf3036508fade24ffa4d6bc3e5fee0180073c5351667c471922a10fad60f): Error starting userland proxy: Bind for 0.0.0.0:27017 failed: port is already allocated ERROR: Encountered errors while bringing up the project. ± sudo docker inspect mongo [ { "Id": "sha256:135883d5d0b960b498e4c6c2009444b243b322d3fcb8fc4aa0cc741542dd6528", "RepoTags": [ "mongo:latest" ], "RepoDigests": [ "mongo@sha256:89ad0ed6321f48107356db1e11984e56614bdee64c3ad8a05484187f276ff705" ], "Parent": "", "Comment": "", "Created": "2016-11-01T23:31:04.120003872Z", "Container": "3e20e01de569b06a9cb43787870428254c585a56c2497835db2a616871db6f09", "ContainerConfig": { "Hostname": "397f80c505a4", "Domainname": "", "User": "", "AttachStdin": false, "AttachStdout": false, "AttachStderr": false, "ExposedPorts": { "27017/tcp": {} }, "Tty": false, "OpenStdin": false, "StdinOnce": false, "Env": [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", "GOSU_VERSION=1.7", "GPG_KEYS=DFFA3DCF326E302C4787673A01C4E7FAAAB2461C \t42F

Confidence79%
79%
Verified Fix Available
1 fix8 verified
🛠️ Developer ToolsMicrosoft
Freshover 3 years ago

vscode Have you started charging?

Some netizens need to scan the code to install vscode, I hope the official can stop this behavior

Confidence79%
79%
Verified Fix Available
1 fix8 verified
🌐 Web & Full-StackMicrosoft
Freshover 9 years ago

Suggestion: Extension methods

Allow a declarative way of adding members to an existing type's prototype Example: [code block]

Confidence79%
79%
Verified Fix Available
1 fix5 verified
← PrevPage 51 of 1250Next →