79475180

Date: 2025-02-28 10:19:39
Score: 2.5
Natty:
Report link

Now getting this issue with Visual Studio Community 2022. Absolutely infuriating. Uninstalled and updated reg as was corrupt. Seems to not want to download from Microsoft for whatever reason.

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

79475178

Date: 2025-02-28 10:18:39
Score: 1
Natty:
Report link

@AndreiG is right. TimelineView exists to avoid things like messing with id to force a refresh.

TimelineView(.periodic(from: .now, by: 1)) { context in
        Text(context.date.formatted(.dateTime.hour().minute().second()))
}

Adjust the formatting as you want.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @AndreiG
Posted by: Cenk Bilgen

79475174

Date: 2025-02-28 10:17:39
Score: 2
Natty:
Report link

I faced the same issue and these simple steps solved it for me: Open Android Studio -> Main Menu -> File -> Invalidate Caches and Restart. Restart the Computer after this, Open Android Studio and good to go!

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

79475172

Date: 2025-02-28 10:16:38
Score: 1
Natty:
Report link

Adding an empty comment line for me works

e.g.

// 
// Command-line arguments definition
#[derive(Parser, Debug)]
#[clap(

YMMV

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

79475164

Date: 2025-02-28 10:14:38
Score: 2
Natty:
Report link

I finally solved my problem. thanks to this issue: https://github.com/tailscale/tailscale/issues/12563 which make me notice the "Override local DNS" setting to which I had not paid attention (greyed out when no global DNS are set).

I removed the restricted DNS entries I had created, set my local DNS as Global DNS, and ticked the "Override local DNS" setting in the DNS section of the Tailscale admin portal. It not works fine.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Olivier Boudry

79475153

Date: 2025-02-28 10:07:37
Score: 1
Natty:
Report link

I found it. It's note.duration.quarterLength.

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

79475138

Date: 2025-02-28 10:02:36
Score: 1.5
Natty:
Report link

I reworked the object created in the Select statement of both queries by specifying separate properties rather than the Instance property and it worked. Still it is strange that EF cannot map Instance object once it is an object from the database.

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

79475131

Date: 2025-02-28 09:58:35
Score: 3.5
Natty:
Report link

It seems that plugins cannot be shared directly between independent modules. Instead, the sharing can only be achieved through inheritance between parent and child modules.

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

79475127

Date: 2025-02-28 09:56:35
Score: 1
Natty:
Report link

Since server version 2.00.6, DolphinDB introduced a tiered storage strategy, which is only applicable to cluster mode. Tiered storage allows older data to be migrated to slower disks or cloud storage (S3). Old data (cold data) stored locally is infrequently accessed but consumes many resources. With tiered storage, cold data can be stored in the cloud or moved from fast disks (e.g., SSDs) to slower disks (e.g., HDDs), effectively saving resources.

The architecture of tiered storage is:

Hot data storage volumes → cold data storage volumes (coldVolumes) → stale data (deleted)

For more information, please refer to docs:https://ci.dolphindb.cn/en/Tutorials/tiered_storage.html

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

79475121

Date: 2025-02-28 09:54:34
Score: 1
Natty:
Report link

It is NOT slow it appears to be slow

CLI spits output word by word immediately after hitting enter. In contrast, 'langchain' collects the entire output first, consuming 15-20 seconds, depending on the length of the response, and then spits out ... Boom... Even subprocess.run() has the same effect.

Workaround:

import os os.system('ollama run llama3.2:1b what is water short answer ') and then run the python script from the terminal: python main.py

Here, you can see output almost immediately as a stream.

Save the output in a text file that can be used in your Python script.

os.system('ollama run llama3.2:1b what is water short answer > output.txt')

to append the text file:

os.system('ollama run llama3.2:1b what is water short answer >> output.txt') I have posted this answer on GitHub as well

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

79475108

Date: 2025-02-28 09:51:32
Score: 13 🚩
Natty: 5.5
Report link

have the same problem, did you fix it?

Reasons:
  • RegEx Blacklisted phrase (3): did you fix it
  • RegEx Blacklisted phrase (1.5): fix it?
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: onlyes

79475107

Date: 2025-02-28 09:51:32
Score: 0.5
Natty:
Report link

Got an answer for it.

if (body == null) {
         if (typeOf<T>().isMarkedNullable) {
             Resource.Success(null as T)
         } else {
             Resource.Error("APi responded with success but there is no data Available.")
         }
     }

I could use the isMarkedNullable function to know if the value can be nullable

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

79475103

Date: 2025-02-28 09:49:31
Score: 1
Natty:
Report link

I needed relative pathes to all files in some "root" folder and came up with that solution with the help of previous answers here

realpath --relative-to=$PATH_TO_DIR "$(find $PATH_TO_DIR -type f)"

One also can cd into directory $PATH_TO_DIR is pointing to, and change $PATH_TO_DIR to .

*This solution works for unix-based systems, where realpath utility is present

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29835183

79475097

Date: 2025-02-28 09:49:31
Score: 1.5
Natty:
Report link

it because the ref_no is using directly in the payload. The body in the payload must be a json object body = {"prepayId": ref_number} body_json = json.dumps(body, separators=(',', ':')) payload = f"{timestamp}\n{nonce}\n{body_json}\n"

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

79475083

Date: 2025-02-28 09:43:30
Score: 0.5
Natty:
Report link

It looks like there's a type mismatch in your Next.js project, possibly due to an issue with how you're exporting or structuring the page.tsx file.

Ensure the File is Named page.tsx

Next.js 13+ requires pages inside app/ to be named page.tsx, not Page.tsx or anything else.

Correct file structure:

app/ dashboard/ manage-users/ page.tsx ✅

❌ Incorrect file name:

app/ dashboard/ manage-users/ Page.tsx ❌ Wrong! Possible Causes: Incorrect Import Usage It looks like you're trying to import a page (page.tsx or page.js) directly into another component. In Next.js, page.tsx files are meant for route handling and aren't typically imported like regular components.

Issue with OmitWithTag and Route Components Next.js page files contain specific properties (config, generateStaticParams, etc.), which TypeScript is trying to omit in a way that results in an invalid type.

Expecting a Record but Getting a Component The error suggests that it's expecting an object with no additional properties ({ [x: string]: never; }), but it's receiving a component or an import that does not match this constraint.

I have changed my page.tsx exports properly and this error disappeared.

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

79475080

Date: 2025-02-28 09:42:30
Score: 0.5
Natty:
Report link

Python 2.7.3 is too old. Upgrade to at least 2.7.9 or better to the latest one, 2.7.18.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: phd

79475074

