79335111

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

This is an expected behaviour. You might be having logback-test.xml file in your project. Please change the log level from DEBUG in that file. Check this link Karate Logging

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: cyrilgeorge153

79335108

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

I think my scenario is a little bit same as yours

I have multiple service instance, and only one as the leader to watch all pods change event, and any change will be sync into the database, if the leader is elected, it first to load the pods in DB that need to be watch and update their status. --- I think this is required when a old leader is broken and a new leader is elected.

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

79335105

Date: 2025-01-07 07:01:28
Score: 6 🚩
Natty: 4.5
Report link

enter image description here

enter image description here

While scrolling up This rows goes messed up iam using Ag gris custom css Give me any solution for this

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mala G

79335100

Date: 2025-01-07 06:58:27
Score: 1.5
Natty:
Report link

You just need to add keep.xml file manually in the android/src/main/res/raw folder like image below:

enter image description here

And add this code in keep.xml

    <?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools"
    tools:keep="@drawable/*,@raw/emergency" />

Change emergency in code to your sound name which is in raw folder

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jason

79335092

Date: 2025-01-07 06:53:27
Score: 1.5
Natty:
Report link

Coordinate has a problem. I use the following coordinates correct. static float vertexData[] = { -0.5f, 0.5f, // top left -0.5f, -0.5f, // bottom left 0.5f, -0.5f, // bottom right 0.5f, 0.5f // top right }; //top right final float[] textureData = { 0f, 1f, 0f, 0f, 1f, 0f, 01f, 1f };

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: 汤中峰

79335091

Date: 2025-01-07 06:53:27
Score: 0.5
Natty:
Report link

While FLOP/s might be a familiar metric, it has limitations for accurately assessing the performance of complex scientific codes. Focus on more relevant metrics like execution time, throughput, and resource utilization. Utilize profiling tools to gain deeper insights into your code's behavior and identify areas for optimization.

  1. Execution Time: Example: A weather simulation model takes 10 hours to run on a single CPU. After optimization, the execution time is reduced to 5 hours. Focus: This directly measures the time taken to complete a task. Improvements in execution time are always a valuable goal.

  2. Throughput: Example: A molecular dynamics simulation calculates the trajectories of 1 million particles per second. After code optimization, the throughput increases to 2 million particles per second.

  3. Resource Utilization: Example: A genetic algorithm running on a multi-core processor shows that only 50% of the cores are consistently utilized. Profiling reveals that the algorithm is bottlenecked by a single, computationally expensive function.

  4. Profiling Tools: Example: Using a profiling tool like Intel VTune Amplifier, a developer identifies that a significant portion of execution time is spent in a specific loop within a linear algebra library. This leads to the exploration of optimized linear algebra libraries or the use of more efficient algorithms.

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

79335090

Date: 2025-01-07 06:53:27
Score: 3
Natty:
Report link

I have the same doubt as he did, but in my scenario, I Created four different classes and only 2 had trained. one class has the same structure but another one is different in the structure to each item, so after the training it was working well in trained images but when I tried to do object detection in new images there was a huge of confusion in labeling a correct class object. Is object detection only apply on defined structured items? or is there any other object detection model that use full for this scenerio. currently im using yolov11

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohan Dass

79335089

Date: 2025-01-07 06:52:26
Score: 3.5
Natty:
Report link

This is most likely a problem from one of the config files. You can visit this link as various solutions were recommended for similar issue on this error.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Olumuyiwa

79335084

Date: 2025-01-07 06:50:26
Score: 1
Natty:
Report link

No Action Needed for React Native/Flutter Developers Regarding APNs Certificate Update

If you’re using third-party services like Firebase (FCM) for push notifications in your React Native or Flutter apps, you don’t need to make any changes to your app or Firebase Console.

The recent update from Apple regarding the APNs server certificates only affects native applications that connect directly to Apple’s Push Notification (APNs) service. Since your app relies on Firebase or similar services to handle push notifications, those providers will take care of the necessary updates on their end.

So, there’s nothing to worry about! This update is only for developers who use APNs directly in native iOS apps.

https://forums.developer.apple.com/forums/thread/770316

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

79335082

Date: 2025-01-07 06:49:26
Score: 1.5
Natty:
Report link

I think a great (open source) full stack startup I go back and reference often is dub. Dub's a linkshortner.

And you can go dig deeper into their code in terms of how they implement indexing.

However, one thing I found at an immediate glance is indexing in it's core is handled in the middleware for next projects at least.

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

79335080

Date: 2025-01-07 06:48:24
Score: 7 🚩
Natty:
Report link

Why should I answer your question man?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Why
  • Low reputation (1):
Posted by: Sloppy Burger

79335077

Date: 2025-01-07 06:42:23
Score: 0.5
Natty:
Report link

Regarding the section Code Using react-email:

Here is the sample output: enter image description here

I've created a minimal sample in my GitHub repository.

I've updated the package @react-email/components to latest: 0.0.31, removed parent Row component as NextJS is complaining about the hydration when using non table elements inside Row aka <tr>.

You can view the implementation of @react-email here ReactEmail.tsx, imported in server page component: verification/page.tsx added the Head/Title components from @react-email's title value as NextJS's MetaData

You cannot use Html and Head components inside components or pages as it is already set-upped by the layout.tsx, regarding the font Roboto, I've added it in line 5 of layout.tsx

You can learn more about NextJS directives here.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nikitimi

79335072

Date: 2025-01-07 06:38:22
Score: 0.5
Natty:
Report link

Use RDFLib's Dataset class as suggested by UninformedUser.

(answer submitted here after real answer in comments just to tick over SO's question/answer metrics)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Nicholas Car

79335070

Date: 2025-01-07 06:38:21
Score: 6 🚩
Natty: 5
Report link

https://stackoverflow.comStack Overflowhttps://stackoverflow.com › how-c...How can fake URL on hover and right-click but not on the click?

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hariom Kahar

79335069

Date: 2025-01-07 06:37:20
Score: 1
Natty:
Report link

The reason is the third parameter of the recv call. It should be the buffer length, but you used strlen(buffer), which is always 0. That's why your client keeps printing Received nothing.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: June

79335066

Date: 2025-01-07 06:36:20
Score: 0.5
Natty:
Report link

This method does not require any script. Assuming the result of the formula is on the same row (eg. G1), the following formula will do the job and is extendable to rows below:

=COUNTTEXTCOLOR(CONCATENATE(ADDRESS(ROW(),1,4),":",ADDRESS(ROW(),6,4)),"#ff0000")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ashish Yadav

79335065

Date: 2025-01-07 06:36:20
Score: 2.5
Natty:
Report link

Here is the google docs for doing this - https://developers.google.com/identity/protocols/oauth2

You can also try asking ChatGPT with this one, gives you a clear understanding of whats required

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

79335058

Date: 2025-01-07 06:32:18
Score: 4
Natty: 4
Report link

The provided solution works effectively and is explained comprehensively. Find below link,

https://github.com/boostorg/boost/issues/843#issuecomment-1872943124

Thank you for saving my time.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kuldeep Rathod

79335050

Date: 2025-01-07 06:27:16
Score: 8
Natty: 7.5
Report link

Hey I see that you used a convexhull to make your stl object watertight. Could you please share what methodology you used to compute the covexhull? Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Could you please share what
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amal Dhivahar

79335048

Date: 2025-01-07 06:26:15
Score: 2
Natty:
Report link

Its very easy. Just use the "ylim" and give the range from your original data. This solved it for me!

dataframe.plot.scatter(x='NoOfStaff', y='Expenses', c='CovidYesNo', cmap='rainbow', ylim=(0,100000))

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manoharie S K Rajah

79335045

Date: 2025-01-07 06:25:15
Score: 4
Natty:
Report link

I will edit your question if I have more than 2,000 reputation. I lack that ability. I use the first account to create a question. I use the opposite account to add an answer. I use the opposite account to accept the answer the account added. I grant 15 reputation to the second account which makes it have 16 reputation. I will post an answer every 5 minutes, and with the account I have 16 reputation, I will upvote the answer. I can get a maximum of 200 points in a single day. I thus decide to place the bounty on that question. The bounty I put is 200 reputation. I used three accounts to answer a question I put the bounty on, and I did not ask this question in another account.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • RegEx Blacklisted phrase (1.5): reputation
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Asim Ahmed

79335038

Date: 2025-01-07 06:22:14
Score: 0.5
Natty:
Report link

external Network create

sudo docker network create local_central_db_network

create a file docker-compose.yml

version: '3.3'

services:
  postgres:
    image: postgres:16.4 # Using PostgreSQL version 16.4
    container_name: local-central-db-pgsql-container-16.4
    restart: always
    ports:
      - "5432:5432" # Expose port 5432 for external access
    environment:
      POSTGRES_USER: root # Replace with your username
      POSTGRES_PASSWORD: root # Replace with your password
    volumes:
      - ./dbdata:/var/lib/postgresql/data # Persist data between restarts
    networks:
      - local_central_db_network

networks:
  local_central_db_network:
    external: true

Command : Docker : Setup : run these commands

sudo docker-compose down
sudo docker-compose build && docker-compose up -d

Connecting with command line

docker exec -it local-central-db-pgsql-container-16.4 bash
psql -U root
\q

Note: in clients/visual software use like this

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md. Saifur Rahman

79335029

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

If you have a custom parceler, you can suppress the error pretty much safely with:

@Suppress("PARCELABLE_SHOULD_HAVE_PRIMARY_CONSTRUCTOR")
@Parcelize
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Dmitry

79335017

Date: 2025-01-07 06:08:11
Score: 3
Natty:
Report link

Adding this to .env fixed the issue -

SIGN_IN_PREFILLED=false

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

79335015

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

external Network create just like this

sudo docker network create local_central_db_network

create a file docker-compose.yml

version: '3.3'

services:
  postgres:
    image: postgres:16.4 # Using PostgreSQL version 16.4
    container_name: local-central-db-pgsql-container-16.4
    restart: always
    ports:
      - "5432:5432" # Expose port 5432 for external access
    environment:
      POSTGRES_USER: root # Replace with your username
      POSTGRES_PASSWORD: root # Replace with your password
    volumes:
      - ./dbdata:/var/lib/postgresql/data # Persist data between restarts
    networks:
      - local_central_db_network

networks:
  local_central_db_network:
    external: true

Command : Docker : Setup : Initialization : run these commands

sudo docker-compose down
sudo docker-compose build && docker-compose up -d

Connecting with command line

docker exec -it local-central-db-pgsql-container-16.4 bash
psql -U root
\q

Note: in clients/visual software use like this

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md. Saifur Rahman

79335014

Date: 2025-01-07 06:05:10
Score: 0.5
Natty:
Report link

Network creation like this

sudo docker network create local_central_db_network

create a file named as docker-compose.yml

version: '3.3'

services:
  postgres:
    image: postgres:16.4 # Using PostgreSQL version 16.4
    container_name: local-central-db-pgsql-container-16.4
    restart: always
    ports:
      - "5432:5432" # Expose port 5432 for external access
    environment:
      POSTGRES_USER: root # Replace with your username
      POSTGRES_PASSWORD: root # Replace with your password
    volumes:
      - ./dbdata:/var/lib/postgresql/data # Persist data between restarts
    networks:
      - local_central_db_network

networks:
  local_central_db_network:
    external: true

Command : Docker : Setup : Initialized : run these commands

sudo docker-compose down
sudo docker-compose build && docker-compose up -d

Connect in command line

docker exec -it local-central-db-pgsql-container-16.4 bash
psql -U root
\q

Note: in clients/visual software use like this

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md. Saifur Rahman

79335013

Date: 2025-01-07 06:04:10
Score: 0.5
Natty:
Report link

Network

sudo docker network create local_central_db_network

create a file docker-compose.yml

version: '3.3'

services:
  postgres:
    image: postgres:16.4 # Using PostgreSQL version 16.4
    container_name: local-central-db-pgsql-container-16.4
    restart: always
    ports:
      - "5432:5432" # Expose port 5432 for external access
    environment:
      POSTGRES_USER: root # Replace with your username
      POSTGRES_PASSWORD: root # Replace with your password
    volumes:
      - ./dbdata:/var/lib/postgresql/data # Persist data between restarts
    networks:
      - local_central_db_network

networks:
  local_central_db_network:
    external: true

Command : Docker : Setup : Initialized

sudo docker-compose down
sudo docker-compose build && docker-compose up -d

Connect in command line

docker exec -it local-central-db-pgsql-container-16.4 bash
psql -U root
\q

Note: in clients use like this

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md. Saifur Rahman

79335011

Date: 2025-01-07 06:03:10
Score: 2
Natty:
Report link

my simple solution which worked for me: set textbox params to -> textmode="MultiLine" and rows="1".

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ivan The Great

79335000

Date: 2025-01-07 05:58:09
Score: 1
Natty:
Report link

You can do it simply without dealing with Typescript Interfaces, just while defining the function that is going to accept those props using '?' operator as follows

const ChildComponent: React.FC<{ firstName: string, lastName?: string}> = ({ fName, lName }) => {

}

Calling child component with LastName

<ChildComponent firstName={"John"} lastName={"Doe"}/>  

Calling child component without LastName

<ChildComponent firstName={"John"}/>  

Happy Coding! 🖤🐳

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mohammad Bilal

79334998

Date: 2025-01-07 05:57:08
Score: 3.5
Natty:
Report link

Change Region and Regional Format to United States in Windows Language Setting

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

79334993

Date: 2025-01-07 05:55:08
Score: 3.5
Natty:
Report link

Just change the column value to uppercase, such as:@Column(name = "NAME"), it works fine.

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

79334983

Date: 2025-01-07 05:49:05
Score: 5.5
Natty:
Report link

Try calling super.onPageFinished(view, url) at the end of the function instead.

And why are you calling webView.loadData on the dispose function ?

Else it can be that when you press the back button with no page/tab/history/composable/... It close the app, do you have any crash/error logs ?

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have any
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Médi Olivier

79334980

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

There are few possible steps that can help you to fix this issue.

  1. You can pass prop nestedScrollEnabled in both flatlist and sectionlist
  2. Wrap both lists in an individual View and Give proper heights to both views, so they can occupy fixed height in the screen

So now in a screen both views have fixed height and both are scrollable.

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

79334970

Date: 2025-01-07 05:42:04
Score: 0.5
Natty:
Report link

In my case, I am getting this issue when the file being processed does not exist. I fixed it by adding a condition(file.file.exists?) to check whether the file exists or not calling recreate_versions!.

file.recreate_versions! if file.present? && crop_x.present?

file.recreate_versions! if file.present? && crop_x.present? && file.file.exists?

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Philip

79334965

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

using Pkg Pkg.generate("MyApp")

It works for me adding the above lines. Once run, it will generate a Project file in the folder. The compiler is looking for the specified folder with this Project tile in order to compile.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Clemence Hoe

79334964

Date: 2025-01-07 05:40:03
Score: 2.5
Natty:
Report link

You can not add Unity Scripts to Addressable.

https://discussions.unity.com/t/can-we-make-a-script-an-addressable-in-unity/236090 https://discussions.unity.com/t/adding-scripts-to-addressables/845604

The general use of Addressable is only for Images, Sounds, other resources, and load it to your prefab or script on runtime. you should include the scripts in the build file.

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

79334962

Date: 2025-01-07 05:40:03
Score: 2
Natty:
Report link

Traditionally web.config is the old way Microsoft get used to for handling configuration files. web.config is not necessarily needed to deploy a React application in IIS. However it is often used to configure IIS to serve application correctly for reasons like URL rewriting, MIME types, CORS, static file serving.

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

79334960

Date: 2025-01-07 05:38:03
Score: 3
Natty:
Report link

Because in the printf() you are printing string,since string gives the address of the first element that is 'a' here so it will start printing from 'a' till null character.

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

79334955

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

FWIW, I have been having similar problems and lately have had sucessful builds using

See also your /android/gradle/gradle.wrapper.properties file for gradle's distributionUrl property

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having similar problem
  • Low reputation (1):
Posted by: ginkgo

79334953

Date: 2025-01-07 05:34:00
Score: 8.5 🚩
Natty: 5.5
Report link

he buscado 3 resolver este problema y finalmente he encontrado la solución.

Reasons:
  • Blacklisted phrase (3): solución
  • RegEx Blacklisted phrase (2): encontrado
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JACK MAGLER APAGUEÑO PINEDO

79334947

Date: 2025-01-07 05:31:59
Score: 4
Natty: 4
Report link

The provided solution works effectively and is explained comprehensively. Find below link,

https://github.com/boostorg/boost/issues/843#issuecomment-1872943124

Thank you for saving my time.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kuldeep Rathod

79334946

Date: 2025-01-07 05:31:58
Score: 2
Natty:
Report link

Question: in this code above in one of the comment, how do you connect to the DUT instance?

module testbench; .... environment_if env_if(serial_clk); .....

dut i_dut(...);

genvar eng_idx

generate

for(eng_idx=0; eng_idx<`NUM_OF_ENGINES; eng_idx++) begin env_if.eng_if[eng_idx].serial_bit = assign i_dut.engine[eng_idx].serial_bit; end

endgenerate ......

initial begin env_if.eng_virtual_if = env_if.eng_if[0:NUM_OF_ENGINES-1]; //now possible to iterate over eng_virtual_if[] for(int eng_idx=0; eng_idx<NUM_OF_ENGINES; eng_idx++) uvm_config_db#(virtual serial_if)::set(null, "uvm_test_top.env", "tx_vif", env_if.env_virtual_if[eng_idx]); end endmodule

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): how do you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user2498830

79334943

Date: 2025-01-07 05:29:58
Score: 3.5
Natty:
Report link

I found the answer to this question. The command is:

Dice.main(null)

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

79334941

Date: 2025-01-07 05:28:58
Score: 3.5
Natty:
Report link

There is no way to separate the first and last names!

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

79334938

Date: 2025-01-07 05:25:57
Score: 1
Natty:
Report link

simple steps to resolve it: you dont need to change the port it works for port 3306

  1. try to restart xampp if not works then
  2. open task manager and search for mysqld
  3. click end the task
  4. now try to restart the xampp now it works and it works for me
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Inzam Ulhaq

79334937

Date: 2025-01-07 05:24:57
Score: 1
Natty:
Report link

function is_dirpath($source){

      $pattern = strlen($source);
      $dot = strrpos($source, ".");
      $r = $pattern - $dot;

      if($r > 5){
           return true;
      }else{
           return false;
      }

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

79334932

Date: 2025-01-07 05:18:56
Score: 0.5
Natty:
Report link

This is not a problem with your configuration. It's a problem with how you have setup your asset. If your asset is 45pt, UIButton will not render it bigger than 45pt even if your button is 300pt. If you want the icon to truly scale to any size, as you already discovered, you will need to use single scale. Single scale means that you are providing a vector asset so system knows it can scale the image to any size without distortion.

TLDR: Stop using pngs and go with an svg or PDF and use Single Scale.

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

79334926

Date: 2025-01-07 05:08:54
Score: 3
Natty:
Report link

Just change the column value to uppercase, such as:@Column(name = "FILEID"), it works fine.

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

79334917

Date: 2025-01-07 04:54:51
Score: 3
Natty:
Report link

For this scenario it is better to use "Selenium" because it can scroll down or click button "30 more"

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

79334913

Date: 2025-01-07 04:48:50
Score: 1
Natty:
Report link

CMake Error at CMakeLists.txt:18 (target_link_libraries): Target "Transformation" links to:

ArrayFire::afcpu

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 林贞浩

79334911

Date: 2025-01-07 04:46:49
Score: 4
Natty:
Report link

Hi all I am trying it on projtable form to validate the dimensions through advance rule but it's behaving wired in some cases I am getting the error also for valid dimensions range and sometime not even getting error for invalid dimensions range

Reasons:
  • RegEx Blacklisted phrase (1): I am getting the error
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Piyush

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