79585539

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

The credit for this answer goes to @dimich. The problem is a copy of the NeoPixel object is being made and since there is none defined in the class, this results in a memory deallocation of the pixels member.

Specifically, the statement pixel = Adafruit_NeoPixel(1, 25, NEO_GRB + NEO_KHZ800); destroys that 1st instance in which pixels is NULL, which is not a problem. It then creates the new one and allocates the memory for the pixels member, and then makes an automatic copy since there is no copy constructor. Since the data member pixels is dynamically allocated, its pointer is copied. In all, three instances are created. The 2nd instance is then destroyed, which causes the problem.

Because the 3rd instance points to the same section of memory for pixels, when the 2nd instance is destroyed, so is the allocation for that memory. Thus, the memory is free for other uses, and the pointer that was copied is no longer valid.

In order to make it clearer:

Adafruit_NeoPixel pixel; // 1st instance; pixels == NULL
pixel = Adafruit_NeoPixel(1, 25, NEO_GRB + NEO_KHZ800); // pixel contains a copy of the pixels pointer, but not its memory.
// pixel.pixels == 0x555 and Adafruit_NeoPixel(1,...).pixels == 0x555
// after the copy is made 0x555 is freed and the pixel.pixels points to freed memory.

From Brave AI, it says it best:

If you do not define a copy constructor, the compiler-generated default copy constructor will copy the data members directly. However, if the class contains pointers or dynamically allocated resources, a custom copy constructor should be defined to handle deep copying, ensuring that the new object has its own copy of the dynamically allocated resources rather than sharing the same resources as the original object.

Thanks again to @dimich for catching this easy to miss problem.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @dimich
  • User mentioned (0): @dimich
  • Self-answer (0.5):
Posted by: Scott

79585529

Date: 2025-04-22 00:46:39
Score: 0.5
Natty:
Report link

I worked it out! It was rather simple.

launch.bat

@echo off

:: Assumes native_bridge.py and the 'venv' folder are in the same directory as this batch file.

:: Path to venv python relative to this batch file
set VENV_PYTHON="%~dp0venv\Scripts\python.exe"

:: Path to the python script relative to this batch file
set SCRIPT_PATH="%~dp0native_bridge.py"

:: Define log file paths relative to this batch file's location
set STDOUT_LOG="%~dp0native_bridge_stdout.log"
set STDERR_LOG="%~dp0native_bridge_stderr.log"

:: Execute the script using the venv's python, redirecting output
%VENV_PYTHON% %SCRIPT_PATH% > %STDOUT_LOG% 2> %STDERR_LOG%

com.nativebridge.test.json

{
  "name": "com.nativebridge.test",
  "description": "Persistent event bridge",
  "path": "C:\\NativeBridgeTest\\native_host\\launch.bat",
  "type": "stdio",
  "allowed_origins": [
    "chrome-extension://fedjpkbjlhmmnaipkljgbhfofpnmbamc/"
  ]
}

As you can see the manifest is launching launch.bat. Great. My AHK script sends messages down the pipe, they arrive in native_bridge.py but never reach the browser? Why? Because I'm redirecting stdout of native_bridge.py for logging... Well whatever I guess I worked it out. I'll leave this repo public in it's fixed state in case anyone wants to copy it in future.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Modf

79585524

Date: 2025-04-22 00:39:37
Score: 5
Natty:
Report link

I am facing the exact same issue

flutter: ClientException with SocketException: The semaphore timeout period has expired.

(OS Error: The semaphore timeout period has expired.

, errno = 121), address = xxxx, port = 59881, uri=http://xxxxxx:2020/bastate

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the exact same issue
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ankita

79585517

Date: 2025-04-22 00:28:34
Score: 11 🚩
Natty:
Report link

I'm facing a similar issue. I am trying to play youtube videos in the background but I couldn't solve the problem. Have you found a solution or a workaround?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (2.5): Have you found a solution or a workaround
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing a similar issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user21759558

79585511

Date: 2025-04-22 00:18:32
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Santiago Venegas

79585505

Date: 2025-04-22 00:09:30
Score: 5
Natty:
Report link

Why don't you just copy and past the old /home into the new OS?

I mean, really. Is there a reason of why you can't do something so simple?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why don't you
  • Low reputation (1):
Posted by: Ta_PegandoFogo

79585501

Date: 2025-04-22 00:02:28
Score: 2
Natty:
Report link

This seems to have been a mistake and was fixed in the 2013 edition: The list now contains mbtowc and wctomb, but not wcstombs.

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

79585492

Date: 2025-04-21 23:51:25
Score: 7.5
Natty: 7.5
Report link

This does not solve the problem with visual studio 2022. Instead of getting error C28251, it causes an error of C2731 "wWinMain" function cannot be overloaded. How do I solve this error?

Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1.5): solve this error?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30335143

79585490

Date: 2025-04-21 23:50:25
Score: 2.5
Natty:
Report link

The approch when you use files.associations is the best way,Just a little observation,to know when configure css to tailwind, press ctrl + shift + p and search 'Open Workspace Settings (JSON)' and paste the code and the error disapper

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

79585482

Date: 2025-04-21 23:39:23
Score: 2
Natty:
Report link

For easier rotation and interaction, I’d recommend checking out Plotly. It’s a solid Python library that lets you create 3D scatter plots you can rotate in real-time, right in the browser. I’ve used similar setups when working with a product visualization platform, and the interactivity makes a big difference, especially when you’re trying to spot patterns or compare dimensions quickly.

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

79585474

Date: 2025-04-21 23:30:20
Score: 1
Natty:
Report link

Found! name vs id outputs on the pool. (It's easy to loose track of when to use which and seeing the error crosseyed, it's easy to miss the repitition of the full project path that was in the error)

The correct code is:

