79119410

Date: 2024-10-23 19:21:27
Score: 2.5
Natty:
Report link

The error seems to be already answered in this old post: does H2 database support scrolling

where the hint-fetch-size seems not to work in h2.

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

79119406

Date: 2024-10-23 19:18:25
Score: 0.5
Natty:
Report link

Although this post might be old and probably the requester may have solved this issue, here is my contribution to anyone who has the same problem:

I hope these tips can help you. Enjoy!!

Reasons:
  • Blacklisted phrase (1): This link
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Abdinardo Oliveira

79119401

Date: 2024-10-23 19:17:25
Score: 2
Natty:
Report link

https://github.com/gmuth/ipp-client-kotlin can silently submit documents compatible with the printer via the ipp network protocol. The library does not render PDF, so you need a rendering component if your printer or print server does not support the document-format you would like to be printed.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can
Posted by: IPP Nerd

79119396

Date: 2024-10-23 19:16:25
Score: 3.5
Natty:
Report link

Native CSS nesting was part of the 2023 Baseline and is now available on most major browsers. The current implementation is fairly close to SCSS, with a few minor differences.

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

79119374

Date: 2024-10-23 19:09:23
Score: 1.5
Natty:
Report link

Reminder: When you are at keychain access, find the correct certificate and expand it to see its private key. Then select 2 of them together so that you can export to .p12

enter image description here


enter image description here


enter image description here


Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Mıktad Tahir Durak

79119373

Date: 2024-10-23 19:08:23
Score: 0.5
Natty:
Report link

In my case (macos), pip install apache-beam[gcp] didn't find the package, but

pip install 'apache-beam[gcp]'

(with quotation marks) did

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Pablo Guerrero

79119371

Date: 2024-10-23 19:08:21
Score: 6 🚩
Natty: 5.5
Report link

could you solve this?

I'm curious if SEB would only work with LMS or if it could be used to any webapp. We're also building a React.js webapp and need to run this app on a safe environment as SEB.

Reasons:
  • Blacklisted phrase (2): could you solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gas

79119355

Date: 2024-10-23 19:03:19
Score: 0.5
Natty:
Report link

Good afternoon,

I wanted to share my experience with setting up headless Chrome in a Docker container, which fixed my headless issue and helped with reCAPTCHA.

Steps I Followed:

  1. I first ran some commands to ensure Google Chrome was installed:

    docker exec -it container_name /bin/bash
    

    Check if Google Chrome is installed by running:

    google-chrome --version
    
  2. Then, I opened a Python shell:

    python
    
  3. Next, I ran this code to take a screenshot of the Google homepage:

    from selenium import webdriver
    from selenium.webdriver.chrome.service import Service
    from webdriver_manager.chrome import ChromeDriverManager
    import time
    
    # Configure Chrome options to run headless
    chrome_options = webdriver.ChromeOptions()
    chrome_options.add_argument("--headless")  # Run in headless mode
    chrome_options.add_argument("--no-sandbox")  # Bypass OS security model
    chrome_options.add_argument("--disable-dev-shm-usage")  # Overcome limited resource problems
    chrome_options.add_argument("--disable-gpu")  # Disable GPU (for headless stability)
    
    # Set up the WebDriver
    driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options)
    
    # Open a test page
    driver.get("https://www.google.com")
    
    # Wait for the page to load
    time.sleep(2)
    
    # Take a screenshot and save it to a file
    driver.save_screenshot("snapshot.png")
    
    print("Screenshot saved as snapshot.png")
    
    # Close the browser
    driver.quit()
    
  4. I ran pwd to check my current directory and then downloaded the screenshot to my PC. If I was able to see the Google homepage, then Chrome was working fine.

  5. If the above worked, I modified my Chrome options as follows to improve compatibility with reCAPTCHA:

    chrome_options = webdriver.ChromeOptions()
    chrome_options.add_argument("--headless")  # Run in headless mode
    chrome_options.add_argument("--no-sandbox")  # Bypass OS security model
    chrome_options.add_argument("--disable-dev-shm-usage")  # Overcome limited resource problems
    chrome_options.add_argument("--disable-gpu")  # Disable GPU (for headless stability)
    
    # Add a common user-agent to mimic a real browser, especially in case of reCAPTCHA
    chrome_options.add_argument("user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36")
    
    # Disable automation flags to avoid detection by reCAPTCHA
    chrome_options.add_argument("--disable-blink-features=AutomationControlled")
    
    # Set up the WebDriver with the configured options
    driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options)
    

This should be fine. If you have any inquiries, message me. If it does not work, drop a comment on where you face challenges. Please don't minus my count. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Good afternoon
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Komolafe Ezekiel dare

79119346

Date: 2024-10-23 19:00:19
Score: 3.5
Natty:
Report link

You should consider using Edge Data Replication feature of InfluxDB which is designed to solve such problems: https://docs.influxdata.com/influxdb/cloud/write-data/replication/replicate-data/

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

79119341

Date: 2024-10-23 18:59:19
Score: 0.5
Natty:
Report link

Adding on from Alex Santos' answer, you can restrict the types that can be passed in; you can have T extend the types you want:

function foo<T extends string|number>(bar:T):T {
    // ...transform bar...
    return bar;
}

Now typescript will flag an error if you try passing in anything else.

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

79119337

Date: 2024-10-23 18:58:18
Score: 2
Natty:
Report link

Sub foo2() Dim t As Long On Error GoTo NotFound t = Application.WorksheetFunction.Match(Worksheets("Sheet1").Range("A1"), Worksheets("Sheet2").Range("A:A"), 0) MsgBox "Found Exit Sub
NotFound: MsgBox "Not found" End Sub

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

79119335

Date: 2024-10-23 18:57:18
Score: 4.5
Natty:
Report link

I have the same problem

Launching lib/main.dart on iPhone 15 Pro Max in debug mode... Running pod install... 17.4s Running Xcode build...
Xcode build done. 40.9s Failed to build iOS app Error (Xcode): no such file or directory: '/Users/rensithudaragonalagoda/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation'

Error (Xcode): stat cache file '/Users/rensithudaragonalagoda/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator18.0-22A3362-db63dc9361471f152f572502bdbfe70a.sdkstatcache' not found

Could not build the application for the simulator. Error launching application on iPhone 15 Pro Max.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Rensith Udara Gonalagoda

79119328

Date: 2024-10-23 18:56:15
Score: 6.5 🚩
Natty: 6.5
Report link

