79221723

Date: 2024-11-25 05:30:37
Score: 10 🚩
Natty:
Report link

i also faced such problem, did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you 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: user28468435

79221722

Date: 2024-11-25 05:29:37
Score: 3
Natty:
Report link

enter image description here

Conduct global search on vs code, just below the global search window we can see the Open in editor link, just click and it will open the new file where all the search results will be listed along with filename and the line containing the search query

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

79221721

Date: 2024-11-25 05:29:37
Score: 3
Natty:
Report link

If you access http://0.0.0.0:8000 through your browser, it is possible that your browser uses HTTPS protocol by default, and actually your request is https://0.0.0.0:8000 . And your development server only supports HTTP protocol, which leads to the request error

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

79221713

Date: 2024-11-25 05:22:35
Score: 0.5
Natty:
Report link

95__ONLY_HEADSHOT__LOCATION_VIP_NEW_UPDATE_CONFIG_FILE.zip 1 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Metadata/global-metadata(1).dat 2 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Resources/mscorlib.dll-resources(1).dat 3 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/1.0/DefaultWsdlHelpGenerator(1).aspx 4 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/1.0/machine(1).config 5 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/Browsers/Compat(1).browser 6 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/DefaultWsdlHelpGenerator(1).aspx 7 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/machine(1).config 8 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/settings(1).map 9 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/2.0/web(1).config 10 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/mconfig/config(1).xml 11 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/browscap(1).ini 12 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/etc/mono/config(1) 13 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/CreatorArc.txt 14 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/Rustamytff.txt.ok 15 Cannot open output file : errno=13 : Permission denied : /storage/emulated/0/‪Android/data/com.dts.freefireth/files/il2cpp/apk(1).ver

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

79221708

Date: 2024-11-25 05:18:35
Score: 3.5
Natty:
Report link

Apparently, this is a confirmed bug in MongooseIM as detailed here.

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

79221703

Date: 2024-11-25 05:16:34
Score: 2.5
Natty:
Report link

session_start() only creates uniq id for session and array, but not saves it. At the end of your first script you need to use session_write_close()

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

79221695

Date: 2024-11-25 05:10:33
Score: 1
Natty:
Report link

For backend development, some of the best acceptance testing frameworks include:

  1. Cucumber - Widely used for Behavior-Driven Development (BDD), it allows writing tests in plain English, making it accessible for non-developers.
  2. Postman - Great for API testing, it supports automated testing and integrates easily with CI/CD pipelines.
  3. JUnit - Popular in Java environments, it helps with testing backend services and ensures that APIs behave as expected.
  4. Mocha - A flexible testing framework for Node.js, useful for both unit and acceptance tests.
  5. RSpec - Ideal for Ruby developers, it’s highly readable and suitable for testing backend behavior.

These frameworks provide various features tailored to backend testing needs, from API checks to integration and system testing.

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

79221689

Date: 2024-11-25 05:07:32
Score: 3.5
Natty:
Report link

It was already fixed based on the error log provided. Turn out the restoration I did was not complete at the time

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

79221686

Date: 2024-11-25 05:06:32
Score: 2.5
Natty:
Report link

In my case it just reconnects on its own, I think you don't need to do anything.

You need removechannel when timeout event fires

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

79221682

Date: 2024-11-25 05:05:29
Score: 7.5 🚩
Natty:
Report link

try to set up - Log on as a batch job https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/security-policy-settings/log-on-as-a-batch-job

Using powershell, how do I grant "Log on as service" to an account?

Reasons:
  • Blacklisted phrase (1): how do I
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user26573235

79221680

Date: 2024-11-25 05:03:28
Score: 3
Natty:
Report link

When updating the sequence, set the value to a multiple of 50 plus one, and at least 100 above the revinfo max(id). Example:

max(id) = 345, seq next value = 451

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Gerson Samaniego

79221672

Date: 2024-11-25 04:57:28
Score: 1.5
Natty:
Report link

use this in your app/build.gradle compileSdk flutter.compileSdkVersion ndkVersion flutter.ndkVersion

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

79221664

Date: 2024-11-25 04:47:24
Score: 8 🚩
Natty: 4
Report link

Did you find the solution to this? I am also facing this issue

Reasons:
  • Blacklisted phrase (1): also facing this
  • RegEx Blacklisted phrase (3): Did you find the solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find the solution to this
  • Low reputation (1):
Posted by: John

79221661

Date: 2024-11-25 04:44:23
Score: 1.5
Natty:
Report link
document.addEventListener('DOMContentLoaded',()=>{
const defaultButton = document.getElementById('slide2');

if(defaultButton){
defaultButton.checked = true;
}
});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Soumik Mondal

79221658

Date: 2024-11-25 04:41:23
Score: 0.5
Natty:
Report link

I had this issue in a Java 11 codebase that was still using Groovy 2.4 - I don't know what the exact issue was (something must have changed in Groovy 2.5 because Groovy 2.4 doesn't seem to work with Java 17) but removing the trait that was throwing the exception fixed the issue for me.

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

79221654

Date: 2024-11-25 04:38:22
Score: 0.5
Natty:
Report link

To add to the other answers, there's also a special rule ignoring templated functions that could have the signatures of the copy constructor and copy assignment operator.

Citing Effective Modern C++:

Note that there’s nothing in the rules about the existence of a member function template preventing compilers from generating the special member functions. That means that if Widget looks like this,

class Widget {

template Widget(const T& rhs);

template Widget& operator=(const T& rhs); …

// construct Widget // from anything

// assign Widget // from anything

};

