79308216

Date: 2024-12-25 19:34:35
Score: 0.5
Natty:
Report link

You need to expose the relevant ports on the host IP. You can do that using the -p switch to docker run.

For example:

docker run -p 445:445 container

The above will map port 445 on the local host to the docker container. Make sure nothing else is listening on the same port.

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

79308213

Date: 2024-12-25 19:31:35
Score: 2
Natty:
Report link

Its the issue of invalidation of SHA-1 and SHA-256 fingerprints . You may generate new keys by ./gradlew signingReport and load them into firebase console

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

79308207

Date: 2024-12-25 19:25:33
Score: 3.5
Natty:
Report link

Apparently the original code seems to work in some cases. It would surely be helpful to give the Xcode version used in each case.

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

79308205

Date: 2024-12-25 19:23:32
Score: 1.5
Natty:
Report link

I had same issue: Created ps1 file in share and task scheduler to run with -Bypass file \fileshare deployed with GPO under NT AUTHORITY\System to run, but it failed with permission denied, even dir \sharedfolder was showing directory. Tried many times didn't work but when I ran the script (ps1) localy it ran fine, so it has to be permissions on the share folder which it had everyone and SYSTEM as shared permissions to run and Security as well.

The fix was when I add "Authenticated Users" under the NTFS (Security Tab) on folder that was shared, taskscheduler start working.

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

79308201

Date: 2024-12-25 19:21:31
Score: 4
Natty:
Report link

As you can read in the Javadocs, this class actually exists and your code should work.

Sadly I don't have the reputation to just comment on your question and tell you to improve it.

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have the reputation
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: rakete

79308188

Date: 2024-12-25 19:06:29
Score: 0.5
Natty:
Report link

Use the modified below code line, instead of the one in your first message;

   sText = rSelectedRange.Cells(iRow, iColumn).Text
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Haluk

79308185

Date: 2024-12-25 19:04:28
Score: 3
Natty:
Report link

The problem only because of the missing of Microsoft Visual C++ Redistributable.

I have installed using this link and problem solved.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Muhammed Sibly B

79308183

Date: 2024-12-25 19:01:28
Score: 2
Natty:
Report link

This resolved the issue for me.

Cannot connect to etcd #454

  ETCD_ENABLE_V2: "true"
  ALLOW_NONE_AUTHENTICATION: "yes"
  ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379" <---
  ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gamitha Anjana

79308181

Date: 2024-12-25 19:00:27
Score: 4.5
Natty:
Report link

I face the same problem:

1 Failed download: ['XAUUSD=X']: YFTzMissingError('$%ticker%: possibly delisted; no timezone found')

But when I try with AAPL it works!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same problem
  • Low reputation (0.5):
Posted by: Suresh Dooly

79308177

Date: 2024-12-25 18:56:25
Score: 0.5
Natty:
Report link

You can have two wait groups one for y routines and another for (x-y) routines. For example : `

package main

import (
    "fmt"
    "sync"
)

//Implement fanin fanout pattern
//Scrape url for multiple urls in a list
//Code for 10 urls and 3 workers

func fanOut(results chan string, numOfWorkers int, urls []string, pwg *sync.WaitGroup) {
    urlChannel := make(chan string, len(urls))
    addUrlToChannel(urls, urlChannel)
    for i := 0; i < numOfWorkers; i++ {
        pwg.Add(1)
        go processWorker(pwg, urlChannel, results)
    }
    pwg.Wait()
    close(results)
}

func addUrlToChannel(urls []string, urlChannel chan string) {
    for _, url := range urls {
        urlChannel <- url
    }
    close(urlChannel)
}

func processWorker(pwg *sync.WaitGroup, urlChannel chan string, results chan string) {
    for url := range urlChannel {
        scrapeUrl(url, results)
    }
    pwg.Done()
}

func scrapeUrl(url string, results chan<- string) {
    results <- fmt.Sprintf("Successfully scraped %s: ", url)
}

func fanIn(scrapedUrls chan string, cwg *sync.WaitGroup) {
    defer cwg.Done()
    for url := range scrapedUrls {
        fmt.Println("Scraped url", url)
    }
}

func main() {
    urls := []string{
        "https://www.google.com",
        "https://www.github.com",
        "https://www.stackoverflow.com",
        "https://www.github.com",
        "https://www.stackoverflow.com",
        "https://www.google.com",
        "https://www.github.com",
        "https://www.stackoverflow.com",
        "https://www.google.com",
        "https://www.github.com",
    }
    results := make(chan string)
    var pwg sync.WaitGroup
    var cwg sync.WaitGroup
    numOfWorkers := 3
    //FanIn
    cwg.Add(1)
    go fanIn(results, &cwg)
    //FanOut
    fanOut(results, numOfWorkers, urls, &pwg)
    cwg.Wait()
    fmt.Println("Application ended")
}

`

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

79308175

Date: 2024-12-25 18:53:25
Score: 1.5
Natty:
Report link

Missing Required Libraries Cause: The emulator requires certain DLLs, which might be missing or not found. Fix: Ensure that Microsoft Visual C++ Redistributable is installed. Download and install the latest version for both x86 and x64 architectures from Microsoft's website. Reboot your machine after installation.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: omar m's

