79242691

Date: 2024-12-02 00:08:59
Score: 3.5
Natty:
Report link

I believe this is the default behavior unless we use a different method to type hint the return type, as specified in the tutorial.

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

79242682

Date: 2024-12-02 00:00:57
Score: 1.5
Natty:
Report link

I've spent too much time trying to write a PowerShell script to update data source settings before processing, and it's been a nightmare. From what I understand, there is currently no way to have unattended access for Azure Analysis to pull data from a SQL endpoint. You must use a Microsoft Account, which has a token expiry of one day, making it impossible to automate daily processing. If I'm mistaken, I'd appreciate clarification, as we've been looking into this for weeks. I understand the reasoning behind it, but not being able to use a Service Principal or Managed Identity in the .bim is very limiting.

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

79242663

Date: 2024-12-01 23:42:53
Score: 5.5
Natty:
Report link

Facing similar issue, i have no idea how to resolve it, any one got answer for this issue. kindly share the solution.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Facing similar issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mahesh Mohan

79242661

Date: 2024-12-01 23:41:52
Score: 12 🚩
Natty: 5.5
Report link

I‘m having the same issue with a cpp WRL application. Did you ever manage to solve your problem?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever manage to solve your problem
  • RegEx Blacklisted phrase (1.5): solve your problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3516204

79242658

Date: 2024-12-01 23:38:50
Score: 4.5
Natty: 4.5
Report link

https://medium.com/@mobileatexxeta/lottie-magic-in-swiftui-5d600f068287 Check this one for your paused Animation part

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohd Robiul Alam

79242657

Date: 2024-12-01 23:36:50
Score: 3
Natty:
Report link

If you want to still use your old project and open it with expo 51 version, uninstall your expo go app and download this apk for expo 51 version Expo 51 version

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

79242652

Date: 2024-12-01 23:32:49
Score: 0.5
Natty:
Report link

I dont have google big query, but based on my understanding of the question I think you just need a CONCAT in the join condition,let me know.

Fiddle in Mysql

SELECT
    z.county_code,
    z.zip,
    w.temperature
FROM
    zipcodes z
INNER JOIN
    weather w
ON
    z.county_code = CONCAT(w.state_id, w.county_id);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: samhita

79242646

Date: 2024-12-01 23:26:48
Score: 0.5
Natty:
Report link

I think that the main problem is that the Dockerfile and the current configuration don't allow both services (Ollama and Nginx) to be started simultaneously.

Why ?

(1) Incomplete Dockerfile

The original only contains:

FROM ollama/ollama:latest
FROM nginx:latest
COPY /.nginx/nginx.conf /etc/nginx/conf.d/default.conf

This Dockerfile does not specify how to launch the services or how they will interact together.

(2) The logs are clear about this

In the provided logs, clear connection errors are visible:

[error] 29#29: *1 connect() failed (111: Connection refused) while connecting to upstream

This error indicates that Nginx cannot connect to Ollama, suggesting that the Ollama service is not started or not accessible.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Okalobe Cloud and AI

79242631

Date: 2024-12-01 23:11:44
Score: 2
Natty:
Report link

I could not use CLASSPATH neither but found another solution to use my own library, using Bluej. I added the jar file using Tools->preferences->user libraries from config. The class is automatically used in all projects

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

79242630

Date: 2024-12-01 23:10:44
Score: 0.5
Natty:
Report link

The t3sbootstrap extension offers two methods for managing custom SCSS properties:

  1. Storing in fileadmin:
    • Location: fileadmin/T3SB/Resources/Public/T3SB-SCSS/
  2. Storing in the t3sb_package Extension:
    • Location: EXT:t3sb_package/Resources/Public/T3SB-SCSS/

In order to activate the second option :

Important Notes:

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Haythem Daoud

79242629

Date: 2024-12-01 23:10:44
Score: 2.5
Natty:
Report link

Adding "publicPath" helped me:

assetNames: "[dir]/[name]-[hash]",
publicPath: "/build/",

Another option is to use copy plugin: https://www.npmjs.com/package/esbuild-plugin-copy

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

79242624

Date: 2024-12-01 23:06:43
Score: 2.5
Natty:
Report link

I fixed it creating another deployment. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I fixed
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Doobie Nam

79242623

Date: 2024-12-01 23:05:43
Score: 2.5
Natty:
Report link

