79348391

Date: 2025-01-11 15:39:33
Score: 2.5
Natty:
Report link

As Lewis mentioned above yfinance has rate limits to prevent abuse. What you are trying to achieve can be done without using the API. I have spent quite an amount of time working on alternatives. Please feel free to check out the python code on my github. It offers something similar to what you're looking for and also has a UI for easy use. https://github.com/GerC97/Yahoo-Finance-Data-Python-UI

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: GerC97

79348384

Date: 2025-01-11 15:34:32
Score: 2.5
Natty:
Report link

it seems that getOrCreateAssociatedTokenAccount can't create a new token address for some reason. Try manually transferring a small amount of tokens to a wallet whose address is not located. In this way, the address will be initialised on the network and will be available.

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

79348378

Date: 2025-01-11 15:29:31
Score: 2.5
Natty:
Report link

Observe the trucks position and check if it has hit the corner and when it did you reset it

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

79348377

Date: 2025-01-11 15:29:31
Score: 1
Natty:
Report link

For uploading bytes directly you can do the following:

from io import BytesIO

drive_file = drive.CreateFile(folder_metadata)
drive_file.content = BytesIO(data_bytes)
drive_file.Upload()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anirudh Kanaparthy

79348375

Date: 2025-01-11 15:28:31
Score: 1.5
Natty:
Report link

First of all nice code and loved the idea.
Here are the possible corrections and improvements I would suggest you try 1.> You are using a common ID in the paragraph tag which violated the unique id rule. Either change it to a class or use a unique on for each element like name-${id}. 2.> I assume you have defined the onchange(), price_calc() and removeitem() method elsewhare in your program. Otherwise please do so. 3.> Make sure that your HTML has an element with the ID cart and a child ul to hold the cart items. Additionally, ensure there is a #totalPrice element to display the total price. This should make your project work fine. As always, Happy Coding. P.S: Please upvote my answer if it woks ヾ(≧▽≦*)o

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kailash H

79348368

Date: 2025-01-11 15:23:27
Score: 7 🚩
Natty:
Report link

You should check out route handlers - https://nextjs.org/docs/app/building-your-application/routing/route-handlers

I have the same issue now, if nothing helps I am going to go with route.ts file.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Łukasz Gil

79348332

Date: 2025-01-11 15:02:23
Score: 1.5
Natty:
Report link

This was my fault 🤦, I had somewhere in my code Calendar.prototype.getDateFormat = () => 'yy-mm-dd';

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

79348330

Date: 2025-01-11 15:02:23
Score: 1
Natty:
Report link

Kindly make your question clearer. Possibly share some code.

But from what I understand from your question, Recomposition is not a bad thing, but to reduce it there are some things you have to understand.

  1. Pass only the data that is needed to your composable.
  2. Understand that List is mutable and it will cause recompositions, so use Lazy versions of containers to efficiently handle changes.

These are what I know from top of my head from what I understand from your question. But read Official Documentation and this Article

Reasons:
  • Blacklisted phrase (1): this Article
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KingOfTheNorth

79348327

Date: 2025-01-11 15:00:22
Score: 3
Natty:
Report link