79308174

Date: 2024-12-25 18:52:24
Score: 2
Natty:
Report link

I have the same problem with Xcode Version 16.2 (16C5032a) and none of the proposed solutions works. I solved it by simply adding a line to the path going from top to bottom: just after the segments.forEach loop:

                path.move(
                    to: CGPoint(
                        x: width * 0.5 + xOffset,
                        y: 0                        )
                )
                path.addLine(
                    to: CGPoint(
                        x: width * 0.5 + xOffset,
                        y: height
                    )
                )
Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Whitelisted phrase (-2): I solved
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Riff

79308173

Date: 2024-12-25 18:52:24
Score: 1.5
Natty:
Report link

I had the same issue in Laravel 11.35.1. In this version, the directory of Kernel.php is:

YourProjectName\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Recep Turkoglu

79308171

Date: 2024-12-25 18:50:24
Score: 1.5
Natty:
Report link

As @user206550 suggested, using just Matern(1 | x + y) works. It seems strange that spaMM::Matern(1 | x + y) would cause the kind of error message mentioned, but it seems it just is like that.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @user206550
  • Self-answer (0.5):
Posted by: Manuel Popp

79308164

Date: 2024-12-25 18:47:23
Score: 3
Natty:
Report link

Please check if you have the access token to download the hugging face model.

Please refer the video https://www.youtube.com/watch?v=t-0s_2uZZU0 and check the information given between timestamps 1:44:18 - 1:45:34

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Harpreet

79308158

Date: 2024-12-25 18:44:23
Score: 0.5
Natty:
Report link

Because you send params like

hiddenInput.setAttribute('name', "[user][card_" + field + "]");

and name of param is [user], not user

On you screenshot there is [user] in params, but should be user

Probably to fix this you need to set

hiddenInput.setAttribute('name', "user[card_" + field + "]");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anton Bogdanov

79308156

Date: 2024-12-25 18:43:22
Score: 4.5
Natty:
Report link

I also want to disable typo checking in comments (I use Italian language) I tried: Select menu Settings. Then in the Tree, select Editor > Inspections > Proofreading > Typo. Then uncheck "Process comments" .... but I did not find Options and "Process comments" ! I think they have moved elsewhere .. pls help

Reasons:
  • RegEx Blacklisted phrase (3): pls help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aldo De Santis

79308145

Date: 2024-12-25 18:31:19
Score: 2.5
Natty:
Report link

it worked with me when i tried it with outlook

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Esraa Hosny

79308140

Date: 2024-12-25 18:29:18
Score: 1
Natty:
Report link

It's may be, that SQL Server fully local and it have not remote access. By example, SQL Server Express is local. So, sqlcmd -L cannot find the local server because this server is not responding to the broadband access request.

I use this command

sc queryex | grep "MSSQL" It return, for example

Service_Name: MSSQL$SQLEXPRESS2 Service_Name: MSSQL$SQLEXPRESS It get list of all system services and find services with name constraints "MSSQL". It return list of system services for every MS SQL instances. But it return only local instances, on current machine, for remote server, on remote machine, use sqlcmd -L.

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

79308139

Date: 2024-12-25 18:29:18
Score: 0.5
Natty:
Report link
const [month, day, year] = new Intl.DateTimeFormat('en-US', {
  day: '2-digit',
  month: '2-digit',
  year: 'numeric',
})
  .format(new Date())
  .split('/');

console.log(`${day}.${month}.${year}`);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fakie

79308132

Date: 2024-12-25 18:23:17
Score: 9 🚩
Natty: 5.5
Report link

Please did you find the right solution?

Reasons:
  • RegEx Blacklisted phrase (3): did you find the
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ANAS SH

79308125

Date: 2024-12-25 18:17:15
Score: 2
Natty:
Report link

I'm the maintainer of the Capacitor Firebase plugins. This method is not yet supported. Feel free to create a feature request on GitHub and we will implement that.

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

79308124

Date: 2024-12-25 18:17:15
Score: 3
Natty:
Report link

In my situation I simply ran npx commands from the terminal as Administrator, this was a more correct way for npm to access the root node_modules.

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

79308115

Date: 2024-12-25 18:11:13
Score: 7 🚩
Natty: 4.5
Report link

I have a similar problem, but looks like there is no solution. More detailed informations here:

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Low reputation (1):
Posted by: Ivo Pugliese

79308113

Date: 2024-12-25 18:06:11
Score: 1.5
Natty:
Report link

This is by design. Error pages are for server-side errors. You should set up error boundaries for client-side errors.

You can implement a similar experience using error boundaries and a component to output the relevant errors.

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

79308111

Date: 2024-12-25 18:05:11
Score: 2
Natty:
Report link