authority = gcp.certificateauthority.Authority(
    "internal-ca-authority",
    certificate_authority_id=f"internal-ca-authority-{stack}",
    pool=pool.name, # <<<---
...
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Paul Forgey

79585465

Date: 2025-04-21 23:19:18
Score: 1
Natty:
Report link
 You didn't define or call it from the body section:

    {
      "type": "TextBlock",
      "text": "<at>john</at>"
    }

or skip the entities definition:

    {
      "type": "TextBlock",
      "text": "<at>[email protected]</at>"
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pilipeet

79585462

Date: 2025-04-21 23:16:16
Score: 4
Natty:
Report link

Apparently it is not possible.

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

79585461

Date: 2025-04-21 23:14:16
Score: 1
Natty:
Report link

You can simply do it with v.check:

const validValues = ['1', '2', '4'];

const Schema = v.object({
  // ...
  user: v.array(
    v.pipe(
      v.string(),
      v.regex(/^\d+$/, 'Invalid ID format'),
      v.check((item) => validValues.includes(item), 'ID is not allowed')
    )
  )
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dimk_1

79585450

Date: 2025-04-21 23:07:14
Score: 10.5 🚩
Natty: 5
Report link

I face the same problem, and nothing on internet answers this question. Did you find a solution for this problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Radu Homescu

79585445

Date: 2025-04-21 22:59:11
Score: 2
Natty:
Report link

Not sure if these are the same three dots (as on line 11)

enter image description here

But I disabled them with

  "workbench.colorCustomizations": {
    // other customizations
    "editorHint.foreground": "#00000000",
  },
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cyril Dubovetsky

79585443

Date: 2025-04-21 22:58:11
Score: 1
Natty:
Report link

Just wanted to share that I submitted an Apple DTS ticket about iOS 18.4 breaking popoverTip/TipKit and they have acknowledged it and confirmed that "it is a known issue for which there is no known workaround at this time."

This is what I had sent them along with an MRE:

There are two issues that I am noticing with my tips in iOS 18.4. These issues were not present prior to updating to iOS 18.4. To be clear, if you run on a iOS 18.2 device, simulator, or in Swift Previews, you do not see these issues.

1. The message Text is truncated. It is not allowed to wrap around anymore.
2. Subsequent tips shown in my TipGroup are presented in a sheet. The tip has no arrow and, interestingly, the text is not truncated here.

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

79585439

Date: 2025-04-21 22:57:11
Score: 1
Natty:
Report link

Yes, this is a known limitation with the Amazon Prime Video app. It often restricts playback of downloaded content from external SD cards on some devices due to DRM (Digital Rights Management) issues. Netflix handles this differently, which is why it works fine.

Try setting the SD card as the default download location from within the Prime Video app settings, and make sure the card is formatted as internal storage (adoptable storage), if your device supports that. Otherwise, you'll likely have to stick with internal storage for Prime downloads.

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

79585437

Date: 2025-04-21 22:53:09
Score: 6 🚩
Natty: 4.5
Report link

I am having a similar problem with custom dimensions. Views change to zero, but I know there is activity based on date and user counts.

Reasons:
  • Blacklisted phrase (1): I am having a similar problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kappaluppa

79585432

Date: 2025-04-21 22:51:08
Score: 3.5
Natty:
Report link

2nd issue was the action property of the form tag, didn't need an action property, think the ide slipped it in. It all works now.

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

79585428

Date: 2025-04-21 22:44:06
Score: 1.5
Natty:
Report link

The error 535, '5.7.8 Username and Password not accepted' means that Gmail isn't accepting your login info.

My suggestion:

  1. Make sure you've turned on 2-Step Verification in your Google account.

  2. Go to your Google account's Security settings and create an App Password — you’ll use this instead of your regular password.

  3. Please double-check that your EMAIL_PASSWORD environment variable has that app password set.

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

79585415

Date: 2025-04-21 22:30:03
Score: 1
Natty:
Report link

Try updating your config to the following:

springdoc:
  default-produces-media-type: "application/json"
  swagger-ui:
    path: /index.html

server:
  port: 8088
  servlet:
    context-path: /api/v1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: devcom33

79585379

Date: 2025-04-21 21:44:54
Score: 2
Natty:
Report link

1- Clean up old NVIDIA drivers

sudo apt purge '^nvidia'

2- Install the recommended driver automatically

sudo ubuntu-drivers autoinstall

3- Restart the system

sudo reboot
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vitor Nunes

79585373

Date: 2025-04-21 21:39:53
Score: 3.5
Natty:
Report link

Regretfully....I upgraded to SSMS 20

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: larryr

79585360

Date: 2025-04-21 21:32:50
Score: 4
Natty:
Report link

Found the solution in another Question: by using "npm config set script-shell powershell" fixed the problem

Reasons:
  • Blacklisted phrase (1): another Question
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hugo

79585354

Date: 2025-04-21 21:27:49
Score: 2.5
Natty:
Report link

Update. The Clearbit free logo API will be shut down on 12/1/25. Reference this changelog for alternatives - developers.hubspot.com/changelog/…

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

79585352

Date: 2025-04-21 21:24:49
Score: 2
Natty:
Report link

As of 2025 you can:

1. Download the official Data Wrangler extension;
2. Run your code and have your data frame in memory;
3. Open Jupyter Variables;
4. Choose the data frame;
5. Boom! Voila!

Data frame with Data Wrangler

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

79585351

Date: 2025-04-21 21:22:48
Score: 3
Natty:
Report link

After trying all of the suggestions here, I also needed to delete browsing data, and now the site loads fine.

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

79585337

Date: 2025-04-21 21:02:44
Score: 1
Natty:
Report link
-- Criar o banco de dados
CREATE DATABASE LOJABD;
USE LOJABD;

-- Criar a tabela CLIENTE
CREATE TABLE CLIENTE (
    codigo INT AUTO_INCREMENT PRIMARY KEY,
    nome VARCHAR(100) NOT NULL,
    estado VARCHAR(2) NOT NULL,
    cidade VARCHAR(100) NOT NULL,
    telefone VARCHAR(15) NOT NULL
);

-- Criar a tabela PRODUTO
CREATE TABLE PRODUTO (
    id INT AUTO_INCREMENT PRIMARY KEY,
    nome VARCHAR(100) NOT NULL,
    valor DECIMAL(10,2) NOT NULL,
    quantidade_estoque INT NOT NULL
);

-- Criar a tabela COMPRA
CREATE TABLE COMPRA (
    numero INT PRIMARY KEY,
    data_compra DATE NOT NULL,
    codigo_cliente INT,
    id_produto INT,
    quantidade_comprada INT NOT NULL,
    valor_compra DECIMAL(10,2) NOT NULL,
    FOREIGN KEY (codigo_cliente) REFERENCES CLIENTE(codigo),
    FOREIGN KEY (id_produto) REFERENCES PRODUTO(id)
);
Reasons:
  • Blacklisted phrase (1): de dados
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dill Guimarães

79585331

Date: 2025-04-21 21:00:44
Score: 1
Natty:
Report link

I also kept facing the cache miss issue where it would install and then towards the end just get stuck and i couldn't kill terminal.

But after i updated nodejs version i managed to run npm install again and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Joshua

79585329

Date: 2025-04-21 20:58:43
Score: 1
Natty:
Report link

The answer to your question is that what marks it as a virus is the way it is compressed, meaning your initial guess was correct. Although I am not aware of any viable alternatives, there is actually a way to forget switching to a different compile tool, remove the error, and get your software whitelisted.

If you visit this link (https://www.microsoft.com/en-us/wdsi/filesubmission), you can get your software whitelisted by Microsoft. All you need to do is fill out a form and wait for a response. It's a pretty lengthy process overall, but it may be worth it.

Hope this helped.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): Hope this help
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Praneel Srinivasan

79585322

Date: 2025-04-21 20:54:42
Score: 1
Natty:
Report link
  1. RESTART MYSQL WORKBENCH

  2. under the window title there is a house icon and a welcome screen, welcomeToMysqlWorkbench and at the bottom are your MysqlConnections

  3. open some connection by double clicking

  4. from the top you see, the house icon, menu, toolbar and usually there are two tabs [Admin] and the other is [Schema]

  5. you only see items from [Admin] and not your schemas

  6. on the left the panel continues, with two more tabs [object info] and [session]

7) above [object info] and [session] there is a dividing line, which you can grab with your mouse and move it down

  1. you will see the top two tabs [Admin] and [schema]
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user3486653

79585320

Date: 2025-04-21 20:53:42
Score: 1.5
Natty:
Report link
TabView { ... }.indexViewStyle(.page(backgroundDisplayMode: .always))

Will get you:

dots on white background

According to https://developer.apple.com/documentation/swiftui/view/indexviewstyle(_:), this has been available since iOS 14.

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

79585317

Date: 2025-04-21 20:51:41
Score: 3
Natty:
Report link

Check in IIS authentications is correct for the site, OR check in the server if there are pages, maybe it was not well published

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

79585284

Date: 2025-04-21 20:31:36
Score: 5
Natty:
Report link

This is a VERY GOOD QUESTION.

I also wanna know why it didn't change the .editorconfig when i change the severity at the light bulb.

1)) First of all, i'll will explain the 4 options.

It's like in Tools -> Options -> Text Editor -> Code Style - General

you'll see the 2 columns Preference and Severity,

the "Configure IDE0090 code style" should belong to the Preference column.

There're many code styles which i couldn't find in the GUI of VS 2022 (Tools -> Options -> Text Editor -> Code Style - General),

very inconvenient.

Luckily you can still configure them in the .editorconfig file.

I'm NOT 100% sure but i guess "None" means it'll completely ignore the IDE0090 .

"Silent" means you won't see a sign of the IDE0090 in the code, the only way is to move your mouse or the cursor (I don't remember) to the place in your code which triggers the IDE0090, then maybe a light bulb or screwdriver will pop up at the start of the code line.