Всем привет. Может кому то поможет, я сам недавно столкнулся на новом проекте с проблемой. Решил ее сделав следующее:
Build, Execution, Deployment -> Compiler -> Anotation Processors -> (я изменил выбор с Obtain Processors from project classpath (было выбрано автоматически IDE) на -> Processor Path(с путем к моей папке, где лежит lombok.jar), типа /root/.m2/repository/org/projectlombok/lombok/unknown/lombok-unknown.jar

Reasons:
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Иван Дёгтев

79348324

Date: 2025-01-11 14:58:22
Score: 1
Natty:
Report link

Reducing the file size of JPEG images below 50 KB is crucial for optimizing web performance, especially for platforms like WTM. Oversized images can slow down page loading speeds and affect user experience. Fortunately, achieving this is simple using Free JPEG Compress.

This tool provides a seamless way to compress images without compromising quality. Begin by uploading your JPEG file on the website. The system automatically compresses the image, ensuring it meets the required size threshold of 50 KB or less. Advanced algorithms retain visual clarity, making it perfect for web use.

For best results, use the platform’s customization features, such as quality adjustment and resolution settings. These options allow you to fine-tune the image while staying under the size limit. Compress your JPEG files effortlessly and enhance your website’s performance today!

Optimize smartly with Free JPEG Compress.

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

79348323

Date: 2025-01-11 14:58:22
Score: 1.5
Natty:
Report link

There are multiple clients out there that fetches youtube transcript, I recommand:

However, Youtube banned all cloud providers IPs, so if you are looking for a production ready tool, I recommand using an API. The cheapest option I found yet is on RapidAPI:

https://rapidapi.com/invideoiq-invideoiq-default/api/video-transcript-scraper

You get 50 free transcripts, and 500 000 for just 9$, it retieves transcript in less than a second and it retrieves transcript from all major plateforms (Youtube, X, TikTok, Facebook, etc.)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: M. Hatem

79348316

Date: 2025-01-11 14:56:21
Score: 0.5
Natty:
Report link

GlobalLog Directive is now available in Apache HTTP Server 2.4.19 and later. Example usage:

Create file /etc/apache2/conf-enabled/globallog.conf:

GlobalLog /home/WWW/logs/globallog.log vhost_combined

and activate it:

a2enconf globallog
apachectl graceful

Don't forget to add log rotation rules.

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

79348311

Date: 2025-01-11 14:53:20
Score: 1
Natty:
Report link

Make the following changes in you angular.json file

"assets": [
          {
            "glob": "**/*",
            "input": "public",
            "output": "/"
          },
          {
            "glob": "**/*",
            "input": "src/assets",
            "output": "/assets"
          }
        ],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yogesh gole

79348301

Date: 2025-01-11 14:47:19
Score: 1.5
Natty:
Report link

For a completed project, SpringBoot + Lombok + MapStruct in 2025-01. (see version in pom)

enter image description here

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.4.1</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
    <groupId>com.redfrog</groupId>
    <artifactId>demo-mapstruct</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>demo-mapstruct</name>
    <description>demo-mapstruct</description>
    <url/>
    <licenses>
        <license/>
    </licenses>
    <developers>
        <developer/>
    </developers>
    <scm>
        <connection/>
        <developerConnection/>
        <tag/>
        <url/>
    </scm>
    <properties>
        <java.version>21</java.version>
        <!--        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
        <!--        <maven.compiler.source>1.8</maven.compiler.source>-->
        <!--        <maven.compiler.target>1.8</maven.compiler.target>-->
        <org.mapstruct.version>1.6.3</org.mapstruct.version>
        <!--        <org.projectlombok.version>1.18.36</org.projectlombok.version>-->
        <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>provided</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct</artifactId>
            <version>${org.mapstruct.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <annotationProcessorPaths>
                        <path>
                            <groupId>org.mapstruct</groupId>
                            <artifactId>mapstruct-processor</artifactId>
                            <version>${org.mapstruct.version}</version>
                        </path>
                        <path>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </path>
                        <path>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok-mapstruct-binding</artifactId>
                            <version>${lombok-mapstruct-binding.version}</version>
                        </path>
                    </annotationProcessorPaths>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Nor.Z

79348299

Date: 2025-01-11 14:47:19
Score: 0.5
Natty:
Report link

Just a quick follow-up and thank you to all that tried to help . . .

Not today, but soon I will upgrade my local Postgres from v14.4 to the latest v17.2. Maybe that will correct it.

Today, I did upgrade ExpressJS on my server from 4.18.1 to 4.21.2.

In the client code, I'm performing this on-the-fly conversion:

const newSession: SessionType = {
  ...sessionContainer.state,
    user: {
      ...userData,
      maxBytes: Number(userData.maxBytes),
      byteCount: Number(userData.byteCount)
    }
  };

  sessionContainer.setState(newSession);
};

And indeed, the two values in question are correctly being converted from strings to numbers.

Once again, thank you all for your great help!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: RobertW

79348297

Date: 2025-01-11 14:46:18
Score: 2.5
Natty:
Report link

In little words ACID is theory and transactions just implementation of them in real world , that's how I think.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Habibov Ulug'bek

79348296

Date: 2025-01-11 14:45:18
Score: 0.5
Natty:
Report link

I know this is an old question, but since python 3.6 which supports f-strings you can achive the desired result as follows:

a = 1000
print(f'{a:_}')

It also works without using a variable:

print(f'{1000:_}')

In both cases the output is 1_000. Not very elegant, but it works.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: N. Maks

79348289

Date: 2025-01-11 14:40:17
Score: 0.5
Natty:
Report link

Just a clarification on Gareth Rees answer that I found to be very helpful. I downloaded the Full Range XML and found that the publisher ranges were not formatted the same as in his example. That made it a little difficult to determine how to find which group to use, so I found that if you take the next 7 digits after the prefix (all publisher group ranges are formatted as 7 digits numbers), they fall into one of the publisher groups and then you can get the length. It worked for several books on my shelf. Hopefully this will help others that were wondering specifically how to find the range.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Martin

79348287

Date: 2025-01-11 14:40:17
Score: 3
Natty:
Report link

Answer found here: https://github.com/jekyll/jekyll/issues/9741 - it appears to be a bug in the latest version of Ruby. Workable version on 3.3.6

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

79348286

Date: 2025-01-11 14:36:17
Score: 3
Natty:
Report link

just use the connection, adress = accept() instead of the conn,address = accept() , because it makes deference in python3 also the conn.send(b'"hey"); use connection.send(b'"hey")

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

79348284

Date: 2025-01-11 14:35:16
Score: 3
Natty:
Report link

in Next.js development mode the page do render twice due to sreactStrictMode being true by default in next.config.ts. You can try disabling it for debugging.

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

79348277

Date: 2025-01-11 14:31:15
Score: 3.5
Natty:
Report link

Hello everyone I have a question i am facing this issue can Anyone tell how to resolve this.Recently i buy new latop i take clone of my project from github but then i am installing npm install or run npm run dev it give this error remember my project is on next js typescript

     npm install
npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies 
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ npm install
+ ~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
PS E:\shared folder\sellermargins-site-main> npm run dev
npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies 
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ npm run dev
+ ~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
Reasons:
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (2.5): can Anyone tell how
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FAIZAN AHMED TANOLI

79348276

Date: 2025-01-11 14:27:15
Score: 2
Natty:
Report link

In my case problem solved with your help Mark Hall. Thank you!!! My my environment was: Visual Studio 17.9.0, x64; EasyModbus v5.6 and ModRSsim2. Followed tutorial from YouTube "Create the Modbus Master GUI in 10 Minutes using EasyModbus Library" Adding this line of code solved the problem modbusClient.Parity = System.IO.Ports.Parity.None;

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bojan Blagojevic

79348264

Date: 2025-01-11 14:17:12
Score: 1.5
Natty:
Report link

You need to retry the process and it will will work eventually. They have a bug.

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

79348251

Date: 2025-01-11 14:10:11
Score: 1
Natty:
Report link

If you're still looking for an answer, or someone just stumbled across this question - this is because a bot needs to be an admin in a group chat to have access to all the messages. Otherwise it only sees the commands (messages, starting with /) and replies to its own messages in the group.

Hope this helps!

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

79348246

Date: 2025-01-11 14:08:10
Score: 0.5
Natty:
Report link

As @kmdreko mentioned, it worked by converting to euler and back, only keeping the y axis.

let (_, y, _) = camera_transform.rotation.to_euler(EulerRot::XYZ);
vel = Quat::from_euler(EulerRot::XYZ, 0., y, 0.) * vel * 10.;

Doing it without the euler conversion mostly alleviates the problem, but a slight slowing still happens.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • User mentioned (1): @kmdreko
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: DSR

79348244

Date: 2025-01-11 14:05:10
Score: 2
Natty:
Report link

use below code: // Serve static files from the "public" folder app.use(express.static("../public"));

// basically you have to use './' for same directory path '../' for previous directory path.

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

79348243

Date: 2025-01-11 14:05:10
Score: 1.5
Natty:
Report link

Okay, sorry, I didn't properly look at the documentation for strftime. The answer is:

strftime("2024-12-30", "%G-%V")
[1] "2025-01"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ben

79348242

Date: 2025-01-11 14:04:09
Score: 3
Natty:
Report link

install: pip install python-jose

and import: from jose import JWTError, jwt

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

79348241

Date: 2025-01-11 14:04:09
Score: 1.5
Natty:
Report link

I recommend using Expo's Crypto: https://docs.expo.dev/versions/latest/sdk/crypto

My use case was something like this:

global.Buffer = require('buffer').Buffer;

import { entropyToMnemonic } from 'bip39';
import * as Crypto from 'expo-crypto';

export function generateMnemonicList(): string[] {
    const entropy = Buffer.from(Crypto.getRandomBytes(32));
    return entropyToMnemonic(entropy).split(' ');
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Augusto Vicente

79348228

Date: 2025-01-11 13:58:08
Score: 1
Natty:
Report link

None of the previous answers were right for my situation.

For me, this error was caused by file name case sensitivity on Windows.

This situation most likely pertains to some GitBook users, syncing to Windows.

Steps to fix

If you're using Windows (or if your file system is case-insensitive):

  1. Check your github repo on the github website and look for the file that has "changes". You are looking for two files with the same name, but typed in different cases (UPPERCASE/lowercase).

Screenshot of duplicated files on GitHub website but not on Windows

  1. If one of the files is unwanted, just delete it from the GitHub website. If you need both then you're gonna have to deal with it however you wish -- rename one file, or copy the contents all into one, whatever.

  2. Delete the repo folder from your computer and then clone it from the web again.

  3. Hopefully, success 👍

Background

I synced my new GitBook site to GitHub after making a few edits to the page structure and creating a new first page.

Then I cloned the repo to my computer -- Windows.

Immediately after cloning, the GitHub desktop app showed me a diff of the readme file's changes. There was no possible way that it could have already had changes.

I deleted the repo folder from my github folder and cloned it again. Several times: same result every time.

I looked at the repo in the web interface and found two readme files:

But in the synced folder on Windows, it showed only one file, readme.md.

I checked which file I wanted and deleted the other one.

Then deleted the repo folder off my computer and cloned the repo again (because fetching origin again didn't fix the local issue).

(I don't understand how this error can even come to exist. Surely the developers at GitBook know that Windows's file system is case-insensitive?)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Farran

79348225

Date: 2025-01-11 13:57:07
Score: 10
Natty: 7.5
Report link

I encountered the same issue. Did you manage to solve it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wh1t3Zzz

79348224

Date: 2025-01-11 13:56:06
Score: 8.5
Natty: 7
Report link

still got the same problem, any help would be appreciated

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (3): any help would be appreciated
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hkimo

79348223

Date: 2025-01-11 13:56:06
Score: 5.5
Natty:
Report link

Your piece of code works just fine for me. Can you provide more information like your OS, the Taipy version, the Python version, a pip freeze output, etc.?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jean-Robin Medori

79348221

Date: 2025-01-11 13:54:05
Score: 1.5
Natty:
Report link

I recommend using Expo's Crypto: https://docs.expo.dev/versions/latest/sdk/crypto

My use case was something like this:

global.Buffer = require('buffer').Buffer;

import { entropyToMnemonic } from 'bip39';
import * as Crypto from 'expo-crypto';

export function generateMnemonicList(): string[] {
    const entropy = Buffer.from(Crypto.getRandomBytes(32));
    return entropyToMnemonic(entropy).split(' ');
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Augusto Vicente

79348218

Date: 2025-01-11 13:54:05
Score: 2
Natty:
Report link

Published WinUI 3 applications need to be signed with a certificate that's trusted on the local machine. Right click project in solution explorer > Publish and Package > Create App Packages. Make sure to create a certificate and trust it on that machine otherwise the app will not run.

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

79348209

Date: 2025-01-11 13:48:04
Score: 3.5
Natty:
Report link

I used 5 V to supply CS5532 chip the SCLK input of CS5532 doesnot "see" the 3.3 V clock pulses from STM32F103

It took my 1 month to understand the problem even ChatGPT didnot help me

I supplied 3.3 V to CS5532 supply and the problem is solved

I must have read the datasheet of CS5532 better

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: magnetron

79348203

Date: 2025-01-11 13:45:03
Score: 1
Natty:
Report link

This is impossible.

Think about what happens if Custom is used as raw type?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: talex

79348200

Date: 2025-01-11 13:44:03
Score: 2
Natty:
Report link
  1. First, create a DestinationRule to configure load balancing

Next, execute the below cmd

$ oc get configmap istio -n istio-system -o yaml
$ oc exec -it <pod-name> -c istio-proxy -- ls /etc/certs

$ oc logs -c istio-proxy

https://istio.io/latest/docs/tasks/traffic-management/ingress/secure-ingress/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dr Vivek Yoganand PhD-Red Hat

79348192

Date: 2025-01-11 13:41:02
Score: 0.5
Natty:
Report link

Theres two packages you can use the official video_player now supports custom headers starting from version 2.6.0 Refrence

and also theres another great package that has even more features including the custom headers better_player

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: M Younes

79348186

Date: 2025-01-11 13:39:02
Score: 1.5
Natty:
Report link
isSorted :: (Ord a) => [a] -> Bool
isSorted [] = True
isSorted [_] = True
isSorted (x:y:xs) = x <= y && isSorted (y:xs)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: luc yovozin

79348171

Date: 2025-01-11 13:28:59
Score: 5
Natty:
Report link

Finally I got the answer.

I hav to change the url to https://www.sandbox.paypal.com/cgi-bin/webscr

Thanks to all

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: volar.2016

79348156

Date: 2025-01-11 13:19:56
Score: 1.5
Natty:
Report link

the newest method in Kotlin is this (not deprecated): after find your Image, use imageAlpha:value between 0 to 255

    img=findViewById(R.id.img1)
    img.imageAlpha=125
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Baharvand

79348155

Date: 2025-01-11 13:18:56
Score: 2
Natty:
Report link

Tested on GNOME Shell 42.9 on Ubuntu 22.04 LTS

Install dconf-editor then go to org/gnome/evince/defaut/zoom and set org.gnome.Evince allow-links-change-zoom to false

screenshot from dconf-editor

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

79348124

Date: 2025-01-11 13:01:52
Score: 1.5
Natty:
Report link

Wonderfox HD Video Converter Factory Pro Crack + License Key Download 2025

Wonderfox HD Video Converter Factory Pro Crack can change video and music formats and devices to more than 300. It works with every movie and audio format on the market. Many types can be changed, such as MKV, AVI, MTS, FLV, HTML5, TOD, and VOB. One example is that if you have a movie, your devices and format might not be able to play it.

DOWNLOAD LINK

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

79348122

Date: 2025-01-11 13:00:52
Score: 1
Natty:
Report link

I tried all of above options but nothing is working for me.

my appilication.properties

spring.application.name=spring-cloud-config-server
spring.cloud.config.server.git.default-label=main
server.port=8888
spring.cloud.config.server.git.uri=file:///C:/Java/Project/git-localconfig-repo
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sharayus

79348115

Date: 2025-01-11 12:58:52
Score: 3
Natty:
Report link

It seems the problem is that the Google Docs API doesn't allow access to published docs, only to docs that are shared with the appropriate permissions. So a workaround for accessing a published doc is to copy its contents to a shared doc and then access this doc instead.

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

79348107

Date: 2025-01-11 12:54:51
Score: 1
Natty:
Report link

You can do it by updating this 2 transform in CSS. You can also add transform-origin if needed

.dropdown-menu {
    transform: scaleY(0) translateX(-25%);
  }
  
.dropdown-menu.show {
    transform: scaleY(1) translateX(-25%);
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bhargav Tibadiya

79348105

Date: 2025-01-11 12:53:50
Score: 1
Natty:
Report link

To Slava.In,

In TypeScript $ is used to do interpolation for literals.

For example,

type World = "world";
type Greeting = `hello ${World}`;

is equivalent to

type Greeting = "hello world"

reference

Template Literal Types

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

79348095

Date: 2025-01-11 12:46:49
Score: 0.5
Natty:
Report link

It works on Google Colab (you can try on https://colab.research.google.com/):

import torchvision
import torchvision.transforms as transforms
trainset = torchvision.datasets.EMNIST(root="emnist",
                                   split="mnist",#letters #digits 
                                   train=True,
                                   download=True,
                                   transform=transforms.ToTensor())

Produces:

Downloading https://biometrics.nist.gov/cs_links/EMNIST/gzip.zip to emnist/EMNIST/raw/gzip.zip
100%|██████████| 562M/562M [00:10<00:00, 52.9MB/s]
Extracting emnist/EMNIST/raw/gzip.zip to emnist/EMNIST/raw
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kęstutis

79348094

Date: 2025-01-11 12:46:48
Score: 4
Natty: 4
Report link

To solve, you need to Add #include<stdio.h>

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

79348073

Date: 2025-01-11 12:34:46
Score: 0.5
Natty:
Report link

I think a combination of solutions is needed here. But it is certain that the "Ring/Silent switch" is controlled via "Audio Session Categories".

import SwiftUI
import AVFoundation

#if os(iOS)
    let AV_SESSION = AVAudioSession.sharedInstance()
#endif

@main struct app: App {

    var body: some Scene {
        WindowGroup {
            ...
        }
    }

    init() {
        #if os(iOS)
            try! AV_SESSION.setActive(true)
            try! AV_SESSION.setCategory(.playback)
        #endif
    }

}

Links:

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

79348070

Date: 2025-01-11 12:33:46
Score: 2
Natty:
Report link

Open VS Code. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) and search for "Python: Select Interpreter". Select the Python interpreter where Streamlit and NumPy are installed. Save your changes and restart VS Code.

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

79348062

Date: 2025-01-11 12:25:44
Score: 5.5
Natty: 4.5
Report link

I want to plus my variables a = 10 b = 10 c = input("Enter number: ") print(c)

if I enter: a, b output = 10, 10 but I want output = 20 how?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: پایا بادلی

79348053

Date: 2025-01-11 12:21:42
Score: 4.5
Natty:
Report link

I'm encountering the exact same problem :(

Reasons:
  • Blacklisted phrase (1): :(
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hilton Sewell

79348047

Date: 2025-01-11 12:17:42
Score: 2.5
Natty:
Report link

I made a VSCode Extension for this. Mostly for myself but feel free to use it.

mouse-scroll

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lowe Löwing

79348044

Date: 2025-01-11 12:15:41
Score: 2
Natty:
Report link

Get the country with max GDP in Europe via the inner query and then use outer query to get countries having more GDP than the result obtainer from inner query.

select name from world where gdp> ( select max(gdp) from world where continent='Europe' )

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

79348038

Date: 2025-01-11 12:13:41
Score: 1
Natty:
Report link

The factorial function is preferred over factorial_v2 because:

Direct Return vs. Variable Update:

factorial returns the result directly from the recursive call, which is more efficient and simple. factorial_v2 stores the result in the variable n and then returns it, which adds unnecessary complexity and potential inefficiency. Efficiency:

factorial is more memory-efficient because it uses the return value directly, while factorial_v2 stores intermediate results in a variable, which could lead to unnecessary memory overhead. Simplicity:

factorial is simpler and more readable as it immediately returns the result of the multiplication. In summary, factorial is the preferred version because it is more efficient, straightforward, and easier to understand.

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

79348036

Date: 2025-01-11 12:13:40
Score: 5
Natty:
Report link

I think Ubuntu 24.04 is using GTK4, I didn't know Ubuntu Budgie is using GTK3, but it's an issue for me to distribute in different packages in the same repository for this difference (Maybe someone could help).

Could you check this? Sorry for Google Drive, I don't want to upload this kind of tests to Github.

Best regards and thank you for the feedback!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • RegEx Blacklisted phrase (3): someone could help
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Costales

79348033

Date: 2025-01-11 12:11:40
Score: 1.5
Natty:
Report link

Finally, adding this simple chunck works fine after having created the intents variable:

intents.message_content = True

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

79348031

Date: 2025-01-11 12:11:40
Score: 0.5
Natty:
Report link

Same error on Google Colab.

Code:

!pip install extra-keras-datasets from extra_keras_datasets import emnist (input_train, target_train), (input_test, target_test) = emnist.load_data(type='mnist')

Error:

Downloading data from http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/matlab.zip
109889/109889 ━━━━━━━━━━━━━━━━━━━━ 0s 2us/step
---------------------------------------------------------------------------
BadZipFile                                Traceback (most recent call last)
 in ()
      1 from extra_keras_datasets import emnist
----> 2 (input_train, target_train), (input_test, target_test) = emnist.load_data(type='mnist')

2 frames
/usr/lib/python3.10/zipfile.py in _RealGetContents(self)
   1337             raise BadZipFile("File is not a zip file")
   1338         if not endrec:
-> 1339             raise BadZipFile("File is not a zip file")
   1340         if self.debug > 1:
   1341             print(endrec)

BadZipFile: File is not a zip file

This does not help !rm ~/.keras/datasets/*

Even !wget http://www.itl.nist.gov/iaui/vip/cs_links/EMNIST/matlab.zip !unzip matlab.zip

Produce error:

Archive: matlab.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of matlab.zip or matlab.zip.zip, and cannot find matlab.zip.ZIP, period.

Reasons:
  • RegEx Blacklisted phrase (1): Same error
  • Long answer (-1):
  • Has code block (-0.5):
  • Filler text (0.5): ━━━━━━━━━━━━━━━━━━━━
  • Filler text (0): ---------------------------------------------------------------------------
  • Low reputation (0.5):
Posted by: KęstutisV

79348015

Date: 2025-01-11 11:58:38
Score: 0.5
Natty:
Report link

That's expected. You slow down by factor 10 every time you reach a larger number of digits. Numbers with k+1 digits take about ten times longer to find than numbers with k digits. Because their first k digits are equally hard to find but then there's only a 10% chance that the extra digit also matches.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: no comment

79348009

Date: 2025-01-11 11:55:37
Score: 3
Natty:
Report link

Your Network request is not completing properly, look for any CORS-related errors in the console. If you see such errors, you may need to Configure Your CORS

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

79348006

Date: 2025-01-11 11:53:37
Score: 0.5
Natty:
Report link

i successfully decided this problems!

views.py

i correct this stroke to transfer the reverse form to the template

return render(request, 'users/registration.html', {'form': form})

and correct this stroke

user = form.save()

as a result, the function looks like this

def registration(request):
    if request.method == 'POST':
        form = UserRegistrationForm(request.POST)
        if form.is_valid():
            user = form.save()  
            auth.login(request, user) 
            messages.success(
                request, f'{user.username}, Successful Registration'
            )
            return HttpResponseRedirect(reverse('user:login'))
    else:
        form = UserRegistrationForm()
    
    return render(request, 'users/registration.html', {'form': form})
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bensoproglib

79348004

Date: 2025-01-11 11:53:37
Score: 3.5
Natty:
Report link

Found it, in the datasettings field in reportserver.dbo.Subscriptions

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

79348000

Date: 2025-01-11 11:50:36
Score: 0.5
Natty:
Report link

Firstly these can be better stored, when you come to search these lists for the value it will currently be O(n). The data can be better stored in the form of a Bag (a set which is a set that allows duplicates) of patterns, or a dictionary where the keys are the patterns. These are likely to be implemented with a binary tree or a hash table, leading to O(log n) or O(1) searches.

You will need to iterate over the patterns stored in both bags, a language agnostic way to achieve this would be to form a set (so you don't get duplicates) of all the patterns in both bags. However with many languages you may manage to avoid storing a new set by writing a custom iterator or generator with knowlege of both bags.

When it comes to interpret the results of the comparison, this will vary by how detailed an output you want, do you just want to know if there is any difference, or a count of total differences, or to know which patterns differ, or the total differences by pattern, and do you need to know which list has more/less of each pattern?

Assuming you just want the total differences the algorithm would be to:

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Neil Butcher

79347999

Date: 2025-01-11 11:50:35
Score: 7.5
Natty: 7
Report link

I have the same problem: CMD+SHIFT+RETURN no longer works!! Help!

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29153395

79347998

Date: 2025-01-11 11:50:35
Score: 1
Natty:
Report link

The input saudiArabia geojson is invalid because it's wound the wrong way. According to the spec polygons must follow the right hand rule.

The winding is likely being fixed (reversed from where you're standing) at some layer within Turf to make sure the output is valid geojson.

If you don't want your result wound according to the spec, it might be of help to note Turf has a rewind() function that includes a reverse option.

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

79347995

Date: 2025-01-11 11:48:34
Score: 4
Natty:
Report link

Thank you for your reply. Sorry for not posting clearly. The thing is there are already two rows displayed. I just need to copy all data of first row then paste into the content of second row

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hung Pham

79347992

Date: 2025-01-11 11:46:33
Score: 2.5
Natty:
Report link

There's a great explanation of what can happen and why in the other answer, but for me it was simply that I named the Python file the same as the module name I was trying to import (as I was trying out multiple PDF readers).

This answer on another post gave me my correct answer: https://stackoverflow.com/a/77149577/1168168

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Craig

79347990

Date: 2025-01-11 11:44:33
Score: 3.5
Natty:
Report link

Warning you are getting that 6781972fa25a3e577395c444 is not valid UUID is correct its should look something like this e58ed763-928c-4155-bee9-fdbaaadc15f3, you can read more here https://www.baeldung.com/java-uuid

_id : ObjectId(6781972fa25a3e577395c444)

this is object identifier used by mongo which kind of suggests that uuid is not being mapped to your _id field,

May you share complete code for better understanding ?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Kashish Dhawan

79347979

Date: 2025-01-11 11:39:31
Score: 0.5
Natty:
Report link

If you encounter the issue of needing React hooks e.g. usePathname() in Axios interceptors but run into React’s rules of hooks error, you can resolve it by creating a React component. This approach leverages React states, effects, and hooks correctly while integrating them with Axios interceptors.

Example Solution

Below is an example of how to achieve this by wrapping your Axios interceptor in a React component:


import { PropsWithChildren, useEffect } from "react";

import { router, usePathname } from "expo-router";

import { useNotification } from "@/components/ui/notification";

import { api } from "./api";

export const AxiosInterceptor = ({ children }: PropsWithChildren) => {
  const route = usePathname();
  const unguardedRoutes = ["/login", "/register"];
  const isGuardedRoute = !unguardedRoutes.includes(route);

  useEffect(() => {
    /* ======================================== SUCCESS RESPONSE INTERCEPTOR */
    const responseInterceptor = (response: any) => {
      return response.data;
    };

    /* ======================================== ERROR RESPONSE INTERCEPTOR */
    const errorInterceptor = (e: any) => {
      /* ======================================== REDIRECT */
      const status = e.response?.status;
      const unauthenticatedStatus = [401, 403, 409];
      const isUnauthenticated = unauthenticatedStatus.includes(status);

      if (isGuardedRoute && isUnauthenticated) {
        router.replace("/login");
      }

      /* ======================================== RETURNS */

      return Promise.reject(e);
    };

    const interceptor = api.interceptors.response.use(responseInterceptor, errorInterceptor);

    return () => {
      api.interceptors.response.eject(interceptor);
    };
  }, [isGuardedRoute]);

  return children;
};


Usage

Wrap your root layout in the AxiosInterceptor component:


import { AxiosInterceptor } from "./AxiosInterceptor";

const RootLayout = () => {
  return (
    <AxiosInterceptor>
        <Stack>
            <Stack.Screen name="(tabs)" />
            <Stack.Screen name="(auth)" />
            <Stack.Screen name="+not-found" />
        </Stack>
    </AxiosInterceptor>
  );
}



Reasons:
  • Blacklisted phrase (1): how to achieve
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fathul Fahmy

79347977

Date: 2025-01-11 11:39:31
Score: 2
Natty:
Report link

You can save a script to create SPs to a text file and call this.Execute.EmbeddedScript

Execute.EmbeddedScript("script.sql");

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

79347975

Date: 2025-01-11 11:36:30
Score: 0.5
Natty:
Report link

You can use $(Configuration) and the VS build system will expand it during the build time.

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

79347973

Date: 2025-01-11 11:34:30
Score: 1.5
Natty:
Report link

adding to knittl's answer: You can jump to a line number with

[line number] + capital G or end-key

and mark the line with y

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

79347961

Date: 2025-01-11 11:26:28
Score: 3
Natty:
Report link

I was having this same issue, tried running npm install @clr/ui @clr/angular @cds/core --force and I was able to install clarity.

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

79347960

Date: 2025-01-11 11:26:28
Score: 0.5
Natty:
Report link

After you modify the field of a widget you should call its Refresh() method.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: andy.xyz

79347955

Date: 2025-01-11 11:24:27
Score: 2
Natty:
Report link

Try vstack(spacing:0) to avoid spacing in between them . Or another way could be vstack(spacing:0){ spacer() lottieview Lottieview Spacer() } this is make sure you have the vstack and the images in center of the device

You said you want images on top of each other in that case you need zstack

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

79347946

Date: 2025-01-11 11:20:26
Score: 0.5
Natty:
Report link

I know it's late but I got a working version using setRawMode and overwriting process.stdout.write every time I need to disable/enable keyboard input.

const readline = require("readline");
const rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout
});
process.stdin.setRawMode(true)
process.stdin.resume()
KHGO={};
process.stdin.on('keypress', (str, key) => {
    KHGO[key.name] = true;
    setTimeout(() => {
        KHGO[key.name] = false;
    }, 100);
});

const originalWrite = process.stdout.write;
function disableKeyboard() {
    process.stdout.write = () => {};
}
function enableKeyboard() {
    process.stdout.write = originalWrite;
}


async function spell(string, ms){
    enableKeyboard()
    process.stdout.write("\n");
    disableKeyboard()
    let skipped = false;
    const characterArray = string.split("");

    //Write character by character if space is pressed write everything
    for (let i = 0; i < characterArray.length; i++) {
        enableKeyboard();
        process.stdout.write(string[i]);
        disableKeyboard();
        if (!skipped) await sleep(ms);
        if (KHGO.space) skipped = true;
        KHGO.space = false;
    }

    //wait until space is pressed to continue
    while(!KHGO.space){
        await sleep(1);
    }
    enableKeyboard();
}

function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms));
}