compilers will still generate copy and move operations for Widget (assuming the usual conditions governing their generation are fulfilled), even though these templates could be instantiated to produce the signatures for the copy constructor and copy assignment operator. (That would be the case when T is Widget.)

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

79221650

Date: 2024-11-25 04:33:21
Score: 5
Natty:
Report link

.

That's the result I got when I put what @mklement0 put in. I don't criticize him or anything, just that that was the result

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mklement0
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ASMAZREG

79221646

Date: 2024-11-25 04:31:21
Score: 0.5
Natty:
Report link

Shortest Solution

import userEvent from '@testing-library/user-event';


await userEvent.click(screen.getByRole('combobox'))

or whatever else that is role or data-testid of your select

USE await AND userEvent

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

79221630

Date: 2024-11-25 04:24:19
Score: 1.5
Natty:
Report link
php artisan route:list --except-vendor

For only your routes

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

79221612

Date: 2024-11-25 04:13:17
Score: 0.5
Natty:
Report link

The issues was the website using Shift_JIS. So Use iconv-lite to convert response to UTF-8. Heres how:

import fetch from 'node-fetch';
import { JSDOM } from 'jsdom';
import pkg from 'iconv-lite'; // Import iconv-lite. 

fetch('hhttps://target-website.tld/bbs.cgi')
  .then(response => response.buffer()) // get the buffer instead getting text.
  .then(buffer => {
    // convert to utf-8
    const htmlString = pkg.decode(buffer, 'sjis');
    console.log(htmlString); // IT WORKS

    // some code
  })
  .catch(error => console.error('Error fetching HTML:', error));
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: もぐもぐぷりん

79221593

Date: 2024-11-25 04:00:15
Score: 1
Natty:
Report link

MultiThreaded rendering with actor - Apple Developer Forum Replied by Apple DTS Engineer Quinn, said that I should draw(in:) frames with sync.

I can't get how to sync get the data that have to access using async before, and the Apple Engineer Quinn answered it. I think everyone here can have a look that Quinn replied.

But I'll still give the bounty to Ostoura. Thank you for your answer.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: timyau

79221582

Date: 2024-11-25 03:50:13
Score: 3
Natty:
Report link

It is recommended to use triggers to process the %formfile% when identifying the creation instructions.This is highly customizable

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

79221579

Date: 2024-11-25 03:49:12
Score: 2
Natty:
Report link

Just because nobody replied and i found a workaround:

You have the db in 1 container, and the app in another one and they can connect with each other. Searched for answers, didn't found so tried something.

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

79221577

Date: 2024-11-25 03:48:12
Score: 1
Natty:
Report link

The solution was to download https://packages.msys2.org/packages/mingw-w64-x86_64-libyaml and install it manually by opening C:\Ruby33-x64\msys64\msys2 and running:

pacman -U /c/Users/burkipe/Downloads/mingw-w64-x86_64-libyaml-0.2.5-2-any.pkg.tar.zst

I then needed to specify the libyaml directory as so, in Git bash:

gem install psych -v 5.1.2 -- --with-libyaml-dir=/C/Ruby33-x64/msys64/mingw64/

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

79221575

Date: 2024-11-25 03:47:12
Score: 0.5
Natty:
Report link

Here is an answer that is more similar to your code setup:

user_input = input()
splitstring = user_input.split()
while splitstring[0] != 'quit': # this will initiate the loop
    if splitstring == 'quit': # this will immediately quit the loop upon discovery of 'quit' in splitstring list position 0
        break # breaks the loop to quit
    else: # runs the loops until all input has been looped that does not include 'quit'
        print('Eating', splitstring[1], splitstring[0], 'a day keeps the doctor away.')
        user_input = input()
        splitstring = user_input.split()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Taylor Paul Lilly

79221573

Date: 2024-11-25 03:44:10
Score: 2.5
Natty:
Report link

When generating with a custom output, an SQL folder is created in the root directory.

exemple:

orm/sql
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: tamon suzuki

79221567

Date: 2024-11-25 03:39:09
Score: 3
Natty:
Report link

I have this same error, The difficult part is knowing which plugin is causing the problem, since I have 70 installed, it is increasingly difficult to work with react-native

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

79221564

Date: 2024-11-25 03:36:09
Score: 1.5
Natty:
Report link