Date: 2025-02-28 09:41:29
Score: 3.5
Natty:
Report link

You have the two trainable parameters from the network, weight and bias, and there are two non-trainable params from the optimizer. This link explains it pretty well.

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

79475071

Date: 2025-02-28 09:40:29
Score: 1
Natty:
Report link

If the linkedlist has one node, this condition will return True , which indicates that the linkedlist is empty? is that how it suppose to be. I think

def isEmpty(self): 
     return self.head is None

will be better

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

79475070

Date: 2025-02-28 09:40:29
Score: 1.5
Natty:
Report link

Matillion does it all but slightly clunky. There isn't much info online about Matillion to support you, either with Google, Stack, or LLMs. The APIs aren't well documented and the Git integration is very poor. It does work though.

You might want to check out DBT. That's one of the main alternatives (We're switching from Matillion to DBT+airflow).

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

79475066

Date: 2025-02-28 09:39:29
Score: 0.5
Natty:
Report link

I've fixed this issue: Move the rules from job myjob to .template, because SOURCE_PARAMETER and CLASSIFICATION are outside variable for .template:

.template:
  tags:
    - xxx_cicd_test
  allow_failure: false
  script:
    - echo "SOURCE_PARAMETER:$SOURCE_PARAMETER"
    - bash scripts/build.sh $CLASSIFICATION
  rules:
    - if: $SOURCE_PARAMETER == "$CLASSIFICATION"

myjob:
  extends: .template
  parallel:
    matrix:
    - CLASSIFICATION: "param_1"
    - CLASSIFICATION: "param_2"
    - CLASSIFICATION: "param_3" 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: wssbygone

79475065

Date: 2025-02-28 09:38:29
Score: 2.5
Natty:
Report link

Remove node_modules and package-lock.json Run the following command in your terminal: rm -rf node_modules package-lock.json

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

79475062

Date: 2025-02-28 09:37:28
Score: 3
Natty:
Report link

In my case, the issue was caused by an empty factor level in one of my categorical variables. Try to look for empty factor levels with table(dataset$factor_variable)!

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

79475056

Date: 2025-02-28 09:36:28
Score: 1
Natty:
Report link

In Angular Material 19 you can do it this way:

  1. remove original class="mat-elevation-z5" from your component
  2. style it with a box-shadow css variable, for example:

your-component {
    box-shadow: var(--mat-sys-level3);
}

More details in the official docs.

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

79475055

Date: 2025-02-28 09:35:28
Score: 0.5
Natty:
Report link

Optimize the database indexes like this:

ALTER TABLE users ADD INDEX idx_id_active (id, is_active);

Implement eager loading if you're frequently accessing relationships:

protected $with = ['roles', 'permissions'];
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Developer Nilesh

79475048

Date: 2025-02-28 09:33:27
Score: 3
Natty:
Report link

I encountered this same error when testing Keycloak 26.1.0 Login using jmeter 5.6.3.

The response data body shows error - Restart login cookie not found. It may have expired; it may have been deleted or cookies are disabled in your browser. If cookies are disabled then enable them. Click Back to Application to login again.

The keycloak logs shows cookie_not_found error - 2025-02-28 16:52:33,459 WARN [org.keycloak.events] (executor-thread-11) type="LOGIN_ERROR", realmId="28bc2e7e-8095-4c80-b05c-da61c242500c", realmName="myrealm", clientId="testclient1", userId="null", ipAddress="127.0.0.1", error="cookie_not_found"

I also updated Realm Setting-> Security Defenses -> content-security-policy to 'self, them'.

Below is my JMeter Setup under Thread Group. 1. HTTP Cookie Manager 2. HTTP Request for www.keycloak.org/app 3. HTTP Request for localhost:8080/realms/myrealm/protocol/openid-connect/auth and set client_id, redirect_uri, state, response_code, response_type, scope, nonce 4. HTTP Request for localhost:8080/realms/myrealm/login-actions/authenticate?session_code=${session_code}&execution=${execution}&client_id=testclient1&tab_id=${tab_id}&client_data=${client_data}

Are there any special settings required? Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Maynard

79475045

Date: 2025-02-28 09:32:27
Score: 2
Natty:
Report link

I think I found the reason why the missing modules, see: Getting a list of DLLs currently loaded in a process C#

"After CLR v4, the accepted answer will show only unmanaged assemblies."
Using Microsoft.Diagnostics.Runtime will show managed assemblies too. Although the numbers are still different, but now I have all.

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

79475043

Date: 2025-02-28 09:32:27
Score: 1.5
Natty:
Report link

I had a similar issue. In my case, I used a privately hosted repository and was behind my companies proxy. My npm seemed to hang on build sill idealTree, but produced a 503 Service Unavailable after 250 seconds.

The no_proxy setting in the .npmrc was ignored. Adding the url of my repo to the environment variable NO_PROXY solved the issue.

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

79475034

Date: 2025-02-28 09:28:26
Score: 1
Natty:
Report link

The issue was caused by me using a deprecated task: qetza.replacetokens.replacetokens-task.replacetokens. After upgrading from v3 to v6 the secret was hidden.

My original question was missing this detail.

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

79475032

Date: 2025-02-28 09:27:26
Score: 1
Natty:
Report link

You could try creating an SQL class from the string you get, something like:

from psycopg.sql import SQL
...
query = SQL(qb_obj.getFinalQuery())
await acur.execute(query)
...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sergenp

79475027

Date: 2025-02-28 09:25:25
Score: 1.5
Natty:
Report link

Looks like i have a \r character in the input file. Hence the moment i print the API_NAME, the rest of the line gets printed in the next line. When the loop goes through the next iteration, the previously printed line gets over written.

To solve this, i have remove the "\r" char in the API_NAME.

 tr -d '\r'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sudharsan Simhan

79475026

Date: 2025-02-28 09:25:25
Score: 0.5
Natty:
Report link

I have faced the same issue, captureInheritedThemes property is not awailable for Flutter 3.29.0.

You can use showMenu instead of PopupMenuButton. The negative side of showMenu is position should be handled manually.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bekir Taşkın

79475021

Date: 2025-02-28 09:23:25
Score: 2
Natty:
Report link

I've just tried out CodeMaid, and although the automatic formatting didn't do quite what I wanted, it's "CodeMain Spade" view is EXACTLY what I wanted - it shows a list of all your methods in the selected file and you can just drag and drop items around in the list and it automatically

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

79475020

Date: 2025-02-28 09:22:25
Score: 3
Natty:
Report link
this is how my code looks like rn ->

package org.socgen.ibi.effectCalc.jdbcConn

