79335312

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

Aren't you reading the request body, like using io.ReadAll(r.Body), before calling ParseMultipartForm? If the body is read, even partially, beforehand, the multipart parser will encounter an EOF error, resulting in the message: Error parsing multipart form: multipart: NextPart: EOF.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ali alef

79335311

Date: 2025-01-07 08:30:58
Score: 1
Natty:
Report link

Not stating what framework you're working with doesn't help us help you, but since you said C/C++, we can cross off several. We'll just start at the top of the popularity contest. For either ESP-IDF or PIOArduino (the supported replacement for the abandoned PlatformIO project), you're looking for the NVS library that accesses key-value pairs in a special partition in Flash that handles wear-leveling and spreads the data over sectors to rotate wear.

https://docs.espressif.com/projects/esp-idf/en/v5.4/esp32s3/api-reference/storage/nvs_flash.html

Find an example of reading/writing a pair at https://github.com/espressif/esp-idf/tree/v5.4/examples/storage/nvs_rw_value

Note that there is a facility to use secure NVS partitions if your device is in danger of being physically compromised and contains high-value KV pairs. You can find further examples in the directories starting with nvs_ at https://github.com/espressif/esp-idf/tree/v5.4/examples/storage

Note that readers in the post-July-2027 future may need to fiddle with the "5.4" in the URLs of this answer once ESP-IDF 5.4 is EOL'ed.

Of course, there is no EEPROM in ESP32. It's actually pretty rare in modern devices, as flash memory is simply less expensive with faster access and longer wear cycles. All ESP32 devices (as of this writing) have some amount of internal Flash. Some have additional flash that's external to the chip but inside the module, and some ESP32 boards may have yet more flash on the SPI bus outside of the module. You can rely on there being flash present.

Reasons:
  • RegEx Blacklisted phrase (1): help us
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Robert L

79335307

Date: 2025-01-07 08:29:57
Score: 2
Natty:
Report link

Thanks Am able to get the detail from Publisher Database

select * from sysarticles

artid creation_script del_cmd description dest_table filter filter_clause ins_cmd name objid pubid pre_creation_cmd status sync_objid type upd_cmd schema_option dest_owner ins_scripting_proc del_scripting_proc upd_scripting_proc custom_script fire_triggers_on_snapshot

select * from sysarticlecolumns

artid colid is_udt is_xml is_max

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fajar

79335306

Date: 2025-01-07 08:28:57
Score: 0.5
Natty:
Report link

The error [Errno 23] Host is unreachable typically occurs due to network issues, firewall restrictions, or the server being temporarily unavailable. Since the URL is working fine on my side, here are some suggestions to troubleshoot:

  1. Check Network Connection: Ensure your internet connection is active and stable.

  2. Verify URL Access: Open https://www.fdic.gov/bank-failures/failed-bank-list in a browser to confirm accessibility.

  3. Handle SSL Issues: Add an unverified SSL context:

    import ssl
    import pandas as pd
    
    url = 'https://www.fdic.gov/bank-failures/failed-bank-list'
    dfs = pd.read_html(url, ssl_context=ssl._create_unverified_context())
    
  4. Set User-Agent Header: Websites sometimes block requests without headers.

    from urllib.request import Request, urlopen
    import pandas as pd
    
    url = 'https://www.fdic.gov/bank-failures/failed-bank-list'
    req = Request(url, headers={'User-Agent': 'Mozilla/5.0'})
    dfs = pd.read_html(urlop[enter image description here][1]en(req))
    
  5. Firewall/Proxy: Ensure your network or firewall isn't blocking access.

If these don't work, check if the issue persists from another network or device.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saad Fiaz

79335302

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

Ensure that all plugins and loaders used in your webpack configuration are up-to-date and compatible with Webpack 5 and Node.js 22.12. try:

npm outdated
npm update
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ravinder

79335293

Date: 2025-01-07 08:23:56
Score: 2
Natty:
Report link

Try to start tailscale on your device with

sudo tailscale up --ssh
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Xiangyu Meng

79335289

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

Use RoutePopDisposition instead of PopDisposition to manage pop behaviors in your Flutter app. Refer to the official documentation for more details: Route.popDisposition.

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

79335285

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

Remove MSVC modules using MaintenanceTool.exe.

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

79335280

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

Here are the most common installation commands:

a) Using pip

For CPU-only PyTorch:

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu

For GPU with CUDA (e.g., CUDA 11.8):

pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

b) Using conda For CPU-only PyTorch:

conda install pytorch torchvision torchaudio cpuonly -c pytorch

For GPU with CUDA (e.g., CUDA 11.8):

conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia

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

79335273

Date: 2025-01-07 08:17:54
Score: 4
Natty:
Report link