_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_830EDADC7381E8EA65ADA4070B950DE8407B5785BE30F6EF98806FA153C544E41BF52FAABE0115ABD1CA71A8CDA24EB08A79C0B0FFD937EC02294A8DA79F22CCB2860743C537A77412D864DEDDAF6392F2314869FE38A0501629BFA495650CE8D35A79FDA6C8E6175B530A35242006DD2DC5C9ADD10C76AB5F1C1C1AE2999364FF433165F9F83EEA960D62B2F2E6312669794FA389467384C49D3399A3D3791B0CB6687B99174285B48025F739C521CF2949492FE50FFF97397118C728D3BFB8D2B8CFE3303E862B94D70DCD91E0FB33CB55E879420471BD5231B6321E7FFF1EFF14FB1886DAC27F64C54207284FD783C0AC30143593C5A5547B439CB34FE1FFBCE1304A4274FB21A34694188F6CD038C02C687D1A01FCA4D666BD03D426CD3F612F6A4CBB19CA089409C836A039F32295A89220F6590089247C9693F5D3A0538F72295FBC2DEC2B564F33D7C7D93398E2C8B11FE606EB585AB2D3F9983B30C4D42532402203B1736D1052C44FB55471DB8AADB505F1342F0A848362A7EF4068E223DE82F4A092C3A64BB81B0D4B845D1BC224F443EE22EF10811652BF31DD2AB0D47A2DC5405DAD3D967DD470469D2C298C0CF4D1A095E0798436082F2D0B3C51AEC7B2A480FE50323729D9CF1D759063546798911AC40D6B13B2FF5A8393F4439D6476828BC2107DE3325E14CEDCEA07D4BEECA995ADDA0DDAEFD98BEB1FEAC1E091379F30F7A9310174DE22789F8BA2F43EA911F34B4B755A0DD4E61EF94446A17C669FF6AD341104CAFA3DB52CF3F92C77E11E160F920D452E706CBE70ECD5508DE8106CCCFC498A8AE39A29510A5D4566A705E60C7161298AEBA7A165DCF3CFFA6DC2AC004C782BEE06E54E914A81E751ABC379761AD71944432BE4488E83DE3CEC5F412CCE60EA78B59063B9DE0D9ECC789A76DA08152BAFBDB62CCDD38D50B25CE89828A67E491438331107664E467CA63B58B0400987383AE51D47E49DBFA896FDADAAC067FB60047A8BBE15F8D4C4A75ACF3B5790B79A5D5A101D3ED59A637F0F77E66FD1AEF7FB9451B06077AA2C64A53A971586CEF2B0A5072388E5229D2B513A267EDF1E2956E15F59BD01ECA9A39E2DADB6F0103A00539729249CFA711E

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Павел Щукин

79221550

Date: 2024-11-25 03:30:07
Score: 1
Natty:
Report link

Errors like that are not quite runtime exceptions, there are lexical ones. The exception is thrown not by execution of an ill-formed code, but by loading the code text and parsing it. You can handle them, but you don't have the context to do so.

You can get the context if you dynamically load a script text. For example, you can do it with a Web page. You can dynamically insert a script in HTML. Catching syntax errors in a dynamically loaded script is possible, but pretty complicated, I would need to show a good deal of code. You can try to use this idea, if you like it, ask more questions if you face problems.

By the way, you cannot do such tricks with module importing.

// You cannot to it!
try {
    // unfortunately it won't work: SyntaxError
    import LoginPage from "./LoginPage.mjs";
    // import only works in the most outer scope
} catch (e) {
    console.log(e);
}

Another option is the Function constructor. You can take some code text, arguments, pass them to the Function constructor and execute that code. Consider this a safe and more flexible variant of eval. Note that eval is considered risky and should be avoided. At the same time, there are cases where the Function constructor is absolutely necessary. However, many people find this topic very controversial and may down-vote my answer fiercely. 😏

Now, you can wrap a Function constructor call in try-catch.

Let's see:

const badCode = `
    ? some garbage
    return a + b;
`;

try {
    const result = new Function("a", "b", badCode)(2, 3);
    console.log(`Function return: ${result}`);
} catch(e) {
    console.error(`Event SyntaxError can be caught: ${e.message}`);
}

console.log("In all cases, execution recovers");

Comment out ?? garbage to run this dynamic code:

const badCode = `
    //? some garbage
    return a + b;
`;

try {
    const result = new Function("a", "b", badCode)(2, 3);
    console.log(`Function return: ${result}`);
} catch(e) {
    console.error(`Event SyntaxError can be caught: ${e.message}`);
}

console.log("In all cases, execution recovers");

Reasons:
  • RegEx Blacklisted phrase (2): down-vote
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79221545

Date: 2024-11-25 03:28:07
Score: 3
Natty:
Report link
shell_exec("start " . escapeshellarg($filePath));
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ali Rad

79221540

Date: 2024-11-25 03:25:06
Score: 2
Natty:
Report link

import openpyxl as op import datetime as dt

wb = op.load_workbook("Date_format.xlsx") ws = wb["Sheet1"]

your_date = ws.cell(row=1, column=1).value your_formatted_date = your_date.strftime("%d-%b-%y") print(your_formatted_date)

22-Nov-21

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

79221538

Date: 2024-11-25 03:24:06
Score: 2
Natty:
Report link

Check the path to you ios project, the folder might have wwhite space, fix that and try again.

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

79221531

Date: 2024-11-25 03:20:05
Score: 0.5
Natty:
Report link

Did you want something like this?

import openpyxl
import datetime
from openpyxl.utils import get_column_letter

# ...

cell = row[col]
val = cell.value
if isinstance(val, (int, float, datetime.datetime)):
    val = cell.number_format.format(val)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • High reputation (-2):
Posted by: Tom

79221523

Date: 2024-11-25 03:17:04
Score: 0.5
Natty:
Report link

To improve aws_s3.table_import_from_s3 performance, start by optimizing database parameters - set maintenance_work_mem to 1GB, increase max_wal_size to 4GB, and set checkpoint_timeout to 30 minutes. Drop indexes and foreign keys before import and recreate them after loading completes. Ensure the S3 bucket and RDS instance are in the same region and Availability Zone to minimize network latency. Consider using an S3 VPC endpoint for private connectivity. Monitor and tune ReadIOPS metrics using CloudWatch to verify if your working set fits in memory. For parallel loading, you can run multiple psql commands simultaneously to utilize available CPU cores effectively. However, be aware that increasing max_wal_size and checkpoint_timeout could extend recovery time to 10+ minutes in case of failover.

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

79221520

Date: 2024-11-25 03:12:03
Score: 4.5
Natty:
Report link

Actually,I am facing the same issue, but for me the other notebooks with (0.1 ,0.0001 learning rate with 25 epochs), have trained successfully. But the one with 0.01 have stucked at the epoch 1.

If you figured the solution, kindly tag

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

79221502