(async function(){
    await spell("Example text",40);
    await spell("Example text2",40);

    process.stdin.setRawMode(false)
    process.stdin.pause()
})();

This way it's possible to disable writing to the terminal using disableKeyboard();and enable it withenableKeyoard();

Note that disabling the keyboard also prevents the program from writing. You must enable it again just before writing output.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andoni

79347945

Date: 2025-01-11 11:18:24
Score: 6 🚩
Natty:
Report link

Did you find a solution? I am interested in the same thing: getting incoming SMS'es transferred to the PC (R-script).

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (0.5):
Posted by: Søren ONeill

79347940

Date: 2025-01-11 11:16:23
Score: 2
Natty:
Report link

if you have python installed then use

set PYSPARK_PYTHON=python else if you have python3 installed use python3 instead to check which one installed you can try python --version or python3 --version

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

79347936

Date: 2025-01-11 11:12:22
Score: 1
Natty:
Report link

In the Tool Bar on the top, go to Git, and a drop-down menu will appear. Click on Branches (or use the Shortcut Key Ctrl + Shift + ` ). A menu will appear regarding the branches of your repositories.

*In the newer versions of IntelliJ, you have to click on the 3 dots in the top left corner and then the Tool Bar will appear where you will find Git *

Under the Remote, you would have two branches, main and master. Click on the side arrow and delete it...

And you're all set. Next time you Commit and Push something, it will automatically be pushed to the main branch!!!

(To check if it works, after doing whatever I mentioned, click "Ctrl + Shift + K" and the Commit and Push window will appear. There, you will find "main -> origin : main" which is loudly telling out that it is going to push the changes to the main branch)

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

79347935

Date: 2025-01-11 11:11:21
Score: 1
Natty:
Report link

If you’re looking for a free and straightforward API for currency conversion, you can try Imhotep Exchange Rate API. It’s completely free and offers cached exchange rates updated every 3 hours, ensuring you get reliable data without exceeding limits. Example Usage:

To fetch the latest rates, make a GET request to:

https://imhotepexchangeratesapi.pythonanywhere.com/latest_rates/YOUR_API_KEY/USD

Example Response:

{ "meta": { "base_currency": "USD", "last_updated_at": "2025-01-10T00:00:00Z" }, "data": { "EUR": 0.85, "GBP": 0.74, "JPY": 110.25 } }

It’s free, easy to use, and works well for most mobile and web development use cases. You can learn more and sign up here: Imhotep Exchange Rate API.

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

79347930

Date: 2025-01-11 11:08:20
Score: 3
Natty:
Report link

Error suggest that your entity is being updated more than one place at a time. you can restrict this to happen by introducing @version on id.

You can follow below link. click here

To understand use of version annotation. click here

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @version
  • Low reputation (1):
Posted by: Sarmad Chandio

79347929

Date: 2025-01-11 11:07:20
Score: 3.5
Natty:
Report link

You need to save the updated list locally every time there is change in the order.

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

79347927

Date: 2025-01-11 11:02:19
Score: 2
Natty:
Report link

var filterdocument.querySelector("#turbulence' var frames = 0;var rad Math.PI/ 180;function freq Animation() {bfx = 0.005;bfy = 8.005;frames += .5;bfx + 0.0025 Math.cos (frames rad);bfy + 0.0025 Math.sin(frames rad);bf bfx.toString() + bfy.toString(); filter.setAttributeNS (null, 'baseFrequency', bf);window.requestAnimation Frame (freq Animation);}window.requestAnimationFrame (freq Animation);

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

79347917

Date: 2025-01-11 10:54:18
Score: 0.5
Natty:
Report link

If somebody has issues with creating/updating a record in SF after it was created in Heroku database you need to have a field that is Unique and External ID in SF object you map to Heroku DB. Also of course you need to add the field to mapping and check Write database updates to Salesforce using... and select the field. enter image description here

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

79347901

Date: 2025-01-11 10:41:14
Score: 11.5
Natty: 7.5
Report link

I'm having the same problem. Have you found a solution?

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Feyz

79347900

Date: 2025-01-11 10:40:14
Score: 1.5
Natty:
Report link

to access the file you need the service account to have acces to the file you can do it by

Find your service account email from your JSON credentials file - it looks like: [email protected]

Open your Google Doc in the browser

Click the "Share" button in the top right

Add the service account email as an editor/viewer

Make sure to check these settings:

"Notify people" should be unchecked Click "Send" or "Share" to confirm

hopes it work

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: HAREL RAZ fightersheep

79347899

Date: 2025-01-11 10:38:12
Score: 4
Natty:
Report link

I am having the same issue now. When I try to go to https://github.atom.io/login I got redirected to https://github.blog/news-insights/product-news/sunsetting-atom/ That says:

January 30, 2023 Update: Update to the previous version of Atom before February 2 [...]These versions of Atom will stop working on February 2. To keep using Atom, users will need to download a previous Atom version.1.63.1 / 1.63.0

Mine is 1.60.0 x64

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Low reputation (1):
Posted by: Sidney

79347895

Date: 2025-01-11 10:37:12
Score: 3.5
Natty:
Report link

jangkrik belalang sapi kumbang badak

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Badra Ainu

79347887

Date: 2025-01-11 10:30:10
Score: 0.5
Natty:
Report link

This is not the correct answer but just try this approach

    json["data"] != null && json["data"] is Map<String, dynamic>
  ? Data.fromJson(json["data"])
  : null
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Кемал Каландаров

79347885

Date: 2025-01-11 10:30:10
Score: 2.5
Natty:
Report link

In my case I discovered that the SDK is intalling the wrong version of Simconnect dlls. (?!@!)

So their examle of SimvarWatcher was compiling and my projects were not. After questioning my sanity (no point to question Microsoft's sanity) I just copied the correct dlls, from SimvarWatcher.

At voila!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: begem0t

79347876

Date: 2025-01-11 10:25:09
Score: 2
Natty:
Report link

const run() { requestAnimationFrame(run); lete elems[0]; const ax=(Math.cos(3 frm) rad=width) / height; const ay (Math.sin(4* frm) * rad=height) / width; e.x += (ax + pointer.xe.x) / 10; e.y + (ay + pointer.ye.y) / 10; for (let i=1; i < N; i++) { lete=elems[i]; let ep elems [11]; const a Math.atan2(e.yep.y, e.xep.x); e.x += (ep.xe.x (Math.cos(a) * (1001)) / 5)/4; e.y + (ep.y- e.y + (Math.sin(a)*(1001))/5)/4; const s (162+4 (11)) / 50; e.use.setAttributeNS( null, "transform", translate($((ep.x + e.x) / 2}, ${(ep.y + e.y) / 2}) rotate(${ (180/Math.PI)*a }) translate(${0},${0}) scale(${s},${s})

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

79347863

Date: 2025-01-11 10:11:06
Score: 1.5
Natty:
Report link

Why not use:

 <a href="javascript:myJsFunc()">Run JavaScript Code</a>

Or am I missing a downfall with this method? I know its an old post but still people are looking for this.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not use
Posted by: Henry

79347861

Date: 2025-01-11 10:10:06
Score: 2.5
Natty:
Report link

recursive set can, regular can not,

rec {
   a = 1;
   b = a;
}

vs

{
   a = 1;
   b = a;
}

https://nix.dev/manual/nix/2.17/language/constructs#recursive-sets

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

79347858

Date: 2025-01-11 10:06:05
Score: 2.5
Natty:
Report link

Thanks a lot for sharing this knowledge, not just this. Trainer class of hugging face has a lot of issues. Their evaluation loop involves first storing all the predictions and then computing the metrics. For NLP, this can take up a lot of memory and one may even face out of memory errors. It is best to write your own pytorch training loop.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Radhika Desai

79347857

Date: 2025-01-11 10:05:05
Score: 1
Natty:
Report link

The URL( https://app.snowflake.com/europe-west4.gcp) that you are using is Snowsight UI specific. To connect through a client or driver you must need account URL with .snowflakecomputing.com host.

Please follow the below syntax for building the Snowflake account identifier-

  1. account_locator.cloud_region_id or account_locator.cloud_region_id.cloud

For example, if your account locator is xy12345: If the account is located in the AWS US East (Ohio) region, additional segments are required, and the account identifier would be xy12345.us-east-2.aws

  1. orgname-account_name

For example, if your orgname is ab6789 and your account_name is xy1234 then, your account identifier would be ab6789-xy1234

Please refer to the below documentation for more information related to Snowflake account identifier- https://docs.snowflake.com/en/user-guide/admin-account-identifier

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

79347852

Date: 2025-01-11 10:00:04
Score: 1
Natty:
Report link

Many times when we encounter this error, we immediately think the problem is with the Module. In fact, many people believe the solution is to delete the node_modules folder and then run npm install, but that's not the solution. To fix this issue, it's quite easy—just disable your antivirus.

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

79347851

Date: 2025-01-11 10:00:04
Score: 2
Natty:
Report link

You can go to updated issues by you, and change the filter of Status to any. It will show all the updated issues by you. This assumes that you have updated only those tickets that were assigned to you.

It will give an estimate of all the tickets ever assigned to you.

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