your IIS server should have a private IP address. In your domain, you can asign a public ip address to an A record. Then in your firewall or router, you have to create a bridge to address the request from the public domain into your private ip address on the server.

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

79242622

Date: 2024-12-01 23:05:43
Score: 3
Natty:
Report link

There are three options that I can think about.

  1. GlodeJs, you can find it at https://glidejs.com/
  2. Keen Slider, it is available at https://keen-slider.io/
  3. Flickity, available at https://flickity.metafizzy.co/
Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abel Chipepe

79242615

Date: 2024-12-01 23:00:41
Score: 8.5
Natty: 7.5
Report link

I have got the same problem, did you manage to find it?

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to find it
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Uliana Tsygankova

79242597

Date: 2024-12-01 22:41:38
Score: 3.5
Natty:
Report link

I would recommend running 'pip show python-box (or box)' to see if the package was initially installed correctly, that way it will tell you if the box module needs reinstallation -- that may be why the upgrade command did not work

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abril

79242584

Date: 2024-12-01 22:27:34
Score: 7 🚩
Natty:
Report link

I tried everything I could but it didn't work! First of all, thank you for your answer and guidance! I uploaded the codes on GitHub! If you can check my codes and tell me where the problem is! I'm going crazy!!! I want to use Logger as DI in the whole project! This code I uploaded is a small part of my project so that I can find the problem! I used the same method in all classes and that's why I get the same error message in all classes https://github.com/farhadesmaeili/my_site

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1): I get the same error
  • No code block (0.5):
  • Me too answer (2.5): I get the same error
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NoBody

79242583

Date: 2024-12-01 22:27:34
Score: 2
Natty:
Report link

I had the same issue. To resolve it, I manually installed WSL from the link below, and my problem was solved. WSL Releases

Reasons:
  • Blacklisted phrase (1): the link below
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: MRAH

79242573

Date: 2024-12-01 22:15:31
Score: 2.5
Natty:
Report link

I'd love to see the one you made. I think the commom file dialogs are controlled by the comdlg.dll file, if you can save your work in that format, and handle all the calls of various programs accordingly, I think it could work.

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

79242569

Date: 2024-12-01 22:06:30
Score: 2
Natty:
Report link

можно попробовать сделать,что то подобное как в коде,что я представлю ниже,результатов можно добиться вплоть до 19 угадываний подряд

    // Загрузка базы хешей из localStorage
const hashDatabase = loadHashDatabase();

function loadHashDatabase() {
    const storedData = localStorage.getItem("hashDatabase");
    return storedData ? JSON.parse(storedData) : {};
}

function saveHashDatabase() {
    localStorage.setItem("hashDatabase", JSON.stringify(hashDatabase));
}

// Функция получения хеша из DOM
function getHash() {
    const hashElement = document.querySelector("#doubleHash");
    return hashElement ? hashElement.textContent.trim() : null;
}

// Функция для вычисления SHA256
async function sha256(message) {
    const msgBuffer = new TextEncoder().encode(message);
    const hashBuffer = await crypto.subtle.digest('SHA-256', msgBuffer);
    const hashArray = Array.from(new Uint8Array(hashBuffer));
    return hashArray.map(byte => byte.toString(16).padStart(2, '0')).join('');
}

// Преобразование хеша в результат (0-14)
function hashToResult(hash) {
    const numericValue = BigInt('0x' + hash);
    return Number(numericValue % BigInt(15)); // Диапазон от 0 до 14
}

// Функция для ставки
function placeBet(color, amount) {
    const betAmountInput = document.querySelector("#doubleInputBet");
    if (betAmountInput) {
        betAmountInput.value = amount;

        const betButton = document.querySelector(`.sectorsBets .${color}`);
        if (betButton) {
            betButton.click();
            console.log(`Ставка на ${color} сделана: ${amount}`);
        } else {
            console.log(`Кнопка для цвета ${color} не найдена.`);
        }
    } else {
        console.log("Поле для ввода ставки не найдено.");
    }
}