Date: 2024-11-25 02:58:01
Score: 1
Natty:
Report link

the error comes if you use vision framework request in simulator.This specific feature does not work properly in the iOS Simulator due to hardware limitations, you can use a real device for running

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

79221501

Date: 2024-11-25 02:57:00
Score: 4.5
Natty:
Report link

Server B Conversion Service Processing, skipping x segments ahead,xxxx

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: chunjie yang

79221499

Date: 2024-11-25 02:56:00
Score: 0.5
Natty:
Report link

We already know that it should be complete BST with 4 as root and position of every element is fixed. Now only the order of element could be changed only like : 2 always come before 1 and 3 but 1 and 3 in any order Similarly goes for 6 comes before 5/7.

Now we can pick any one elment from 2/6 first say 2 : then need to pick order for left 5 elments - - - - -

As 6 should come before 5/7 we can pick this fixed order of 3 from 5 positions in 5C3 ways and multiplying 2! for 5/7 arrangement . Finally multiplying the 2! for arrangement of 1/3 .

Hence , total ways = 5C3 * 2 * 2 = 40.

Similarly total ways if pick 6 first = 40.

Hence , total ways finally = 40 + 40 = 80.

Explanation

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

79221498

Date: 2024-11-25 02:54:59
Score: 1
Natty:
Report link

I have made a package called resolvepy which solves homogenous recurrence relations. After downloading, you can solve a reccurrence relation like this:

from sympy import *
from resolvepy import *

n = Symbol('n')

# create the sequence
f = Recurrence('f')
f.index = n

# input the starting items
f[0] = 1
f[1] = 2

# provide a recursive formula
f[n] = f[n-1] + f[n-2]

explicit = f.resolve()
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kiwirafe

79221495

Date: 2024-11-25 02:52:59
Score: 0.5
Natty:
Report link

I've found a way to make it work by adding the audience as parameter when login.

final credentials = await auth0.webAuthentication().login(useHTTPS: true, audience: 'YOUR_AUTH0_API_IDENTIFIER');
final access_token = credentials.access_token; // Valid JWT token
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: nono

79221489

Date: 2024-11-25 02:47:58
Score: 1.5
Natty:
Report link

Try adding

maven { url=uri("https://jitpack.io") }

to your settings.gradle > dependencyResolutionManagement > repositories

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nguỹn Đạet

79221487

Date: 2024-11-25 02:45:55
Score: 7.5 🚩
Natty:
Report link

Can you show your table structure?It will help us to diagnose.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show your
  • RegEx Blacklisted phrase (1): help us
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: zb cxy

79221486

Date: 2024-11-25 02:44:55
Score: 2.5
Natty:
Report link

If you're looking for a free solar radiation API to recreate a map like the JRC PVGIS for a non-commercial app, the best option is likely to use the PVGIS API itself, which offers a free tier with access to basic solar radiation data in JSON format.

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

79221485

Date: 2024-11-25 02:44:55
Score: 4
Natty: 4.5
Report link

You might want to see solution posted by https://github.com/victorbrax on https://github.com/xlwings/xlwings/issues/1360

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

79221483

Date: 2024-11-25 02:41:52
Score: 11.5 🚩
Natty: 6.5
Report link

were you able to solve this? I'm having the same issue. Apple Support is ignoring my emails.

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carlos Mosquera

79221474

Date: 2024-11-25 02:36:51
Score: 0.5
Natty:
Report link

This issue happen to me after I deleted the first and original branch (master), that was created by DevOps.

I had already successfully created a CI pipeline from the repos. When I returned to create a CD I experienced the issue described, 'No matching repositories were found'. The only plausably related action I had taken was to create a 'main' branch of 'master' and then delete 'master'. In essence, to try rename 'master' to 'main'.

After this I created a new repository, with the first source branch 'master' intact, and this issue didn't occur.

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

79221469

Date: 2024-11-25 02:35:51
Score: 1
Natty:
Report link

If you've gone through all the other solutions and are still getting the same error, the issue might be with where your project is located for Mac users.

If your project is in a folder that is linked to iCloud backup, then it will keep happening.

Move your project to a different location that is not under iCloud backup like: /Users/<your_name>/<project>

I initially had mine in: /Users/<name>/Documents/<project>. I tried everything but it didn't fix it. Moved it to /Users/<your_name>/<project> and it worked immediately

Reasons:
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (0.5):
Posted by: Uma

79221458

Date: 2024-11-25 02:31:47
Score: 11.5 🚩
Natty: 5.5
Report link

Have you got any solution for it if yes please help me with same I am facing same issue

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): please help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amit Bhawsar

79221453

Date: 2024-11-25 02:29:46
Score: 2.5
Natty:
Report link

You would probably need to provide the actual website that you are trying to scrape but at a first glance, it looks like you are trying to transform binary data (an image probably) to text

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

79221447

Date: 2024-11-25 02:22:45
Score: 3.5
Natty:
Report link

The issue is fixed now after updating all the nuget packages to the latest version and downgrading the Microsoft.Azure.WebJobs.Extensions.ServiceBus to 5.120. 0.

Added the below value in Azure portal in the Configuration enter image description here

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

79221445

Date: 2024-11-25 02:20:45
Score: 5
Natty:
Report link

Just for clarification, are you wanting to know how to write an sh script for those commands or do you need help uploading it through the AWS Management Console?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mr Wesley

79221441

Date: 2024-11-25 02:18:45
Score: 0.5
Natty:
Report link

Why is RestrictingType<?> not within the bounds of T?

Because ? is an unknown type because T is actually not bound in RestrictingType<T>. It can be anything, like Integer. Therefore the compiler cannot know if ? implements RestrictingType and consequently SelfReferringInterface.