"Suggestion" means you'll see little 3 dots in the code where IDE0090 is triggered.

"Warning" means you'll see green squiggle in the code, it'll still let you build, like any other warning.

"Error" means you'll see red squiggle in the code, it won't let you build, like any other error at build.

it might be fun to change them all to Error to spot them all then changing their severity to whichever we want,

i may try that in the future, please let me know how it'll be if you try it.

2)) About the stupid options that don't change the .editorconfig when we choose the severity options.

The way i handle it is to hover mouse over the option of severity that i want, then click the "Preview changes",
it'll show you the code that should be added into the .editorconfig ,

you copy that code then paste it into the .editorconfig like you saw in the "Preview changes" using something like Notepad.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know how
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (1): i may try that in the future, please
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nguyễn Đức Tùng Lâm

79585283

Date: 2025-04-21 20:31:36
Score: 1
Natty:
Report link

In my case what solved was putting the widgets inside a Stack and adjust them with the Positioned widget. And the widget that is supposed to be above the other must come last in the stack children list.

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

79585279

Date: 2025-04-21 20:30:36
Score: 1.5
Natty:
Report link

Try

OPENXLSX_LIBRARY_TYPE=SHARED cmake ..

Or edit in line 35 of file CMakeLists.txt

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79585267

Date: 2025-04-21 20:23:33
Score: 1
Natty:
Report link

With a VBA userform, columns on the sheet can be easily hidden and shown. Sheets of workbook are listed in combobox .With this combobox can be navigated between sheets of workbook. The used columns in the selected sheets are listed in the listbox along with the column headings.

The selected columns from the listbox are hidden.

enter image description here

You can review userform here

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

79585264

Date: 2025-04-21 20:22:33
Score: 0.5
Natty:
Report link