import com.typesafe.config.Config
import org.apache.spark.sql.types._
import org.apache.spark.sql.DataFrame
import org.apache.spark.sql.functions._
import java.sql.{Connection, DriverManager, Statement}
import org.socgen.ibi.effectCalc.logger.EffectCalcLogger
import org.socgen.ibi.effectCalc.common.MsSqlJdbcConnectionInfo

class EffectCalcJdbcConnection(config: Config) {

  private val microsoftSqlserverJDBCSpark = "com.microsoft.sqlserver.jdbc.spark"
  val url: String = config.getString("ibi.db.jdbcURL")
  val user: String = config.getString("ibi.db.user")
  private val pwd: String = config.getString("ibi.db.password")
  private val driverClassName: String = config.getString("ibi.db.driverClass")
  private val databaseName: String = config.getString("ibi.db.stage_ec_sql")
  private val dburl = s"$url;databasename=$databaseName"

  private val dfMsqlWriteOptions = new MsSqlJdbcConnectionInfo(dburl, user, pwd)

  private val connectionProperties = new java.util.Properties()
  connectionProperties.setProperty("Driver", s"$driverClassName")
  connectionProperties.setProperty("AutoCommit", "true")
  connectionProperties.put("user", s"$user")
  connectionProperties.put("password", s"$pwd")
  Class.forName(s"$driverClassName")
  private val conn: Connection = DriverManager.getConnection(dburl, user, pwd)
  private var stmt: Statement = null

  private def truncateTable(table: String): String = {
    "TRUNCATE TABLE " + table + ";"
  }

  private def getTableColumns(
                               table: String,
                               connection: Connection
                             ): List[String] = {
    val columnStartingIndex = 1
    val statement = s"SELECT TOP 0 * FROM $table"
    val resultSetMetaData =
      connection.createStatement().executeQuery(statement).getMetaData
    println("Metadata" + resultSetMetaData)
    val columnToFilter = List("TO ADD")
    (columnStartingIndex to resultSetMetaData.getColumnCount).toList
      .map(resultSetMetaData.getColumnName)
      .filterNot(columnToFilter.contains(_))
  }

  def pushToResultsSQL(ResultsDf: DataFrame): Unit = {
    val resultsTable = config.getString("ibi.db.stage_ec_sql_results_table")

    try {
      stmt = conn.createStatement()
      stmt.executeUpdate(truncateTable(resultsTable))

      EffectCalcLogger.info(
        s" TABLE $resultsTable TRUNCATE  ****",
        this.getClass.getName
      )

      val numExecutors =
        ResultsDf.sparkSession.conf.get("spark.executor.instances").toInt
      val numExecutorsCores =
        ResultsDf.sparkSession.conf.get("spark.executor.cores").toInt
      val numPartitions = numExecutors * numExecutorsCores
      EffectCalcLogger.info(
        s"coalesce($numPartitions)  <---> (numExecutors = $numExecutors) * (numExecutorsCores = $numExecutorsCores)",
        this.getClass.getName
      )

      val String_format_list = List( "accounttype", "baseliiaggregategrosscarryoffbalance", "baseliiaggregategrosscarryonbalance", "baseliiaggregateprovoffbalance", "baseliiaggregateprovonbalance", "closingbatchid", "closingclosingdate", "closingifrs9eligibilityflaggrosscarrying", "closingifrs9eligibilityflagprovision", "closingifrs9provisioningstage", "contractid", "contractprimarycurrency", "effectivedate", "exposurenature", "fxsituation", "groupproduct", "indtypprod", "issuingapplicationcode", "openingbatchid", "openingclosingdate", "openingifrs9eligibilityflaggrosscarrying", "openingifrs9eligibilityflagprovision", "openingifrs9provisioningstage", "reportingentitymagnitudecode", "transfert", "closingdate", "frequency", "batchid"
      )

      val Decimal_format_list = List( "alloctakeovereffect", "closinggrosscarryingamounteur", "closingprovisionamounteur", "exchangeeureffect", "expireddealseffect", "expireddealseffect2", "newproductioneffect", "openinggrosscarryingamounteur", "openingprovisionamounteur", "overallstageeffect", "stages1s2effect", "stages1s3effect", "stages2s1effect", "stages2s3effect", "stages3s1effect", "stages3s2effect"
      )

      val selectWithCast = ResultsDf.columns.map(column => {
        if (String_format_list.contains(column.toLowerCase))
          col(column).cast(StringType)
        else if (Decimal_format_list.contains(column.toLowerCase))
          col(column).cast(DoubleType).cast(DecimalType(30, 2))
        else col(column)
      })

      print(s"This is selectWithCast for Results Table: $selectWithCast")

      val ResultsDfWithLoadDateTime =
        ResultsDf.withColumn("loaddatetime", current_timestamp())

      print(
        s"this is ResultsDfWithLoadDateTime: \n ${ResultsDfWithLoadDateTime.show(false) }"
      )

      val orderOfColumnsInSQL = getTableColumns(resultsTable, conn)

      print(s"This is order of columns for results table: $orderOfColumnsInSQL")

      EffectCalcLogger.info(
        s" Starting writing to $resultsTable table ",
        this.getClass.getName
      )

      ResultsDfWithLoadDateTime.select(selectWithCast: _*).select(orderOfColumnsInSQL.map(col): _*).coalesce(numPartitions).write.mode(org.apache.spark.sql.SaveMode.Append).format(microsoftSqlserverJDBCSpark).options(dfMsqlWriteOptions.configMap ++ Map("dbTable" -> resultsTable)).save()

      EffectCalcLogger.info(
        s"Writing to $resultsTable table completed ",
        this.getClass.getName
      )
      conn.close()
    } catch {
      case e: Exception =>
        EffectCalcLogger.error(
          s"Exception has been raised while pushing to $resultsTable:" + e
            .printStackTrace(),
          this.getClass.getName
        )
        throw e
    }

  }
  
  --------------------------------
  