And why is the functionaly similar ? extends RestrictingType<?> no problem?

Because now you've bounded ? with RestrictingType<?> which means compiler knows it's a RestrictingType and consequently SelfReferringInterface.

Also, funny, but this compiles and runs on my Java 21.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why is
  • Low reputation (0.5):
Posted by: Smola

79221435

Date: 2024-11-25 02:10:43
Score: 2
Natty:
Report link

The issue you're likely facing is that your animation is updating the bar height too quickly, causing it to briefly flash at a very small size before jumping to the next value. To fix this, you need to gradually increase the bar height over time within each animation step, instead of instantly changing it to the full value.

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

79221431

Date: 2024-11-25 02:06:42
Score: 2
Natty:
Report link

This can be achieved by renaming or creating a new connector and specifying snapshot.mode="never". Offset works based on connector name.

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

79221428

Date: 2024-11-25 02:04:42
Score: 2
Natty:
Report link

%ANDROID_SDK_ROOT%\cmdline-tools\latest\bin folder. all file error open each file. check this.

if !version! lss 170 if "%SKIP_JDK_VERSION_CHECK%" == "" ( echo Java version 17 or higher is required. echo To override this check set SKIP_JDK_VERSION_CHECK goto :eof )

if !version! lss 170. 170? edit 17. good work!!

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 나그네

79221422

Date: 2024-11-25 02:01:41
Score: 1.5
Natty:
Report link

m is the SI symbol of milli, which means 1e-3. For example, 0.023736322531476617 will be displayed as 23.7m in the UI of influxdb.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is the
Posted by: link89

79221418

Date: 2024-11-25 02:00:41
Score: 3.5
Natty:
Report link

Still does not seem to be supported in 8

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

79221397

Date: 2024-11-25 01:43:38
Score: 1
Natty:
Report link

the library for adding Sticky Headers to ListView or GridView

 implementation 'com.github.DWorkS:AStickyHeader:9a40740d1a'

is the newest version but doesn't seem to work at the moment

Refer to the documentation.

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

79221392

Date: 2024-11-25 01:37:37
Score: 0.5
Natty:
Report link

make sure you have created the relationship between two tables and try this to create a column

Column = CALCULATE( sum('Data'[Amount]))+0

enter image description here

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Ryan

79221386

Date: 2024-11-25 01:34:35
Score: 1
Natty:
Report link

you can create a column

Column = DIVIDE('Table'[client number],sum('Table'[client number]))

enter image description here

or a meassure

MEASURE =
DIVIDE (
    SUM ( 'Table'[client number] ),
    CALCULATE ( SUM ( 'Table'[client number] ), ALL ( 'Table' ) )
)

enter image description here

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

79221382

Date: 2024-11-25 01:29:34
Score: 0.5
Natty:
Report link

I've tried to skip the step of writing each small dataframe as a small file to local disk.

It filtered the rows (4 or 5 in Meet) instead of saving all rows in each smaller dataframe, and tried directly wrote them to a final txt file.

The disadvantage was that, I am not able to monitor the progressing as it's running "behind". Taken even longer hours than the old method, I aborted the test.

Another try was to only save the small dataframe when there are filtered rows (4 or 5 in Meet), and save them into small Parquests. Taken a further step to contact the Parquests. This is the most efficient way I can get, even though it still takes long.

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Mark K

79221376

Date: 2024-11-25 01:20:31
Score: 0.5
Natty:
Report link

VSCode has to be explicitly granted Local Network Access after updating to Sequoia

The setting can be found in System Settings -> Privacy & Security -> Local Network. Giving VSCode Local Network access solved the issue.

source

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

79221375

Date: 2024-11-25 01:20:31
Score: 2
Natty:
Report link