The answer, as provided by the publisher via email, is as follows:

Manually Backing Up Your Bartender 5 Configuration  
    - Open Finder on your Mac.  
    - Press Command + Shift + G to open the “Go to Folder” dialog.  
    - Enter ~/Library/Preferences/ and press Enter.  
    - Locate the file named com.surteesstudios.Bartender.plist.  
    - Copy this file to a safe location (e.g., external drive, cloud storage).  
      Once you’ve copied this file, you’ll have a backup of your Bartender settings.  
  
2. Restoring or Transferring Settings: 
    If you need to restore (or transfer) your settings to another Mac:  
    - Replace the existing com.surteesstudios.Bartender.plist file in ~/Library/Preferences/ with your backed-up version.  
    - Restart Bartender to apply your restored settings.  
    - This process can also be used if you’re moving to a new Mac and want to keep your personalized Bartender layout and preferences.  
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jared Miles

79585258

Date: 2025-04-21 20:17:32
Score: 1
Natty:
Report link

At the time of this post, the accepted solution includes double quotes, which may not be desirable. A workaround to solving the hyphen evaluating as a minus sign in a situation where the double quotes are not desired, append the string with the invisible character [U+200E] as so:

stringId = `[U+200E]${id}`

This will give a string output instead of evaluating the interpreted expression.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Max

79585256

Date: 2025-04-21 20:13:31
Score: 3.5
Natty:
Report link

IN response to @Adrian, the following is taken directly from a running instance of our v2 release that uses a Postgres server:

comixed=# \d+ displayable_comics_view
                                  View "public.displayable_comics_view"
        Column         |          Type          | Collation | Nullable | Default | Storage  | Description
-----------------------+------------------------+-----------+----------+---------+----------+-------------
 comic_book_id         | bigint                 |           |          |         | plain    |
 comic_detail_id       | bigint                 |           |          |         | plain    |
 archive_type          | character varying(4)   |           |          |         | extended |
 comic_state           | character varying(64)  |           |          |         | extended |
 is_unscraped          | boolean                |           |          |         | plain    |
 comic_type            | character varying(32)  |           |          |         | extended |
 publisher             | character varying(255) |           |          |         | extended |
 series                | character varying(255) |           |          |         | extended |
 volume                | character varying(4)   |           |          |         | extended |
 issue_number          | character varying(16)  |           |          |         | extended |
 sortable_issue_number | text                   |           |          |         | extended |
 title                 | character varying(255) |           |          |         | extended |
 page_count            | bigint                 |           |          |         | plain    |
 cover_date            | date                   |           |          |         | plain    |
 month_published       | integer                |           |          |         | plain    |
 year_published        | integer                |           |          |         | plain    |
 store_date            | date                   |           |          |         | plain    |
 added_date            | date                   |           |          |         | plain    |
View definition:
 SELECT DISTINCT d.comic_book_id,
    d.id AS comic_detail_id,
    d.archive_type,
    d.comic_state,
        CASE
            WHEN (EXISTS ( SELECT s.id,
                s.comic_book_id,
                s.metadata_source_id,
                s.reference_id
               FROM comic_metadata_sources s
              WHERE s.comic_book_id = d.comic_book_id)) THEN false
            ELSE true
        END AS is_unscraped,
    d.comic_type,
    d.publisher,
    d.series,
    d.volume,
    d.issue_number,
    ( SELECT "right"(concat('0000000000', d.issue_number), 10) AS "right") AS sortable_issue_number,
    d.title,
    ( SELECT count(*) AS count
           FROM comic_pages cp
          WHERE cp.comic_book_id = d.comic_book_id) AS page_count,
    d.cover_date,
        CASE
            WHEN d.cover_date IS NULL THEN 0
            ELSE month(d.cover_date)
        END AS month_published,
        CASE
            WHEN d.cover_date IS NULL THEN 0
            ELSE year(d.cover_date)
        END AS year_published,
    d.store_date,
    d.added_date
   FROM comic_details d;



comixed=# select * from displayable_comics_view limit 5;
 comic_book_id | comic_detail_id | archive_type | comic_state | is_unscraped | comic_type | publisher |          series          | volume | issue_number | sortable_issue_number |               title               | page_count | cover_date | month_published | year_published | store_date | added_date
---------------+-----------------+--------------+-------------+--------------+------------+-----------+--------------------------+--------+--------------+-----------------------+-----------------------------------+------------+------------+-----------------+----------------+------------+------------
         34944 |           34944 | CBZ          | STABLE      | f            | ISSUE      | Ablaze    | Lovecraft Unknown Kadath | 2022   | 1            | 0000000001            | Episode 1: Dylath-Leen            |         36 | 2022-09-13 |               9 |           2022 | 2022-09-13 | 2025-03-08
         34945 |           34945 | CBZ          | STABLE      | f            | ISSUE      | Ablaze    | Lovecraft Unknown Kadath | 2022   | 2            | 0000000002            | Episode 2: Mount Ngranek          |         35 | 2022-10-29 |              10 |           2022 | 2022-10-25 | 2025-03-08
         34946 |           34946 | CBZ          | STABLE      | f            | ISSUE      | Ablaze    | Lovecraft Unknown Kadath | 2022   | 3            | 0000000003            | Episode 3: In the Valley of Pnoth |         34 | 2022-11-24 |              11 |           2022 | 2022-11-22 | 2025-03-08
         34947 |           34947 | CBZ          | STABLE      | f            | ISSUE      | Ablaze    | Lovecraft Unknown Kadath | 2022   | 4            | 0000000004            | Episode 4: The Tower of Koth      |         36 | 2022-12-15 |              12 |           2022 | 2022-12-13 | 2025-03-08
         34948 |           34948 | CBZ          | STABLE      | f            | ISSUE      | Ablaze    | Lovecraft Unknown Kadath | 2022   | 5            | 0000000005            | Episode 5: Celephais              |         36 | 2023-01-23 |               1 |           2023 | 2023-01-24 | 2025-03-08