Is there no solution yet for this??

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there
  • Low reputation (1):
Posted by: Manojkumar Darshankar

79119323

Date: 2024-10-23 18:54:15
Score: 3.5
Natty:
Report link

Not sure if this is helpful but here is a tutorial I wrote the same with Android using Java though: https://www.influxdata.com/blog/building-real-time-android-apps-influxdb-cloud and GitHub project https://github.com/InfluxCommunity/SensorLogger

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

79119316

Date: 2024-10-23 18:51:14
Score: 2
Natty:
Report link

I was able to fix this problem by enabling App Sandbox for my app in Xcode. In addition to this setting, other steps are outlined here.

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

79119309

Date: 2024-10-23 18:49:13
Score: 1.5
Natty:
Report link

Not a complete answer, but I was looking in sort of the same functionality. And the following helped me figure it out.

By utilizing the following hook: woocommerce_blocks_product_grid_item_html, you can change the actual product block inside of the handpicked-product block.

The hook takes three arguments: $html, $data, $product

How to override new Gutenberg product loop block markup

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

79119301

Date: 2024-10-23 18:48:12
Score: 2
Natty:
Report link

My problem was solved by changing area to model in GetDocuments action

public IActionResult GetDocuments(AreaVM model)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hrmsystem

79119284

Date: 2024-10-23 18:44:11
Score: 3
Natty:
Report link

They added this. Just do:

@OnDelete(action = OnDeleteAction.SET_NULL)

Hibernate jira HHH-15770

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

79119283

Date: 2024-10-23 18:44:11
Score: 2.5
Natty:
Report link

Thanks to the post reference by @CraigSiemens, I was able to get this to work by modifying my error extension as per the post within the referenced post by @Abuzeid.

extension APIError: LocalizedError {
    
    public var description: String {
        switch self {
            case .invalidPath:
                return "Invalid Path"
            case .decodingError:
                return "There was an error decoding the response"
            case .invalidServerResponse:
                return "Network request error."
            case .resourceUnavailable(let error):
                return "Server or resource not available. Status Code: \(error)"
            }
        }
    
    public var errorDescription: String? {
        return description
    }
}

I then updated my print statement to this;

print(error.localizedDescription.description)

And now I get an output I want like below;

Server or resource not available. Status Code:404
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @CraigSiemens
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ryan H

79119274

Date: 2024-10-23 18:41:10
Score: 3
Natty:
Report link

Martijn Pieters, thank you very much for your comment. I faced the same problem on my code but did not understood this problem/difference with Python Dicts X JSON Strings...On my code I have two JSON sections, "headers" and "body", so I had to "json.dumps" body sections of the Dict

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Guilherme Assis

79119266

Date: 2024-10-23 18:40:10
Score: 1.5
Natty:
Report link

If the solution given in the comments is not working. Then you can change the java path from the settings as well. Follow the steps to change the path

  1. Open file menu
  2. Select settings
  3. Go to Build, Execution and developement
  4. Open Build Tools then select Gradle
  5. In this change the gradle JDK path

Instructions

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

79119259

Date: 2024-10-23 18:38:10
Score: 2.5
Natty:
Report link

Open Vscode: Open Command Pallete : ctrl+shift+p Run > Tasks: Configure Default Build Task

change GCC to G++ COMPILER

Open task.json file in your program folder and Ensure that the "command" field is using g++

like: "command": "g++",

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

79119252

Date: 2024-10-23 18:36:09
Score: 0.5
Natty:
Report link

per the last link in the relevant posts.

run mod_wsgi-express module-config

replace what i had in my httpd.conf to load with the output:

LoadFile "C:/Users/{me}/AppData/Local/Programs/Python/Python313/python313.dll"
LoadModule wsgi_module "C:/Users/{me}/AppData/Local/Programs/Python/Python313/Lib/site-packages/mod_wsgi/server/mod_wsgi.cp313-win_amd64.pyd"
WSGIPythonHome "C:/Users/{me}/AppData/Local/Programs/Python/Python313"
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Reverend_Dude

79119242

Date: 2024-10-23 18:33:09
Score: 3
Natty:
Report link

Use a #temp table instead of a CTE if you want to use windowing functions like Partition By/Order By.

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

79119237

Date: 2024-10-23 18:32:08
Score: 3
Natty:
Report link

https://api.x.com/2/tweets/:id

You need to specify expansions as you need to check includes.media array and check the type https://developer.x.com/en/docs/x-api/data-dictionary/object-model/media

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

79119236

Date: 2024-10-23 18:32:08
Score: 1.5
Natty:
Report link

I was able to resolve this issue by upgrading cuda & cudnn. In my case, I had been running my program on an outdated Nvidia Docker image with cuda 11.8 and cudnn 8:

nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04