I was able to answer my own question after much brainstorming and apparently the solution was very simple. Since /home/spidey/sopon3/rda-aof/ has been configured as the directory to serve the files that can be accessible using just my-devdomain.com/data-file.pdf, all I had to do was create another directory inside /rda-aof and put my files there. So now the url looks like this: my-devdomain.com/public/data-file.pdf. With this, I was able to configure spring security to allow /public/** without any authentication.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hussain Ahmed Siddiqui

79308108

Date: 2024-12-25 18:00:10
Score: 0.5
Natty:
Report link

fixed by below:

// Connect the bot service to Microsoft Teams
resource botServiceMsTeamsChannel 'Microsoft.BotService/botServices/channels@2022-09-15' = {
  parent: botService
  location: 'global'
  name: 'MsTeamsChannel'
  properties: {
    channelName: 'MsTeamsChannel'
    properties: {
      acceptedTerms: true
      callingWebhook: 'https://${botAppDomain}/api/callback'
      deploymentEnvironment: 'CommercialDeployment'
      enableCalling: true
//      incomingCallRoute: 'https://${botAppDomain}/api/callback'
      isEnabled: true
    }
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hoodv

79308104

Date: 2024-12-25 17:57:10
Score: 3
Natty:
Report link

I would suggest to follow below document link

https://abp.io/docs/latest/framework/api-development/dynamic-csharp-clients

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Rohit Jadhav

79308103

Date: 2024-12-25 17:57:10
Score: 3
Natty:
Report link

Removing the box-sizing line for textarea worked for me (or at least replacing box-sizing: border-box; by box-sizing: content-box; )

enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manerr

79308098

Date: 2024-12-25 17:52:09
Score: 2
Natty:
Report link

export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home" still getting error set project gradle jdk as GRADLE_LOCAL_JAVA_HOME

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdulkerim Yıldırım

79308092

Date: 2024-12-25 17:48:08
Score: 1
Natty:
Report link

this works:

d %>%
  gtsummary::tbl_summary(
    data = .,
    include = -id,
    label = list(
      inf_1 ~ paste(attr(d$inf_1, "label"), paste0("(", attr(d$inf_1, "units"), ")")),
      inf_2 ~ attr(d$inf_2, "label")
    ),
    type = list(all_continuous() ~ "continuous2"),
    statistic = list(
      all_continuous() ~ c("{median} ({p25}, {p75})", "{min}, {max}"),
      all_categorical() ~ "{n} / {N} ({p}%)"
    )
  ) %>%
  gtsummary::as_gt()

out

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

79308091

Date: 2024-12-25 17:46:08
Score: 2
Natty:
Report link

This is unrelated to Docker itself. It's tied to a template file within the Kafka image provided by Confluent: kafka.properties.template. This template is processed by the configure script when the container starts, where the env variables are actually used to build the configuration (kafka.properties) file before starting Kafka itself.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Stéphane Derosiaux

79308086

Date: 2024-12-25 17:43:07
Score: 3
Natty:
Report link

19607914763000190MD. Ibrahim Sikd6 Aug 1960Right IndexA2.0302c0214745783a0d9900553f97d787d930cd35944f64ed7021417c8a5243873c65c22a71371f733f3a164a3f844

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

79308082

Date: 2024-12-25 17:42:06
Score: 5.5
Natty: 5
Report link

visit here to solvessssssssssssssssssssssssssssssss : https://youtu.be/rGFuak8kdRo

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): ssssssssssssssssssssssssssssssss
  • Low reputation (0.5):
Posted by: creative one2018

79308075

Date: 2024-12-25 17:35:05
Score: 3.5
Natty:
Report link

For me it was intuitive to simply type in the input box using Chrome and hopefully the answer would be accepted. But you have to select your typed in words below the input box. This may appear to be a bug related to the input box. So make sure you click on the blue section below the input box for your selection. Tried all of the above and they did not work.

typing in..

result after selecting your typed in text

Reasons:
  • Blacklisted phrase (1): did not work
  • Probably link only (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Addi

79308070

Date: 2024-12-25 17:28:04
Score: 2
Natty:
Report link

BeautifulSoup is just a parser as it retrieves the static HTML content from the server and can't handle JavaScript-rendered content, while Selenium can because it emulates a browser.

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

79308063

Date: 2024-12-25 17:22:02
Score: 1.5
Natty:
Report link

Use Localxpose.io , check out this tutorial: https://colab.research.google.com/drive/1CvsmJMH00Cli2K2OQJQYWFG-eNzGSuKl?usp=sharing

!pip install loclx-colab

import loclx_colab.loclx as lx
port = 8787 # The service port that you want to expose
access_token = "Your_Token_Here" # Your LocalXpose token here
url = lx.http_tunnel_start(port, access_token)
if url:
    print(f"Your service is exposed to this URL: https://{url}")
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ha M

79308062

Date: 2024-12-25 17:22:02
Score: 2.5
Natty:
Report link

https://github.com/kubernetes-sigs/controller-tools GO11MODULE=on go install sigs.k8s.io/controller-tools/cmd/[email protected]

latest controller-tools can fix it

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

79308053

Date: 2024-12-25 17:18:01
Score: 6.5
Natty: 7
Report link

Where can I get "vendor"?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where can I
  • Low reputation (1):
Posted by: NYC HDL

79308052

Date: 2024-12-25 17:18:00
Score: 2.5
Natty:
Report link

You don't need to pass an id in for the associated entity role. It will get one automatically after it gets created. Then you can get it for test purposes with UserEntityRole.last

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

79308039

Date: 2024-12-25 17:03:57
Score: 0.5
Natty:
Report link

Nothing worked for me but this

 val builder = AlertDialog.Builder(context,android.R.style.ThemeOverlay_DeviceDefault_Accent_DayNight)

This will cover the screen even you have a small layout.

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

79308037

Date: 2024-12-25 17:02:56
Score: 4
Natty: 4.5
Report link

This has been fixed in Doxygen version 1.10.0. See https://github.com/doxygen/doxygen/issues/7688 for more info.

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

79308036

Date: 2024-12-25 17:01:56
Score: 2.5
Natty:
Report link

I think if you aren;t finding good answers for your question any where you should ask it from gpt by asking it like : "tell me everything about [topic] in an easy to understand language " .It will really provide you with a detailed explanation and further you can make modifications to it also .

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

79308035

Date: 2024-12-25 16:58:55
Score: 0.5
Natty:
Report link

You question is very generic.

To read:

# Read a file from the workspace
with open("/dbfs/workspace/<folder>/<file>.txt", "r") as file:
    content = file.read()
    print(content)

To write:

# Write a file to the workspace
with open("/dbfs/workspace/<folder>/<file>.txt", "w") as file:
    file.write("This is a test file.")

Sometime I use dbutils API, here is some examples:

# Write a file to the workspace
dbutils.fs.put("workspace:/shared_folder/example.txt", "This is a test file.")

# Read the file
content = dbutils.fs.head("workspace:/shared_folder/example.txt")
print(content)

Lets me know if above is not working, I will help more. Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali Saberi

79308010

Date: 2024-12-25 16:43:52
Score: 1
Natty:
Report link

Solution

For profiling add this envs in your docker-compose.yml

environment:
    SPX_ENABLED: 1
    SPX_AUTO_START: 0
    SPX_REPORT: full

For viewing profiles use some server with php-fpm for example.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: M-A-X

79308000

Date: 2024-12-25 16:40:52
Score: 3
Natty:
Report link

You can use services like https://localxpose.io/, and it is free. This is a full tutorial. https://colab.research.google.com/drive/1CvsmJMH00Cli2K2OQJQYWFG-eNzGSuKl?usp=sharing

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

79307996

Date: 2024-12-25 16:39:52
Score: 3
Natty:
Report link

here is the attempt with Spannable, text does not change???

fun getAllMeds(): List<Medication> {
        val medList = mutableListOf<Medication>()
        val db = readableDatabase
        val query = "SELECT * FROM $TABLE_NAME"
        val cursor = db.rawQuery(query, null)

        while (cursor.moveToNext()) {
            val id = cursor.getInt(cursor.getColumnIndexOrThrow(COLUMN_ID))
            val medpill = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDPILL))
            val medtaken = cursor.getString(cursor.getColumnIndexOrThrow(COLUMN_MEDTAKEN))

            val spannable = SpannableString("Take (" + medpill + ") pill every " + medtaken)
            spannable.setSpan(
                ForegroundColorSpan(Color.RED),
                6, // start
                9, // end
                Spannable.SPAN_EXCLUSIVE_INCLUSIVE
            )
            var newText = spannable.toString()

        val med = Medication(id, newText)
            medList.add(med)

        }
        cursor.close()
        db.close()
        return medList
    }
Reasons:
  • Blacklisted phrase (1): ???
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robert

79307981

Date: 2024-12-25 16:34:50
Score: 3
Natty:
Report link

I found a package called google_sign_in_all_platforms, that can handle google sign-in across all platforms 🎉.

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

79307979

Date: 2024-12-25 16:34:50
Score: 4.5
Natty: 4.5
Report link

I also want to implement this how can I do this basically I want to use users local storage for this is it possible through it.

Option: 1.Using firebase deeplink 2. localstorage (I want to go with this localstorage).

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (1): can I do
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vikesh Laharpure

79307964

Date: 2024-12-25 16:26:48
Score: 2.5
Natty:
Report link

I found a package that supports Google Sign-In for all platforms including Windows and Linux. It is called google_sign_in_all_platforms. I have been using it for quite a while, and it works like a charm.

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

79307955

Date: 2024-12-25 16:20:46
Score: 8.5 🚩
Natty: 5.5
Report link

I've recently encountered an issue after manually deleting SDK 30.0.1 and then re-downloading the same version. Despite following the usual steps, I seem to be facing some challenges:

I deleted SDK 30.0.1 manually from my system.

I re-downloaded SDK 30.0.1 toolkit and attempted to set it up again.

However, I'm running into problems that I wasn't expecting. Could someone guide me on what might be going wrong or what additional steps I should take to ensure a smooth reinstallation?

Thanks in advance for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): Could someone guide me
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nandeesh Kalakatti

79307951

Date: 2024-12-25 16:20:45
Score: 3
Natty:
Report link

I've also encountered this in FireStore and simulating a CREATE. It turns out you also need to specify the ID when POSTing to the collection sample simulation

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

79307938

Date: 2024-12-25 16:13:44
Score: 0.5
Natty:
Report link

It’s generally not a good idea to emulate features from other languages in Rust. When you create a boxed trait object, you incur two types of overhead: 1. Pointer indirection via the Box, which stores the value on the heap. 2. Dynamic dispatch through the vtable to resolve the method call.

so it’s best to avoid it unless absolutely necessary.

Additionally, when you box a type T, you’re moving it to the heap, which means that T cannot have references, because after moving something on heap, rust cannot guarantee that referenced value will outlive the T, so this operation is not allowed in safe rust. As a result, if your iterator implementations contain references to other data, they cannot be boxed, as this would lead violate rust's safety guarantees.

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

79307935

Date: 2024-12-25 16:11:43
Score: 3
Natty:
Report link

I think when exist 1 cut (separate graph to multiple connected component) have multiple light edges. So we can choose any edge of them and put it to min span tree

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Phan.B Tho

79307919

Date: 2024-12-25 16:00:41
Score: 3.5
Natty:
Report link

Try changing in the ODBC from client SQL to ODBC driver for SQL server

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

79307905

Date: 2024-12-25 15:54:40
Score: 0.5
Natty:
Report link

If you pass the date as a string it creates the date in UTC.

const t1 = new Date(2024,11,12) // 11 because month starts at 0
// -> '2024-12-11T23:00:00.000Z' (I am in UTC+1)

const t2 = new Date("2024-12-12")
// '2024-12-12T00:00:00.000Z'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jingyi Wang

79307898

Date: 2024-12-25 15:50:38
Score: 4.5
Natty: 4.5
Report link

Just came across this post searching for an issue I have. Does anyone know what‘s the behavior on iOS with PWA‘s added to „Home Screen“? I would suppose the code still stops working after PWA goes to background. My issue is that when I re-open the PWA, updates -which happened while in background- are not being displayed Appreciate any ideas!

Reasons:
  • Blacklisted phrase (1): any ideas
  • RegEx Blacklisted phrase (2): Does anyone know
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Tomsho

79307887

Date: 2024-12-25 15:44:37
Score: 0.5
Natty:
Report link

What's wrong in your code:

  1. Incorrect reset Condition: The condition (column<row) does not ensure proper reset logic for column.

You can update your logic so that you can get expected output.

static void printPascal(int row, int column, int rowLimit) {
    for (; row < rowLimit; ) {
        System.out.println("(" + row + ", " + column + ")");
        if (column < row) {
            column++; // Move to the next column in the current row
        } else {
            column = 0; // Reset column for the next row
            row++;      // Move to the next row
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What's
  • Low reputation (1):
Posted by: Suraj Kumar

79307881

Date: 2024-12-25 15:41:36
Score: 0.5
Natty:
Report link

You need to expose a property that will represent the image URI and ensure it notifies the UI when it changes.

  1. Add HeldPieceImageUri as a property with INotifyPropertyChanged to ensure the UI updates when the image changes.

    1. Use another function UpdateHeldPieceImage() to update HeldPieceImageUri based on the top value of holdStack.
    2. Finally, call UpdateHeldPieceImage() at the end of holdTetromino().

Don’t forget to update your WPF XAML to include an Image control to preview the held piece. Also make sure the TetrisViewModel is set as the DataContext of your Window.

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

79307878

Date: 2024-12-25 15:36:35
Score: 0.5
Natty:
Report link

As mentioned above, I didn't manage to encapsulate desired icon files into my executable to later access them with relative paths from my script. However there seems to be a way around as PyInstaller has no issues in attaching icon to the executable file itself. Afterwards I just read and decode icon from the executable file. Thanks to this post: How to extract 32x32 icon bitmap data from EXE and convert it into a PIL Image object?

My final script looks next:

import sys

import win32api
import win32con
import win32gui
import win32ui
from PySide6.QtCore import Qt
from PySide6.QtGui import QImage, QPixmap
from PySide6.QtWidgets import QApplication, QMainWindow, QLabel


def extract_icon_from_exe(exe_path):
    """Extracts the icon from an executable and converts it to a QPixmap with transparency."""
    # Get system icon size
    ico_x = win32api.GetSystemMetrics(win32con.SM_CXICON)
    ico_y = win32api.GetSystemMetrics(win32con.SM_CYICON)

    # Extract the large icon from the executable
    large, small = win32gui.ExtractIconEx(exe_path, 0)
    if not large:
        raise RuntimeError("Failed to extract icon.")
    hicon = large[0]  # Handle to the large icon

    # Create a compatible device context (DC) and bitmap
    hdc = win32ui.CreateDCFromHandle(win32gui.GetDC(0))
    mem_dc = hdc.CreateCompatibleDC()
    hbmp = win32ui.CreateBitmap()
    hbmp.CreateCompatibleBitmap(hdc, ico_x, ico_y)
    mem_dc.SelectObject(hbmp)

    # Draw the icon onto the bitmap
    mem_dc.DrawIcon((0, 0), hicon)

    # Retrieve the bitmap info and bits
    bmpinfo = hbmp.GetInfo()
    bmpstr = hbmp.GetBitmapBits(True)

    # Convert to a QImage with transparency (ARGB format)
    image = QImage(bmpstr, bmpinfo["bmWidth"], bmpinfo["bmHeight"], QImage.Format_ARGB32)

    # Clean up resources
    win32gui.DestroyIcon(hicon)
    mem_dc.DeleteDC()
    hdc.DeleteDC()

    return QPixmap.fromImage(image)


class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()

        self.setWindowTitle("Hello World Application")
        label = QLabel("Hello, World!", self)
        label.setAlignment(Qt.AlignmentFlag.AlignCenter)
        self.setWindowIcon(extract_icon_from_exe(sys.executable))
        self.setCentralWidget(label)

if __name__ == "__main__":
    app = QApplication(sys.argv)

    window = MainWindow()
    window.resize(400, 300)
    window.show()

    sys.exit(app.exec())

TestApp.spec:

a = Analysis(
    ['test.py'],
    pathex=[],
    binaries=[],
    datas=[('my_u2net', 'my_u2net')],
    hiddenimports=[],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    noarchive=False,
    optimize=0,
)
pyz = PYZ(a.pure)

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.datas,
    [],
    name='TestApp',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    upx_exclude=[],
    runtime_tmpdir=None,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
    icon=['app_icon.ico'],
)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Call_me_Utka

79307872

Date: 2024-12-25 15:31:34
Score: 2.5
Natty:
Report link

@Tejzeratul: Sure. The sad fact is, that I don't know yet how to setup HTTPS in dev mode and also don't want to bother with certificates etc. while still developping. It is a different thing to set up HTTPS on a production server, but my dev machine is not even reachable from the internet. @nneonneo: Thank you very much! I immediately tried out ngrok, and I immediately ran into CSRF problems: The login form was posted to http://...ngrok-free-app, and the request origin was https:/...ngrok-free-app, so node_modules/@sveltejs/kit/src/runtime/server/respond.js throw a "Cross-site POST form submissions are forbidden" error. After trying more elegant approaches, I switched off CSRF protection. See above, I added a fourth step.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Tejzeratul
  • User mentioned (0): @nneonneo
  • Low reputation (1):
Posted by: Michael Uhlenberg

79307859

Date: 2024-12-25 15:23:32
Score: 2
Natty:
Report link

SELECT TRIM (TRAILING '"' FROM Category)--, TRIM (LEADING '"' FROM Category) FROM Content

UPDATE Content SET Category = TRIM (TRAILING '"' FROM Category)

UPDATE Content SET Category = TRIM (LEADING '"' FROM Category)

Here CATEGORY is the column name, and CONTENT is the table

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

79307840

Date: 2024-12-25 15:14:30
Score: 0.5
Natty:
Report link

If you've tried this and many other methods, but it still complains about "symbol not found...", you may have missed one last step before you break your computer. I've been trying to mess with dependencies for days, but nothing has happened, except for new errors. If you're at this point, but haven't tried to Invalidate caches and restarting your projects, give it a try. This is the only thing that worked for me.

Java 21.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amadis

79307838

Date: 2024-12-25 15:13:30
Score: 2.5
Natty:
Report link

Your database must have that collection already have been created for the first time. Simply just import that model (no need to use if don't needed), mongoose will create that collection for you in database.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nguyễn Phú Khang

79307836

Date: 2024-12-25 15:12:30
Score: 0.5
Natty:
Report link

This one works for me.

servers:
  server1,
  server2,
  server3
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user3808122

79307830

Date: 2024-12-25 15:11:29
Score: 3.5
Natty:
Report link

Apparently it was a network issue. I made both the S3 bucket and Redshift cluster, publicly accessible, and the COPY command execute successfully in a few minutes.

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

79307826

Date: 2024-12-25 15:07:28
Score: 4.5
Natty:
Report link

I have a project like this with a generic converter

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

79307824

Date: 2024-12-25 15:05:27
Score: 1.5
Natty:
Report link

My problem was in not using source for my LineupSerializer. After adding this the problem got solved and the serialised had access to all objects, including foreign keys in my models:

class LineupSerializer(serializers.ModelSerializer):
    players = LineupPlayerSerializer(source='lineup',many=True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robo Gore

79307812

Date: 2024-12-25 14:58:26
Score: 2
Natty:
Report link

For me, it was necessary to use the official Nuxt extension in VScode!

Even after installing the official extension, I still received the same "error" message.

So I deleted the entire project and installed it again to reconfigure all the tsconfig.json files and the others!

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

79307810

Date: 2024-12-25 14:56:25
Score: 3.5
Natty:
Report link

@axandce 's answer does what is expected, but I have to also clarify a little on his commands used. Instead of using poetry config certificates.pythonhosted.org false, one have to use poetry config certificates.pythonhosted.cert false instead - I have tried it on my machine.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @axandce
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Duo Ling

79307802

Date: 2024-12-25 14:51:24
Score: 2.5
Natty:
Report link

HACK ON.zip 1 Cannot delete output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Metadata/global-metadata.dat

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

79307798

Date: 2024-12-25 14:47:22
Score: 9.5 🚩
Natty: 4.5
Report link

Were you able to solve this problem? I am facing a similar when trying to start the installation process of wordpress using the API Gatway URL.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28931400

79307796

Date: 2024-12-25 14:46:22
Score: 3
Natty:
Report link

Either use asyncpg or psycopg 3.2.3 or any other relevant, because psycopg2 does not support async operation as mentioned in there official document.

What’s new in Psycopg 3

enter image description here

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

79307794

Date: 2024-12-25 14:46:22
Score: 3.5
Natty:
Report link

What Will Be Out of Date?

Should I Be concerned about this?

Yes, if you need consistency between node_modules and pnpm-lock.yaml, especially in workspaces or deployments.


How can I Fix This?

  1. Proper Installation: Run:

    pnpm i
    
  2. Clear and Reinstall:

    rm -rf node_modules
    pnpm i
    
  3. Validate Lockfile:

    rm -rf node_modules pnpm-lock.yaml
    pnpm i
    
  4. Check Workspace Configs: Ensure pnpm-workspace.yaml and lockfile are up to date, then run:

    pnpm i
    
Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How can I Fix This
  • RegEx Blacklisted phrase (1.5): How can I Fix This?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Khribi Wessim

79307782

Date: 2024-12-25 14:38:20
Score: 1
Natty:
Report link

I have found the answer. I used the following code to get this done

// **Handling Checkboxes (last question) separately**

// Fetch checkbox values and filter them based on the options available in the form. var form = FormApp.openById('1gFmmKPZ72O3l1hl93_rxhXwezPVqxNvGISEi7wnDP_o'); // Form ID var checkboxesItem = form.getItems(FormApp.ItemType.CHECKBOX)[0].asCheckboxItem();

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

79307780

Date: 2024-12-25 14:37:20
Score: 3
Natty:
Report link

My guess is to check in on_modified() if isDirectory is true or not

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

79307777

Date: 2024-12-25 14:37:20
Score: 2
Natty:
Report link

ecm's comment is absolutely right - if I write section .text without the colon it works fine and prints Result: 0. A totally silent "error" until the program is run.

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

79307772

Date: 2024-12-25 14:34:19
Score: 2
Natty:
Report link

In my situation, I have two separate projects under the solution. The problem was that these projects were targeting different CPU architectures. You can fix this by changing your projects to target the same CPU architecture.

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

79307769

Date: 2024-12-25 14:33:18
Score: 6 🚩
Natty: 5.5
Report link

how to make this but with both functions have "f" key?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how to
  • Low reputation (1):
Posted by: David Games

79307766

Date: 2024-12-25 14:32:17
Score: 2
Natty:
Report link

@Danish Javed have you fixed the issue yet?

I wrote a blog post on this. The gist of the article are three possible fixes:

Fix 1: Remove the attribution-reporting Directive

If your application does not rely on attribution-reporting, simply remove it from the Permissions-Policy header in your server or hosting configuration.

Fix 2: Ensure Compatibility with Browser Support

If you intend to use attribution-reporting, ensure that your app consider cross-browser quirks. Check for browser support using req.headers['user-agent'] and conditionally add the header:

const userAgent = req.headers['user-agent'];
if (userAgent.includes('Chrome/')) {
  res.setHeader("Permissions-Policy", "attribution-reporting=()");
}

Fix 3: Update or Configure Dependencies

If the header is being added by a dependency (e.g., a library or hosting provider), update the dependency or override its configuration. If you're using Vercel, you might want to use a vercel.json file:

{
    "headers": [
      {
        "source": "/(.*)",
      "headers": [
          {
            "key": "Permissions-Policy",
          "value": "geolocation=(), microphone=()"
        }
      ]
    }
  ]
}
Reasons:
  • RegEx Blacklisted phrase (1.5): fixed the issue yet?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @have
  • Low reputation (0.5):
Posted by: schmark

79307762

Date: 2024-12-25 14:30:17
Score: 3.5
Natty:
Report link

Please try to upload a another file , like JPG or PDF , with MultipartFile and check it out again .

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Saeid Kazemi

79307751

Date: 2024-12-25 14:23:15
Score: 4
Natty:
Report link

You need to change the "Editor: Default Color Decorators" to "always".

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: maximiliem

79307750

Date: 2024-12-25 14:23:14
Score: 6 🚩
Natty:
Report link

Check this link: https://forums.developer.apple.com/forums/thread/17181 You can get your answer there.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mihir Bhojani

79307746

Date: 2024-12-25 14:21:13
Score: 1
Natty:
Report link

You should JSON.parse() the talkjs value.

const respose = {
data: {
talkjs: "{\"message\":{\"id\":\"msg_303fpzqsELNIYT6udk6A52\",\"text\":\"hello\"}}"
}
};

const talkjs = JSON.parse(respose.data.talkjs);

console.log(talkjs.message.text)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Md. Sohel Rana

79307739

Date: 2024-12-25 14:16:13
Score: 1.5
Natty:
Report link

Try to use the absolute path in the redirect function.

Example:

redirect('http://localhost:3000/app')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nithiyanantham S

79307738

Date: 2024-12-25 14:16:13
Score: 1
Natty:
Report link

Look a this example: https://godbolt.org/z/1TYco6xM1

The compiler will store the variable, if volatile, after each modify and read it back again.

If your ISRs are non-concurrent, then you can get away with not making it volatile, since code would not get preempted. The access will be basically atomic.

That said, I would say, if you work not alone on this project, make it volatile. The speed impact will be small, as well as the memory footprint. And most important, if the variable will, at some point, be used at other places as well, you will not have have less issues with concurrent access.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tl-photography.at

79307737

Date: 2024-12-25 14:14:12
Score: 2.5
Natty:
Report link

You can also try Flee Calc, this works as native controller and you can also debug code in runtime: https://github.com/mparlak/Flee

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

79307736

Date: 2024-12-25 14:14:12
Score: 2
Natty:
Report link

That tutorial is outdated already. No need for 'start' command anymore, just run the app and call the 'acv snap ' command (checkout the readme in the acvtool repository).

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

79307731

Date: 2024-12-25 14:12:12
Score: 2.5
Natty:
Report link

in onUserBlock(), you need to return the result of onCompanies()

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

79307727

Date: 2024-12-25 14:07:10
Score: 3.5
Natty:
Report link

I done all this after that also I am facing there was an error while performing this operation

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

79307714

Date: 2024-12-25 14:02:10
Score: 3.5
Natty:
Report link

a=sh.cell(row=i,column=1).value a is not defined here . Error

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

79307706

Date: 2024-12-25 13:58:09
Score: 1
Natty:
Report link

I am no expert with AWS but I once had a similar issue in which the following URL helped me. https://repost.aws/questions/QURxK3sj5URbCQ8U2REZt7ow/images-not-showing-in-angular-application-on-amplify

We did move our images in S3 but the solution of modifying amplify.yml seems a possible way to fix your issue.

Hope this helps fix your issue.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bharat Nagdev

79307699

Date: 2024-12-25 13:55:08
Score: 3.5
Natty:
Report link

The main problem that I had was android:name line in the AndroidManifest.xml was placed wrong

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

79307693

Date: 2024-12-25 13:55:08
Score: 1
Natty:
Report link

I keep getting that same error for the code.

start_cord_df1 <- df1 %>% st_as_sf(coords = c("start_lng", "start_lat "))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lucas Batista

79307676

Date: 2024-12-25 13:47:06
Score: 5.5
Natty:
Report link

rundll32.exe user32.dll,LockWorkStation

Reasons:
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): user32
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shahaf

79307670

Date: 2024-12-25 13:43:05
Score: 1
Natty:
Report link

if you use the swing library you can just use the :

setMnemonic()

but how? suppose you have an JMenu in swing, look at the below:

 JMenu setting = new JMenu("setting");
 setting.setMnemonic('s');

it makes the first letter underline. hope this useful for you.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: noorullahkarimi

79307659

Date: 2024-12-25 13:38:04
Score: 3.5
Natty:
Report link

just restart visual studio code

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

79307646

Date: 2024-12-25 13:29:01
Score: 5.5
Natty: 6.5
Report link

I need to move those markers from one position to another. How to do that? @DonMag

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @DonMag
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ground

79307642

Date: 2024-12-25 13:25:00
Score: 3
Natty:
Report link

I don't know if you are new to embedded coding, but your code is missing a lot, maybe you should start all over again, You can go with online tutorials on youtube.

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

79307638

Date: 2024-12-25 13:23:00
Score: 0.5
Natty:
Report link

These are many enterprises require for tracking GitHub Copilot generated code, in the situation that you are in the enterprise registered GitHub Copilot for Business or Enterprise, you will have few APIs to cover in the organization/team level, not for individual because it is privacy issue.

Metrics API: https://docs.github.com/en/rest/copilot/copilot-metrics?apiVersion=2022-11-28

- date
- total_active_users
- total_engaged_users
- copilot_ide_code_completions
  - total_engaged_users
  - languages
    - name
    - total_engaged_users
  - editors
    - name
    - total_engaged_users
    - models
      - name
      - is_custom_model
      - custom_model_training_date
      - total_engaged_users
      - languages
        - name
        - total_engaged_users
        - total_code_suggestions
        - total_code_acceptances
        - total_code_lines_suggested
        - total_code_lines_accepted
- copilot_ide_chat
  - total_engaged_users
  - editors
    - name
    - total_engaged_users
    - models
      - name
      - is_custom_model
      - custom_model_training_date
      - total_engaged_users
      - total_chats
      - total_chat_insertion_events
      - total_chat_copy_events
- copilot_dotcom_chat
  - total_engaged_users
  - models
    - name
    - is_custom_model
    - custom_model_training_date
    - total_engaged_users
    - total_chats
- copilot_dotcom_pull_requests
  - total_engaged_users
  - repositories
    - name
    - total_engaged_users
    - models
      - name
      - is_custom_model
      - custom_model_training_date
      - total_pr_summaries_created
      - total_engaged_users

Usage API: https://docs.github.com/en/rest/copilot/copilot-usage?apiVersion=2022-11-28

- day
- total_suggestions_count
- total_acceptances_count
- total_lines_suggested
- total_lines_accepted
- total_active_users
- total_chat_acceptances
- total_chat_turns
- total_active_chat_users
- breakdown
  - language
  - editor
  - suggestions_count
  - acceptances_count
  - lines_suggested
  - lines_accepted
  - active_users

For Metrics API, it has repository metrics tracked but only for PR summaries, not for every code generated in the IDE/Editor side. If you would like to looking at more details, you may need to build a forward proxy, where nginx can do TLS Inspection of tracking any package sent through client and GitHub API, as well as any telemetry of VSCode when you are coding for a workspace associated with repository...

To playground before doing that you can take a look at Fiddler to develop any https body part to be tracked, I have my similar answer here you can try with Fiddler initially Why Github Copilot network request not appeared in Visual Studio Code Developer Tools?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Alfred Luu