(5 rows)

If Postgres doesn't have a month() or year() method, then how do the above work?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Adrian
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: mcpierce

79585249

Date: 2025-04-21 20:09:30
Score: 3
Natty:
Report link

As of 4/21/2025, Pivot Tables will summarize empty cells. But, the filter function fails to identify a cell using = Empty and = Not Empty (it does not let you use <> Empty). To simply get rid of empty rows, the "Ignore empty rows" works.

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

79585248

Date: 2025-04-21 20:08:29
Score: 1
Natty:
Report link

if its fastapi you can directly use :

pkill -f uvicorn or

for force case:

sudo pkill -f uvicorn

You can try this . Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shubha Ruidas

79585245

Date: 2025-04-21 20:07:29
Score: 2.5
Natty:
Report link

As far as I know, Python’s type system doesn’t let you write an overload that only applies when the argument isn’t a literal. There's just no concept of a "non-literal" type as a separate category.

You could handle the type checks manually at runtime, or split the function into a few separate ones depending on the case.

Unfortunately, I don't know of any way to express "this overload is for non-literals only" in a cleaner way :(

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

79585241

Date: 2025-04-21 20:03:28
Score: 2
Natty:
Report link

This appears to be a bug in SQL Server, the truncation information seems to get corrupted when values are coming from a join.

See bug report: https://feedback.azure.com/d365community/idea/04497da1-5d25-ec11-b6e6-000d3a4f0da0

as well as related stackoverflow question Uniqueidentifier stored as varchar datatype generates random string on concatenation with other varchar values

According to the feedback site, this is fixed in Azure and will be fixed in future SQL Server version

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

79585240

Date: 2025-04-21 20:02:28
Score: 10.5
Natty: 9
Report link

Same problem, any solution? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1): Same problem
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Josel567

79585226

Date: 2025-04-21 19:56:26
Score: 1
Natty:
Report link

I found this error is because the old version of @types/react, I solved this error when I upgrade the version from 18.2.6 to 18.3.20.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Waskiiiimylove

79585205

Date: 2025-04-21 19:40:21
Score: 7 🚩
Natty: 5.5
Report link

Нельзя в ворде добавлять водные знаки на разные страницы, только один и на все страницы

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: user24711917

79585196

Date: 2025-04-21 19:34:19
Score: 3
Natty:
Report link

I'm having this same problem when using nuxt 3, but since the beginning I've been creating pages within pages, but it still doesn't update and I need to stop and start the server again.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ana victória freitas

79585193

Date: 2025-04-21 19:31:18
Score: 2.5
Natty:
Report link

I think the issue is probably with how you're updating self.items inside the update method. If you're calling char.inv.update(...) from within addItem(), you need to make sure you're passing in the most up-to-date invDBObject, because update() itself doesn’t know where to get the latest data.

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

79585192

Date: 2025-04-21 19:30:18
Score: 5.5
Natty:
Report link

Had the same trouble. This link fixed it for me: https://forreststonesolutions.com/robots/

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Parol Nix

79585180

Date: 2025-04-21 19:25:17
Score: 5
Natty: 6.5
Report link

**You will find the solution you are looking for in the link below. **
https://github.com/alirizagurtas/powershell-project-backup-archiver

Reasons:
  • Blacklisted phrase (1): the link below
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ali Rıza Gürtaş

79585175

Date: 2025-04-21 19:22:16
Score: 1
Natty:
Report link

I’ve created a Laravel package which lets you record a real HTTP request and it will automatically create a Fixture with faker data similar to Laravel factories. It works almost the same way as Charlie mentioned in his comment.

Http::fake(["https://api.stripe.com/v1/*" => Http::response(
    (new StripeFixture())->toJson(),  200),
]);

Check it out here

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user30333844

79585161

Date: 2025-04-21 19:09:12
Score: 1
Natty:
Report link

In that case, you'll want to set the objectWrap option to collapse.

See https://prettier.io/docs/options#object-wrap

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: cjbarth

79585160

Date: 2025-04-21 19:08:12
Score: 0.5
Natty:
Report link

This is what pylint warns about:

def f(a=1, *args, **kwargs): 
    pass

f(1, a=1)

Traceback (most recent call last):
    f(1, a=1)
    ~^^^^^^^^
TypeError: f() got multiple values for argument 'a'

Whether this error could happen depends on what circumstances a function used in.

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

79585159

Date: 2025-04-21 19:07:11
Score: 9 🚩
Natty: 5.5
Report link