// Основная логика для ставок
async function makeBet() {
    const currentHash = getHash();
    if (!currentHash) {
        console.log("Хеш не найден.");
        return;
    }

    if (hashDatabase[currentHash]) {
        // Если хеш известен, используем сохраненный результат
        const savedResult = hashDatabase[currentHash];
        console.log(`Хеш уже известен. Результат: ${savedResult}`);

        if (savedResult === 0 && !hasGreenBetPlaced) {
            placeBet('green', bettingAmountGreen);
            hasGreenBetPlaced = true; // Фиксируем, что ставка на зеленый сделана
        } else if (savedResult >= 1 && savedResult <= 7) {
            placeBet('red', bettingAmountOther);
        } else if (savedResult >= 8 && savedResult <= 14) {
            placeBet('black', bettingAmountOther);
        }
    } else {
        // Если хеш новый, рассчитываем и сохраняем результат
        const resultHash = await sha256(currentHash);
        const predictedResult = hashToResult(resultHash);

        console.log(`Новый хеш: ${currentHash}`);
        console.log(`Рассчитанный результат: ${predictedResult}`);

        hashDatabase[currentHash] = predictedResult; // Сохраняем в базу
        saveHashDatabase();

        if (predictedResult === 0 && !hasGreenBetPlaced) {
            placeBet('green', bettingAmountGreen);
            hasGreenBetPlaced = true;
        } else if (predictedResult >= 1 && predictedResult <= 7) {
            placeBet('red', bettingAmountOther);
        } else if (predictedResult >= 8 && predictedResult <= 14) {
            placeBet('black', bettingAmountOther);
        }
    }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: PoSha

79242565

Date: 2024-12-01 22:05:29
Score: 1.5
Natty:
Report link

Agregar esto en next.config.js lo resolvio para mi

experimental: {
    serverComponentsExternalPackages: ['pdfmake'],
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Israel Lopez

79242561

Date: 2024-12-01 22:01:28
Score: 2.5
Natty:
Report link

$('#example').on( 'page.dt', function () { $('.dataTables_scrollBody').animate({ scrollTop: 0 }, 300); });

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

79242560

Date: 2024-12-01 22:00:27
Score: 11 🚩
Natty: 5.5
Report link

I am getting the exact same issue. Did you find a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the exact same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bishal Niroula

79242532

Date: 2024-12-01 21:42:22
Score: 3
Natty:
Report link

Tried the solution in this post to remove the vaapi package and its configuration:

$sudo apt purge gstreamer1.0-vaapi

Worked!

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

79242516

Date: 2024-12-01 21:34:20
Score: 1.5
Natty:
Report link

The physics Material answer from Sudarshan worked for me. Irritating frickin problem, but I created a zero friction material and put that on obstacle and player collider, jumps onto obstacles properly now.

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

79242495

Date: 2024-12-01 21:21:18
Score: 3.5
Natty:
Report link

The port is for your laptop and your laptop only

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

79242492

Date: 2024-12-01 21:19:17
Score: 2
Natty:
Report link

It should not be a problem for you you just have to autoReconnect when user back if you're using a js client (like this one @stomp/stompjs ) this should be done automatically

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

79242490

Date: 2024-12-01 21:16:17
Score: 2.5
Natty:
Report link

Just trust the location like it says here : https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-trust-a-location

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

79242477

Date: 2024-12-01 21:12:15
Score: 1
Natty:
Report link

first you should install git then add these paths to the envirnoment variables

C:\Program Files\Git\bin\git.exe
C:\Program Files\Git\cmd
C:\Windows\System32

finaly right click on your IDE and Choose >> propertise >> copmatibility >>run this program as an admininstrator

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: إياد مفلح

79242473

Date: 2024-12-01 21:07:15
Score: 1
Natty:
Report link

The Graphviz programs do accept user-defined attributes as input, but only pass those attributes on if the output format is dot, canon, gv, or xdot

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

79242466

Date: 2024-12-01 21:03:14
Score: 0.5
Natty:
Report link

I think you should decode the data with utf8.decode before decoding into json.

var responseBody = await response.stream.bytesToString();
final decodedBody = utf8.decode(responseBody);
final data = json.decode(responseBody);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: albert

79242457

Date: 2024-12-01 20:57:12
Score: 2.5
Natty:
Report link

Try to add #include "esp_timer.h" to file with esp_timer related errors

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

79242456

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

This is an issue with curl in this specific Git release. You have to update to a newer version manually.

https://github.com/curl/curl/issues/13845#issuecomment-2453436283

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

79242447

Date: 2024-12-01 20:54:12
Score: 1
Natty:
Report link

Check to see if in your package.json file "prisma.schema" is pointing at the directory and not the "prisma.schema" file:

from:

"prisma": {
    "schema": "./prisma/schema/schema.prisma"
},

to:

"prisma": {
    "schema": "./prisma/schema"
},
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BloodOwl

79242438

Date: 2024-12-01 20:49:10
Score: 2.5
Natty:
Report link

Merci à vous; je viens de corriger le burg react-dom.development.js:11102 Uncaught Error: You are passing the delta object from the onChange event back as value. You most probably want editor.getContents() instead

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

79242437

Date: 2024-12-01 20:49:08
Score: 7 🚩
Natty:
Report link

Thanks @Stephan Walters for clarification.

I got the same response from Branch Support although they replied me after a long wait.

Image Previews are only available on the enterprise plan

I wonder if there is cheaper plan than $36k per year for starters?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Stephan
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Qasid Labeed

79242430

Date: 2024-12-01 20:45:07
Score: 0.5
Natty:
Report link

You can use BUILTIN_RESULT.TYPE_BOOLEAN(isinactive) as is_inactive in your query.

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

79242421

Date: 2024-12-01 20:40:06
Score: 3.5
Natty:
Report link

For newer versions - right click outside the windows, Show in XML

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

79242416

Date: 2024-12-01 20:36:04
Score: 2.5
Natty:
Report link

I had this issue when I generated source code via powershell to link file paths to variables automatically.

My fix was to resave the file as UTF-8 BOM.

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

79242401

Date: 2024-12-01 20:28:01
Score: 3.5
Natty:
Report link

I removed the (left=0.2) and the (bottom=0.2)

This resulted in axis range as specified.

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

79242386

Date: 2024-12-01 20:08:57
Score: 0.5
Natty:
Report link

Make sure that you set up the signing key file location to the correct path.

For example:

git config --global user.signingkey /home/user1/.ssh/id_rsa.pub

In your example it looks that it was set to 632EA751459C3A1A.

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

79242376

Date: 2024-12-01 19:58:55
Score: 1.5
Natty:
Report link

Bonjour,

Je suis Christian,

Afin de lancer des scripts non signé, il suffit d'exécuter la commande : "Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force " dans le PowerShell.

L'argument Allsigned permet l'execution de scripts PowerShell signé. L'argument Unrestricted permet de lancer tous scripts signé ou non.

Cordialement

Alexis

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

79242375

Date: 2024-12-01 19:58:55
Score: 2.5
Natty:
Report link

In addition to the above - you don't show how you are getting the token and ensuring that is passed as part of the request. As the Flask-Security documentation suggests - if this is a normal browser-based application - it is simpler and more secure to use session based authentication (using the session cookie) and using @auth_required()

Reasons:
  • No code block (0.5):
  • User mentioned (1): @auth_required
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jwag

79242358

Date: 2024-12-01 19:46:52
Score: 0.5
Natty:
Report link

If you need to handle MAX_ROWS being any number up to and including Float::Infinity, you can do the check explicitly with take_while plus with_index:

results_to_display = results.take_while.with_index {|result, index| index < MAX_ROWS }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Muskworker

79242357

Date: 2024-12-01 19:44:51
Score: 1.5
Natty:
Report link

In order to redirect to a different page, do the following:

if(//condition here){
      window.location.href = "[your link]";
}
else{
    alert("Fulfill the condition here");
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ShadowKnight700

79242352

Date: 2024-12-01 19:40:51
Score: 2.5
Natty:
Report link

The reasons of the error:

I was passing state_h and state_c that were symbolic tensors. What I needed it was to calculate them first with an encoder model.

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

79242345

Date: 2024-12-01 19:38:50
Score: 0.5
Natty:
Report link

I managed to solve the issue by adding the namespace to the android section in the plugin's android/build.gradle, then i got the error

Launching lib/main.dart on SM N950F in debug mode...
 2 ERROR:D8: com.android.tools.r8.kotlin.H
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

so, i set

compileSdk = 34
minSdk = 24
targetSdk = 33

and all errors were gone and my App ran normally

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

79242337

Date: 2024-12-01 19:34:49
Score: 2
Natty:
Report link

You might simply need to export _JAVA_AWT_WM_NONREPARENTING=1.

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

79242336

Date: 2024-12-01 19:34:49
Score: 0.5
Natty:
Report link

When there are multiple zones with the same name, you can drill down to a specific zone by filtering your results. E.g.

aws route53 list-hosted-zones-by-name \
--profile "myprofile" \
--output text \
--query "HostedZones[?(Config.PrivateZone==`true` && Name==`example.com.`)].Id"

This should output something like

/hostedzone/ABCDEF12345678
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When the
  • Low reputation (0.5):
Posted by: Jim Walker

79242328

Date: 2024-12-01 19:31:48
Score: 4.5
Natty:
Report link
gradle test --tests '*SomeSpecificTest'

or

./gradlew test --tests '*SomeSpecificTest'

Origine : How to run only one unit test class using Gradle?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: achraf

79242314

Date: 2024-12-01 19:23:46
Score: 4.5
Natty: 5
Report link

Is there any way to override the price of a catalog item without creating a discount in my merchant account? I have been looking for it for a long time but could not find any solution other than making a discount in the merchant account and passing the discount_id in the Paddle.Checkout.open(). Paddle Classic had an option to override the price of a catalog item, but Paddle Billing doesn't provide the option for it.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): Is there any
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Sanjana Khan

79242301

Date: 2024-12-01 19:17:42
Score: 6 🚩
Natty:
Report link

Do you have a bin entry in your package.json? See docs here: https://docs.npmjs.com/cli/v10/configuring-npm/package-json#bin

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have a
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: John Reilly

79242294

Date: 2024-12-01 19:14:41
Score: 1
Natty:
Report link

Stuck in the same issue. the solution provided above is correct to update the version of Node js. In my case, since launcher was triggered terminal from VS code. so I need to set default version of terminal as

nvm alias default v20
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ishaan Puniani

79242267

Date: 2024-12-01 18:50:36
Score: 1.5
Natty:
Report link

In my case I just uncommented line 2 in ios/Podfile, and the changed the number from 12.0 to 13.0

From this: # platform :ios, '12.0'

To this: platform :ios, '13.0'

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

79242263

Date: 2024-12-01 18:48:35
Score: 1.5
Natty:
Report link

AWS provides “console links” that are static and session-independent. These links look like this:

https://us-east-1.console.aws.amazon.com/states/home?region=us-east-1#/...

So i think the account_id part should be removed.

Reasons:
  • Blacklisted phrase (1): These links
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Fedi Bounouh

79242256

Date: 2024-12-01 18:44:34
Score: 1
Natty:
Report link

I found the answer. put this code in php file on the root of crm path and run in webbrowser:

 <?php 
include_once('vtlib/Vtiger/Module.php');
$moduleInstance = Vtiger_Module::getInstance('Leads');
$moduleInstance->addLink('DETAILVIEW', 'Test1', 'index.php'); 
//$moduleInstance->deleteLink('DETAILVIEW', 'Test1', 'index.php'); //this is for delete

?>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hamidsolat

79242251

Date: 2024-12-01 18:42:34
Score: 3
Natty:
Report link

here it is an simple answer we can just use api via php code

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nagoor Meeran Kaalai Jamal

79242244

Date: 2024-12-01 18:39:33
Score: 2.5
Natty:
Report link

I tried other answers but all of them getting error on browser console, so i found the closest thing to what i wanted and without getting any error:

^[A-Z][a-zA-Z0-9~`\!@#\$%\^&\*\(\)_\+\-=\[\]\\\{\}\|;':\,\.\/<>\?]*( (?! )[a-zA-Z0-9~`\!@#\$%\^&\*\(\)_\+\-=\[\]\\\{\}\|;':\,\.\/<>\?]*)*$

The only thing i exclude was "

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cham

79242240

Date: 2024-12-01 18:38:33
Score: 0.5
Natty:
Report link

according to the itemloaders documentation you should be using

from itemloaders.processors import TakeFirst, MapCompose
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: folen gateis

79242229

Date: 2024-12-01 18:30:31
Score: 3
Natty:
Report link

I encountered some overlapping issues too with the system bar and navigation bar in my app. Here are some ways to fix those issues: https://vanessastechtakeover.substack.com/p/android-15-update-with-edgetoedge-a9c Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vanessa Johnson

79242228

Date: 2024-12-01 18:30:31
Score: 3
Natty:
Report link

We need to make sure Port 111 (TCP and UDP) and 2049 (TCP and UDP) for the NFS server. then only it will work

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

79242224

Date: 2024-12-01 18:28:30
Score: 3
Natty:
Report link

Can you simply put each paragraph in a new cell?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • High reputation (-2):
Posted by: Toby Allen

79242208

Date: 2024-12-01 18:20:27
Score: 1
Natty:
Report link
     <Stack
        screenOptions={{
          headerShadowVisible: false,
        }}
      >
       /*...Stack screens***/
     </Stack>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sns

79242187

Date: 2024-12-01 18:09:24
Score: 2.5
Natty:
Report link

I can avoid this error using conda install -c conda-forge pycuda

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

79242181

Date: 2024-12-01 18:06:24
Score: 3.5
Natty:
Report link

Try giving format="HH:mm" This will ensure the 24 hour format

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

79242178

Date: 2024-12-01 18:03:23
Score: 1.5
Natty:
Report link

OAuth (Open Authorization) 2.0 is an authorization protocol that allows users to grant one app limited access to their data on another app or service.

SSO (Single Sign-On) is an authentication method that allows users to authenticate once with an Identity Provider (IdP) and gain access to multiple apps.

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

79242166

Date: 2024-12-01 18:00:22
Score: 3.5
Natty:
Report link

If you are on windows/wsl you may need to use ctrl-q to get a similar effect.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: William Cole Boren

79242161

Date: 2024-12-01 17:58:21
Score: 1.5
Natty:
Report link

canvas.toBlob ((blob) => {

const link = document.createElement('a');
link.href = URL.createObjectURL(blob);
link.download = 'filename.jpg';

document.body.appendChild(link);
link.click();

); }

Use Blobs instead of Data URL's because blobs are more compatible with iOS for downloads.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: anonymous

79242155

Date: 2024-12-01 17:54:21
Score: 1
Natty:
Report link

Sorry to necro this thread after over two years. This has been the most relevant thread relating to a use case I'm trying to work on.

My goal is to be able to put guest user downloads on the same domain behind a location that can in turn be excluded from the page cache. Similar to what is done here with my-account/downloads.

The problem I am trying to figure out now is how to apply a similar solution for guest users at the order-received wc_endpoint_url.

The recommended solution works great for logged in users.

I have tried several iterations using some of the available Woocommerce filters and search for "download", but can't get a working implementation.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: zergracks

79242139

Date: 2024-12-01 17:46:18
Score: 5.5
Natty:
Report link

Apologies for replying on such an old post, but I'm curious why I can't make @SierraOscar's reply work.

I use Office 365 (in 32bit for old VBA) I understand about conditional compilation. F2 shows an Application method AppActivate

I've defaulted to Direct calls to User32, as per the OP solution. It works.

But how does one use Application.AppActivate successfully?

spilly

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @SierraOscar's
  • User mentioned (0): User32
  • Low reputation (1):
Posted by: Spilly

79242130

Date: 2024-12-01 17:43:17
Score: 1
Natty:
Report link

For the versions of angular 17+, the new syntax is like so:

@if(user$ | async; as user) {
    <h3> {{user.name}} </h3>
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Faouzi Chabchoub

79242127

Date: 2024-12-01 17:42:17
Score: 0.5
Natty:
Report link

It's not possible to have dry contacts in that module (unless maybe opening and hardware hacking that module: a risky and not recommended operation)

in fact: QS Wi-Fi-C01 wiring

You can always add an external 220V relay to obtain dry contacts.

Maybe this question should have been posted to electronics.stackexchange.com since it is not connected with the software inside the module

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

79242122

Date: 2024-12-01 17:38:16
Score: 2
Natty:
Report link

A hack to never get confused.

Imagine a cylindrical object. If you look at it from the top, you see zero. If you look at it from the side, you see a one. Using this analogy, you can remember if an action is being applied vertically (axis=0) or if it is applied horizontally (axis=1).

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

79242112

Date: 2024-12-01 17:30:13
Score: 3
Natty:
Report link

After restarting my Mac it suddenly worked. So I guess using sudo + input monitoring permissions on IDE and terminal works fine :)

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

79242111

Date: 2024-12-01 17:30:13
Score: 4
Natty: 4
Report link

This article provides good explaination and solution - Alternative solution

Reasons:
  • Blacklisted phrase (1): This article
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mahesh Revaskar

79242105

Date: 2024-12-01 17:26:12
Score: 3
Natty:
Report link

Try to put TAdoStoredProc on form or on data module, setup connection and proc name and call ExecProc method. If you get success, use parameters' settings from this component

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

79242102

Date: 2024-12-01 17:24:09
Score: 10.5 🚩
Natty: 5.5
Report link

Were you able to resolve this issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shreyansh Jain

79242100

Date: 2024-12-01 17:24:09
Score: 1
Natty:
Report link

Another way is to transpose them into column vectors, and then transpose them back:

A=[a1',a2',a3']'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Asigan

79242097

Date: 2024-12-01 17:24:09
Score: 0.5
Natty:
Report link

All Parameter-Efficient Fine-Tuning (PEFT) methods train a small number of extra model parameters while keeping the parameters of the pretrained model frozen. There are different methods of PEFT, including prompt-tuning, prefix-tuning, and LoRA, among others. In the case of LoRA, which is the method you are using, it tracks changes that should be applied to model weights using two low-rank matrices. The target_modules option specifies which layers of the model will be modified to incorporate the LoRA technique. For example, q_lin refers to the linear transformation that computes the query vectors in a multi-head attention mechanism. In your code, you specify that LoRA should be applied to optimize the parameters of this layer. Thus, LoRA adapters (the low-rank matrices that track weight changes to be applied to the targeted weights) will be added to this layer (and any other specified target layers) and they will be optimized during fine-tuning.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ali Moameri

79242095

Date: 2024-12-01 17:21:06
Score: 7.5 🚩
Natty: 5.5
Report link

Are you able to fix this issue ?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix this issue ?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vinoth

79242084

Date: 2024-12-01 17:17:04
Score: 4.5
Natty: 5
Report link

Same problem, the question stays stuck at "Single Choice"

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: San

79242074

Date: 2024-12-01 17:14:04
Score: 2
Natty:
Report link

In my case, using different versions of Microsoft.Extensions.AI package across different projects was the issue so all I had to do was to make sure that all nuget packages across different packages are on the same version.

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

79242069

Date: 2024-12-01 17:11:03
Score: 4
Natty: 5
Report link

can i get your source code for my college project

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can i
  • Low reputation (1):
Posted by: BaRaaA

79242055

Date: 2024-12-01 17:02:00
Score: 2.5
Natty:
Report link

Reverse TCP Connection needs the IP in LHOST, but Reverse HTTP(S) supports the URL too. So try to write your IP as the payload LHOST

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

79242054

Date: 2024-12-01 17:02:00
Score: 1
Natty:
Report link

actually there is a solution to detect Safari (no matter which version) by using CSS @supports.

@supports not (fill: context-stroke) {
/*CSS*/
}

If you check caniuse you will see Safari has never supported context-stroke

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Juan Martín

79242050

Date: 2024-12-01 17:00:00
Score: 1
Natty:
Report link

You could also split up the responsibility between the exception filter and the execution logic;

Performing some kind of :

try {
  await sayhello()
} catch (e)
  throw e // This will call the exception filter 
} finally {
  await writeToElastic()
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ofek rotem

79242049

Date: 2024-12-01 17:00:00
Score: 0.5
Natty:
Report link

Using docker/[email protected] with username and PAT from DockerHub works for me. There is a problem with earlier versions when running from branches. WORKS LIKE A CHARM!

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: STEPHEN OWINO

79242043

Date: 2024-12-01 16:55:59
Score: 2.5
Natty:
Report link

The length of a rectangle is 6 meters.

The breadth of a rectangle is 3 meters.

The area of a rectangle is 18 meters.

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

79242021

Date: 2024-12-01 16:40:55
Score: 7
Natty: 8.5
Report link

How can I flash an custom OS??

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Yasin Sevimli

79242003

Date: 2024-12-01 16:24:52
Score: 0.5
Natty:
Report link

Be sure that the go version defined in go.mod matches the GCP runtime!

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

79242001

Date: 2024-12-01 16:22:51
Score: 5.5
Natty:
Report link

yes. You can add custom prices for non-catalog items. See this link

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): See this link
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sanjana Khan

79241988

Date: 2024-12-01 16:16:49
Score: 2
Natty:
Report link

First, appeared requests. Exceptions. SSLError error, usually because the SSL certificate authentication. This may be due to special circumstances in the configuration of the site's SSL certificate, or your request Settings. In this case, you can try to ignore SSL certificate validation by adding the verify=False argument to the requests.get method, like this: url = requests.get(video_url, headers, verify=False) However, it is important to note that ignoring SSL certificate verification can be a security risk and should only be used if you are sure you understand the risks and are in a test environment. Second, behind the mentioned error of https://stream.foupix.com/anime, because you did not give complete details of the error, not too good accurate judgment. There may be a problem with the video link itself, such as invalid, deleted, or requiring specific permissions to access. Hopefully, this analysis has been helpful, and you can follow the suggestions above to try changing the code and observe the results.

Reasons:
  • Blacklisted phrase (1): video link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user28558937

79241986

Date: 2024-12-01 16:15:49
Score: 1
Natty:
Report link

I work on the open source at prefect, sorry you're having trouble and thanks for the reproduction steps!

are you able to share the full stack trace? its odd to me that from prefect.docker import DockerImage would raise that error

also, please feel free to copy this writeup into a GitHub discussion (https://github.com/PrefectHQ/prefect/discussions), which is the best place to ask these sorts of questions

otherwise, feel free to join our slack if you want to chat with us or ask other prefect users questions

https://communityinviter.com/apps/prefect-community/prefect-community

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Stoat

79241975

Date: 2024-12-01 16:08:47
Score: 2
Natty:
Report link

If you are joining a team or organization, make sure you are given either an App Manager or an Admin role.

I started out as a Developer role, and couldn’t see it, but after getting Admin role I can create external test groups.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: maxi-p

79241974

Date: 2024-12-01 16:08:47
Score: 0.5
Natty:
Report link

To fix this problem, you have to put exact path to PowerShell by following next steps:

  1. Click on "File" in PyCharm
  2. Choose "Settings..."
  3. Open the "Tools" branch
  4. Choose "Terminal" in the dropped down list
  5. In "Shell Path", change powershell.exe to

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

PowerShell destination may vary between the Windows versions. So, in case that didn't work, try to find the powershell.exe manually in your Windows folder.

If it's possible for you to operate with cmd, instead of powershell, you can complete next steps:

  1. Click on "File" in PyCharm
  2. Choose "Settings..."
  3. Open the "Tools" branch
  4. Choose "Terminal" in the dropped down list
  5. Change powershell.exe to cmd.exe in "Shell Path"
  6. Click on "Apply"

In case you still have problems, make sure that "Include system environment variables" is enabled in the right most part of the "Environment variables" bar.

That solution applies only if cmd.exe is enough to launch and operate the tasks you need to accomplish.

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

79241967

Date: 2024-12-01 16:04:46
Score: 3.5
Natty:
Report link

Sorry everyone. This looks like it was a permission error. I had to reauthorize access to Gmail and it worked like a charm.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: John Stackpole

79241959

Date: 2024-12-01 16:02:46
Score: 0.5
Natty:
Report link

Thanks to Brian Parker, I found my issue. If you're using WASM or InteractiveAuto, make sure to pass in the parameters as a query string and not a header. I did like this:

var url = "";
if (OperatingSystem.IsBrowser())
{
    url = string.Format("https://localhost:7000/chatHub?BusinessId={0}", businessId);
}
else
{
    url = "https://localhost:7000/chatHub";
}

HubConnection = new HubConnectionBuilder()
    .WithUrl(Navigation.ToAbsoluteUri(url), options =>
    {            
        options.Headers.Add("BusinessId", businessId.ToString());

    }).AddJsonProtocol(o =>
    {
        o.PayloadSerializerOptions.PropertyNamingPolicy = null;

    }).WithAutomaticReconnect()
    .Build();
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: GH DevOps

79241954

Date: 2024-12-01 15:59:45
Score: 1
Natty:
Report link

use resizeMode: "cover" instead of contain.

"splash": {
  "image": "./assets/images/splash.png",
  "resizeMode": "cover",
  "backgroundColor": "#232323"
},
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nativedev

79241945

Date: 2024-12-01 15:53:44
Score: 2.5
Natty:
Report link

The length of a rectangle is 6 meters. The breadth of a rectangle is 7 meters. The area of a rectangle is 42 meters.

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

79241941

Date: 2024-12-01 15:51:43
Score: 4.5
Natty: 4.5
Report link

I have faced the same problem on my website https://apkepoch.com

Sometimes, Google is not serving ads. At that time, we can replace blank AdSense blocks using fallback ad code. You may read this article, and I hope it will be helpful. Read this article- https://adinserter.pro/documentation/adsense-ads#replacing-blank-adsense-blocks

Reasons:
  • Blacklisted phrase (1): this article
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Apkepoch