  now in this above code I want to not include the loaddatetime into the ResultsDf and rather exclude it from orderOfColumnsInSQL, can you tell me how it can be done
Reasons:
  • RegEx Blacklisted phrase (2.5): can you tell me how
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arun Rathod

79475019

Date: 2025-02-28 09:22:25
Score: 1.5
Natty:
Report link

As mentioned from @slippman the regex matcher also works for single attributes. So if you expect an object it can look like the following:

File.should_receive(:read.with({ foo: 'bar', other: /anybar/ }).and_return ""
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @slippman
  • Low reputation (0.5):
Posted by: ChrKahl

79475007

Date: 2025-02-28 09:16:23
Score: 1
Natty:
Report link

cp -L allows you to follow symbolic links when copying files. Just cp -L huggingface/hub/<YOUR_REPO>/snapshots/<HASH> <DESTINATION_PATH>. You can also use --reflink to avoid extra usage of a copy.

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

79474992

Date: 2025-02-28 09:11:22
Score: 1.5
Natty:
Report link

Just put ARIAL.TTF to your resources folder and add next line to jrxml:

<style name="Default" isDefault="true" pdfFontName="ARIAL.TTF" pdfEncoding="Cp1251"/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oleg Derivedmed

79474987

Date: 2025-02-28 09:08:22
Score: 0.5
Natty:
Report link
<SafeAreaView style={{flex: 1}}>
  <ScrollView style={{flex: 1}}>
    {/* add your content inside ScrollView here */}
  </ScrollView>

ScrollView from react-native

Could you try to run this first, and just add normal tag on the content inside scrollview to check ability to scroll

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

79474984

Date: 2025-02-28 09:04:21
Score: 2
Natty:
Report link

You could flush each item of your list. Otherwise you will have go over the transaction manager and initiate a transaction for each item. Then flush it, close the transaction and start all over again.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Σωτήρης Ραφαήλ

79474980

Date: 2025-02-28 09:02:20
Score: 3.5
Natty:
Report link

My solution to the problem:

=CONVERT(D22;"kg";"ton")/1,10231

Works just fine :D

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

79474974

Date: 2025-02-28 09:02:20
Score: 4
Natty:
Report link

enter image description here

This is my current test number and we show the business name here what problem is for approve the business name

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jay

79474964

Date: 2025-02-28 08:58:19
Score: 1
Natty:
Report link

To properly remove Flutter, I suggest strictly following this official documentation: Uninstall Flutter

On the other hand, to reinstall/install Flutter, here's how: Choose your development platform to get started

I hope it helps!

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: DevQt

79474959

Date: 2025-02-28 08:55:18
Score: 1
Natty:
Report link

First, use dropPartition (or use dropRecoveringPartitions from the ops module) to forcefully remove partitions from each table, and then use dropDatabase to delete the entire database.

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

79474958

Date: 2025-02-28 08:54:18
Score: 0.5
Natty:
Report link

Changing parameter names solved the problem.

spring.jpa.properties.hibernate.cache.use_second_level_cache=true
spring.jpa.properties.hibernate.cache.region.factory_class=org.hibernate.cache.jcache.internal.JCacheRegionFactory
spring.jpa.properties.hibernate.javax.cache.provider=org.ehcache.jsr107.EhcacheCachingProvider
spring.jpa.properties.hibernate.javax.cache.uri=ehcache.xml
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Olek

79474957

Date: 2025-02-28 08:54:17
Score: 5
Natty: 4.5
Report link

Look here: Live-coding tutorial in osci-render using Lua https://www.youtube.com/watch?v=vbcLFka4y1g

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user5713140

79474955

Date: 2025-02-28 08:54:17
Score: 0.5
Natty:
Report link

try something like :

manipulate the data manually using plain javascript inside switchMap and return it with rxjs.of

arrayDataObservable$.pipe(
    bufferTime(1000),
    switchMap((bufferd) => {
        // manually defined data manipulation
        const groupedObj = Object.groupBy(bufferedVal, el => Object.values(el).join(''));
        const filteredDistinctValues = Object.values(groupedObj).map(el => el[0]);
        // Object.groupBy doesnt respect the original array sort order, filtering from 
        const distinctValues = bufferdVal.filter(el => filteredDistinctValues.includes(el))
        return of(...distinctValues)
    }),
)

the data manipulation function could be optimized, just use mine as reference

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: aii-yin

79474954

Date: 2025-02-28 08:54:17
Score: 1
Natty:
Report link

import os import hashlib

List of known malware hashes

malware_hashes = [ "d41d8cd98f00b204e9800998ecf8427e", # Example hash "5d41402abc4b2a76b9719d911017c592" # Example hash ]

def calculate_hash(file_path): sha1 = hashlib.sha1() with open(file_path, 'rb') as f: while chunk := f.read(8192): sha1.update(chunk) return sha1.hexdigest()

def scan_directory(directory): for root, _, files in os.walk(directory): for file in files: file_path = os.path.join(root, file) file_hash = calculate_hash(file_path) if file_hash in malware_hashes: print(f"Malware detected: {file_path}") os.remove(file_path) print(f"Malware removed: {file_path}")

Scan the current directory

scan_directory(".")

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

79474951

Date: 2025-02-28 08:53:17
Score: 3
Natty:
Report link

You can change this behavior in the watch settings. Go to Settings -> Display -> Show last app and change it to Within 1 hour.

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

79474947

Date: 2025-02-28 08:52:17
Score: 1
Natty:
Report link

you are simply not passing it the required args when calling connect_snowflake

connsnf = connect_snowflake()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Phingston

79474946

Date: 2025-02-28 08:51:16
Score: 0.5
Natty:
Report link

You should add a slash to the beginning of the Rewrite action url, otherwise the path to index.html will be obtained relatively, i.e. it will be rewritten with /sign-in/index.html, in your example.

<action type="Rewrite" url="/index.html" />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: OverSamu

79474945

Date: 2025-02-28 08:51:16
Score: 3
Natty:
Report link

j'ai le même soucis et aprés avoir téléchargé nightly j'ai eu ::Unable to lancnh browser:"Timed out for browser connection"

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

79474944

Date: 2025-02-28 08:50:16
Score: 1
Natty:
Report link

Achieving healthy, glowing skin isn’t about using tons of products—it’s about using the right ones! Natural beauty products enriched with niacinamide, salicylic acid, and botanical extracts can transform your skin.

At Mea Bloom, we bring you organic skincare essentials designed for deep nourishment, hydration, and protection.

skincare exfoliate Night Cream Body care White Glow beauty products skin brightening skin cleanser oily skin cleanser niacinamide serum best face wash for men salicylic acid face wash sunscreen spf 50 Hydrating facial India Skin Products skin care kit toner Best Skin care Product sun protection Sunscreen best sunscreen https://www.meabloom.com/

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

79474941

Date: 2025-02-28 08:49:16
Score: 1
Natty:
Report link

Addition to miken32' s answer; you can change the font type as well.

  1. Click the settings from the bottom left.
  2. Change Notebook › Output: Font Family
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sam Oz

79474936

Date: 2025-02-28 08:46:15
Score: 4
Natty:
Report link

Above solution didn't work in my case,

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

79474934

Date: 2025-02-28 08:45:15
Score: 1.5
Natty:
Report link

These commands helped me

minikube delete
minikube start --driver=docker
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: mascai

79474928

Date: 2025-02-28 08:41:14
Score: 1.5
Natty:
Report link

I got this one to work:

from openai import OpenAI
client = OpenAI(api_key=OPENAI_API_KEY)
response = client.chat.completions.create(... 

I hope it solves the issue.

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

79474919

Date: 2025-02-28 08:38:14
Score: 1.5
Natty:
Report link

You can use Soundex to find similar sounding or pronunciation but different spellings. Maybe this is what you wanted.

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

79474918

Date: 2025-02-28 08:38:14
Score: 3
Natty:
Report link

(UPDATE). I executed the same application on another pc (a new windows virtual machine to be precise) and fortunately it returned no errors. Maybe something else was going wrong, because the problem seems not to be code related at this point.

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

79474916

Date: 2025-02-28 08:37:13
Score: 0.5
Natty:
Report link

Since it has been asked

How to force pull using this method ?

 repo = git.Repo('repo_path')
 repo.git.pull('--force')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: serv-inc

79474914

Date: 2025-02-28 08:36:13
Score: 3.5
Natty:
Report link

yes !!!!! that is an interesting questions

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

79474909

Date: 2025-02-28 08:31:12
Score: 0.5
Natty:
Report link

On NextJS v15, update next.config.js as follows:

/** @type {import('next').NextConfig} */
const nextConfig = {
  serverExternalPackages: ['pdf-parse'],
};

module.exports = nextConfig;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jgithaiga

79474908

Date: 2025-02-28 08:31:12
Score: 3.5
Natty:
Report link

Is this what you want?

let string = "\(type(of: 4))"
print(string) // Int
print(string == "Int") // true
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • Low reputation (0.5):
Posted by: saucym

79474888

Date: 2025-02-28 08:24:10
Score: 1.5
Natty:
Report link
  1. Tool Calling Tool Calling allows the AI agent to invoke external functions (tools) dynamically based on the user's query.

  2. MCP (Multi-step Conversational Planner) MCP enables the AI agent to break down complex user queries into multiple sequential steps. It plans and executes a series of actions to fulfill the request.

https://red9systech.com/

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

79474881

Date: 2025-02-28 08:20:09
Score: 0.5
Natty:
Report link

I believe the filament blog is causing the issue.

Make sure that you have your filamentblog.route.prefix enabled, or configured to a different route. If not, then it will cause conflict with the rest of your routes.

Check the documentation here.

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

79474871

Date: 2025-02-28 08:16:08
Score: 1
Natty:
Report link

The fault I saw in the code is just the pin (0) mentioned in the attachInterrupt function.. It should be as same as the FLOW SENSOR PIN. its hard coded as 0 ( and there is a FLOWSENSORPIN defined as 2.

Also for what Juan asked. SF800 sensor needs 2.2K resistor from the sensor pin to be pulled up to the power (5V). the sensor grounds it when there is data from the sensor.

Hope this works.

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

79474868

Date: 2025-02-28 08:14:08
Score: 2.5
Natty:
Report link

I have written a complete multi-module example that allows the aspects provided by other modules to weave into the classes of this module, and it also works properly in Spring Beans: https://github.com/Naratsuna/AspectJ-Maven-Plugin-In-Multi-Module.git

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

79474866

Date: 2025-02-28 08:13:07
Score: 0.5
Natty:
Report link

I have created fully working example here

Demo: Organization chart demo

CODE:

point: {
    events: {
      click: function () {
        // Build a map of 'from' to 'to' relationships for quick lookups
        const hierarchy = this.series.chart.series[0].data.reduce(
          (acc, { from, to }) => {
            if (!acc[from]) {
              acc[from] = [];
            }
            acc[from].push(to);
            return acc;
          },
          {}
        );

        // Function to find all children recursively
        const findChildren = (key) => {
          const children = hierarchy[key] || [];
          return children.concat(
            ...children.map((child) => findChildren(child))
          );
        };

        // Get all children for the current node
        const childIds = findChildren(this.id);

        // Filter the relevant child nodes based on 'to' values
        const children = this.series.chart.series[0].data.filter(
          ({ options: { to } }) => childIds.includes(to)
        );

        // Check if all child nodes are visible
        const allVisible = children.every((child) => child.visible);

        // Toggle visibility of child nodes
        children.forEach((child) => {
          const isVisible = !allVisible;
          child.setVisible(isVisible, false);

          const node = this.series.nodeLookup[child.to];
          if (node) {
            isVisible ? node.graphic.show() : node.graphic.hide();
            isVisible ? node.dataLabel.show() : node.dataLabel.hide();
          }
        });

        // Redraw the chart to reflect changes
        this.series.chart.redraw();
      },
    },
  }

Thanks @Sebastian, I refereed your solution for implementation

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Sebastian
  • Low reputation (0.5):
Posted by: Amol Ghatol

79474865

Date: 2025-02-28 08:13:07
Score: 1
Natty:
Report link

The error (#131037) "WhatsApp provided number needs display name approval before message can be sent." indicates that your phone number's display name has not been fully approved by WhatsApp, even if it appears as successfully set via the API.

Steps to Resolve:

1️⃣ Check Display Name Status in Meta Business Manager: Go to Meta Business Manager → WhatsApp Accounts Select your account and navigate to Phone Numbers Verify if the display name is "Approved" or still "In Review"

2️⃣ Verify the Display Name Requirements: Ensure your display name follows WhatsApp’s Display Name Guidelines Matches your business branding Doesn’t include special characters or misleading words

3️⃣ Manually Request Approval: If the name is still pending, try re-submitting for approval: Navigate to Meta Business Manager → WhatsApp Manager → Phone Numbers Click Edit Display Name and re-submit

4️⃣ Check API Settings & Refresh Access Token: Ensure the correct phone number ID is being used Refresh the API token and retry sending the message

5️⃣ Contact Meta Support: If the issue persists after 24-48 hours, raise a support ticket via Meta Business Support

Reasons:
  • Blacklisted phrase (0.5): Contact Me
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: khayati Shah

79474863

Date: 2025-02-28 08:13:07
Score: 3
Natty:
Report link

git --no-pager log

also for $git show:

git --no-pager show

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

79474862

Date: 2025-02-28 08:12:07
Score: 0.5
Natty:
Report link

I want to improve the code. It would nice to let the code do several dxf one for each configuration of the piece wiyh the name of the file and the configuration. The code is the following one:

 Enum SheetMetalOptions_e
    None = 0
    Geometry = 1
    HiddenEdges = 2
    BendLines = 4
    Sketches = 8
    CoplanarFaces = 16
    LibraryFeatures = 32
    FormingTools = 64
    BoundingBox = 2048
End Enum

Sub Main()
    ' Connect to SolidWorks
    Dim swApp As SldWorks.SldWorks
    Set swApp = Application.SldWorks
    
    ' Connect to the active model
    Dim swModel As ModelDoc2
    Set swModel = swApp.ActiveDoc
    
    ' Validate a model is open
    If swModel Is Nothing Then
        swApp.SendMsgToUser2 "Open a part to run this macro", swMessageBoxIcon_e.swMbStop, swMessageBoxBtn_e.swMbOk
        Exit Sub
    End If
    
    ' Validate the open model is a part document
    If swModel.GetType <> swDocumentTypes_e.swDocPART Then
        swApp.SendMsgToUser2 "This macro only runs on part documents", swMessageBoxIcon_e.swMbStop, swMessageBoxBtn_e.swMbOk
        Exit Sub
    End If
    
    Dim swPart As PartDoc
    Set swPart = swModel
    
    ' Get the file path
    Dim filePath As String
    filePath = swModel.GetPathName 'WARNING: this will be an empty string if the part document has not been saved
    
    ' Validate the file has been saved
    If filePath = "" Then
        swApp.SendMsgToUser2 "Save the part document before running this macro", swMessageBoxIcon_e.swMbStop, swMessageBoxBtn_e.swMbOk
        Exit Sub
    End If
    
    ' Get the configurations
    Dim swConfigMgr As ConfigurationManager
    Set swConfigMgr = swModel.ConfigurationManager
    Dim configNames As Variant
    configNames = swConfigMgr.GetConfigurationNames
    
    ' Define sheet metal information to export
    Dim sheetMetalOptions As SheetMetalOptions_e
    sheetMetalOptions = Geometry Or HiddenEdges Or BendLines
    
    ' Loop through each configuration and export to DXF
    Dim i As Integer
    For i = LBound(configNames) To UBound(configNames)
        Dim configName As String
        configName = configNames(i)
        swConfigMgr.ActiveConfiguration = configName
        
        ' Build the new file path
        Dim pathNoExtension As String
        Dim newFilePath As String
        pathNoExtension = Left(filePath, Len(filePath) - 6) 'WARNING: this assumes the file extension is 6 characters (sldprt)
        newFilePath = pathNoExtension & "_" & configName & ".dxf"
        
        ' Export the DXF
        Dim success As Boolean
        success = swPart.ExportToDWG2(newFilePath, filePath, swExportToDWG_e.swExportToDWG_ExportSheetMetal, True, Nothing, False, False, 0, Nothing)
        
        ' Report success or failure to the user
        If success Then
            swApp.SendMsgToUser2 "The DXF for configuration " & configName & " was exported successfully", swMessageBoxIcon_e.swMbInformation, swMessageBoxBtn_e.swMbOk
        Else
            swApp.SendMsgToUser2 "Failed to export the DXF for configuration " & configName, swMessageBoxIcon_e.swMbStop, swMessageBoxBtn_e.swMbOk
        End If
    Next i
End Sub
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Juan Mariezcurrena

79474854

Date: 2025-02-28 08:09:06
Score: 3.5
Natty:
Report link

As an alternative, I described a solution using Power Automate to extract artifact from Azure Pipeline and upload to SharePoint: How to extract files from Azure Pipeline artifacts using Power Automate

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

79474853

Date: 2025-02-28 08:09:06
Score: 5
Natty:
Report link

Found a Template Script on github that works for just fine for how or what I need.

https://github.com/DomGries/InnoDependencyInstaller

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Peety

79474852

Date: 2025-02-28 08:08:06
Score: 3
Natty:
Report link

insert into tblTemp(ID,[Name]) values(23,'Asad Ullah')

select SCOPE_IDENTITY()

do,t work

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

79474845

Date: 2025-02-28 08:03:05
Score: 1.5
Natty:
Report link

Android emulator runs behind a "virtual router" that isolates it from your development machine network.

Depending on you use case and machine network configuration, you could try using network redirection: https://developer.android.com/studio/run/emulator-networking

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: pcba-dev

79474844

Date: 2025-02-28 08:03:05
Score: 0.5
Natty:
Report link

It's because, as specified in the docs, the $_POST variable holds only data sent

using application/x-www-form-urlencoded or multipart/form-data as the HTTP Content-Type in the request.

If you're sending JSON data you need to manually decode the body:

$body = json_decode(file_get_contents('php://input'), true);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aayla Secura

79474840

Date: 2025-02-28 08:02:04
Score: 10 🚩
Natty: 5.5
Report link

Did you find a way with this ? I'm facing the same issue.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you find a way
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find a
  • Low reputation (1):
Posted by: Dagg

79474839

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

Check these sites https://cwiki.apache.org/confluence/display/NIFI/Deprecated+Components+and+Features and https://issues.apache.org/jira/browse/NIFI-13596

  • Renamed DistributedMapCacheServer to MapCacheServer
  • Renamed DistributedSetCacheServer to SetCacheServer
  • Renamed DistributedMapCacheClientService to MapCacheClientService
  • Renamed DistributedSetCacheClientService to SetCacheClientService
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: tonykoval

79474838

Date: 2025-02-28 08:02:04
Score: 0.5
Natty:
Report link

You can achieve this by using Vue's v-for directive along with @mouseover and @mouseleave events to track which item is being hovered.

<template>
  <div>
    <div
      v-for="(item, index) in items"
      :key="index"
      class="list-item"
      @mouseover="hoverIndex = index"
      @mouseleave="hoverIndex = null"
    >
      {{ item }}
      <button v-if="hoverIndex === index" @click="deleteItem(index)">Delete</button>
    </div>
  </div>
</template>

<script setup>
import { ref } from 'vue';

const items = ref(["Item 1", "Item 2", "Item 3"]);
const hoverIndex = ref(null);

const deleteItem = (index) => {
  items.value.splice(index, 1);
};
</script>

<style scoped>
.list-item {
  padding: 10px;
  border: 1px solid #ccc;
  margin: 5px;
  position: relative;
  display: flex;
  justify-content: space-between;
}

button {
  background-color: red;
  color: white;
  border: none;
  cursor: pointer;
}
</style>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mouseover
  • User mentioned (0): @mouseleave
  • Low reputation (0.5):
Posted by: Vishal Solanki

79474830

Date: 2025-02-28 07:55:03
Score: 0.5
Natty:
Report link
  1. Open the AWS Console
  2. Click on your username near the top right and select Security Credentials
  3. Click on Users in the sidebar
  4. Click on your username
  5. Click on the Security Credentials tab
  6. Click Create Access Key
  7. Click Show User Security Credentials

Make use of my JS script with your crendetials to get the db data saved in your local in json format.

https://github.com/atchyutn/scripts/blob/master/dynamoDBExport.js

Reasons:
  • No code block (0.5):
Posted by: Atchyut Nagabhairava

79474826

Date: 2025-02-28 07:52:02
Score: 1
Natty:
Report link

I always face with this issue and solve it by resetting or resolving packages. Sometimes clearing derived data or reopening Xcode works just fine. However this time my issue didn't solved by these. The problem was a misconfigured swift package. After deleting the broken package, everything went back to normal.

So If solutions above not working, check your packages.

enter image description here

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

79474791

Date: 2025-02-28 07:32:59
Score: 2
Natty:
Report link

All iOS and iPadOS apps uploaded to App Store Connect must be built with a minimum of Xcode 15 and the iOS 17 SDK. Starting April 2025, all iOS and iPadOS apps uploaded to App Store Connect must be built with the iOS 18 SDK with Xcode 16

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

79474788

Date: 2025-02-28 07:31:58
Score: 2
Natty:
Report link

You have to add that port in the inbound rule in the remote computer. It will work. You don't have to add outbound to local computer.

Don't Use ollama.generate instead use client.generate

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

79474787

Date: 2025-02-28 07:31:58
Score: 1.5
Natty:
Report link

It looks like the Origin data for www.halfords.com is missing in PageSpeed Insights since September 10, 2024. This usually happens when Google’s Chrome User Experience Report (CrUX) doesn’t have enough real-user data for the domain.

Here are a few possible reasons:

Insufficient traffic – CrUX requires a minimum volume of Chrome users to collect field data. If traffic dropped or Google adjusted its thresholds, it might have stopped collecting Origin-level data. Changes in Google's data collection – Sometimes, domains stop being eligible due to internal Google updates. Meanwhile, www.halfords.ie may still meet the criteria. Site changes – Check if any redirects, security headers (CSP), or site settings changed that could prevent Google from gathering metrics. Delay in CrUX updates – CrUX data is updated monthly, so it may return in the next update. What You Can Do: Check Google Search Console → Look at Core Web Vitals reports to see if field data is available there. Use Lighthouse or WebPageTest → These provide lab data for performance analysis. Wait for CrUX updates → If the issue is temporary, data might return in the next update cycle. If you need Origin-level data urgently, consider using Real User Monitoring (RUM) tools or tracking Web Vitals manually with chrome.web-vitals.

Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • RegEx Blacklisted phrase (2): urgently
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pavlo Kirilyuk

79474785

Date: 2025-02-28 07:31:58
Score: 1
Natty:
Report link

For those using JavaScript, you need to create a jsconfig.json file in the root of your project and paste the following code:

{

"compilerOptions": { // ... "baseUrl": ".", "paths": { "@/": [ "./src/" ] } // ... } }

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

79474771

Date: 2025-02-28 07:24:57
Score: 1
Natty:
Report link

Even I could not reproduce your problem, I would try to give some directions to check the possible ways. I use VS2022 and oneAPI ifort/ifx, however not in a link, and my VS2022/C++ projects use simple resources without links to windows headers.

  1. To check which (resource) file refers to winres.h. Try to delete this include line.

  2. To check if a correct directory with winres.h is mentioned in the Configuration Properties->Resources->General->"Additional Standard Include Path".

  3. To check if the resulting string of include directories does not exceed 512 symbols.

  4. To google deeper "Resource Compiler Fatal Error RC1015".

Useful link: fatal error RC1015

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

79474760

Date: 2025-02-28 07:16:56
Score: 2.5
Natty:
Report link

Bashar, did get any other tips for improvement?

I am also trying to do the same thing, smaller table on BQ has 89K rowkey and trying to join with BQ External table of BT where the BT table has 250 million rowkeys. It is taking quite a while, I would have expected it to be able to use the rowkeys and directly hit the records on BT pretty fast, but it seems like it is doing a FULL-SCAN of BT.

Wondering if it is something to do with PREDICATE not being pushed to the query plan or some naming convention issue (although I have named the column as 'rowkey')

Here is what my query plan looks like on BQ: enter image description here

Reasons:
  • Blacklisted phrase (1): trying to do the same
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vivek Sharma

79474751

Date: 2025-02-28 07:11:55
Score: 0.5
Natty:
Report link

Double-check analysis_options.yaml You've already added this, but just to be sure, make sure it's correctly formatted:

yaml Copy Edit analyzer: exclude: - "**/*.g.dart"

linter: rules: require_trailing_commas: true Also, make sure this file is in the root of your Flutter project.

  1. Disable Auto-Formatting on Save VSCode's built-in formatter might be forcing its own rules. Try turning off auto-formatting:

Open VSCode settings (Ctrl + ,) Search for “Format On Save” and turn it off json Copy Edit "editor.formatOnSave": false Instead of letting VSCode auto-format, run this manually: lua Copy Edit dart format --fix . 3. Check Your Dart SDK Version Dart updates sometimes change how the formatter works. Make sure you’re using the latest stable version by running:

css Copy Edit dart --version If it’s outdated, update it using:

nginx Copy Edit flutter upgrade 4. Try Using a Different Formatter The default Dart formatter (dart_style) has strict rules, and it might not respect require_trailing_commas. If that’s the case, you may need a custom formatter or an extension that allows more control over formatting behavior.

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

79474735

Date: 2025-02-28 07:05:53
Score: 1
Natty:
Report link

As @Siguza said it is not possible to debug the EL3 registers from EL2. But I found a solution for my problem. It is possible to tell gdb which registers to fetch by creating a XML file like this:

<?xml version="1.0"?>
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
  <architecture>aarch64</architecture>
  <feature name="org.gnu.gdb.aarch64.core">
    <reg name="x0" bitsize="64"/>
    <reg name="x1" bitsize="64"/>
    <reg name="x2" bitsize="64"/>
    <reg name="x3" bitsize="64"/>
    <reg name="x4" bitsize="64"/>
    <reg name="x5" bitsize="64"/>
    <reg name="x6" bitsize="64"/>
    <reg name="x7" bitsize="64"/>
    <reg name="x8" bitsize="64"/>
    <reg name="x9" bitsize="64"/>
    <reg name="x10" bitsize="64"/>
    <reg name="x11" bitsize="64"/>
    <reg name="x12" bitsize="64"/>
    <reg name="x13" bitsize="64"/>
    <reg name="x14" bitsize="64"/>
    <reg name="x15" bitsize="64"/>
    <reg name="x16" bitsize="64"/>
    <reg name="x17" bitsize="64"/>
    <reg name="x18" bitsize="64"/>
    <reg name="x19" bitsize="64"/>
    <reg name="x20" bitsize="64"/>
    <reg name="x21" bitsize="64"/>
    <reg name="x22" bitsize="64"/>
    <reg name="x23" bitsize="64"/>
    <reg name="x24" bitsize="64"/>
    <reg name="x25" bitsize="64"/>
    <reg name="x26" bitsize="64"/>
    <reg name="x27" bitsize="64"/>
    <reg name="x28" bitsize="64"/>
    <reg name="x29" bitsize="64"/>
    <reg name="x30" bitsize="64"/>
    <reg name="sp" bitsize="64"/>
    <reg name="pc" bitsize="64"/>
  </feature>
</target>

And tell gdb to use the target description using the set tdesc filename <target>.xml command.

After adding this command to my launch.json file VSCode was able to fetch the specified registers in EL3 and EL2 mode.

launch.json

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Attach",
            "type": "cppdbg",
            "cwd": "${workspaceFolder}",
            "request": "launch",
            "program": "${workspaceFolder}/kernel8.elf",
            "MIMode": "gdb",
            "miDebuggerPath": "C:\\Tools\\arm-gnu-toolchain\\bin\\aarch64-none-elf-gdb.exe",
            "miDebuggerArgs": "kernel8.elf",
            "targetArchitecture": "arm64",
            "setupCommands": [
                { "text": "target remote :3333" },
                { "text": "monitor init" },
                { "text": "monitor reset halt" },
                //{ "text": "monitor arm semihosting enable" },
                { "text": "load C:/Dev/baremetal/kernel8.elf" },
                { "text": "set tdesc filename C:/Dev/baremetal/target.xml" },
                { "text": "break *0x80000" },
                //{ "text": "monitor reg x0 0x1" },
            ],
            "logging": {
                "trace": true,
                "engineLogging": true,
                "programOutput": true,
                "traceResponse": true
            },
            "externalConsole": false
        }
    ]
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Siguza
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Johnny Bakker

79474727

Date: 2025-02-28 07:02:52
Score: 2
Natty:
Report link

VersionCode: 3100

VersionName: 6.0.0

ColorOS Version: UNKNOW

Mobile MODEL: RMX1911

Android Version: 10

Android AΡΙ: 29

getNetworkTypeName: mobile

WindowWidth And WindowHeight: 720*1456

WindowDensity:2.0

System's currenTimeMillis: 1715520224958

TimeZone:

libcore.util.ZoneInfo[id="Asia/Kolkata", mRawOffset=

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

79474720

Date: 2025-02-28 07:00:52
Score: 1.5
Natty:
Report link

Just to clarify, is it not possible to put a checkbox beside text in a single cell? I saw that you could create a strikebox, but I don't think that's what the OP meant. Pretty sure he meant the same thing I do.

For example:

TextDescribingCheckbox[Checkbox]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jayce Sausa

79474719

Date: 2025-02-28 06:59:52
Score: 3
Natty:
Report link

For me console log were huge so I wrote a small java program to download the file based on consoleview url. https://github.com/rakesh-singh-samples/read-jenkins-log/blob/main/ReadJenkinsConsoleLog.java

NOTE: Update place holder in code to provide path & credentials

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

79474717

Date: 2025-02-28 06:57:51
Score: 1
Natty:
Report link

I would suggest anyone who is facing this log/prints not coming in azure appservice console can use this:

print("Some information...", data, flush=True)

That's it and it will solve all your issues. 🚀

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

79474715

Date: 2025-02-28 06:56:51
Score: 3
Natty:
Report link

For me console log were huge so I wrote a small java program to download the file based on consoleview url. https://github.com/rakesh-singh-samples/read-jenkins-log/blob/main/ReadJenkinsConsoleLog.java

NOTE: Update place holder in code to provide path & credentials

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

79474714

Date: 2025-02-28 06:56:51
Score: 2
Natty:
Report link

Because sometimes the system defaults to the service being disabled.

  1. Press "win + R", enter "service.msc", and open the service control panel.
  2. Find the "OpenSSH Authentication Agent" service in it, set it to "Manual", and everything will work fine. image description
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mark

79474713

Date: 2025-02-28 06:56:51
Score: 0.5
Natty:
Report link

The path doesn't fit for Windows /var/lib/mysql-keyring/component_keyring_file. You'll have to change it to fit your setup.

Is it the full error log? If not, could you please publish the full error as it will help to better understand the problem

In addition, maybe the solution described here will be relevant for you. Mind that it is about setup in docker, meaning Linux environment instead of Windows.

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

79474710

Date: 2025-02-28 06:53:50
Score: 2
Natty:
Report link

I found "project_name": "file:" in my package.json. I tried to delete it, but it kept reappearing automatically after saving.

Then, I tried running npm unlink project_name, and that solved the issue.

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

79474709

Date: 2025-02-28 06:52:50
Score: 1.5
Natty:
Report link

It seems that the issue is open for at least five years and no one is working seriously on it. Alas, there is a workaround function transform described here: https://github.com/sympy/sympy/issues/27164

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

79474706

Date: 2025-02-28 06:49:49
Score: 1
Natty:
Report link

This simply checks for duplicates in an array using Set introduced in ES2015 spec

const duplicatesValueExist = (values) => new Set(values).size !== values.length;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mosidrum

79474690

Date: 2025-02-28 06:35:46
Score: 1
Natty:
Report link

The only thing that worked for me is tskill.exe $YOUR_PROCESS_ID$.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: one_teach_wonder

79474689

Date: 2025-02-28 06:35:46
Score: 4
Natty: 4.5
Report link

latest vscode has some issue on offline evironment.

see, https://github.com/microsoft/vscode/issues/231029

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

79474688

Date: 2025-02-28 06:33:46
Score: 0.5
Natty:
Report link

haha, use to have the same problem.

try to use the concurrent.futures.ThreadPoolExecutor along with as_completed to deal with it.

Use ThreadPoolExecutor to instantiate a thread pool object. Pass the max_workers parameter to set the maximum number of threads that can run concurrently in the thread pool.

you can use such as submit,cancel,result to check if a task is finished, they require constantly polling in the main thread, which can be inefficient. Sometimes, we only need to know when a task finishes in order to fetch its result, rather than continuously checking each task. This is where the as_completed() method comes in handy, as it allows retrieving the results of all tasks once they are completed. The as_completed() method is a generator that blocks until a task is completed. When a task finishes, it yields the task, allowing the main thread to process it. After processing, the generator will continue blocking until all tasks are finished. As shown in the results, tasks that complete first will notify the main thread first.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: bigmacsetnotenough