did you figure this out, facing a similar issue with google workspace add ons (I'm a newb)

Reasons:
  • RegEx Blacklisted phrase (3): did you figure this out
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing a similar issue
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Thomas Cintra

79585157

Date: 2025-04-21 19:06:10
Score: 0.5
Natty:
Report link

I need to update the midpoint variable to "chase" the midpoint value if the midpoint gets swapped:

uint partition(Tester &tester, uint start, uint end) {
    uint midpoint = (start + end) >> 1;
    for (;;) {
        while (tester.compare(start, midpoint) < 0)
            ++start;
        while (tester.compare(midpoint, end) < 0)
            --end;
        if (start >= end)
            return end;
        if (midpoint == start)
            midpoint = end;
        else if (midpoint == end)
            midpoint = start;
        tester.swap(start++, end--);
    }
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user22200698

79585154

Date: 2025-04-21 19:02:09
Score: 0.5
Natty:
Report link

The grid.pager.resize in the Databound event wasn't working for me. I finally just went with this:

.Events(e => e.DataBound("onDatabound"))

function onDatabound(e) {
    $('.k-pager-info').show(); // show page 1 of 10 messaging in grid.
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: OJisBad

79585151

Date: 2025-04-21 19:01:09
Score: 1
Natty:
Report link

As you can see:

SyntaxError: invalid syntax

id_count += 1 is a statement which a python dictionary does not allow. Like furas mentioned, try using this:

"id": id_count + 1

Another way to solve this is to look at this other question similar to yours about why Python doesn't dictionaries support operators such as +, +=, etc.

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

79585149

Date: 2025-04-21 19:00:08
Score: 5
Natty: 6.5
Report link

While setting whis=99 to include all samples, how do I use whiskers to present 10%-90% range instead of the min and max values?

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lilly

79585143

Date: 2025-04-21 18:50:05
Score: 0.5
Natty:
Report link

you need to wrap your Column with an IntrinsicWidth

enter image description here

example (try to run this):

return IntrinsicWidth(
  child: Column(
    mainAxisAlignment: MainAxisAlignment.center,
    crossAxisAlignment: CrossAxisAlignment.start,
    children: [
      Row(
        children: [
          const Spacer(),
          Container(
            color: Colors.white,
            width: 20,
            height: 40,
          ),
        ],
      ),
      Container(
        color: Colors.orange,
        width: 50,
        height: 40,
      ),
      Container(
        color: Colors.white,
        width: 100,
        height: 20,
      ),
    ],
  ),
);
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Shlomo Cardoso

79585136

Date: 2025-04-21 18:45:04
Score: 1.5
Natty:
Report link

Okay, after more digging into the source code, I found a very crude solution that works.

One option is to add the following line after the map plotting code that just turns off clipping for everything in the axes.

[x.set_clip_on(False) for x in list(ax.patches)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Egor Lappo

79585128

Date: 2025-04-21 18:41:03
Score: 0.5
Natty:
Report link

You don't show where updateSource is being called, but I'm going to take a guess and assume that this T extends "object" | "array" means you're passing in the string from typeof(myObject)? If that's the case, an array will just return object, not array. If you're only trying to distinguish between an actual object and an array, just pass in the boolean returned from Array.isArray. If you really want to stick with the strings, and just make sure that T fits the case that you have now, you can do Array.isArray(myObject) ? "array" : "object".

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrew

79585120

Date: 2025-04-21 18:36:01
Score: 4
Natty:
Report link

Do you have an openly available example repository to reproduce this on? In my experience, syft works well with package.json (not sure if I tried it with package.lock). However, note that syft by default does not include development dependencies. That was one pitfall I encountered. There is a configuration variable for toggling that behaviour, if you need it.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have an
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: The Comamba

79585119

Date: 2025-04-21 18:35:01
Score: 1
Natty:
Report link

In my case the default TargetFramework didn't work, I had to use Net.Net80

private readonly ReferenceAssemblies referenceAssemblies = Net.Net80
    .WithPackages([new PackageIdentity("Microsoft.EntityFrameworkCore", "8.0.11")]);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29905907

79585112

Date: 2025-04-21 18:25:59
Score: 1
Natty:
Report link

You should specify Entrypoint like this

ENTRYPOINT [ "/lambda-entrypoint.sh" ]

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: poisoned_monkey

79585108

Date: 2025-04-21 18:24:59
Score: 2.5
Natty:
Report link

There are unofficial ways to switch Python versions, try out this notebook for Python 3.8.

For additional details, see: https://github.com/j3soon/colab-python-version.

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: J3soon

79585105

Date: 2025-04-21 18:22:58
Score: 4
Natty: 4
Report link

Doesn't look like a bot token. Please send me a token of your bot. It should look like this:

123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
Reasons:
  • RegEx Blacklisted phrase (2.5): Please send me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nitesh Patel

79585101

Date: 2025-04-21 18:16:56
Score: 5
Natty: 5
Report link

May be you could just drag those apart-positioned window in android studio form and connect/drop to some edge of inner side in it?

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

79585093

Date: 2025-04-21 18:13:55
Score: 2
Natty:
Report link

Both ways are good, Usign the context directly without "Provider" property is a feature of React 19 version

For more information you can have a look on react 19 post with the new features released on the framework

https://react.dev/blog/2024/12/05/react-19#context-as-a-provider

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

79585084

Date: 2025-04-21 18:10:54
Score: 2
Natty:
Report link

from fpdf import FPDF

from PIL import Image

# Load the generated image

image_path = "/mnt/data/carbon_footprint_poster.png"

# Convert the image to A3 size in mm (A3 = 297 x 420 mm)

a3_width_mm = 297

a3_height_mm = 420

# Create a PDF with A3 size

pdf = FPDF(orientation='P', unit='mm', format='A3')

pdf.add_page()

pdf.image(image_path, x=0, y=0, w=a3_width_mm, h=a3_height_mm)

# Save the PDF

pdf_path = "/mnt/data/Carbon_Footprint_Poster.pdf"

pdf.output(pdf_path)

pdf_path

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

79585082

Date: 2025-04-21 18:08:54
Score: 1
Natty:
Report link
  1. open Windows Task Manager

  2. right click on emulator process

  3. select "Maximize"

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

79585076

Date: 2025-04-21 18:00:52
Score: 0.5
Natty:
Report link

Ok here is what worked eventually:

On socketio definition

socketio = SocketIO(app, cors_allowed_origins="*", async_mode='threading')

(I did not have the async_mode set)

And then when initialising:

if __name__ == '__main__':
    socketio.start_background_task(start_stream_consumer, r, emit_leaderboard_updates)
    socketio.run(app, debug=True)

That seems to do the trick

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

79585070

Date: 2025-04-21 17:56:51
Score: 0.5
Natty:
Report link

I recommend syft by anchore. It is an open source tool that works reasonably well. It can also include dll files in the output, if you point it at a folder containing them. However, in my experience it can get the PURL and CPE wrong for dlls. If your goal is to compare the SBOM to vulnerability databases (using grype, for example), it won't work. And of course syft won't decompile the dlls for you and include their dependencies as well. I feel like .NET projects are extra tricky, because they offer so many ways of including dependencies. Syft doesn't recognise them all. You'll definetely have to do some experimentation on your project.

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

79585062

Date: 2025-04-21 17:52:50
Score: 1.5
Natty:
Report link

If anyone is having issues with Angular version 19 and using hmr, setting projects.{app-name}.architect.build.configurations.development.optimization.scripts: false in angular.json did the trick for me.

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

79585058

Date: 2025-04-21 17:48:49
Score: 0.5
Natty:
Report link

I redacted original Matt solution a bit.

@echo off
chcp 1251
::::::::::::::::::::::::::::::::::::::::::::
:: Elevate.cmd - Version 9 custom
:: Automatically check & get admin rights
:: see "https://stackoverflow.com/a/12264592/1016343" for description
::::::::::::::::::::::::::::::::::::::::::::
 CLS
 ECHO.
 ECHO =============================
 ECHO Running Admin shell
 ECHO =============================

:init
 setlocal DisableDelayedExpansion
 set cmdInvoke=1
 set winSysFolder=System32
 set "batchPath=%~dpnx0"
 rem this works also from cmd shell, other than %~0
 for %%k in (%0) do set batchName=%%~nk
 set "vbsGetPrivileges=%temp%\OEgetPriv_%batchName%.vbs"
 setlocal EnableDelayedExpansion

:checkPrivileges
  whoami /groups /nh | find "S-1-16-12288" > nul
  if '%errorlevel%' == '0' ( goto checkPrivileges2 ) else ( goto getPrivileges )


:checkPrivileges2
  net session 1>nul 2>NUL
  if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )

:getPrivileges
  if '%1'=='ELEV' (echo ELEV & shift /1 & goto gotPrivileges)
  ECHO.
  ECHO **************************************
  ECHO Invoking UAC for Privilege Escalation
  ECHO **************************************

  ECHO Set UAC = CreateObject^("Shell.Application"^) > "%vbsGetPrivileges%"
  ECHO args = "ELEV " >> "%vbsGetPrivileges%"
  ECHO For Each strArg in WScript.Arguments >> "%vbsGetPrivileges%"
  ECHO args = args ^& strArg ^& " "  >> "%vbsGetPrivileges%"
  ECHO Next >> "%vbsGetPrivileges%"
  
  if '%cmdInvoke%'=='1' goto InvokeCmd 

  ECHO UAC.ShellExecute "!batchPath!", args, "", "runas", 1 >> "%vbsGetPrivileges%"
  goto ExecElevation

:InvokeCmd
  ECHO args = "/c """ + "!batchPath!" + """ " + args >> "%vbsGetPrivileges%"
  ECHO UAC.ShellExecute "%SystemRoot%\%winSysFolder%\cmd.exe", args, "", "runas", 1 >> "%vbsGetPrivileges%"

:ExecElevation
 "%SystemRoot%\%winSysFolder%\WScript.exe" "%vbsGetPrivileges%" %*
 exit /B

:gotPrivileges
 setlocal & cd /d %~dp0
 if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul  &  shift /1)

 ::::::::::::::::::::::::::::
 ::START
 ::::::::::::::::::::::::::::
 your code

Now its much less buggy and properly support both cyrillic and if/else parameters.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Verity Freedom

79585041

Date: 2025-04-21 17:33:46
Score: 1.5
Natty:
Report link

Make sure that your Android Studio > Tools > SDK Manager > Flutter is pointing to the correct tools that you're using (e.g. fvm list if you're using fvm. Fixing the tools resolved this problem for me.

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

79585037

Date: 2025-04-21 17:31:46
Score: 1.5
Natty:
Report link

A .d.ts file is a type file. E.g. it would contain things like export type Alphabet = 'A' | 'B' | 'C'.

The purpose of the compiler is to transpile .ts files into .js files, so I don't think producing a single .d.ts file would've been perceived as a necessary feature.

See this StackOverflow post: About "*.d.ts" in TypeScript

I think what you really want to do is to compile everything into a single .js file. I believe webpack is the correct tool to use in this case.

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

79585035

Date: 2025-04-21 17:30:46
Score: 2.5
Natty:
Report link

Stop using gnatmake and use gprbuild instead.

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

79585016

Date: 2025-04-21 17:17:42
Score: 1.5
Natty:
Report link

I located the test.py code on the same level as the my_project folder. I found that in addition to the following entry suggested by @bsraskr.

my_project/__init__.py

from . import draw

You also need:

my_project/draw/__init__.py

from .shapes import box
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @bsraskr
  • Low reputation (0.5):
Posted by: Charles Knell

79585015

Date: 2025-04-21 17:16:42
Score: 1.5
Natty:
Report link
from pathlib import Path
import shutil

# Create a small dummy video file to simulate a light version
dummy_video_path = Path("/mnt/data/final_house_video_light.mp4")
with open(dummy_video_path, "wb") as f:
    f.write(b'\x00' * 1024 * 1024 * 3)  # 3MB dummy file

dummy_video_path.name
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kamran

79585013

Date: 2025-04-21 17:15:42
Score: 1
Natty:
Report link

You're almost there, just a small bug in your filter logic.

You're doing:

setSites(sites.filter((site, i) => index !== site[i]));

But site[i] doesn't make sense. You probably meant:

setSites(sites.filter((_, i) => i !== index));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chitranshu Sanket

79584988

Date: 2025-04-21 16:52:36
Score: 6 🚩
Natty:
Report link

Trying this but not getting the same error. I am facing something different.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: namma singh

79584985

Date: 2025-04-21 16:46:34
Score: 0.5
Natty:
Report link

As nothing works for me. I will post my solution for this issue:
Check the logs in xcode or in flutter logs to see what is the problem.
For me it was the flutterfire. I executed the following command:
flutterfire configure
and then It works for me

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

79584979

Date: 2025-04-21 16:44:34
Score: 2.5
Natty:
Report link

This error means that you're trying to use the .map() function on a variable that is currently undefined. To fix it, make sure the variable you're mapping over is actually an array by checking if it exists before calling .map(), using optional chaining like data?.map(...) or providing a default value like (data || []).map(...).

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Desmond Nana Adjei

79584966

Date: 2025-04-21 16:38:32
Score: 1
Natty:
Report link

I had the same issue, then I tried web version of telegram and it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Коксик

79584965

Date: 2025-04-21 16:37:32
Score: 5
Natty: 4.5
Report link

Check my code in github with a working example: https://github.com/wolfdev1337/nextjs-socketio

Server code

Client code

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: WolfDev1337

79584958

Date: 2025-04-21 16:32:30
Score: 3
Natty:
Report link

Take a look at this page. Here is a very well explained solution for animations with different speed at different Monitor Framerates enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Michael Albers

79584953

Date: 2025-04-21 16:29:30
Score: 1.5
Natty:
Report link

Turns out

snowflake_region = "us_east_2"

is the issue. I did not realize that snake_case'd regions means Azure and kebab-case'd means AWS

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

79584948

Date: 2025-04-21 16:26:29
Score: 1.5
Natty:
Report link

Here is the documentation for Spark configuration options: https://spark.apache.org/docs/3.5.5/configuration.html

And here are options for Parquet:
https://spark.apache.org/docs/3.5.5/sql-data-sources-parquet.html
You can also find other formats' options in the list on the left.

The links are for 3.5.5, but I assume they'll be the same or similar for the older/newer versions.

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

79584944

Date: 2025-04-21 16:25:28
Score: 1
Natty:
Report link

Mine worked with premium license and have 1. installed the gateway ensure that you publish your report on your premium workspace (Diamond icon there you will see) just publish on your workspace.

How to publish you do this File > Publish > Publish to Power BI

After this ensure you link your dataset to the gateway let's say its SQL Server right add your password etc to link it ensure its correct.

Under dataset settings you have to enable "Schedule Refresh"

The catch here is the user should have Powerbi Pro or Premium

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

79584935

Date: 2025-04-21 16:19:27
Score: 0.5
Natty:
Report link

For me, the answer was in the error:

Unable to create a ConnectionFactory for 'ConnectionFactoryOptions{options={database=boot, host=localhost, createDatabaseIfNotExist=true, driver=mysql, useUnicode=true, password=REDACTED, useJDBCCompliantTimezoneShift=true, useLegacyDatetimeCode=false, port=3306, user=root}}'.
Available drivers: [ mariadb, pool ]

Its was looking for a mariadb DRIVER(NOT mysql). I merely had to change the url to point to the mariadb driver.

I would suggest when seeing this error to go back over your config and see what you missed.

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

79584922

Date: 2025-04-21 16:07:23
Score: 4
Natty:
Report link

Claro, aquí tienes una mejor redacción:


“Una solución es simplemente ejecutar el servidor con:

php artisan serve --host=0.0.0.0 --port=8001

Luego, consumir la API utilizando la dirección IP local (IPv4) que obtienes ejecutando el comando ipconfig.”

Reasons:
  • Blacklisted phrase (3): solución
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prueba

79584916

Date: 2025-04-21 15:59:22
Score: 1
Natty:
Report link

I tried the above answer using:

rownames(mat.z)[row_order(ht)]
Error in rownames(mat.z)[row_order(ht)] : 
  invalid subscript type 'list'

And got this error so instead I did:

ht <- draw(ht)
order <- row_order(ht)
order_unlist <- unlist(order)
rownames(mat.z)[order_unlist]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Melody Hancock

79584915

Date: 2025-04-21 15:58:21
Score: 2
Natty:
Report link

I ran into this problem. After much investigation it turned out, in my case, that our works security configs (firewall and layers of VMs) was somehow preventing the emulator from sending control signals to the dev server. The fix for me was to run the dev server in a tunnel.

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

79584911

Date: 2025-04-21 15:55:20
Score: 5.5
Natty:
Report link

I forked your code and make some change, is this what u want? enter image description here

https://codesandbox.io/p/devbox/mui-persistantdrawerleft-forked-j22q5l?workspaceId=ws_UMhkCVPxq8yi6pfH8Fwg1o

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Ghost

79584901

Date: 2025-04-21 15:49:18
Score: 4
Natty: 4
Report link

If you're trying to clear HSTS settings for localhost in Chrome, this guide explains it step by step using
https://aspdotnetpb.blogspot.com/2024/11/how-to-use-chromenet-internalshsts-to.html

It helped me fix issues with Chrome forcing HTTPS on local projects.

Reasons:
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: pratik

79584900

Date: 2025-04-21 15:46:17
Score: 1.5
Natty:
Report link

As per the React Native docs at the time of writing:

If you already have a JDK on your system, we recommend JDK17. You may encounter problems using higher JDK versions.

As you can see from other answers, this may change as React Native is updated.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: dylan-myers

79584899

Date: 2025-04-21 15:45:17
Score: 0.5
Natty:
Report link

This is thrown by the timm package. Checkout this line in the source code.

For me it was thrown for version timm==0.5.4. Upgrading the latest version (via pip install --upgrade timm) solved the issue.

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

79584889

Date: 2025-04-21 15:38:15
Score: 1
Natty:
Report link

It can be done. The backend java programs have to be called through another scripting interface. From your front end, you could call PHP which intern calls your java wrapped in bash to perform strictly backend tasks, CRUD, data processing, cross platform RMI, email processing, and anything which you could do with java. Your java environment has to be well resourced.

With the resources well in place, speeds and reliability would be attained better than working with Spring. Spring has its own overheads.

I did this on Linux and Unix. I have never tried it on Windows.

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