79334903

Date: 2025-01-07 04:30:46
Score: 1.5
Natty:
Report link

what you're looking for is dynamic rendering, which is under server rendering strats if you're using solely nextjs.

Though a more full approach would be to leverage...

example

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): what you
  • Low reputation (0.5):
Posted by: user19259811

79334902

Date: 2025-01-07 04:30:46
Score: 2.5
Natty:
Report link

OK it seems I got to my endgoal. Which was to get cert bot working with nginx. I ended up doing everything inside the docker container just because it turned out to be much easier.

I roughly followed this tutorial

Basically create a dockercompose yaml file. with 3 services in my case because I aldo had the next js frontend. The key seems to be setting up the volumes correctly.

services:
  webserver:
    image: nginx:latest
    ports:
      - 80:80
      - 443:443
    restart: always
    volumes:
      - ./nginx/conf/:/etc/nginx/conf.d/:ro
      - ./certbot/www:/var/www/certbot/:ro
      - ./certbot/conf/:/etc/nginx/ssl/:ro (For me etc/letencrypt is what worked for me here after the :'s)
  certbot:
    image: certbot/certbot:latest
    volumes:
      - ./certbot/www/:/var/www/certbot/:rw
      - ./certbot/conf/:/etc/letsencrypt/:rw

Using this I just added the frontend container. I also had a nginx.conf file.

I didnt follow the tutorial exactly here so I had to have 2 diffrent configs. One only port 80 and acme challange. And the other one was port 80 and 443 and the acme challange in 443. (I am not sure if the acme should be in 443 I think if I had it in port 80s server block it would have worked with one file) Anyway I used the first config then created the keys using docker exec to control the certbot config. Then switched to the second config. One thing I had in my docker file was a entrypoint that the tutorial doesnt mention. Namely /bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'" this script in the entrypoint field under certbot. This should run renew every 12 hours to try and renew the cert but you can only renew when you have 30 days left on the 90 day cert so its not as wasteful as you might think. Still is wasteful but it was the easiest way IMO.

Also if someone else knows better please let me know if I should move the acme to port 80 instead of 443 even with this entrypoint because technically the cert should never run out.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: OnurCay

79334895

Date: 2025-01-07 04:20:44
Score: 4.5
Natty:
Report link

I also seem to be facing the same issue, but mine is not in prod, just locally, the index page renders for the first time, then after refresh it does not render to the UI, when i change the name from index.vue to home.vue and navigate to /home, the UI shows, the console shows no error as well as the network tab.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wanjie

79334894

Date: 2025-01-07 04:18:43
Score: 1
Natty:
Report link

Have you tried adding cache-dependency-path to the Set up Go step? Something like:

      - name: Set up Go
        uses: actions/setup-go@v5
        with:
          go-version: "1.23.2"
          cache-dependency-path: <path to go.sum>

See https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-go#caching-dependencies.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: chuckx

79334886

Date: 2025-01-07 04:14:42
Score: 1
Natty:
Report link

Pycharm is likely running in its own separate environment. When you run pip install pyinputplus into your command prompt it is installing the package locally.

Instead, try pip installing inside of the terminal in pycharm.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thomas Martin

79334884

Date: 2025-01-07 04:13:42
Score: 2
Natty:
Report link

Only non-blocking function can be run as .. non-blocking functions using these libraries.

ie. writing to file or using sockets, which are not 'io blocking' in of themselves, can be made to run in the background with those libraries.

That's why those libraries only show you examples using sockets, http calls, etc.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tryhard

79334879

Date: 2025-01-07 04:10:41
Score: 1.5
Natty:
Report link

Found one way was to select all the files and folders using Ctrl+A and then right select > Compare Contents.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: RSW

79334878

Date: 2025-01-07 04:10:41
Score: 3
Natty:
Report link

maybe you can change the gradle-8.7 to gradle 8.5, you can change it from `android > gradle > wrapper > gradle-wrapper.properties

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Devan Tera

79334856

Date: 2025-01-07 03:45:35
Score: 4
Natty:
Report link

Rolling back to the previous release of GLFW (3.3.10) resolved the issue :)

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kafviq

79334851

Date: 2025-01-07 03:41:35
Score: 2
Natty:
Report link

Dijiktras Algorithm does'nt work on a graph with negative cycles it can be modified to work in case of negative edges by removing the visited array.

consider a graph like below:-

(u,v,w)->representation u to v their is a edge with weight w.

(1,2,-1) (2,3,5) (1,3,2)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ankit Saini

79334841

Date: 2025-01-07 03:36:34
Score: 1.5
Natty:
Report link

For me the solution was to update the PowerShellGet module with:

Install-Module PowerShellGet -Force

Then, after opening a new terminal, all functioned as expected.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: riggaP

79334834

Date: 2025-01-07 03:28:33
Score: 0.5
Natty:
Report link

I got the same problem and I already have 2GB RAM.

I solved the problem by stopping the biggest program in the RAM.

In my case

systemctl stop mariadb
Reasons:
  • Blacklisted phrase (1): I got the same problem
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sonic

79334823

Date: 2025-01-07 03:18:31
Score: 3
Natty:
Report link

Thanks to Tsyvarev, solution is to add -DCMAKE_C_FLAGS=-fcommon to the Makefile, according to https://github.com/buaazp/zimg/issues/268#issuecomment-1182797560

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gabriella Chaos

79334820

Date: 2025-01-07 03:17:31
Score: 1.5
Natty:
Report link

If you need to use DateTimePicker, you actually need to install the Extended.Wpf.Toolkit package through NuGet: enter image description here

Then add the following namespace reference to your XAML file: xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" Finally, use the DateTimePicker control in GridL, for example: <xctk:DateTimePicker Name="dateTimePicker" Format="FullDateTime" />

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
Posted by: Cody Liang

79334818

Date: 2025-01-07 03:13:30
Score: 1.5
Natty:
Report link

Don`t put PWA and OneSignal service workers in the same "scope" (your site's root). Put OneSignal in a diferent "scope" (a subdir of your root) , and declare it in your OneSignal's account page, in the OneSignal's site. Init OneSignal inside "head" section of your pages. Works for me.

Reasons:
  • Whitelisted phrase (-1): Works for me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Torm Nort

79334815

Date: 2025-01-07 03:10:29
Score: 3
Natty:
Report link

If you use the alternate firmware from here capturing ECG data from Movesense is reasonably easy in Python.

https://github.com/JonasPrimbs/movesense-ble-ecg-firmware

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Stuart Lynne

79334813

Date: 2025-01-07 03:05:28
Score: 1
Natty:
Report link

I was able to fix it by changing the url that was not working in these two files (when adding it only in node_modules/react-native, the expo-modules-core error appeared) new url: "https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.gz/download"

node_modules/react-native/ReactAndroid/android/build.gradle

node_modules/expo-modules-core/android/build.gradle

and then

cd android && ./gradlew clean

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lucas Fernandez

79334805

Date: 2025-01-07 02:57:27
Score: 1.5
Natty:
Report link

When handling credential creation on the backend, there are couple of validation steps whether the given created credential is valid or not. When parsing the data on the backend for your data, the data should not have left over bytes which mean that returned data somehow malformed.

The reason why you get such error seems that you just assign random bytes to the public key. Note that the public key should be COSE encoded. So, your random bytes does not conform to the spec and it may throw an unexpected errors on the RP side.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Ki-Eun Shin

79334799

Date: 2025-01-07 02:54:26
Score: 1
Natty:
Report link

The error continued to occur though the DB pool configs added.

Added QUARKUS_DATASOURCE_JDBC_ACQUISTION_TIMEOUT as 10s as an environment variable in my Kubernetes deployment though I have been trying various fixes for long time including upgrading Keycloak. In my case it was Keycloak version 25.0.6 and using Quarkus framework.

The earlier versions were using Jboss and this fix will not be applicable if the issue exists in older versions.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kuppusamy

79334796

Date: 2025-01-07 02:52:26
Score: 2.5
Natty:
Report link

Comment to Jordan Gillard

On Alpine linux add

apk add libheif libheif-tools

(I can not comment)

Reasons:
  • RegEx Blacklisted phrase (1): can not comment
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pice Tran

79334792

Date: 2025-01-07 02:46:25
Score: 1
Natty:
Report link

Added QUARKUS_DATASOURCE_JDBC_ACQUISTION_TIMEOUT as 10s as an environment variable in my Kubernetes deployment though I have been trying various fixes for long time. In my case it was Keycloak version 25.0.6 and using Quarkus framework.

The earlier versions were using Jboss and this fix will not be applicable if the issue exists in older versions.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kuppusamy

79334788

Date: 2025-01-07 02:44:25
Score: 0.5
Natty:
Report link

Because you have to pass the value to futex_wait anyway, you might as well do another opportunistic check there.

The futex_wait system call will suspend the thread only if the value of *mutex hasn't changed from v.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zack Light

79334779

Date: 2025-01-07 02:36:23
Score: 3.5
Natty:
Report link

This was very simple problem... all the directory name should be written in ENG...

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JSE

79334768

Date: 2025-01-07 02:18:20
Score: 5.5
Natty:
Report link

My previous answer has been deleted by other. If this post just seems like spam, it's because you haven't had the same problem as me.
Please leave this article alone to help others who are having the same problem as me.

possible.

Although this post is 5 years old, I am leaving a link and sample image of the package I created for the questioner and for those who come across this post after experiencing the same problem as me.

Like the questioner, I also started with matplotlib, and it was very slow.
I thought about trying to modify mplfinance, but it was difficult to do.

I eventually had to move on to pyqt and try pyqtgraph and finplot.
In the case of plotly, Bokeh, and Seaborn, they were excluded from the options because they did not seem to be able to connect with other GUIs.
pyqt was fast. However, it was only slightly faster than maplotlib.

The same problem of slowdown occurred as data increased.

I was wondering whether to try a language other than Python, but I went back to matplotlib and tried something new.
And it was successful.

I was able to create candlestick charts at high speed.
And this doesn't use pyqt.

By making it that way, it can now be used by connecting to a GUI other than pyqt.
Even when connected to tkinter, it operates smoothly.

It seems to work comfortably up to 10,000 pieces of data.
However, when the number of data is around 40,000, it is not comfortable. I had to use a little trick to make it even smoother.
I'll solve this problem someday.

https://pypi.org/project/seolpyo-mplchart/

candlestick chart sample gif

data length 40000

connect tkinter

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (2): was wondering
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Low reputation (0.5):
Posted by: django.seolpyo.com

79334766

Date: 2025-01-07 02:17:19
Score: 1.5
Natty:
Report link

I'm saying this because I really do want to move data from one "Sheet" to another "Sheet" within the same "Workbook".

So, even though this answered your specific "Workbook" to "Workbook" issue, it does nothing for me.

Anyway, Happy New Year, and good luck!

dg*

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: David Galetar

79334763

Date: 2025-01-07 02:14:19
Score: 1
Natty:
Report link

For Android Studio this one works for me Android Studio Ladybug | 2024.2.1 Canary 4 August 6, 2024

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dare to ask-I dnt mind punishm

79334762

Date: 2025-01-07 02:13:18
Score: 9.5
Natty: 7.5
Report link

Did you manage to find a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to find a solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Akaam Shamerany

79334752

Date: 2025-01-07 02:05:16
Score: 4.5
Natty:
Report link

This is a bug confirmed by VS Team

https://developercommunity.visualstudio.com/t/Intellisense-typescript-suggestions-inco/10730213

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Eagle

79334746

Date: 2025-01-07 02:01:15
Score: 1.5
Natty:
Report link

What works for me after changing a bit of the code from @Danial

int lineCount = LogTextBox.LineCount;
if (lineCount > 300)
{
     int excessLines = lineCount - 300;

     var text = LogTextBox.Text;
     int removeIndex = 0;

     for (int i = 0; i < excessLines; i++)
     {
     removeIndex = text.IndexOf(Environment.NewLine, removeIndex) + 
     Environment.NewLine.Length;
     }
LogTextBox.Text = text.Substring(removeIndex);
}
Reasons:
  • Whitelisted phrase (-1): works for me
  • Has code block (-0.5):
  • User mentioned (1): @Danial
  • Self-answer (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: fahrizkhan

79334745

Date: 2025-01-07 02:01:15
Score: 4.5
Natty:
Report link

Without seeing code for smoke generation and for the smoke, it is hard to give a great answer, I suggest checking to see how many smoke entities you are creating. Are you creating 1 per game tick? Creating a bunch of entities needlessly will wear on frame rate. Also double check the code on your smoke entities is just a simple timer, and not anything too complex.

Please share a code snippet so someone can review and see if there's another issue causing the frame dip.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share a code
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: zsm54xx

79334741

Date: 2025-01-07 01:55:14
Score: 1.5
Natty:
Report link

You can use Amazon EventBridge Pipes and configure Source as Kinesis Data Stream and Target as SQS

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ggever

79334738

Date: 2025-01-07 01:51:13
Score: 3.5
Natty:
Report link

JSON_EXTRACT(api_response, '$.*.content') works fine and extracts all the required id from the payload

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: SDD

79334731

Date: 2025-01-07 01:41:11
Score: 2
Natty:
Report link

Yes, a custom WordPress implementation can easily handle tens of thousands of posts. We've seen some with millions of posts and large volume of visits, for a similar purpose. In that case it was powered by an EC2 t3.xlarge instance backed by an RDS db.t3.large Mariadb.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Linux Pro

79334717

Date: 2025-01-07 01:25:09
Score: 3.5
Natty:
Report link

Hello everyone if come across a special expert who help me in recovering my lost funds in crypto if you need to recover any previous old funds you can easily reach out to him at recoveryexpert326 at Gmail dot com

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: robert webb

79334713

Date: 2025-01-07 01:22:08
Score: 2.5
Natty:
Report link

Was facing the same issue irrespective of the name I give. Issue from my end was that time on my laptop was not in sync, once I synced it from date and time settings in windows, I was able to create the s3 bucket

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Raj Bhinde

79334705

Date: 2025-01-07 01:13:07
Score: 0.5
Natty:
Report link

Use "git log" to see the commits.

git reset HEAD~: resets the current HEAD to the commit just before the current HEAD commit.

git reset HEAD~1: same as above.

git reset HEAD~2: resets the current HEAD to two commits just before the current HEAD commit.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hem

79334704

Date: 2025-01-07 01:13:07
Score: 3.5
Natty:
Report link

I believe you need to verify the server url, such as 3001 or 3002, and the axios command.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Akhand Pratap Singh

79334679

Date: 2025-01-07 00:58:04
Score: 10
Natty: 9
Report link

can you please help me add this if we want to add things like transplant?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you please help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can you please help me add this
  • Low reputation (1):
Posted by: Maya Srinivasan

79334678

Date: 2025-01-07 00:57:03
Score: 2.5
Natty:
Report link

python:3.12-slim-bookworm is a debian per this documentation: https://hub.docker.com/layers/library/python/3.12.2-slim-bookworm/images/sha256-17b9be0df2505a56bd0c013858e04cc81d8e53e963c7a0c551f08723f9418df0

On a Debian operating system, the default location for storing SSL certificates is /etc/ssl/certs.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ctznkane525

79334675

Date: 2025-01-07 00:52:02
Score: 1.5
Natty:
Report link

This happened because Systems, Privacy and Security, Local Network allows application to access the local network and you need to turn it on for Docker.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: spacether

79334657

Date: 2025-01-07 00:34:59
Score: 1
Natty:
Report link

Use failover and ix:

bar :: Maybe (HashMap String Integer)
bar = failover (ix "1") (\_ -> 2) foo
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Naïm Favier

79334656

Date: 2025-01-07 00:33:59
Score: 0.5
Natty:
Report link

There are actually quite a lot of ANSI escape sequences, and a regex to catch them all would be very large, see here

I'd recommend getting ansi2txt (Python port, Go port) and piping your output to that instead.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Azmisov

79334648

Date: 2025-01-07 00:24:57
Score: 2.5
Natty:
Report link

Ok, I found the reason. When I copied my solution to my Ubuntu from Windows, Korean texts are crashed in.cs files because of encoding issue.

When I saved my .cs file to encode UTF-8, not ANSI, it copied well, published well and run well without text crashing.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: drggong

79334640

Date: 2025-01-07 00:20:57
Score: 1
Natty:
Report link

The reason for me was:

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Thuy

79334631

Date: 2025-01-07 00:12:55
Score: 6
Natty: 7
Report link

Can you tell me what shall i change ? certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA-Code-Signing

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you tell me what
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: user3037933

79334630

Date: 2025-01-07 00:12:54
Score: 0.5
Natty:
Report link

I have been using conda for the last ~5 years, building many conda envs that were used by thousands of folks from many different teams. So far, from the discussion, I am not seeing a compelling need to use poetry in conjunction with conda. From what I can read and gather, poetry is solving the issue with pip, rather than conda. But let me summarize from historical timeline, and highlighted the key differences between conda/pip, ...:

  1. First there is a pip to do package management. It does not have a concept of separate env yet, so on the same machine, if you want to run one version of torch for one app, and another version of torch on another app, it becomes a headache.
  2. Then comes conda from Anaconda Inc. It comes out with a novel solution to solve the mix and match package requirement problem, by creating concept of conda env. Basically each conda env is mapped to a different physical directories, and therefore env1 can have a different torch version from env2.
  3. As part of env management, it also have to solve what and how to install packages into each env. So conda is also a package manager.
  4. As a package manager, one can specify conda packages and their versions (say -torch>=2.4, torchvision>=2.4). One can specify the variants and their dependency packages as well (such as torch with gpu for cuda 12.4), or let conda figure out the dependency for you (and transitive dependency also, which pip cannot handle).
  5. The nice thing about conda as a package manager is that once it figure out all the dependency, it will list the packages to be updated and prompt you. This is very useful as you want to inspect all the proposed changes before going ahead. (Many times, I aborted the operations pending further analysis.
  6. While conda as a package manager works well when the number of packages in your conda env is small. It slows down significantly when the number of packages are big, or when the number of versions of the packages are big. This is when mamba comes in. Somehow the dependency resolver works a lot faster than conda. (I had the experience that conda took 20 hours, while mamba took less than 10 minutes. The conda env has like 600 packages though).
  7. While most python packages are available for installation in both conda and pip, some packages are still only in pip. So conda/mamba does have a section for pip install. The recommendation is install all conda packages first, then pip. Once you have a env that is good, you can generate a conda env export with packages and their version, and optionally the package build id for quick replication of conda env.
  8. Subsequently, pip then comes out with a solution to do virtualenv for pip packages only. So works similar to a separate conda env (that virtualenv maps to different directories).
  9. Now since pip does not do transitive dependency, so dependency resolution runs a lot faster than conda (but the result is not 100% guaranteed).
  10. Another issue with pip install is often a compilation is required, and users often got stuck in this step (not having the right versions of header file, etc...) Conda packages on the other hand, usually do just the download the bz2 zip and unzip. No compilation needed, so quicker and more reliable and less error-prone.
  11. So poetry looks like to trying to solve the issue with package management issue pip virtual env. With conda env, it is less compelling to use poetry, although I can see one scenario: it is to keep track of the key package required for a particular conda env. For example, in build a conda env say llm-torch, I only need/want to specify the following: conda create -p /opt/conda/envs/llm-torch python=3.11 pytorch=2.5.1 cudnn cudatoolkit=11.8 transformers=4.46.3 pandas numpy jupyterlab and the resultant env may have pulled in over 100+ packages. This recipe of python, pytorch, cudatoolkit, need to be captured somewhere. Normally, you checkin to your git source code repo, but the poetry yaml file could also provide a way to document/specify this step.
  12. BTW, in using conda/mamba, I found a utility called conda-tree. Input a package, it can list what packages it is depends on, and also what other packages in your conda env are using this package. It can also dump out the whole dependency tree. (Unfortunately, this works only for conda packages but not for pip)/
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AI Chung

79334627

Date: 2025-01-07 00:11:54
Score: 0.5
Natty:
Report link

this is a solution:

client=tweepy.Client(consumer_key='x',consumer_secret='x',access_token='x',access_token_secret='x')

client.create_tweet(text="hello")

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mariano damian

79334621

Date: 2025-01-07 00:06:52
Score: 5.5
Natty:
Report link

Are you missing a properties file specifying where your log will be written to?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yeti.91

79334601

Date: 2025-01-06 23:52:47
Score: 7 🚩
Natty: 5.5
Report link

I was wondering if by any chance you were able to resolve this as I am stuck at the same step as well and File Picker is behaving exactly the same.

Reasons:
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (1.5): I am stuck
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sanyam

79334591

Date: 2025-01-06 23:49:47
Score: 3.5
Natty:
Report link

Also keen to see if there is a solution to this question.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29081561

79334581

Date: 2025-01-06 23:41:45
Score: 0.5
Natty:
Report link

Define the time range for a quarter, adjusting the zoom behavior, and ensuring smooth transitions between views:

"quarterExt",
"update": "[data('xExt')[0]['s']-oneDay, data('xExt')[0]['s'] + (ganttWidth / 1.5) * oneDay * 90]"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Robin

79334578

Date: 2025-01-06 23:38:42
Score: 6.5 🚩
Natty: 4
Report link

Did you ever get this? I am working on it as well so I'll post. I do have very nice formatted receipts printing with escpos codes. I'll be using OPOS. I also need to get MICR read and check endorsement and maybe check front printing.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Bill Goedert

79334563

Date: 2025-01-06 23:20:39
Score: 4
Natty:
Report link

I want to attach to this question because of the latest Appium.WebDriver for C# doesn't contain in its interface the method getPageSource()

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marek Forys

79334555

Date: 2025-01-06 23:14:38
Score: 0.5
Natty:
Report link

Solution using Regular Expressions:

#include <iostream>
#include <regex>

std::string line = "{10}{20}Hello World!";

// Regular expression, that contains 3 match groups: int, int, and anything
std::regex matcher("\\{(\\d+)\\}\\{(\\d+)\\}(.+)");

std::smatch match;
if (!std::regex_search(line, match, matcher)) {
  throw std::runtime_error("Failed to match expected format.");
}

int start = std::stoi(match[1]);
int end = std::stoi(match[2]);
std::string text = match[3];
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dczajkowski

79334553

Date: 2025-01-06 23:13:38
Score: 2.5
Natty:
Report link

I do not have an answer, but I am fighting with a "similar" problem on an Ubuntu 24.04.1 LTS.

Here are some notes that may help.

My problem is related to nvim replacing vim and breaking traditional vim functionalities. Specifically if I install nvim with apt, then it overrides vim and its configs, because of aggressive configurations. specifically, I would like to invoke nvim using "nvim" and vim using "vim". I am fine with vi to be associated with whatever the user prefenvimrs.

on this ubuntu, default neovim is currently 0.9.5-6ubuntu2 (normal apt install, as seen from dpkg --list)

If i uninstall nvim with apt uninstall neovim, the system puts back vim in charge, and apparently everything is fine.

I see that nvim installed via snap behaves more correctly than nvim installed via apt. The snap version is nvim 0.10.3

I also experienced weird behaviors (apparently unrelated to nvim) of tmux. when i operate on the last line of the window, it behaves erratically.

Strangely, I have this problem on a machine where i installed Ubuntu on the bare metal. I do not have it on several ubuntu 24.04 WSL. I am quite sure that in the malfunctioning installation, I was installing tmux, vim and later neovim, all with apt install.

uninstalling nvim with apt remove neovim, all the alternatives were reverted to vim.basic. Reinstalling neovim later with apt install neovim did not recreate the alternatives...

Reasons:
  • Blacklisted phrase (1): I have this problem
  • Blacklisted phrase (1): I do not have an answer
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marco Guardigli

79334552

Date: 2025-01-06 23:12:37
Score: 3.5
Natty:
Report link

Yes, It works perfectly if both cors and @types/cors packages are installed.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hoang Phu

79334549

Date: 2025-01-06 23:11:37
Score: 0.5
Natty:
Report link

here an example

based on this person script https://www.reddit.com/r/SCCM/comments/cqif5a/visual_c_redist_detection_script/

##check VC Redistributable packages installed
 Get-ChildItem HKLM:\SOFTWARE\WoW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | ForEach-Object { 
    $CurDisplayName = $_.GetValue("DisplayName")
    if( $CurDisplayName -match "^Microsoft Visual C\+\+\D*(?<Year>(\d|-){4,9}).*Redistributable.*") {
        #$Year = $Matches.Year
        echo $Matches.0
    }
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Tilo

79334544

Date: 2025-01-06 23:09:37
Score: 1.5
Natty:
Report link

The solution was as Detlef suggested. I just added .all() to the query.

@classmethod
def find_by_purpose_and_id(cls, client_id, purpose):
    return cls.query.
            filter_by(client_id= client_id,purpose=purpose).all()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rual

79334541

Date: 2025-01-06 23:05:36
Score: 2.5
Natty:
Report link

After fighting this for a while, I found a solution to my problem. My website has many SVGs, and these SVGs use a custom font that I serve. When I serve these SVGs in an <img> tag, they can't access my custom font (unless I include it in the nested style, which would increase the file size too much for my liking). In order to get around this, I redownloaded each SVG again on DOMContentLoaded, and I replaced the <img> tags with inline versions of the SVGs:

function fetchSVG(svgUrl, resultFunction = null) {
    return fetch(svgUrl)
        .then(response => response.ok ? response.text() : null)
        .then(svgContent => {
            if (svgContent === null) {
                return;
            }

            const svgElement = new DOMParser().parseFromString(svgContent, "image/svg+xml").documentElement;
            svgElement.classList.add("swapped-svg");

            if (resultFunction !== null) {
                resultFunction(svgElement);
            }
        })
        .catch(error => console.error("Error loading SVG:", error));
}

document.addEventListener("DOMContentLoaded", function() {
    function replaceImageWithSVG(imgElement) {
        fetchSVG(imgElement.src, function(svgElement) {
            imgElement.replaceWith(svgElement);
        });
    }

    document.querySelectorAll(".svg-swap").forEach(svgSwap => {
        svgSwap.addEventListener("load", function() {
            replaceImageWithSVG(svgSwap);
        });

        if (svgSwap.complete) {
            replaceImageWithSVG(svgSwap);
        }
    });
});

After disabling this functionality, I saw that caching was working. I don't know the precise reason why, but fetching via JavaScript right away after the images loading via the <img> tag somehow messed with the cache. I found two solutions:

  1. If I didn't use <img> tags for the SVGs initially and I just downloaded them via JavaScript on DOMContentLoaded, the cache would work across refreshes of the website.
  2. If I use the attribute loading="lazy" in the <img> tags, it somehow didn't cause this strange behavior and the cache would still work across refreshes of the website. For those that have the same issue, keep in mind you may not want this lazy loading behavior, so this might not work for you.

As I mentioned, I don't know why "eager" downloading of the SVGs immediately with <img> tags without the attribute and then pulling the SVGs via JavaScript messed with the cache, but lazy loading resolved the issue, so I went with option #2.

Either way, both of my solutions end up doing some sort of lazy loading. If I didn't want this, I think I would have been forced to include font styling inside the SVGs, or I would have had to switch the format of the images from SVG to something else.

Lastly, I would like to confirm that I only originally experienced this issue in Safari on MacOS and all browsers on iOS, and the above two solutions solved the issue.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: star8163264

79334518

Date: 2025-01-06 22:46:30
Score: 14 🚩
Natty: 6.5
Report link

I have the same problem and I can't solve it with your hints. As far as I can see the versions of gradle and Java are incompatible. What I don't know is, how to check and administer both versions in my flutter-project.

Could you please give me a further hint?

Thx in advance

Reasons:
  • Blacklisted phrase (1): Thx
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): Could you please give me
  • RegEx Blacklisted phrase (3): Thx in advance
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: CJBNBG

79334512

Date: 2025-01-06 22:42:26
Score: 7.5 🚩
Natty:
Report link

Do you have the bodyparser implemented in your nodejs app? If not, then iuthe body will alway be null.whats the output of nodejs in console?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zaaaazzy

79334510

Date: 2025-01-06 22:40:26
Score: 4.5
Natty: 4
Report link

"Cannot compare left expression of type '...' with right expression of type '...' I understand the source of the problem (Hibernate 6.x expects the same data type on join statements) and I know how to fix" can you please elaborate on the solution to this error, I am currently running into the same issue.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please elaborate
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jean-Leman

79334507

Date: 2025-01-06 22:36:24
Score: 4
Natty: 4.5
Report link

you are putting this in php, or in which, in case you already have a server, but in JavaScript, how would it connect to html, this without using php or another language only with JavaScript How would it be done?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: alondra luna

79334503

Date: 2025-01-06 22:35:21
Score: 12 🚩
Natty: 6.5
Report link

I need some help. I am trying to set a Solana wallet secret key but always gives me the following ERROR - Invalid SOLANA_WALLET_SECRET_KEY format: Cleaned key length is 32, expected 64. Check your key format.

Any suggestions?

Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): I need some help
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (2): Any suggestions?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dr. DrEgYo

79334500

Date: 2025-01-06 22:34:20
Score: 3.5
Natty:
Report link

Easiest way to find location of workbook

?thisworkbook.path

Into the Immediate Window.

Screenshot of Immediate Window

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mr_robot_mn

79334499

Date: 2025-01-06 22:33:20
Score: 3.5
Natty:
Report link

This violates Telegram ToS and you must not do it.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AYMENJD

79334494

Date: 2025-01-06 22:29:20
Score: 1
Natty:
Report link

Your problem comes from your prediction.
As input, you have an array of vectors and in your first prediction you give an array to your model.
Your model was trained on an array of vectors.
To fix the problem, add a [ ].
This gives:

res = model.predict(testData[[0]])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ChibiShadow

79334493

Date: 2025-01-06 22:29:20
Score: 1
Natty:
Report link

Not sure if this is still relevant or not but you seem to have a misunderstanding of the paradigm of k8s as it related to pods. Pods are seen as basically throw away. Pod died, start a new one. Pod evicted, start a new one elsewhere, etc. The only times that k8s really keeps them around is some small cases where there's a small hickup actually starting the pod, like resources or such.

In order to get something that will stay alive you want to use something like a Deployment, DaemonSet, StatefulSet, etc. You provide a template spec to these objects and they manage the creation of the Pods for you.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alex Orange

79334489

Date: 2025-01-06 22:26:19
Score: 1.5
Natty:
Report link

Task managing on Android in that way because more of a performance hindering goal around Android 4 I believe..maybe 5. I forgot Google's URL or I'd look it up real quick but it's not critical info 🤖

I don't even think it's entirely possible with the way android is designed.. now it just sleeps things when it should & wakes if an activity/service/receiver is triggered.. yeah? Yeah.

If you know that why are you so adamant about constantly ending it? I'm curious, I used to go deep on Android kernels & task manager optimization in days of 5 hour batteries, unlocked bootloader's & HTC excellence lol

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: d0x

79334485

Date: 2025-01-06 22:25:19
Score: 0.5
Natty:
Report link

I had the same problem. At my case the solutions above didn't solve my problem.

My issue was,I'm using proxmox hypervisor. my vm servers are connected vm bridge/network which is using MTU 1400. I have to add MTU 1400 to my /etc/network/interfaces at each postgre vms

iface ens18 inet static address xxxxxx gateway xxx # dns-* options are implemented by the resolvconf package, if installed dns-nameservers xxx dns-nameservers yyy dns-search xxxx mtu 1400

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ali Doğru

79334483

Date: 2025-01-06 22:23:18
Score: 0.5
Natty:
Report link

the code works when running it as a StackOverflow snippet:

body {
  background-color: rgb(148, 68, 223);
  margin: 50px;
}
#main {
  background-color: rgb(198, 173, 221);
  border-radius: 20px;
  border: 3px solid rgb(165, 116, 211);
  margin: 30px;
}
<html>
  
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pierogi Lover's Personal Site</title>
    <link href="/style.css" rel="stylesheet" type="text/css" media="all">
  </head>

  <body>
    <div id="flex-container">
      <div id="main">
        <h1>Welcome!</h1>
      </div>
    </div>
  </body>

</html>

thus, it may be an issue with file structure / import.

if both files are in the same folder, then a way to import CSS can be:

<link href="./style.css" rel="stylesheet" type="text/css" media="all">
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user19259811

79334477

Date: 2025-01-06 22:19:17
Score: 0.5
Natty:
Report link

this is my first answer, I tried to translate teh formulas from PT-BR to EN-US.

Put both Tables formatted as tables. Table2 refers to the right one. Then, paste this on cell A3: =REPLACE(IF([@Type]="BOS",JOINTEXT("/",1;UNIQUE(XLOOKUP([Concept],Table2[Concept Name],Table2[Acct]))),XLOOKUP([@Concept],Tablet2[Concept Name],Table2[Acct])),"0/",""). It worked, I still cannot post images, sorry. Answer Screenshot

Edit1: I changed the ; to , in the formulas.

Reasons:
  • Whitelisted phrase (-1): It worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulo Henrique de Barros Vaz

79334469

Date: 2025-01-06 22:15:17
Score: 1
Natty:
Report link

import matplotlib.pyplot as plt import numpy as np # Dados da tabela umidade_teorica = [0, 2, 4, 6, 8, 10, 12] coef_inchamento = [0, 10, 20, 30, 25, 15, 5] # Plotar os dados originais plt.figure(figsize=(10, 6)) plt.plot(umidade_teorica, coef_inchamento, 'o-', label='Coeficiente de Inchamento') # Ajustar a curva (exemplo simples com polinômio de grau 2) z = np.polyfit(umidade_teorica, coef_inchamento, 2) p = np.poly1d(z) plt.plot(umidade_teorica, p(umidade_teorica), "r--", label='Curva Ajustada') # Traçar a tangente paralela ao eixo da umidade umidade_tangente = 5.95 # valor exemplo, ajuste conforme necessário coef_tangente = 25.10 # valor exemplo, ajuste conforme necessário plt.axhline(y=coef_tangente, color='g', linestyle='--', label='Tangente Paralela') plt.scatter(umidade_tangente, coef_tangente, color='red', label='Ponto Tangente (5.95, 25.10)') # Traçar a corda unindo o ponto de origem ao ponto tangente plt.plot([0, umidade_tangente], [0, coef_tangente], color='blue', linestyle='-', linewidth=2, label='Corda de Origem ao Ponto Tangente') # Personalizar o gráfico plt.xlabel('Umidade Teórica (%)') plt.ylabel('Coeficiente de Inchamento (%)') plt.title('Curva de Inchamento com Tangente e Corda') plt.legend() plt.grid(True

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Luiz Nelson

79334461

Date: 2025-01-06 22:12:16
Score: 0.5
Natty:
Report link

Aha!

I tried this again from my workstation desktop environment, and come to find out that helm was displaying a window to ask for my credentials to access the credentials store.

Since I was logged in via ssh, I never got a window popup.

I'll continue with my bug opened for helm #13594.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Patrick Gardella

79334456

Date: 2025-01-06 22:08:15
Score: 1
Natty:
Report link

Of course, SSDP uses only UDP, not TCP, that's why I hope, that I can use only UDP golang functions to achieve my effect. Now I am trying with something like:

data := []byte(`M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: "ssdp:discover"\r\nST: roku:ecp\r\n\r\n`)
        fmt.Printf("sending data: %s\n", string(data))

_, err = connection.WriteToUDP(data, addr)

but with no success for now...

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abram

79334451

Date: 2025-01-06 22:06:14
Score: 12.5
Natty: 7.5
Report link

I am having the same problem. Did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jero lambre

79334436

Date: 2025-01-06 21:58:11
Score: 5.5
Natty:
Report link

Don't use view bots, in this video I explain the problems of using https://youtu.be/6i21EGSNmVQ

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): this video
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eduardo Frans

79334433

Date: 2025-01-06 21:57:10
Score: 0.5
Natty:
Report link

I saw this answer from another post about converting DD–MMM-YY to YYYY-MM-DD in BigQuery using the combination of format_date and parse_date:

SELECT FORMAT_DATE("%Y/%m/%d",PARSE_DATE('%d-%b-%y','31-OCT-20'))

You can follow the format above if you are using Big Query, just change the date value.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yannco

79334423

Date: 2025-01-06 21:50:07
Score: 13 🚩
Natty: 6.5
Report link

I have the same issue, can anyone help how to solve it? keycloak version is 16.1.1

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve it?
  • RegEx Blacklisted phrase (3): can anyone help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29080727

79334422

Date: 2025-01-06 21:50:07
Score: 2
Natty:
Report link

Did you try to #include <cstring> instead of "cstring" ? (assuming that "cstring" is not supposed to be in your includePaths as defined in your JSON).

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Lormane

79334400

Date: 2025-01-06 21:37:04
Score: 1
Natty:
Report link

yes , this kind of memory usage is completely normal as far as I have seen. I had a project on a comparitive study between a few custom made models over transfer learning models. There every time I would run each of the models (or worse , all of them on a single notebook in a sequential manner) , it would completely use up all the vram available on the p100 in kaggle and the memory usage shot up to over 22gb the moment model fitting starts.

I would suggest using a lower batch size during fitting in order to reduce the resouce usage slighty , though i am no expert and pretty much a novice. I would also suggest you to try different learning rates and optimziers as well and reduce the number of epochs, as in my experience after about 40 - 50 epochs , there's barely any noticeable difference.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Subho

79334388

Date: 2025-01-06 21:34:03
Score: 2
Natty:
Report link

There is a file called ListViewWidget.scss, but Guidewire in Guidewire Studio has it in a folder that they reserve as non-editable. If you do edit the file, you can adjust the css for the ListViewWidget.

Eg. something like this

enter image description here

results in the paging controls being shifted to the left and no longer right-justified enter image description here

This could be something you could play with, but I dont think it would be Guidewire approved.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: grambo25

79334386

Date: 2025-01-06 21:33:03
Score: 1
Natty:
Report link

Does this solve your problem?

@ECHO OFF
SETLOCAL
set "var1=Hello world"
Echo var1 before: %var1%
call:myDosFunc var1 
Echo var1 after : %var1%
goto :eof

:myDosFunc    -- passing a variable by reference, and changing value
echo   Notice that a variable passed by reference does NOT echo the value, and it echos the variable name instead.

CALL SET "arg2=%%%~1%%"
echo %arg2%
echo   Arg1 variable name = '%~1' and Arg2 value = '%~2'
set "%~1=Good bye world!!!"
goto :eof
Reasons:
  • RegEx Blacklisted phrase (1.5): solve your problem?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Magoo

79334380

Date: 2025-01-06 21:31:02
Score: 2
Natty:
Report link

I believe the save(...) method is marked with @Transactional meaning that a transaction is started and committed each time the save method is called in the for loop.

I'd first start by following the advice in this blog to enable SQL logging (which will you better understand the SQL that is generated by JPA).

Then I'd follow the bulk insert advice in this StackOverflow post and see if you get better performance.

Lastly, if you're going to be using JPA for persistence, I can't recommend Vlad Mihalcea's blog enough. You'll find a TON of valuable insights.

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: wmkoch

79334370

Date: 2025-01-06 21:28:01
Score: 0.5
Natty:
Report link

You were almost there. Just add +1 on this line:

ax.set_yticks(np.arange(0, max_y + 1, increment))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: rehaqds

79334364

Date: 2025-01-06 21:24:00
Score: 2
Natty:
Report link

Yes Sir,it will. Your custom properties get passed to the template so you can reference it via mustache np

Sorry out the short answer I gotta go somewhere but I'll try to remember to come back and fill it out a bit if you want & nobody else has by then

Have fun!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: d0x

79334361

Date: 2025-01-06 21:22:00
Score: 3
Natty:
Report link

This solved an issue I have with an assertion failure when calling waitonmouseevents in fortran2025. However, it also disable by break points.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CLM

79334356

Date: 2025-01-06 21:19:59
Score: 0.5
Natty:
Report link

Utilizing the Full Text Search capability appears to provide the solution based on this post.

On the MongoDB create a text index, on the Foo collection, using a wildcard to index all document content. In my API I can then perform the search using that index:

var filter = Builders<Foo>.Filter.Text(request.Term);
await _foo.Find(filter).ToListAsync()
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Leigh.D

79334345

Date: 2025-01-06 21:13:58
Score: 3.5
Natty:
Report link

This was actually solved by passing empty text to buton as property .command(text="").

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jan Vaško

79334342

Date: 2025-01-06 21:12:57
Score: 1.5
Natty:
Report link

I was running into the same thing and the version I installed was v5.0.0

I downgraded to v4.2.1 and it is rendering now. I have an older version of react so I'm wondering if this had something to do with it, but I'm thinking this could help you as well.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: aaron.v

79334338

Date: 2025-01-06 21:10:57
Score: 1.5
Natty:
Report link

Try adding this to your theme's stylesheet:

.submenu {
overflow-y: scroll;
height: 500px;

}

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael

79334337

Date: 2025-01-06 21:10:57
Score: 3.5
Natty:
Report link

On most of cases oblique projection is enought. https://docs.unity3d.com/6000.0/Documentation/ScriptReference/Camera-projectionMatrix.html

solve this following https://jsantell.com/portals-with-asymmetric-projection/

In the case the projection is arbitrary y can resolve using this https://github.com/etienne-p/UnityHomography

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Seyacat

79334327

Date: 2025-01-06 21:05:55
Score: 1.5
Natty:
Report link

According to Rory Braybrook (see this Medium article), you can use a "domain_hint". Also see this SO answer.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jeff Codes

79334323

Date: 2025-01-06 21:04:55
Score: 1
Natty:
Report link

The {ranger} package offers this option via always.split.variables. The package is very fast as well.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Michael M

79334319

Date: 2025-01-06 21:02:55
Score: 2.5
Natty:
Report link

Recently I wrote article how SSH port forwarding works and how to implement it in Rust:

https://dev.to/bbkr/ssh-port-forwarding-from-within-rust-code-5an

I hope it answers your question.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Pawel Pabian bbkr

79334316

Date: 2025-01-06 21:01:54
Score: 1
Natty:
Report link

There are several issues in the code above.

  1. In VolumeItem, you have two CellItem with the same value for the id prop. Try removing those props or use unique ids.
  2. TextField is using controlled value but setValue is never called.
  3. In onValueChange, e.stopPropagation() and e.preventDefault() are not necessary.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Soetji Anto

79334312

Date: 2025-01-06 21:00:54
Score: 1.5
Natty:
Report link

passwordCracker.py > ...

1 from random import *

5

6

7

8

9

2

3

4

import os

u_pwd = input("Enter a password: ")

pwd=['a','b', 'c', 'd', 'e', 'f','g', 'h','i' '1', '2', '3', '4', '5', '6']

pw=""

while(pw!=u_pwd):

pw=""

for letter in range(len(u_pwd)):

10

guess_pwd = pwd [randint(0,17)]

11

pw=str(guess_pwd)+str(pw)

12

print(pw)

13

print("Cracking Password...Please

14

os.system("cls")

15

print("Your Password Is :",pw)

16

17

#LET'S CRACK-IT!

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manjeet Chahal Mr Mone

79334294

Date: 2025-01-06 20:51:52
Score: 4
Natty:
Report link

This question has now been answered in the comments. You'll need to expand the comments to see the answer. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ambassador

79334293

Date: 2025-01-06 20:51:52
Score: 2
Natty:
Report link

See Thomas's answer in comments.

Link also provided here: github.com/microsoftgraph/msgraph-sdk-powershell/issues/1622

I just needed to add a @( ) to the variable of "ResourceAccess" under -RequiredResourceAccess.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Harry

79334291

Date: 2025-01-06 20:50:51
Score: 3
Natty:
Report link

Problem solved. I had changed the namespace to another package.

Created a new project with the correct namespace, then it works.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rphl