Newest Questions
24,175,722 questions
-1
votes
0
answers
7
views
Error: Could not find npm package 'expo-template-default@latest' occurs when npx create-expo-app fails to locate the required template package: NODEJS
This error may occur when running:
npx create-expo-app
on Linux systems. Even if node and npm versions look fine, the issue is often caused by installing Node.js using Snap, which can lead to ...
Best practices
0
votes
0
replies
3
views
How should one architect an API that immediately returns, processes task through a queue, then hosts the result?
My system is as follows:
Flutter web app
Python backend
Supabase database
The backend uses a queueing system (Celery, Redis) to execute tasks that have been accepted through an API. The web app ...
0
votes
0
answers
6
views
iframe display automatically responsive on mobile and tablet
I created a website ( one page ) with Framer using a fixed desktop layout (1200 px wide). I embed it into a page of another website ( wordPress - Html - Wix - Shopify ) using an iframe. On a desktop, ...
0
votes
1
answer
16
views
Is @Async method outside transaction?
Have a @Transactional method and call an @Async method (since it's another bean, it' should work via proxiy's around advice normally) but it's another bean and no @Transactional annotation there.
So
...
-1
votes
0
answers
10
views
Intel I219-LM throughput is exceptionally slow on both Windows 11 and Ubuntu 24.04 LTS [closed]
Platform: HP ZBook X G1i 16 inch mobile workstation with intel I219-LM ethernet on board.
OS: (Attempt the same tests on the following operating systems:)
1. Microsoft Windows 11 (Installation via ...
0
votes
0
answers
15
views
Got "404 Not Found" when run "npm publish" with ".npmrc" file while token is valid and publishing without ".npmrc" works
In this question, I have asked how to make npm not prompt for the signing in when executing "npm publish" without .npmrc, but the publishing without promt of signing in does not work even ...
Best practices
0
votes
1
replies
12
views
How do I properly import a self-written module which depends on a third-party module within a program?
I am writing (in Python) a function for import and use in another program. This function takes standard Python data structures as input, e.g., list of strings, and outputs a numpy array based on the ...
0
votes
0
answers
4
views
How to enable React Compiler on Storybook
I want to use React Compiler with Storybook in a Vite environment. I created a configuration file inside the .storybook directory, but it doesn’t seem to work. I made that judgment because the ...
0
votes
1
answer
27
views
move_pages() on Linux increadibly slow
I move several gigabytes worth of 4k pages on Linux host from one numa node to another node using move_pages(). It takes many minutes and amost no CPU load to do so.
I can't figure out why.
Any ideas ...
0
votes
0
answers
14
views
Jedis,side effects of disabling Jedis retries during Redis Cluster failover to prevent thread blocking
When a Redis cluster experiences a master node failure while connected with Jedis, there is a delay before a replica is promoted to master. Under high traffic, this causes Jedis client threads to ...
-3
votes
0
answers
22
views
VMWare Workstation Pro 25H2 Moving of VM folder breaks clones [closed]
I tried to move the whole folder of my VMs to a different location. I changed the path in the *.vmx and *.vmsd files. When I tried to start a VM (a shallow clone), it asked if the VM was moved or ...
0
votes
0
answers
28
views
I made a raycaster and the lines aren't straight (not fisheye)
I made a raycaster on scratch and it has distortion.
It's not fisheye perspective. I multiplied the distance by the cosine of the angle but it has distortion near the edges of the screen.
raycast ...
0
votes
0
answers
10
views
Why does cognito inbound federation lamba trigger ignore custom fields in userAttributesToMap?
The inbound federation lambda trigger just came out within the last week or so, and according to the documentation, I should be able to set things exactly as I like in the response.userAttributesToMap....
Advice
0
votes
11
replies
25
views
`map`-like interface for `std::vector`; or how to treat a vector as an index-value map
I do things with maps (could be std::map, another map from the standard library, a boost map, a custom map from some other library, ...)
template<class T>
void do_map_stuff(T const& t)
{
...
0
votes
0
answers
10
views
React Native - expo-sharing shareAsync control doesn't return
I am trying to use the expo-sharing package for sharing a file downloaded locally. I was just testing the app in the simulator and came across this behavior.
Observe the code below, during a ...