So yes, for some reason, AWS placed Bedrock`s functionality to BedrockAgent (for me - Agent is sounds like another part of Bedrock), so, it is enough to use https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent.html to get access to, for example, data sources

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: prosto.vint

79221367

Date: 2024-11-25 01:14:30
Score: 3.5
Natty:
Report link

First of all I am comparing the code provided in @Joachim with or without the if(0) clause at second task. When using gcc 11.4.0 I see differences, but when using clang 14.0.0 the two codes run in about the same time (of course adding if(0) gives some slight edge but not big differences). Then I tried some stupid experiments like the one below:

#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <omp.h>

struct timeval t1, t2;

void recursive_task(int level)
{   
    //printf("%d\n", level);
    
    if (level == 0){
        sleep(1);
        return;
    }
    else
    {
            #pragma omp task
            {
                recursive_task(level-1);
            }
             #pragma omp task 
            {
                recursive_task(level-1);
            }
            #pragma omp taskwait
    }
}

int main()
{
    double time;

    gettimeofday(&t1, 0);

#pragma omp parallel num_threads(4)
    {
#pragma omp single
        {
            recursive_task(2);
        }
    }

    gettimeofday(&t2, 0);

    time = (double)((t2.tv_sec - t1.tv_sec) * 1000000 + t2.tv_usec - t1.tv_usec) / 1000000;
    printf("%.4f\n", time);

    return 0;
}

Now this should run in about 1 second but in gcc this sometimes runs in about 2 seconds and very rarely (at least in my laptop) runs in 1 second so it does not always manage to schedule correctly and take advantage of the enough threads. This is a very strange inconsistency. I think there are some issues with gcc with openmp scheduler, like a bug or something. When using if(0) at second task it always seems to run in 1 second, as expected, but normally it should not be that huge difference just adding if(0).

On the other hand, with clang both with and without if(0) run in 1 second. I think there is some bug in gcc, can someone confirm that the bug presented above can also be reproduced and I am not crazy?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Joachim
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: hpc_beginner

79221360

Date: 2024-11-25 01:08:29
Score: 1.5
Natty:
Report link

Here's a few possibilities that I can think of with the limited info:

1. In your Animator, you most likely have multiple states, each one for each state of your character. If you simply have a delay in your character going from falling to idle, then it's possible that you have exit time on your transitions, which is causing it to have delay between states. You should do this for every transition in your animator graph. Example (The arrow properties in image should be, respectively, false, and zero.

2. Ensure you have a transition going from each state and back, not just one way. It's pretty simple to make a small mistake with a large graph like the player's animations, so double check that you have a transition back from falling to grounded.

3. Debug your isGrounded boolean. Perhaps it's just not actually working correctly, and it's gone unnoticed? Simply Debug.Log(isGrounded); will do the trick.

4. Alternatively, if none of these work, please expand on your issues, what is exactly happening, is the isGrounded variable working correctly? Are you stuck in falling, and what does your animator graph look like?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Timmy Dev

79221354

Date: 2024-11-25 01:02:28
Score: 2
Natty:
Report link

The discrepancy between your C# implementation of the Welch's method and MATLAB's pwelch function when using a smaller window size (like hanning(512)) is likely due to differences in how the windowing is handled at the signal edges when segmenting the data; specifically, how MATLAB might be implicitly zero-padding the signal at the boundaries when calculating segments with a smaller window size than the segment length.

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

79221349

Date: 2024-11-25 00:57:27
Score: 2
Natty:
Report link

-fsanitize=undefined confirms there is no overflow.

This statement is false. (Speaking as a logician ;-) )

-fsanitize=xxx instruments the code with run-time checks. Of course, just compiling with -fsanitize=undefined does not provide any confirmation/infirmation on the potential overflow.

If you run the instrumented code, and it aborts or logs "UB: overflow", you can definitely state that there is an overflow. If you get no error, it just means that:

Cheers !

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Steve

79221339

Date: 2024-11-25 00:46:24
Score: 0.5
Natty:
Report link

You should query on application with Key of Application

SELECT * FROM Module WHERE application = Key(Application, '8888ddd90-9594-43f3-87f2-8e27e34dbfc6') limit 10

Where 8888ddd90-9594-43f3-87f2-8e27e34dbfc6 is the PK of Application

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

79221334

Date: 2024-11-25 00:41:20
Score: 10 🚩
Natty: 4.5
Report link

Did you find a solution to this? I'm facing the same issue

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

79221333

Date: 2024-11-25 00:41:20
Score: 2
Natty:
Report link

After you've renamed all of the manifests, directories, name of the app, etc., don't forget this little file: .idea/.name That's what feeds the name to the project name-and-widget, here:

picture of my Android Studio session

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: D. Goldhirsch

79221329

Date: 2024-11-25 00:38:20
Score: 1
Natty:
Report link

Now it's possible, you just have to add the file path in the config.toml:

[functions.hello-world]
# other entries
entrypoint = './functions/hello-world/index.js' # path must be relative to config.toml

entrypoint is available only in Supabase CLI version 1.215.0 or higher.

https://supabase.com/docs/guides/functions/quickstart#not-using-typescript

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

79221324

Date: 2024-11-25 00:28:18
Score: 1
Natty:
Report link

If you are using Bitbucket Cloud, you can use the Forge app described in this article:

Access and Share Repository Size Data Across All Projects

The app adds the size information in the repository overview for each user to see.

The app adds a Workspace Settings Menu page with the size of all repositories in a workspace and a download option to export the information in a CSV file.

I'm showing how the app works in this YouTube video.

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Low reputation (1):
Posted by: Caterina Curti

79221321

Date: 2024-11-25 00:26:16
Score: 11 🚩
Natty: 6
Report link

Have you managed to use Autogen with NVIDIA NIMs? if so, could you provide an update? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (3): Have you managed
  • RegEx Blacklisted phrase (2.5): could you provide
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Marcelo

79221315

Date: 2024-11-25 00:24:15
Score: 4
Natty:
Report link

change it and fixed for my issue: https://github.com/CocoaPods/CocoaPods/issues/12671#issuecomment-2467142931

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

79221301

Date: 2024-11-25 00:14:13
Score: 2
Natty:
Report link

Enter the sign-in code shown on the sandbox sign-in interface in the field below to authorize the sandbox environment to connect to your account and load your app in development mode.

Sign-In Code

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

79221300

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

I let the code talk:

functions:
    TheNameOfFunction:
    name: 'TheNameOfFunction'
    handler: src/functions/func.default
    events:
      - s3:
          bucket: !Ref StreamS3
          event: s3:ObjectCreated:*
          existing: true
resources:
  Resources:
    Type: AWS::Lambda::Permission
    DependsOn:
      - TheNameOfFunctionLambdaFunction # --> `${FuncName}LambdaFunction`
      - StreamS3
    Properties:
      FunctionName:
        'Fn::GetAtt': ['TheNameOfFunctionLambdaFunction', 'Arn'] # --> `${FuncName}LambdaFunction`
      Action: 'lambda:InvokeFunction'
      Principal: 's3.amazonaws.com'
      SourceArn: !GetAtt MetricStreamS3.Arn

So the format goes as: ${FuncName}LambdaFunction

More info:

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

79221299

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

The -j flag of ip outputs in JSON format. You can parse that with jq:

ip -j link show enp3s0 | jq -r '.[].address'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Adrian

79221288

Date: 2024-11-25 00:05:11
Score: 0.5
Natty:
Report link

This is essentially a docker/container image whereas the public repository contains code for the Azure VM images.

github-hosted runners execute the workflows in virtual machines hosted in Azure.

If you intend to use the same VM images repository, then you need to set the VM infrastructure in Azure and deploy your VM with images generated from the repository.

However, for containerized self-hosted runner you need to create your own docker images, the public github runner images repository can only provide you with the software that you may intend to install in your image.

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

79221285

Date: 2024-11-25 00:03:10
Score: 1.5
Natty:
Report link

Ok, found an explanation here https://note.nkmk.me/en/python-numpy-dtype-astype/ Scroll down to "The number of characters in strings"

numpy creates the array with the maximum number of characters allowed in an element = the longest element. In my case this is 3. That is what dtype='<U3' indicates when you print the array. To allow additional characters in an element specify the datatype as dtype = 'U#' where # is the number of characters desired. I want to substitute "high" for "low" so dtype = 'U4' will work as indicated in the code below:

import numpy as np

X = np.array(["low"]*10, dtype = 'U4')
X

This returns: array(['low', 'low', 'high', 'low', ...])

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

79221279

Date: 2024-11-24 23:56:09
Score: 2
Natty:
Report link

This free plugin does exactly what you are looking for:

https://wordpress.org/plugins/sa-hosted-checkout-for-woocommerce/

It will replace your WooCommerce checkout with Stripe Checkout, bypassing the WooCommerce checkout completely.

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

79221273

Date: 2024-11-24 23:52:08
Score: 1.5
Natty:
Report link

You can use Langchain for building a RAG + Text to SQL LLM chat bot. Please see this Langchain tutorial.

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

79221272

Date: 2024-11-24 23:52:08
Score: 2.5
Natty:
Report link

As I copied the code to edit the answer I saw I had added a Container to put the field Container in. I removed that extra Container, and the 2 screens are displaying the same on the 13" skin in the Simulator. I will keep working with it to see if the odd behavior comes back.

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

79221269

Date: 2024-11-24 23:46:07
Score: 1
Natty:
Report link

So, you have different approaches here that could work. I believe it's important to understand what these approaches are designed for before making your choice.

OnValidate [bad choice]
It is triggered sporadically when serialized properties are changed or scripts recompile but it doesn't run consistently, making it unsuitable for smooth, frame-dependent operations. This is great to validate user data in the inspector!

OnDrawGizmos [Recommended for quick prototyping, with limitations]
Perfect for frame-dependent updates while the Scene view is active. On the other hand... it stops when the Scene view is not rendering, coupling the behavior with the editor's rendering process. This works great when you want to render operations your scripts are doing (raycasting, positioning, distances, trigger areas, ...). So... on a practical level it could perfectly satisfy your needs but it's not a great choice for a long-term solution right? Please check OnDrawGizmosSelected too.

ExecuteAlways [not the cleanest choice]
This is great for cases where a behavior designed for running constantly during play could/should also run while not playing. Let's say you're setting up a scene to render a Model rotating on the Y axis in loop: it could be useful to see the model rotating even when not playing, maybe while finishing up with the rest of the environment. --> ExecuteAlways

EditorCoroutines [Recommended for long term solutions]
Provides clean, consistent frame updates independent of Scene view rendering. Requires the Editor Coroutines package and to understand that some yield won't work as in standard Coroutines (WaitForSecRealTime) but... since you were using OnValidate [editor only callback method] and tried coroutines, I assume EditorCoroutines are perfect for your case. Oh, you need to download a pkg I believe.

AsyncMethods [ great alternative ]
Per editor frame using async/await... needs a little effort to get used to it if you never had but it could provide a great solution without having to download extra pkgs or forcing "dirty approaches". This approach is very versatile and it isn't really limited to very specific scenarios.

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

79221264

Date: 2024-11-24 23:37:06
Score: 2.5
Natty:
Report link

This is a bug in Expo Go! Because according to Expo documentation: https://docs.expo.dev/versions/latest/sdk/map-view/, MapView component is packaged with Expo Go. They have actualy highlighted that paragraph! I am about to report this as a bug.

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

79221261

Date: 2024-11-24 23:35:03
Score: 6.5 🚩
Natty: 4.5
Report link

A mi también me paso lo mismo pero si estas usando anaconda y tienes las versiones mas recientes el IN[] y el Out [] no te va a salir, de todas maneras eso no importa porque es un detalle visual a ti lo que te interesa es que las celdas te ejecuten la función de entrada y salida, solo es una pequeñez del programa

Reasons:
  • Blacklisted phrase (1): porque
  • Blacklisted phrase (1): todas
  • RegEx Blacklisted phrase (2.5): mismo
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: miguelangelcpr

79221252

Date: 2024-11-24 23:27:01
Score: 1
Natty:
Report link

Actually, I just found a way to execute multiple server actions in parallel, see https://github.com/icflorescu/next-server-actions-parallel.

Disclaimer: I'm also a contributor to the tRPC ecosystem, so I'm obviously a bit biased against creating unnecessary REST endpoints.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Ionut-Cristian Florescu

79221248

Date: 2024-11-24 23:23:00
Score: 0.5
Natty:
Report link

For anyone bumping into this, server actions were considered by many a boilerplate-free alternative to tRPC, and not being able to execute them in parallel was far from ideal.

There are even a few (12 months old) issues in Next.js repo regarding this, so it's obviously a known pain-point for many people.

Well, it turns out you can actually invoke them in parallel, have a look at the repo here: https://github.com/icflorescu/next-server-actions-parallel

Reasons:
  • No code block (0.5):
Posted by: Ionut-Cristian Florescu

79221247

Date: 2024-11-24 23:22:00
Score: 3
Natty:
Report link

Add translate-y-full class to the drawer from the bottom and this will help you to solve your issue

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

79221240

Date: 2024-11-24 23:11:58
Score: 1
Natty:
Report link

When a server is used to run Virtual Machines, using para-virtualized network interfaces which are emulated by the Hypervisor is the simplest, but by far not the most efficient solution. Therefore, when a VM guest needs a performant network interface, SR-IOV approach is used, whereby the physical network card exposes a number of Virtual Functions (VFs), and the Hypervisor exposes to each VM one or more of these VFs as a full PCI device. From the point onward, the VM guest has direct access to the network card hardware resources carved out for the assigned VFs. Often, a single VM guest needs more than just one network interface, as would be the case for a virtual appliance functioning as router or firewall. Such VFs which represent a splinter of a physical network card as often referred to as "vNIC" (virtual network interface card) or "ENA" (elastic network adapter in the case of AWS). The number of such vNICs (and hence VFs) required is in proportion to the count of VMs that a server should suppport, which can reach 256 guests on a server with 2 sockets, 64 CPU cores each with HyperThreading - at 2 vNICs per VM on average, the number would reach 1,000 VFs. If the server is intended to support containers (such as Kubernetes), being lighter than full-fledged virtual machines allows even more containers on a server, which when combined with a requirement for performant networking, i.e. SR-IOV (direct container access to network card hardware queues), means many thousands of VFs need to be supported.

With respect to implementation, Synopsis has published an article addressing the flop count challenge you are concerned about, and they recommend using SRAM to store the configuration space of PCIe devices rather than straight flops.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When a
  • Low reputation (1):
Posted by: Leonid Rosenboim

79221232

Date: 2024-11-24 23:07:57
Score: 2.5
Natty:
Report link

Configure logback https://logback.qos.ch/manual/configuration.html#definingProps and use system properties (-D) to set configuration parameters in the logback-spring.xml or on the logback.xml.

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

79221229

Date: 2024-11-24 23:06:57
Score: 2.5
Natty:
Report link

does the following satisfy your requirement?

cat test.py 
import polars as pl
import duckdb
data = pl.DataFrame({"a":[1,2,3,]})
duckdb.sql("COPY (select * from data) to 'test.csv'")
$ python test.py
$ cat test.csv 
a
1
2
3
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: ticktalk

79221223

Date: 2024-11-24 23:02:56
Score: 1.5
Natty:
Report link

try custom rewriting

pathRewrite: function (path, req) { return path.replace('/users-api', '/api/users') }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bakiiun

79221203

Date: 2024-11-24 22:37:52
Score: 2
Natty:
Report link

Try using mime version 2.5.2. instead. I had the same error while using mime 4.0.4 and after this the error was gone.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AUDIFREDDI PIETRO

79221202

Date: 2024-11-24 22:36:52
Score: 1.5
Natty:
Report link

I actually found a solution and published a little package that enables you to execute multiple actions in parallel, have a look at the repo:
https://github.com/icflorescu/next-server-actions-parallel

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Ionut-Cristian Florescu

79221192

Date: 2024-11-24 22:28:50
Score: 0.5
Natty:
Report link

As mentioned in Apple's documentation, only these 3 fields are populated:

A closure that receives an NEHotspotNetwork object that contains the current SSID, BSSID, and security type. This call doesn’t populate other fields in the object.

So you won't get signalStrength

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

79221191

Date: 2024-11-24 22:26:50
Score: 2
Natty:
Report link

This turned out to be a duplicate of "AWS CloudFront access to S3 bucket is denied". The "Origin Access Identity" "Signing behavior" must be "Always sign requests". I had several origin access identities and I somehow picked the one with no signing. You can view and edit your Origin Access Identities in the cloudfront console at the top level under Security > Origin access.

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

79221190

Date: 2024-11-24 22:25:49
Score: 2
Natty:
Report link

I just want to add that this is still a problem in Nov 2024. M3 Air - Macos Sequoia

it wasn't easy to find this as a solution, so brining attention to it here.

run this : softwareupdate --install-rosetta

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

79221176

Date: 2024-11-24 22:17:48
Score: 1.5
Natty:
Report link

This doesn't work in my experience because the installation hangs up specifically when you're using an nvme drive with dual boot and a previous version of fedora already once installed. Even if you remove that defo It still sees that old fedora boot folder in the UEFI. In order to erase that folder you have to boot into the usb iso, use fdisk command to find the name of the bootable efi, create an empty efi directory, mount that bootable efi file to the efi directory you just made, and then use the ls command to verify it boots in fedora, then use the rm command to remove fedora folder. Now you should be able to go back to root and then unmount and reboot. now you should be able to reboot using the usb stick iso and install normally.

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

79221172

Date: 2024-11-24 22:15:47
Score: 1.5
Natty:
Report link

I just plowed headlong into this issue - I would have commented on the 'right' answer by Andy Chang, but not enough rep!

'overlapped' is another term for Asynchronous (Boppity Bop) and I can confirm that a single pipe, with both client & server using PipeOptions.Asynchronous operates full duplex without locking up.

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

79221164

Date: 2024-11-24 22:09:46
Score: 1
Natty:
Report link

You need to use either #global {} in the CSS or <div class="global"> in the HTML. Ids and classes are two different things, and using the wrong CSS selector will not work.

Using .global will make CSS try to find an element in the class global.

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