I also have same problem with the last three weeks my phone_number is verified but i can’t register my phone_number it return this error { "error": { "message": "(#100) Tried accessing nonexisting field (phone_number) on node type (Business)", "type": "OAuthException", "code": 100, "fbtrace_id": "AjNmyj3fqJ5hHpzWLtJL1V0" } }

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I also have same problem
  • Low reputation (1):
Posted by: Aydarous Mousa

79335268

Date: 2025-01-07 08:15:53
Score: 1
Natty:
Report link

There is MigrationBuilder method for doing just that:

migrationBuilder.DropSchema("myschema");

should be safe to be used from EF, though I did not test it myself yet.

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

79335267

Date: 2025-01-07 08:15:53
Score: 0.5
Natty:
Report link

Install as per below OS specific readline pip package otherwise chances are Python interpreter will crash on code execution:

Mac:

pip install readline

Windows:

pip install pyreadline

Unix:

pip install gnureadline

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

79335258

Date: 2025-01-07 08:12:52
Score: 3.5
Natty:
Report link

Downgrade Unity from Unity 6 to 2022 release solve the issue

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jais Anasrulloh Ja'fari

79335256

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

this suggestion was to use bind instead of connect, but for me connect (even if deprecated) was working in the original project, and my post was to have an answer on why the same code with connect does not work in this current project. using bind does not solve the issue, but it works and it helps me having the build working. I'm not answering anything, I'm just explaining what I have done...

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

79335238

Date: 2025-01-07 08:04:50
Score: 1.5
Natty:
Report link
4 | import Body from "./components/Body"

5 | import {HydratedRouter, RouterProvider } from "react-router/dom"; | ^^^^^^^^^^^^^^^^^^ 6 | import About from "./components/About"; 7 |

@parcel/resolver-default: Cannot load file './dom' from module 'react-router'

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Filler text (0.5): ^^^^^^^^^^^^^^^^^^
  • Low reputation (1):
Posted by: user20014786

79335235

Date: 2025-01-07 08:03:50
Score: 0.5
Natty:
Report link

You can use the w-[calc(100%-64px)] classname on DialogPrimitive.Content component to achieve margin on small screen devices

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

79335234

Date: 2025-01-07 08:02:49
Score: 4
Natty:
Report link

Just enable, Open files with single click here enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: shubham chouhan

79335230

Date: 2025-01-07 08:00:48
Score: 2
Natty:
Report link

One Solution will be to Iteratively Query Old Dates:

Start with Zoom Launch Date(January 25, 2013) and incrementally query recordings API until no results are returned. This ensures you don’t miss any data but might require several API calls.

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

79335225

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

Depending on why you need to analyze the dependencies, in my usecase, I'm receiving xsd files from different sources, usually as zip file of many schema files. To open it in the schema authoring tool, I need to know root level file that include all others (in some cases there maybe few such files). For that reason and others, I wrote (freeware) Xsd Explorer utility, it can open schema directly from zip file or directory. It is mainly xsd visualization tool, but if you need to know root level files, it is specified in the log view

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: cpp2005

79335221

Date: 2025-01-07 07:57:47
Score: 5.5
Natty:
Report link

i made that

https://pub.dev/packages/resize_rotate_image

I would appreciate it if you could check if that meets your requirements.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Loute

79335217

Date: 2025-01-07 07:55:46
Score: 2
Natty:
Report link

Generally, this issue comes when KMS keys encrypted EBS volumes won't be able to decrypt.

There are 2 types of KMS keys:

  1. AWS managed.
  2. Customer managed.

If the KMS key provided is AWS managed then ASG(Auto Scaling Group) will be able to launch the instance but if KMS key is customer managed then we need to make sure we create a grant for ASG using the KMS key.

This can't be achieved from console so please refer AWS CLI command from the article below: https://docs.aws.amazon.com/kms/latest/developerguide/create-grant-overview.html

If you are using terraform then use this article: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_grant

Also do check the Key-Policy and make sure it is correct.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: manas vishnoi

79335206

Date: 2025-01-07 07:48:44
Score: 3
Natty:
Report link

2025 update: Pressing the insert key will enable/disable overwrite on VS Code

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

79335200

Date: 2025-01-07 07:45:44
Score: 2.5
Natty:
Report link

() is having higher precedence than all operators .Therefore,() will be evaluated first in your expression then assignment operator will be evaluated which assigns the right value to the left.

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

79335186

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

For anyone seeking alternative, I made a package lexical-review which customize lexical by tagging insertion and deletion from original text. You can see the demo in https://mdmahendri.github.io/lexical-review/