The issued disappeared when I upgraded to a more recent Nvidia Docker image (as of Oct '24), which has cuda 12.6 and cudnn devel:

nvidia/cuda:12.6.2-cudnn-devel-ubuntu22.04

A full list Nvidia Docker images are available here. For those who aren't using docker, you can try upgrading your cuda and cudnn versions manually!

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

79119230

Date: 2024-10-23 18:31:08
Score: 3
Natty:
Report link

НУЖНО установить OPENJDK, сложить все файлы которые получили из гугл плей консоли в отдельную папку, потом перейти в эту папку из консоли и использовать вот такую команду: java -jar pepk.jar --keystore=foo.keystore --alias=fookey --output=output.zip --include-cert --rsa-aes-encryption --encryption-key-path=encryption_public_key.pem

foo.keystore это старый ваш файл с ключем. fookey - этоа лиас этого файла (посмотреть его можно вот такой командой keytool -list -v -keystore foo.keystore )

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

79119229

Date: 2024-10-23 18:31:08
Score: 1.5
Natty:
Report link

When you share the APK file to WhatsApp and you see BIN, it's actually a WhatsApp bug and has nothing to do with Flutter. Netizens have also reported that PDF's that was shared on WhatsApp are shown as BIN (Binary file), hence they are unable to access it.

Solution

  1. Locate the APK file on your Android file manager Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Documents/.

  2. Share to file through other means, USB cord, Bluetooth, Google drive etc.

  3. Use adb CLI to install the application directly on your phone; adb install path-to-apk

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you share the
  • Low reputation (1):
Posted by: Gabriel Oranekwu

79119224

Date: 2024-10-23 18:30:08
Score: 1
Natty:
Report link

I think you can overcome this issue creating a hypertable to track the joined data. Remember that continuous aggregates are hypertables.

Make a user defined action for every source of data to feed the hypertable independently. Each action can be scheduled independently but all feed same hypertable.

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

79119208

Date: 2024-10-23 18:25:06
Score: 3.5
Natty:
Report link

The recipientemail = Lookupvalue = Range("b16") is the column where the drop down list has the names of the people to choose from to send an email to.

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

79119202

Date: 2024-10-23 18:24:06
Score: 1.5
Natty:
Report link

I think something got broken on DO, we have a lot of Frontend websites made with nextjs this way and we didn't encounter any trouble.

This morning i've tried to upload a new one and encounter the same thing.

My workaround by now was to change all the imports by hand instead of using the @/ And had to move devDependencies from the package.json to dependencies, even typescript.

Yeah, I know is not the correct way, but we need that site up now.

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

79119194

Date: 2024-10-23 18:23:06
Score: 3
Natty:
Report link

If you receive this error "Deferred Deep Link validation failed" it's likely that your deeplink is not a fully qualified url.

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

79119191

Date: 2024-10-23 18:22:06
Score: 0.5
Natty:
Report link

The following uses sklearn.neighbors.KDTree to make fast queries from cell midpoints to data points. It yields the number of unique values present from a certain radius to the grid cell midpoints.

import numpy as np
from sklearn.neighbors import KDTree

n = 100_00
cell_size = 0.01
radius = 0.05


coords = np.random.random_sample((n, 2))
values = np.random.randint(0, n//10, n)

x_axis = np.linspace(0, 1, int(1 / cell_size))
y_axis = np.linspace(0, 1, int(1 / cell_size))
xv, yv = np.meshgrid(x_axis, y_axis)
tree = KDTree(coords)

results = tree.query_radius(list(zip(xv.ravel(), yv.ravel())), radius)
unique_results = [len(np.unique(values[indices])) for indices in results]
grid_values = np.array(unique_results).reshape((len(x_axis), len(x_axis)))

This yields an raster 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: Victor Savenije

79119186

Date: 2024-10-23 18:21:05
Score: 2.5
Natty:
Report link

https://docs.astral.sh/ruff/editors/setup/#vim , open "With the ALE plugin for Vim or Neovim." The docs shows

" Linter
let g:ale_linters = { "python":     ["ruff"] }
" Formatter
let g:ale_fixers = { "python": ["ruff

Thank you very much @phd. I missed this part of the doc. I’m confused ☺️

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @phd
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Raoul Debaze

79119171

Date: 2024-10-23 18:16:04
Score: 2
Natty:
Report link

ERROR: authentication failed: Usage of ngrok requires a verified account and authtoken. ERROR:
ERROR: Sign up for an account: https://dashboard.ngrok.com/signup ERROR: Install your authtoken: https://dashboard.ngrok.com/get-started/your-authtoken ERROR:
ERROR: ERR_NGROK_4018 ERROR: https://ngrok.com/docs/errors/err_ngrok_4018 ERROR:

┌──(root㉿yyy)-[/home/vikash] └─# ngrok http 2525

sir please solve this error

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

79119166

Date: 2024-10-23 18:15:03
Score: 4
Natty: 5
Report link

Disabling secure boot fixed it for me. Thank you for pointing us to the right direction.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dan The Man

79119162

Date: 2024-10-23 18:14:03
Score: 1
Natty:
Report link

You can tryout the ExtendedFuture class of the futures4j library which extends CompletableFuture and supports thread interruption of stages through ExtendedFuture#cancel(true). See https://github.com/futures4j/futures4j#ExtendedFuture

var myFuture = ExtendedFuture.supplyAsync(...);

myFuture.cancel(true); // Will attempt to interrupt the async task

var myFutureNonInterruptible = myFuture.asNonInterruptible();
myFutureNonInterruptible.cancel(true); // Behaves like CompletableFuture.cancel(true), which ignores the boolean value
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Seb T

79119148

Date: 2024-10-23 18:09:01
Score: 1.5
Natty:
Report link

This isn't the exact answer I was looking for but is a solution to the problem. I just swapped out the batch transform job with another processing job. The sagemaker processing jobs mount data from s3 to the container that your provide to run your python scripts. so the processing job can mount the input data and the model parameters. This eliminates the need for streaming your data to the HTTP server running in the container for the batch transform job. Not sure if there is some reason why you would not want to do this since it seems decently simpler than using the batch transform job which hard limits you to 10MB payload size per packet when streaming to HTTP server which makes it tough to deal with larger file sizes.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Olek

79119146

Date: 2024-10-23 18:08:01
Score: 1
Natty:
Report link

You can achieve the conversion of plain text URL to hyperlinks by following these suggestions.

  1. Turn on AutoFormat as You Type: Go to File > Options, Select Proofing and the click on AutoCorrect Options, Go to the AutoFormat as You Type tab then chekc the box labeled Internet and network paths with hyperlinks
  2. Use Find and Replace: Press Crtl+H to opne FInd and replace, then in the Find What type the Url you are wanting to replace and in the Replace with enter the same URL again. Then finally click Replace All
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rooster

79119141

Date: 2024-10-23 18:05:58
Score: 6.5 🚩
Natty:
Report link

Can you share program.cs and Angular side code as well for better understanding.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can you share
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): Can you share
  • Low reputation (1):
Posted by: shyam kushwah

79119128

Date: 2024-10-23 18:00:57
Score: 3
Natty:
Report link

in order of ID from highest to lowest , you have 90 before 3 and 97, is this what you want correct order should be 97,90,3

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

79119125

Date: 2024-10-23 18:00:57
Score: 1.5
Natty:
Report link

Usually I see .dat, but it could also be .bin files. Binary is usually something like to btw. "01000100 01100101 01110110 01100101 01101100 01101111 01110000 01100101 01110010 00101110 01000011 01101111 01101110 01110011 01101111 01101100 01100101 00100000 01011111 00001010 00100000 00100000 00100000 00100000 01001111 01101110 01101001 01101111 01101110 01010011 01110100 01110010 01100101 01100001 01101101 00100000 00111101 00100000 01100110 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01111011 01000011 01101000 01110010 01101111 01101101 01100101 01001111 01010011 01111101 00100000 00111101 00100000 01111011 01001111 01010011 01111101 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01001111 01101110 01101001 01101111 01101110 01001100 01100001 01111001 01100101 01110010 00100000 00111101 00100000 01010000 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01001111 01101110 01101001 01101111 01101110 01010011 01110100 01110010 01100101 01100001 01101101 00101110 01001111 01101110 01101001 01101111 01101110 01001100 01100001 01111001 01100101 01110010 00110001 00110000 00101110 01000011 01101000 01110010 01101111 01101101 01100101 01001111 01010011 00101000 01010111 01100001 01101001 01110100 01000110 01101111 01110010 01000011 01101000 01101001 01101100 01100100 00111010 01001111 01101110 01101001 01101111 01101110 01010011 01110100 01110010 01100101 01100001 01101101 00101001 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01001100 01101001 01101110 01110101 01111000 00101000 00101001 00001010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100100 01010101 01110000 01100100 01100001 01110100 01100101 01010011 01100101 01101100 01100110 00101000 00101001 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01111011 01110011 01111001 01110011 00111010 01110011 01110100 01110010 01111101 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00111010 01101001 01101101 01110000 01101111 01110010 01110100 01011111 01100100 01100101 01110110 00111011 01100011 01101101 01100100 01011111 01110011 01111001 01110011 01011100 00100010 01101001 01101101 01110000 01101111 01110010 01110100 01011111 01100100 01100101 01110110 00100010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00111010 01100101 01111000 01110000 01101111 01110010 01110100 01011111 01100100 01100101 01110110 00111011 01100011 01101101 01100100 01011111 01110011 01111001 01110011 01011100 00100010 01100101 01111000 01110000 01101111 01110010 01110100 00101101 01100100 01100101 01110110 00100010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00111010 01101001 01101101 01110000 01101111 01110010 01110100 01011111 01101010 01100001 01101110 01100101 00111011 01100011 01101101 01100100 01011111 01110011 01111001 01110011 01011100 00100010 01101001 01101101 01110000 01101111 01110010 01110100 01011111 01101010 01100001 01101110 01100101 00100010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00111010 01101001 01101101 01110000 01101111 01110010 01110100 01011111 01100010 01100001 01110011 01101000 00111011 01100011 01101101 01100100 01011111 01110011 01111001 01110011 01011100 00100010 01101001 01101101 01110000 01101111 01110010 01110100 00101101 01000010 01000001 01010011 01001000 00100010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00111010 01100101 01111000 01110000 01101111 01110010 01110100 01011111 01100010 01100001 01110011 01101000 00111011 01100011 01101101 01100100 01011111 01110011 01111001 01110011 01011100 00100010 01100101 01111000 01110000 01101111 01110010 01110100 00101101 01000010 01000001 01010011 01001000 00100010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00111010 01100101 01111000 01110000 01101111 01110010 01110100 01011111 01101010 01100001 01101110 01100101 00111011 01100011 01101101 01100100 01011111 01110011 01111001 01110011 01011100 00100010 01100101 01111000 01110000 01101111 01110010 01110100 01011111 01101010 01100001 01101110 01100101 00100010 00001010 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01001001 01100110 00111010 00101000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00101001 00100110 00101000 01110011 01111001 01110011 00111010 01110011 01110100 01110010 00101001 00100000 00111101 00100000 01010100 01110010 01110101 01100101 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01010100 01101000 01100101 01101110 00101000 01010110 01100001 01101100 01110101 01100101 01000011 01100001 01101110 00101001 00100110 00101000 01110011 01111001 01110011 00111010 01110011 01110100 01110010 00101001 00100000 01000011 01101000 01100001 01101110 01100111 01100101 01010100 01100101 01110010 01101101 01101001 01101110 01100001 01101100 00101000 00101001 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 01000101 01111000 01110000 01101111 01110010 01110100 01011111 01010110 01100001 01101100 01110101 01100101 00101000 01000110 01101111 01101100 01100100 01100101 01110010 00101001 00100000 00001010 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000 00100000"

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

79119122

Date: 2024-10-23 17:59:56
Score: 1
Natty:
Report link

Instead of using DialogAPI onSend event, there is the simple way to achieve exactly what you need and display the prompt which is called "Smart Alerts". There is a difference between Smart Alerts and the on-send feature. There are a lot of resources on "Smart Alert" feature of Outlook add-on. The following article is the great way to start: Handle OnMessageSend and OnAppointmentSend events in your Outlook add-in with Smart Alerts. The example of the implementation, similar functionality you are asking about, but for attachment check can be found Automatically check for an attachment before a message is sent.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Slava Ivanov

79119111

Date: 2024-10-23 17:52:55
Score: 1.5
Natty:
Report link

Many of the other answers are more correct than this, however if you're looking to simply add a version of the old mac os plugin back you can do so by installing the docker-compose brew via homebrew.

Brew Formulae Link: https://formulae.brew.sh/formula/docker-compose

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

79119105

Date: 2024-10-23 17:49:54
Score: 1
Natty:
Report link

similar situation. I tried:

mvn io.quarkus.platform:quarkus-maven-plugin:3.15.1:update -N

And I got this error (and the weblink from where you are supposed to get the certificate is invalid - 404: https://registry.quarkus.io/maven ):

[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.0.1.Final:update (default-cli) on project ca-toronto-kogito-ds: Failed to initialize Quarkus extension resolver: Failed to resolve the Quarkus extension registry descriptor of registry.quarkus.io from registry.quarkus.io (https://registry.quarkus.io/maven): Failed to resolve artifact io.quarkus.registry:quarkus-registry-descriptor:json:1.0-SNAPSHOT: The following artifacts could not be resolved: io.quarkus.registry:quarkus-registry-descriptor:json:1.0-SNAPSHOT (absent): Could not transfer artifact io.quarkus.registry:quarkus-registry-descriptor:json:1.0-SNAPSHOT from/to registry.quarkus.io (https://registry.quarkus.io/maven): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]

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

79119102

Date: 2024-10-23 17:49:54
Score: 2
Natty:
Report link

From my own experience, after creating a new application, the same problem occurred. Remove the entry "app_name = 'namespace' " from the application url - start the server, the compiler will report an error - "app_name" is missing. Add the "app_name" variable to URL-app - and then Python will register the namespace.

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

79119096

Date: 2024-10-23 17:47:54
Score: 3.5
Natty:
Report link

When renaming folders with desktop.ini it will change the LocalizedResourceName=@Desktop,0 line to LocalizedResourceName=@(new name),0 and the folde will keep the last name but will show what the name is in desktop.ini

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: werji'ersj jiqwr

79119086

Date: 2024-10-23 17:45:53
Score: 2.5
Natty:
Report link

Top Follows APK allows you to effortlessly increase your followers on platforms like Instagram, TikTok, and Twitter Visit us for a quick download of Top Follows APK and watch your social media engagement soar.

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

79119061

Date: 2024-10-23 17:37:51
Score: 1
Natty:
Report link

In my case, I wasn't looking for a default file formatter, but rather applying an existing file format to a custom file. E.g. say you have a custom file file.framework but you have developed this framework file to follow a YAML standard. Initially VS Code won't render it properly, it'll just treat it as text, but you can select the language format.

  1. Open the file
  2. On the bottom right corner, select the Plain Text option
  3. Click Configure File Association
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Xavier Balladarez

79119054

Date: 2024-10-23 17:33:50
Score: 2.5
Natty:
Report link

To update data in a table, you need to: First, specify the table name that you want to change data in the UPDATE clause. Second, assign a new value for the column that you want to update. In case you want to update data in multiple columns, each column = value pair is separated by a comma (,).

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

79119046

Date: 2024-10-23 17:30:49
Score: 3.5
Natty:
Report link

pip3 install -r requirements.txt will solve. Make sure you run the script with python3 ./script.py.

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

79119042

Date: 2024-10-23 17:29:49
Score: 0.5
Natty:
Report link

"202301203" has an extra digit 0 in between the year and month, so Excel isn't recognizing this as a possible date string for having too many characters. If it's one typo, remove that extra digit and you're done. If it's more than one cell that won't convert to a nice YYYYMMDD format, then you'll need to clean your data first and look for any values you know should be dates, but have more than eight characters.

If your sheet is laid out in a way that you can reasonably filter it and skim visually, you could insert a new column and use the LEN() function to evaluate the column's values for how long the number strings are.

Say all the dates are in column A:

  1. Insert a new column B.
  2. =IF(LEN(A:A)>8,"oops!","")
  3. Filter on column B for "oops!" or whatever entry you want it to show you for the TRUE result, and look for a pattern of data entries that need fixing to remove that extra 0 character between the year and month in your YYYYMMDD format.
  4. Fix those and then you can select-all and apply the date format.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: WFHStitchWitch

79119041

Date: 2024-10-23 17:29:49
Score: 1
Natty:
Report link

/usr/bin/soffice --headless --convert-to pdf test.key --outdir > /dev/null;

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

79119040

Date: 2024-10-23 17:29:49
Score: 0.5
Natty:
Report link
=REDUCE(, A2:A32, LAMBDA(dates,d, IF(AND(ISBLANK(d), TAKE(dates, -1) = ""), dates,
VSTACK(dates, IF(ISBLANK(d), "", d)))))

Result

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

79119039

Date: 2024-10-23 17:28:49
Score: 1.5
Natty:
Report link

I was just facing this issue as well, According to https://github.com/chakra-ui/chakra-ui following is the syntax that is working

import { ChakraProvider, defaultSystem } from "@chakra-ui/react"

// Do this at the root of your application
function App({ children }) {
  return <ChakraProvider value={defaultSystem}>{children}</ChakraProvider>
}

apparently we have to import defaultSystem from chakra-ui & pass it to ChakraProvider

https://github.com/chakra-ui/chakra-ui?tab=readme-ov-file#usage

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

79119019

Date: 2024-10-23 17:19:47
Score: 1.5
Natty:
Report link

look if package.json exists

If package.json is not present, you need to create one.

Create a package.json file if it doesn't exist If package.json is missing, create it by running:

npm init -y

noiw delete node_modules and package-lock.json rm node_modules rm package-lock.json

clean npm cache npm cache clean --force

install packages

npm install

restart the idle an try

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

79119015

Date: 2024-10-23 17:18:47
Score: 2
Natty:
Report link

This is not working even with Overwrite option for SAP DataSphere(using JDBC connection only). It is dropping the table and recreating according to Dataframe structure. I think same behavior already observed but Spark ticket is resolved. (https://issues.apache.org/jira/browse/SPARK-37245 )

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

79119013

Date: 2024-10-23 17:18:47
Score: 0.5
Natty:
Report link

Thanks for everyone who posted an answer here. By reading all answers, I think the solution depends on your application

1. You can manipulate the text directly and just want to make part of the text bold/italic etc.

Than the @mahan's solution would be the best

Text("**Is this part of the text bold?** Yes, it is.")

2. You can NOT manipulate the text directly and you want to make change to the color, font other than boldness

E.g. All the text is retrieved from backend or there are some other middle layers between the source: text and destination: view Inspired by the solution by @dip, I have extension to View

extension View {
    func hightlight(
        text: String,
        textFont: Font,
        textColor: Color,
        highlight: String,
        highlightFont: Font,
        highlightColor: Color
    ) -> AttributedString {
        var attrText = AttributedString(text)
        attrText.font = textFont
        attrText.foregroundColor = textColor

        if let range = attrText.range(of: highlight) {
            attrText[range].font = highlightFont
            attrText[range].foregroundColor = highlightColor
        }

        return attrText
    }
}

Then to use it in this way

            Text(hightlight(
                text: text,
                textFont: .system(size: 18, weight: .regular),
                textColor: .green,
                highlight: highlightedText,
                highlightFont: .system(size: 18, weight: .bold),
                highlightColor: .red)
            )

Here is the full example and final effect

//
//  ContentView.swift
//  LearnSwiftUI
//
//

import SwiftUI

struct ContentView: View {
    let text = "A very long text and we need to the following text to bold. Is this part in bold? Yes, it is."
    let highlightedText = "Is this part in bold?"
    
    var body: some View {
        VStack {
            Image(systemName: "globe")
                .imageScale(.large)
                .foregroundStyle(.tint)
            
            Text("A very long text and we need to the following text to bold. **Is this part in bold?** Yes, it is.")
            
            Text(hightlight(
                text: text,
                textFont: .system(size: 18, weight: .regular),
                textColor: .green,
                highlight: highlightedText,
                highlightFont: .system(size: 18, weight: .bold),
                highlightColor: .red)
            )
        }
        .padding()
    }
}

#Preview {
    ContentView()
}


extension View {
    func hightlight(
        text: String,
        textFont: Font,
        textColor: Color,
        highlight: String,
        highlightFont: Font,
        highlightColor: Color
    ) -> AttributedString {
        var attrText = AttributedString(text)
        attrText.font = textFont
        attrText.foregroundColor = textColor

        if let range = attrText.range(of: highlight) {
            attrText[range].font = highlightFont
            attrText[range].foregroundColor = highlightColor
        }

        return attrText
    }
}

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @mahan's
  • User mentioned (0): @dip
  • Low reputation (0.5):
Posted by: infinity_coding7

79119006

Date: 2024-10-23 17:17:46
Score: 2
Natty:
Report link

To initialize the pins 0-10 the code should be:

DDRD = 0b10011111;
DDRC = 0b01000000;
DDRE = 0b01000000;
DDRB = 0b01110000;

Arduino Leonardo Pinout

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

79118996

Date: 2024-10-23 17:13:45
Score: 2.5
Natty:
Report link

Once i set the volume to be the same directory, it overridden the container content failing the pod.

I used initContainers to fix it and mount it so the volume is not empty during init.

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

79118989

Date: 2024-10-23 17:10:42
Score: 8.5 🚩
Natty:
Report link

Could you share your User class?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you share your
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Men Techie

79118985

Date: 2024-10-23 17:08:42
Score: 0.5
Natty:
Report link

The answer is simpler than you think.

.setCustomValidity("")

is not the same as

.setCustomValidity(" ")

I was going completely crazy until I found out that one must explicitly include whitespace for the popup reset to work as expected.

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

79118978

Date: 2024-10-23 17:07:41
Score: 1
Natty:
Report link

With the help of @NirGraham, it seems you have to/should explicitly define the namespace of the data being referenced. In the above example, the following function definition fixed the issue:

fn_docalc <- function(x){
tmp <- myPkgName::measurements
tmp$value <- tmp$value * x
tmp
}

Further, my actual use case was using the get() function instead of directly referencing the variable. The equivalent in this case would be tmp <- get("measurements"). The fix to that was to include the pos argument like: tmp <- get("measurements", pos = "package:myPkgName")

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @NirGraham
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Joe

79118964

Date: 2024-10-23 17:04:40
Score: 3
Natty:
Report link

We restarted the iPad where we had this problem and it actually worked.

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

79118963

Date: 2024-10-23 17:03:40
Score: 3.5
Natty:
Report link

That is an incorrect answer. The variable may have the file path and name for the attachment but it doesn't exist in the folder system.

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

79118957

Date: 2024-10-23 17:01:39
Score: 3
Natty:
Report link

After review the commit history of the source code file, I downgrade the library version from 1.4.0 to 1.3.0, and then no errors were reported when update the project.

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

79118952

Date: 2024-10-23 17:00:39
Score: 3
Natty:
Report link

try to look for cloud servers and VPS (virtual privates servers), I have already heard about linode, so you can try it out!

linode cloud server

Watch out for ram and cpu usage tough, have a good evening

Reasons:
  • Blacklisted phrase (1): good evening
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Frosty_YTPT

79118942

Date: 2024-10-23 16:58:39
Score: 0.5
Natty:
Report link

Try

SELECT 
    string, 
    CASE 
        WHEN COUNT(*) = 0 THEN 0  -- Handle division by zero
        ELSE (SUM(CASE WHEN adm = 2 THEN 1 ELSE 0 END)::decimal / COUNT(*)) * 100 
    END AS perc_adm
FROM 
    your_table
GROUP BY 
    string;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SubrataG

79118932

Date: 2024-10-23 16:56:38
Score: 2.5
Natty:
Report link

I was using both kaminari and will_paginate gem. Changing in below configuration fixed my issue

Kaminari.configure do |config|
config.page_method_name = :per_page_kaminari end

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Raushan Kumar Raman

79118931

Date: 2024-10-23 16:55:38
Score: 1
Natty:
Report link

Neon lamps are low frequency devices on due to the time it takes to ionize and de-ionize the gas (see pearson-anson effect). However slow is relative and some lamps can be run at frequencies as high at 20kHz. The higher the frequency, the less the bulb will appear to flicker. I would check the manufacturer rating and see what they recommend however, as increasing the frequency will increase the voltage and current demands which may impact the lifespan of the bulb or other parts of your circuit as it will generate more heat.

So yes a neon bulb could run at 300Hz, likely reducing the bulbs lifespan, but check the manufacturer ratings first.

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

79118922

Date: 2024-10-23 16:53:35
Score: 9.5 🚩
Natty: 5.5
Report link

Did you find a solution for this?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution for this
  • Low reputation (1):
Posted by: José Marques

79118913

Date: 2024-10-23 16:51:34
Score: 0.5
Natty:
Report link

You need to make sure that the map options for user interaction are enabled

<Map
  center={position}
  zoom={10}
  mapId={'MAP_ID'}
  options={{
    zoomControl: true,
    scrollwheel: true,
    draggable: true,
  }}
>
</Map>

Find more configurations here

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Amir Ben Shimol

79118910

Date: 2024-10-23 16:50:34
Score: 2.5
Natty:
Report link

I'm currently facing challenges migrating my JSF 2.2 Maven web application from JDK 8 to Java 11. My goal is to maintain the use of Javax packages without refactoring to Jakarta.

After resolving several build and deployment issues, the application successfully deployed on WildFly 19. However, upon the first interaction, I encountered the following error:

Caused by: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'XXXMBean' resolved to null at [email protected]//com.sun.el.parser.AstValue.getTarget(AstValue.java:148) at [email protected]//com.sun.el.parser.AstValue.getType(AstValue.java:62) at [email protected]//com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:160) at [email protected]//org.jboss.weld.module.web.el.WeldValueExpression.getType(WeldValueExpression.java:93)

Given this context, I have two questions:

  1. Is it feasible to keep using javax while running on Java 11, or is switching to jakarta mandatory?
  2. What steps can I take to troubleshoot the PropertyNotFoundException regarding the XXXMBean identifier?

Thank you for any insights!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: HNA

79118907

Date: 2024-10-23 16:49:34
Score: 1
Natty:
Report link

In general, this isn't possible.

If a task is "changed", whether in check_mode or not, it will be displayed as such, both in the play logs and in the PLAY RECAP, unless changed_when: false is set. For some modules, it is possible to set changed_when: false, register the result, and use a module-specific return value in later conditionals (like rc for ansible.builtin.command).

For the zypper-specific problem mentioned in the question, it's possible to use package_facts instead, as pointed out in @Zeitounator's comment.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Zeitounator's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: uncleremus

79118900

Date: 2024-10-23 16:48:33
Score: 1
Natty:
Report link

I'm connected to a MariaDB database, and the Set Active option does not show when right-clicking a "schema" (often confusingly referred to as a "database" like the "database server" is called a "database"), however, selecting "Set as default" will set it as active in an overkill way.

enter image description here

However, selecting "SQL Editor" then one of the options there will give you the "schema" context, as if you had selected to use that database to run queries (without needing to specify the containing schema/database).

Sorry for all the terminology ambiguity, it was not my creation.

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

79118886

Date: 2024-10-23 16:45:32
Score: 0.5
Natty:
Report link

<Dictionary<TKey, TValue> is the generic Dictionary Type. If your target object was a List<Dictionary<TKey, TValue>> then this for-loop statement would indeed work.

In for-loops, you typically want to define the TYPE of data you will be looping over within the collection. As for you, your dictionaryObject has mapped types of <int, string>, that is, a dictionary mapping integer key values to string values.

Generally, in C#, when you iterate over a dictionary, the foreach loop processes each key-value pair in the dictionary as KeyValuePair<TKey, TValue>. This allows you to access both the key and the value for each entry during iteration. A dictionary is simply, a collection of key-value pairs, and KeyValuePair<TKey, TValue> is the TYPE of pair within your collection.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
  • Low reputation (1):
Posted by: UltraData1

79118879

Date: 2024-10-23 16:43:31
Score: 2
Natty:
Report link

I added a Serilog debugging log file to the server and got this error, so it turns out it is a certificate issue.

Unable to write 1 log events to the database due to following error: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)

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

79118874

Date: 2024-10-23 16:42:31
Score: 1.5
Natty:
Report link

In this case, I was inadvertently preserving the state of prior calls in properties of the class, e.g., self.filtered_items, which is a python list. I am using Flask for the front end, and it evidently is preserving the state of the class I use to retrieve the data between requests from the web browser. To solve this problem, I am just emptying the list in the property before it repopulates: self.filtered_items = [].

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andre Hulet

79118872

Date: 2024-10-23 16:41:30
Score: 1
Natty:
Report link

I had a similar situation. To fix it, I just add at the top of the SQL file to be imported, the next line:

SET client_encoding = 'UTF-8';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: William Cuervo

79118867

Date: 2024-10-23 16:40:25
Score: 6 🚩
Natty: 4
Report link

Do you have an update on whether this is avaiable now? I can't find anything on the docs. Just wanted to make sure if I didn't miss anything.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have an
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zepticona

79118866

Date: 2024-10-23 16:40:25
Score: 0.5
Natty:
Report link

Another solution is to define the json object as a varchar string so that it can be displayed on screen.

SELECT varchar( JSON_OBJECT(KEY 'x' VALUE MAX((SELECT 1 FROM sysibm.sysdummy1)))
,100) FROM sysibm.sysdummy1

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: todd328

79118865

Date: 2024-10-23 16:40:22
Score: 9.5 🚩
Natty: 6
Report link

Is there any solution for this issue? It would be really appropriate as above solution is not working with manifest version 3

Reasons:
  • Blacklisted phrase (1): solution is not working
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2): any solution for this issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any solution for this is
  • Low reputation (1):
Posted by: Rachit Sharma

79118864

Date: 2024-10-23 16:39:22
Score: 1.5
Natty:
Report link

I've been running into similar issues with several packages using an M1 Mac. So far I've found that uninstalling the package and then reinstalling it has worked:

#Uninstall the package pip3 uninstall your_package -y

#Reinstall it using the following command: pip3 install your_package --no-cache-dir --verbose --force-reinstall

Hope this works for you.

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

79118861

Date: 2024-10-23 16:39:22
Score: 3
Natty:
Report link

main3 = tk.Frame(root, width=30, height=10, background="black") main3.pack(fill="both", expand=True , side=TOP)

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

79118855

Date: 2024-10-23 16:38:21
Score: 0.5
Natty:
Report link

Imports referencing index.ts in same directory

I had a similar issue to Timothy Matthews' answer here.

• Uncaught ReferenceError: Cannot access main. js: 426358
'Child1Component' before initialization at ‹static initializer> (main.is:426358:225)

Browser console error stack trace screenshot

Cause

Example file structure:

/parent.component.ts
/child1/child1.component
/child2/child2.component
/index.ts (exports all the above)

My IDE (intellij) set the imports in parent.component.ts to point at the index.ts in the same directory which also contains the child components, which causes the issue:

import {
  ChildComponent1,
  ChildComponent2,
} from '../';

Fix

I updated my imports to this, which fixed the issue:

import { ChildComponent1 } from '../child1/child1.component';
import { ChildComponent2 } from '../child2/child2.component';

Timothy Matthews notes above that this would also work, but I cannot confirm:

Change index.ts to _index.ts

import {
  ChildComponent1,
  ChildComponent2,
} from '../_index';
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nick Johnson

79118818

Date: 2024-10-23 16:29:19
Score: 1
Natty:
Report link

Find ul tag and change me-auto to me-5 and add ms-auto as shown in the below code:

<ul className="navbar-nav me-5 mb-2 mb-lg-0 ms-auto">
                       
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md Rehan

79118816

Date: 2024-10-23 16:29:19
Score: 1.5
Natty:
Report link

You can modify syntax colors by changing fonts and color settings in Tools → options → Environment → Fonts and Colors. But it is a cumbersome and time consuming process. For small tweaks though it is still a valid option.

You can also use Color Tweaker Pro extension which makes customizations really easy, and comes with a lot of templates.

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

79118807

Date: 2024-10-23 16:25:17
Score: 4
Natty:
Report link

My contents have nothing. I've tried everything here and I couldn't solve it either.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: adrianosantospro

79118777

Date: 2024-10-23 16:17:15
Score: 1
Natty:
Report link

The easiest way has three steps as follows:

  1. Search: search your desired package in pypi.org

  2. Download Package: after search and select desired package, from left icons, select "download files" and then choose your desired version witch is compatible with your operating system, and just download package with .whl format. for example for pytorch package, select and download "torch-2.5.0-cp312-cp312-win_amd64.whl" witch is compatible with pc operating system.

  3. Install: put downloaded package into a folder named Repository on your Desktop and then run cmd in this folder and write below command:

pip install tensorflow-2.17.0-cp312-cp312-win_amd64.whl -f ./ --no-index --no-deps

Hint1: instead of "tensorflow-2.17.0-cp312-cp312-win_amd64.whl" part of command, put complete name of your downloaded package.

Hint2: to run cmd in your desired folder, just write cmd in address bar of that folder.

This Method Install your desired package and you will have no more ProxyError.

GoodBye.

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

79118761

Date: 2024-10-23 16:12:11
Score: 12.5 🚩
Natty: 5.5
Report link

Did you able to solve this issue? I’m also facing the same problem.

Thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): also facing the same problem
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Sivajothi Periyasamy

79118752

Date: 2024-10-23 16:09:10
Score: 1.5
Natty:
Report link

You can use different appsettings.json for different environments.

appsettings.json

Or

Azure Portal

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

79118746

Date: 2024-10-23 16:07:10
Score: 2
Natty:
Report link

ZIP64 support was introduced around PHP 5.2, increasing the file size limit beyond 4 GB. Therefore, this size limit issue is no longer present in PHP 7 and 8.

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

79118740

Date: 2024-10-23 16:05:09
Score: 3
Natty:
Report link

At some point --include-docstrings was added to stubgen.

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

79118735

Date: 2024-10-23 16:04:09
Score: 3
Natty:
Report link

I did some digging and found that passing a key from my server component (Page) to client component (Table) -- where key={query_param} -- fixed this. I believe the concepts are called "partial rendering" and "soft navigation" for Next? https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#4-partial-rendering

Not Next.js specific: Component does not remount when route parameters change

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bunny

79118732

Date: 2024-10-23 16:03:09
Score: 1.5
Natty:
Report link

Thanks to @serak-shiferaw 's comment,
My problem gone away by running this command:

/usr/share/logstash/bin/system-install

I was trying to setup logstash v8.11.1 on Ubuntu 20.04 LTS

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @serak-shiferaw
Posted by: mahyard

79118718

Date: 2024-10-23 16:00:08
Score: 1
Natty:
Report link

As tested, firebase deploy will only update the files store in your local directory. .../public/. This command doesn't clean the files already in the server, before add the ones in you local.

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

79118711

Date: 2024-10-23 15:58:08
Score: 1.5
Natty:
Report link

You can modify syntax colors by changing fonts and color settings in Tools → options → Environment → Fonts and Colors. But it is a cumbersome and time consuming process. For small tweaks though it is still a valid option.

You can also use Color Tweaker Pro extension which makes customizations really easy, and comes with a lot of templates.

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

79118693

Date: 2024-10-23 15:52:06
Score: 1
Natty:
Report link

The solution to immediately using options set in IOptions (for connections strings, for example) is PostConfigure:

services.AddOptions<AppConfiguration>()....

services.PostConfigure<AppConfiguration>(options => {
connString_Admin = options.DBConnection_Admin;

});

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

79118690

Date: 2024-10-23 15:52:06
Score: 2
Natty:
Report link

Angular material mat-menu items use the foreground and background colours of the theme. This is why when you toggle the theme on the angular material website it does not use primary or accent colours, but toggles between a white and grey colour depending on if it's a light or dark theme selected:

When looking at the select when choosing the purple theme on their site you can see each option is either a grey colour in light mode or a black colour in dark mode:

enter image description here Turning our attention back to the menu-items this can be corroborated by looking at the source in @node_modules/@angular/material/core/tokens/m2/mat_menu.scss (Angular 18 if using Material 2)

We see that the colours are generally dependent on the foreground and background colours:

enter image description here

These colours can be altered application-wide via the theme's contrast of your $primary palette. Not recommended due to the number of component's dependent on it. This is mentioned in one of the answers here: Angular 2 Material Foreground

There is also a github issue on how to make a sweeping change to this: https://github.com/angular/components/issues/6244

The above might help for you in some circumstances where you want a very sweeping change.

But lets look at modifying a only say a mat-menu-item.

For now lets also assume you want to make the change on a very particular component, and not application wide, such as a navbar that uses the mat-menu-item

Many solutions give up on being clean, if it can't be done using the palettes, and just try to override the background-color directly. However, you now have a dependency on angular material's classes in your CSS. So if angular material changes their classnames in version updates, your code will break. Additionally you would need to use the deprecated ng-deep.

To solve this, you might add a class, and override the background-color or color on the class. This is better. But you could end up still needing to write very long CSS to make sure your override has higher specificity than angular material's CSS to take effect.

The trick is to use your own class and override the CSS variables that are at the html level and so do not have specificity you need to compete with.

So if you inspect the css of your mat-menu-item you'll see the a focussed state colour, for example is set like this:

enter image description here

If we trawl further down our CSS on the mat-menu-item we find the below section on the HTML level:

enter image description here

So lets say we want to alter the background color. We're probably interested in changing --mat-menu-item-focus-state-layer-color and --mat-menu-item-hover-state-layer-color

And so the final solution to this problem is as follows:

<button class="custom-menu-list-item"
                 mat-menu-item
My item
</button>

And in our *component.theme.scss:

.custom-menu-list-item{
   --mat-menu-item-focus-state-layer-color: red;
   --mat-menu-item-hover-state-layer-color: red;
}

Or preferably, from a palette an example would be:

 --mat-menu-item-hover-state-layer-color: #{mat.m2-get-color-from-palette($my-blue-palette, 500)}

And that's all there is to it.

If you want to make the change system-wide on all mat-menu then you can put it on the body element in one of your application's root theme files, to override the CSS variables on html element.

If you've defined a particular theme class due to having multiple themes, which is quite common, overriding the variable there won't work right away.

This is because your theme class will be defined on a div such as the themeClass$ observable below

<div class="mat-app-background" [class]="themeClass$ | async">
  <app-nav-menu></app-nav-menu>
  <div class="scroll-container">
    <router-outlet></router-outlet>
  </div>
</div>
.my-light-theme{
  --mat-menu-item-hover-state-layer-color: red;
}

This is because components that use the CDK overlay like the mat-options in a select select, modals and menu-items render outside of the angular application.

So you will have to use one of the solutions that put your theme class on the CDKOverlay as well. There are other stackoverflow solutions out there that explain how to do this. It involves injecting private overlayContainer: OverlayContainer into a high level component and adding classes to the overlayContainers classList

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MatthewH

79118687

Date: 2024-10-23 15:51:06
Score: 3.5
Natty:
Report link

I`m using Gulp and get te same problem. Please, help to fix it. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alex