Reasons:
  • Contains signature (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: mahendri

79335185

Date: 2025-01-07 07:40:42
Score: 3.5
Natty:
Report link

I have received an answer from Devexpress Support:

I could use TreeView.selectItem(key) to select an item by id programmatically.

Original answer on Devexpress Support

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

79335183

Date: 2025-01-07 07:40:42
Score: 1.5
Natty:
Report link

id <- c(1:10)

name <- c("John ", "Rob ", "Rachel ", "Christy ", "Johnson ", "Candace ", "Carlson ", "Pansy ", "Darius ", " Garcia")

job_title <- c("Professional", "Programmer", "Management", "Clerical", "Developer", "Programmer", "Management", "Clerical", "Developer", "Programmer")

employee <- data.frame(id, name, job_title)

print(employee)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kakoli Rani Paul

79335182

Date: 2025-01-07 07:39:42
Score: 1.5
Natty:
Report link

Well there's an inbuilt view modifier in SwiftUI Below is a sample

MainView()
    .blur(radius: <condition, if any> ? 10 : 0)
    .animation(.easeInOut, value: <conditional value>) // for blurring effect

This worked like a charm in my case

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aditya Vyavahare

79335175

Date: 2025-01-07 07:37:42
Score: 3
Natty:
Report link

If nearby support Wifi Aware, this can meet your requirement, connect like a mesh network and no need internet. I saw nearby already considered Wifi Aware in latest update.

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

79335169

Date: 2025-01-07 07:32:40
Score: 9.5 🚩
Natty: 5.5
Report link

i am facing the same issue, did this got resolved for you ?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved for you ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ABHAY RAJ GUPTA

79335167

Date: 2025-01-07 07:30:39
Score: 4.5
Natty: 4
Report link

This solution from Microsoft solved my problem. https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk#download-icon-for-visual-studio-step-1-install-visual-studio-2022

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: VietnameseBushes

79335157

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

Which Android application id (or package name) do you want to use for this configuration, e.g. 'com.example.app'? · com.example.yourappname

In this question give the package name properly

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: SALMAN F. RAHMAN

79335156

Date: 2025-01-07 07:27:38
Score: 1
Natty:
Report link

Since I am using Linux and ended up here, I'll give an answer to this question for those using Linux who could end up here.

If you're using Linux, your problem might be related to Tilde expansion.

Thomas Augot's answer pointed me in the right direction.

My problem was I was using ~ to substitute my home directory and sdkmanager didn't get correct value for --sdk_root, most probably due to some problem with Tilde expansion and had created a directory named ~ in my home directory where it installed one package, namely build tools. After I moved them to my sdk root, I was able to accept licenses and continue with my work.

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

79335151

Date: 2025-01-07 07:23:37
Score: 3
Natty:
Report link

Use latest version of phpmailer its working

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: rahul saini

79335144

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

even after adding it in proguard it wont work because there is no such PlayCoreDialogWrapperActivity.

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

79335143

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

in case you need the keys when using kubectl combined with jsonpath=, a workaround could be to have jq filter the keys only.

kubectl get secret my_secret --no-headers -o jsonpath='{.data}' | jq 'keys'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: patrickl

79335140

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

He is not allowed not to eat this came. I have a MFE with a react.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sloppy Burger

79335135

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

Please use this in workflow if you have installed multi-pal Terraform in runner.

- name: Use Terraform specific version using tfenv
  run: |
    tfenv use 1.8.5 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: K.D Singh

79335133

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

Try to add this folder within src directory.

--src
---types
----remote-app.ts.d (can give any name)

In that file, define the type for this component


declare module 'remote_finances/next-remote-component' {
  const Component: React.FC;
  export default Component;
}


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

79335123

Date: 2025-01-07 07:10:34
Score: 3.5
Natty:
Report link

Windows Server 2022 Standard

example that works:

$encoding = 'utf8'

Send-MailMessage -Encoding $encoding -To $EmailTo -From $EmailFrom -Subject $Subject -Body $body -BodyAsHtml -SmtpServer smtp.office365.com -UseSSL -Credential $credential -Port 587

Matjaž

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Matjaž

79335118

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

You can take adavntage of the pathlib module:

from pathlib import Path
Path('abc.def.gh.bz2').stem
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: itamar kanter

79335117

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

The main issue might be the fact that you are using meta refresh redirect; <meta http-equiv="refresh" content="0; URL=..."

On Google search console docs, it notes this causes a redirect. Ahref explanation

You should use HTTP redirects (301 or 302) instead of HTML meta refresh redirects

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

79335113

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

Increase PHP Resources: Elementor requires sufficient PHP memory and execution time. Update the wp-config.php file to increase these limits:

define('WP_MEMORY_LIMIT', '256M');

define('WP_MAX_MEMORY_LIMIT', '512M'); set_time_limit(300);

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

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