79218247

Date: 2024-11-23 15:49:31
Score: 6 🚩
Natty:
Report link

I faced same problem during my oa of Deloitte. I also was showing mirrorTo Virtual Camera64. I searched for the cause. Then I went to window registry and searched for camera64 and deleted the registary for it solved the problem but I do not know what was causing it I did not analyzed the structure where the registry was present. now I want to know. if you are doing the same registry delete after this post then please share it with me the structure where it was present.

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (2.5): please share
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lokesh Tanwar B21EE035

79218245

Date: 2024-11-23 15:49:31
Score: 1.5
Natty:
Report link
import { Not, Repository } from 'typeorm';


return await this.MyRepository.find({
      where: { My_Field: Not(null) }
});
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NoDiced

79218238

Date: 2024-11-23 15:48:31
Score: 1.5
Natty:
Report link

I have just added https://color-mode.nuxtjs.org/ and followed the example on https://content-wind.nuxt.space/ on the content-wind git repo.

It works really well, and then I updated the transition to match that on https://icones.js.org/ because I love it :)

  1. Add the color-mode package to your repo
  2. Create the ColorModeSwitcher component
  3. Use nuxtjs/icons
  4. Use the cool animation transition

🚀

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

79218231

Date: 2024-11-23 15:46:31
Score: 2
Natty:
Report link

My "non expert" opinion - if the code compiles, it is not wrong. If it does not, then it's worthy of a JIRA ticket to the Apache Hadoop project (maybe one already exists).

Just because Javadoc is missing (somehow), doesn't necessarily mean it's wrong.

In any case, I don't know a single person that explicitly writes mapreduce API code anymore without a higher level abstraction, so what's the use case you're trying to solve?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve?
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: OneCricketeer

79218219

Date: 2024-11-23 15:41:29
Score: 1.5
Natty:
Report link

I solved. The problem was that I pretended to use flex-sm-* for mobile device, misunderstanding the functionality of it. Everything's working properly.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: thetreedev

79218210

Date: 2024-11-23 15:37:28
Score: 3
Natty:
Report link

SQLlite does not support adding a primary key field using ALTER. Try recreating the table and specify Primary Field on creation.

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

79218203

Date: 2024-11-23 15:36:28
Score: 2.5
Natty:
Report link

There is a simple solution for this:-

Step 1: Go to "Edit Configuration"

Step 2: Set 'On Update action': "Update classes and resources". Set 'On frame deactivation': "Update classes and resources".

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

79218201

Date: 2024-11-23 15:35:28
Score: 1.5
Natty:
Report link

Ok, after debugging the request following this blog it turned out that the parameters were being sent as a string "parameters":"{\"par1\":\"par2\"}" not matching the jsonb format.

I just changed the declaration of parameters in ProductFormDTO from

private Map<String, String> parameters;

to

private String parameters;

and deserialized it using ObjectMapper in ProductFormToProductEntity mapper

ObjectMapper objectMapper = new ObjectMapper();
productEntity.setParameters(objectMapper.readValue(productFormDTO.getParameters(), new TypeReference<Map<String, String>>() {}));
Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: lordlaurent

79218200

Date: 2024-11-23 15:35:28
Score: 1.5
Natty:
Report link

In latest camel version 4+, we can configure as below.

    <bean id="http" class="org.apache.camel.component.http.HttpComponent">
        <property name="connectionsPerRoute" value="${defaultMaxConnectionsPerHostOrRoute}"/>
    </bean>

http://camel.apache.org/http.html

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

79218197

Date: 2024-11-23 15:34:27
Score: 2.5
Natty:
Report link

I've had this same problem and it's solved by adding filters to make it possible to select only the backend project folder. Read this on [article][https://render.com/docs/monorepo-support#build-filters]

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

79218186

Date: 2024-11-23 15:30:26
Score: 2.5
Natty:
Report link

Good evening Getting an error? 'Option' is not defined

code :

  <Select>
       {categoris?.map((c)=>
       <Option  Key={c._id}  value={c.name} 
         label= {c.name}>{c.name} </Option>)}
  </Select>
Reasons:
  • Blacklisted phrase (1): Good evening
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: OFER D

79218175

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

I agree with @Marco around the java/maven options posted & I often use the following to build & test spring boot apps via maven:

mvn clean package

mvn -DENV_VAR_1=<val1> \
  -DENV_VAR_2=<val2> \
  -DENV_VAR_3=<val3> \
  spring-boot:run

However, I recommend using a docker file for spring boot applications using 'Dockerfile' (base image with entry point and run 'java -jar /app.war' command), 'docker-compose.yml' (with environment section that maps env vars after assigning ports), & '.env' file that holds environment variables/values only for local runs.

docker-compose.yml

services:
  service_name:
    image: app_name
    ports:
      - "8080:8080"
    environment:
      ENV_VAR_1: ${ENV_VAR_1}
      ENV_VAR_2: ${ENV_VAR_2}
      ENV_VAR_3: ${ENV_VAR_3}

.env file contents:

ENV_VAR_1=<val1>
ENV_VAR_2=<val2>
ENV_VAR_3=<val3>

Run steps via local docker desktop environment.

docker image build -t <app_name> .
docker compose up -d
docker logs <container> -f
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Marco
  • Low reputation (1):
Posted by: Conor Heffron

79218173

Date: 2024-11-23 15:25:25
Score: 1
Natty:
Report link
l = [1,2,3,4,5,6,7,8,9]
el = []
ol = []
for i in l:
    if i%2==0:
        el.append(i)
    else:
        ol.append(i)
print("Count of all the numbers:", len(l))
print("Count of even numbers:", len(el))
print("Count of odd numbers:", len(ol))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Priyanshu Biswal

79218172

Date: 2024-11-23 15:25:25
Score: 1.5
Natty:
Report link

if you try to migrate following this page flutter_migrate_gradle you need to pay attention that you not need to add flutterRoot due to in the file settings.gradle apply this propperty 'flutter.sdk'

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

79218170

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

Try set "skipFiles": [] in your launch.json. Caught exception affected by this config. I solve a similar problem using this config.

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

79218162

Date: 2024-11-23 15:21:24
Score: 3
Natty:
Report link

To see anything from BLE on Android you need to run your web app using https. Whatever framework you use make sure to serve the app using https.

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

79218156

Date: 2024-11-23 15:17:23
Score: 3.5
Natty:
Report link

For anyone who's searching a fix, answer by Ignacio Hernandez below solved my problem.

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

79218154

Date: 2024-11-23 15:17:23
Score: 2.5
Natty:
Report link

In the search bar type “cmd” (Command Prompt) and press enter. This would open the command prompt window. “netstat -a” shows all the currently active connections and the output display the protocol, source, and destination addresses along with the port numbers and the state of the connection.

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

79218145

Date: 2024-11-23 15:13:22
Score: 2
Natty:
Report link

This seems to be fixed in version 23.9.0

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

79218137

Date: 2024-11-23 15:10:21
Score: 2.5
Natty:
Report link

Yeah it's pretty insane that the simplest audio format in the world, and the most useful, isn't supported by "THE" recording API. Not sure what they were thinking over at W3C...

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

79218126

Date: 2024-11-23 15:06:20
Score: 0.5
Natty:
Report link

Based on the provided details it seems like you are importing incorrectly, instead do the following: Replace:

@import "~bootstrap/dist/css/bootstrap";

With

@import "~bootstrap/scss/bootstrap";

Since you have saas setup.

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

79218100

Date: 2024-11-23 14:58:18
Score: 0.5
Natty:
Report link

Set font and document before changing line spacing:

  private void changeLineSpacing(JTextPane pane) {
  SimpleAttributeSet set = new SimpleAttributeSet(pane.getParagraphAttributes());
  StyleConstants.setLineSpacing(set, 0.5F);
  pane.setParagraphAttributes(set, true);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dragoness

79218093

Date: 2024-11-23 14:56:17
Score: 6 🚩
Natty: 6
Report link

@yip102011 fit like a glove in my case! Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @yip102011
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Paulo Henrique

79218090

Date: 2024-11-23 14:55:16
Score: 4
Natty:
Report link

Use latest Android Studio version

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

79218086

Date: 2024-11-23 14:53:16
Score: 1
Natty:
Report link

ISC (Instruction Set Computer) refers to a computer architecture defined by its instruction set , which is the collection of machine-level commands the processor can execute . It serves as an interface between hardware and software, dictating how software instructs the CPU to perform tasks . There are two main types of ISCs : RISC (Reduced Instruction Set Computer) , focusing on simpler , faster instructions, and CISC (Complex Instruction Set Computer), using more complex instructions to perform multiple operations per command .

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

79218066

Date: 2024-11-23 14:46:14
Score: 7 🚩
Natty: 5.5
Report link

I meet the same problem, can you solve it?

Reasons:
  • 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: Bruce Le

79218061

Date: 2024-11-23 14:45:14
Score: 2.5
Natty:
Report link

faced the same issue, downgraded my java from version 23 to 17 and it worked.

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

79218051

Date: 2024-11-23 14:41:12
Score: 5.5
Natty:
Report link

No way. ÿÿÿÿÿÿÿÿÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9ÿ9

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): ÿÿÿÿÿÿÿÿÿ
  • Low entropy (1):
  • Low reputation (1):
Posted by: JuoG Elenis

79218032

Date: 2024-11-23 14:30:10
Score: 2.5
Natty:
Report link

If you use "solve(equat,dict=True", where the right side of equat must be zero, solve gives a list of a dictionary of results for all variables appearing in equat. The result looks like this: [{....}].

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

79218027

Date: 2024-11-23 14:25:09
Score: 3
Natty:
Report link

Please add the necessary WordPress and your browser's console logs to your question. I did that and I could easily debug the issue.

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

79218011

Date: 2024-11-23 14:20:08
Score: 1.5
Natty:
Report link

To edit settings.json in VS Code remote mode:

Open VS Code in Remote Mode via Remote - SSH or Remote - Containers.

Press Cmd + Shift + P (Mac) or Ctrl + Shift + P (Windows/Linux), then select Preferences: Open Settings (JSON).

Edit the remote settings.json file to adjust configurations.

Save changes with Cmd + S or Ctrl + S.

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

79218010

Date: 2024-11-23 14:19:08
Score: 3.5
Natty:
Report link

Thank you mohammadreza khorasani! I have another errors but your solution helps me too.

My exception:

InvalidOperationException: Sequence contains no matching element System.Linq.Enumerable.Single[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) (at <00000000000000000000000000000000>:0) Microsoft.AspNetCore.SignalR.Client.HubConnection..cctor () (at <00000000000000000000000000000000>:0)...

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1): I have another error
  • No code block (0.5):
  • Filler text (0.5): 00000000000000000000000000000000
  • Filler text (0): 00000000000000000000000000000000
  • Low reputation (1):
Posted by: Aleksei Burov

79218009

Date: 2024-11-23 14:18:07
Score: 1.5
Natty:
Report link

To change Android Studio's JDK, follow these steps: 1 Go to File > Project Structure. 2 Select the SDK Location section in the list of the left. 3 Deselect the Use embedded JDK (recommended) option. 4 Enter the absolute path of your installed JDK in the text box 5 Digi also recommends you lower the default memory setting for Gradle (org.gradle.jvmargs property): ◦ Create a file called Gradle. Properties in the root of your project The reference I used is the website of my university.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: ليان الحربي

79217993

Date: 2024-11-23 14:13:06
Score: 3
Natty:
Report link

If you extends from a parent and instantiate a child on the parent it may cause memory lead

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

79217988

Date: 2024-11-23 14:11:05
Score: 7 🚩
Natty: 6
Report link

а если в цикле надо учесть , что строку и количество повторений будет вводить пользователь

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Мария

79217983

Date: 2024-11-23 14:08:05
Score: 3
Natty:
Report link

CTRL+SHIFT+ALT+S gives you popup window where you find under "Modules"->"Properties"->Compile SDK Version -> 35 is the option you are looking for.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bartłomiej T

79217981

Date: 2024-11-23 14:06:04
Score: 0.5
Natty:
Report link

Following @jQueeny's explanation, I implemented the following (posted in case useful for others):

const estate = await db.collection('estates').findOne({ name: req.params.estateName });
if (!estate) {
  return res.status(404).json({ error: 'Estate not found' });
}

// Check asset of this name does not already exist
if (estate[assetType] && estate[assetType].find (el => el.name === req.body.name)) {
  return res.status(409)
    .json({ error: `An entry with name ${req.body.name} already exists in ${assetType}` });
}

let insertObj = {};
insertObj[assetType] = req.body;

const result = await db.collection('estates').updateOne(
  { name: req.params.estateName },
  { $push: insertObj }
);
if (result.matchedCount === 0) {
  return res.status(404).json({ error: 'Estate not found' });
}
res.status(201).json(req.body);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jQueeny's
  • Self-answer (0.5):
Posted by: minisaurus

79217979

Date: 2024-11-23 14:05:04
Score: 1.5
Natty:
Report link

Fixed by uninstalling matplotlib and installing matplotlib again in usual way, if necessary, delete files in ./miniconda3/envs/{env-name}/Lib/site-packages/

Will gladly edit if other details are found by other people or means

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

79217976

Date: 2024-11-23 14:03:04
Score: 1
Natty:
Report link

The problem comes from the log() method depending on a generic parameter.
When a trait is implemented in order to achieve dynamic polymorphism, (you can call this trait an interface) each implementer must provide an implementation of the expected function with the exact same prototype.
However, using a generic can be seen as defining exactly the prototype only at the call site (with actual types chosen); such a prototype cannot have been determined beforehand by the implementers in order to prepare the virtual-tables.

If your approach strongly relies on dynamic polymorphism (OO), then you should probably also consider the event parameter of log() the same way: event: &dyn Keyed.
Then, you would be able to return a Box<dyn EventPersister>.

You will face the same problem about Serialize since this trait (from serde, I assume) is not object-safe for the same reason (generic parameters).
Maybe should you introduce a serialize() method in Keyed and rely internally on serde::Serialize in the implementers?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): face the same problem
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: prog-fh

79217971

Date: 2024-11-23 14:02:03
Score: 1
Natty:
Report link
  1. You are trying to dereference the uninitialized pointers, such as:

cin >> *cppfile;

cin >> *outputfile;

To fix this, change the type of these variables to "std::string" objects and use "std::cin" to directly assign values to them.

  1. Change opt from "char*" to a "char" type.
  2. Replace the double quotes in the comparison with "opt" to single quotes:

if (opt == "1" || opt == "a" || opt == "A")

to

if (opt == '1' || opt == 'a' || opt == 'A')

  1. Include the string library to ensure the program works properly:

#include "string"

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: İnanç Görgülü

79217969

Date: 2024-11-23 14:01:03
Score: 0.5
Natty:
Report link

you can try to remove the line of

try_files $uri $uri/ =404;

and by default nextjs build directory is .next/static you can try change alias path into

location /_next/{
    alias /path/.next/;
    expires 365d;
    access_log off;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: emild_

79217963

Date: 2024-11-23 13:59:03
Score: 1.5
Natty:
Report link

Found the answer 😀 Link below, solution 2

I guess I almost had this solution, but I was using NextResponse.redirect() instead of NextResponse.rewrite(), also I like the approach of using decodeURIComponent() versus .replaceAll().

https://stackoverflow.com/a/79212001/248756

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Z0q

79217962

Date: 2024-11-23 13:59:03
Score: 1.5
Natty:
Report link

dism /online /enable-feature /featurename:IIS-WebServerRole /featurename:WAS-WindowsActivationService /featurename:WAS-ProcessModel /featurename:WAS-NetFxEnvironment /featurename:WAS-ConfigurationAPI /featurename:IIS-ApplicationDevelopment /featurename:IIS-ASPNET /featurename:IIS-DefaultDocument /featurename:IIS-NetFxExtensibility /featurename:IIS-ISAPIExtensions /featurename:IIS-ISAPIFilter /featurename:IIS-RequestFiltering /featurename:IIS-Metabase /featurename:IIS-WMICompatibility /featurename:IIS-LegacyScripts /featurename:IIS-IIS6ManagementCompatibility /featurename:IIS-WebServerManagementTools /featurename:IIS-HttpTracing

Cистема DISM Версия: 10.0.22621.2792

Версия образа: 10.0.22631.4169

Включение функций [==========================100.0%==========================]

Ошибка: 50

Такой запрос не поддерживается.

Файл журнала DISM находится по адресу C:\WINDOWS\Logs\DISM\dism.log

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): ==========================
  • Filler text (0): ==========================
  • Low reputation (1):
Posted by: Владимир Степанов

79217959

Date: 2024-11-23 13:58:02
Score: 1.5
Natty:
Report link

LimitedBox limits its size only when it's unconstrained. You need to wrap your CompositedTransformFollower with UnconstrainedBox.

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

79217946

Date: 2024-11-23 13:48:01
Score: 1.5
Natty:
Report link

I solved the problem by modifying the TextField with
.lineLimit(2, reservesSpace: true)

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28447657

79217937

Date: 2024-11-23 13:44:00
Score: 3
Natty:
Report link

"I replaced const provider = new ethers.Web3Provider(ethereum); with const provider = new ethers.JsonRpcProvider(ethereum);, and it works

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

79217932

Date: 2024-11-23 13:40:59
Score: 1.5
Natty:
Report link

I tried many things but didn't work. So what you can do, go to Homebrew Github Repository and there you'll see .pkg installer provided to each release. Simply download that file and you are good to go.

Here's the link to download the .pkg file.

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

79217929

Date: 2024-11-23 13:36:58
Score: 1
Natty:
Report link
int variable;

bool isVariableInitialized() {
  try {
    final _ = variable; 
    return true;
  } catch (_) {
    return false;
  }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Şahmirzəli Hüseynov

79217909

Date: 2024-11-23 13:24:56
Score: 4
Natty:
Report link

toolu.me/sql-to-linq-converter this link solved my problem

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Utkarsh Shukla

79217897

Date: 2024-11-23 13:14:53
Score: 3
Natty:
Report link

By the way, on Windows, don't forget to restart your computer

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

79217895

Date: 2024-11-23 13:14:53
Score: 1
Natty:
Report link

I hope this may help you

be careful with string limit,null values, implicit conversions about string agg function

use string_agg and concat function

sample

SELECT STRING_AGG(CONCAT_WS('_',ColumnA,ColumnB,ColumnC,ColumnD),',') as comment
  FROM TABLE1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fabio Ambrozio

79217893

Date: 2024-11-23 13:11:52
Score: 5.5
Natty: 4.5
Report link

Después de pasar bastantes horas buscando una solución, probando correcciones de todo tipo, buscando info de la compatibilidad del paquete con la plataforma de destino (.NET standard 2.0). Para mi también la solución fué fue degradar la versión del paquete System.Data.Sqlclient desde 4.9.0 a 4.8.1

Reasons:
  • Blacklisted phrase (3): solución
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: xcode

79217892

Date: 2024-11-23 13:09:51
Score: 0.5
Natty:
Report link

update drizzle.ts with the following code

import { Pool } from '@neondatabase/serverless';
import { drizzle } from 'drizzle-orm/neon-serverless';
import * as schema from "./schema";
const pool = new Pool({ connectionString: process.env.DATABASE_URL });
export const db = drizzle({ client: pool,schema: schema })
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dinesh

79217889

Date: 2024-11-23 13:07:51
Score: 5
Natty:
Report link

How to solve problem in mobile app name is Apana tunnel

Reasons:
  • Blacklisted phrase (1): How to solve
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How to solve
  • Low reputation (1):
Posted by: Abhay kumar Mahato

79217867

Date: 2024-11-23 12:54:48
Score: 1
Natty:
Report link

If you ever need an online tool for that, you can use Rare2PDF Converter. It lets you get a pretty formatted HTML version of your Python Notebook

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

79217866

Date: 2024-11-23 12:52:48
Score: 1.5
Natty:
Report link

To set both the window and the taskbar icon, you need to first use the ctypes commands and Afterwards the root.iconbitmap command. The skript should look something like this:

import tkinter as tk
import ctypes

# sets a basic window
root = tk.Tk()
root.title("Window")
root.geometry("800x600")

# this is the part that sets the icon
myappid = 'tkinter.python.test'
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
root.iconbitmap(r"icon_path") # used raw string to avoid backslash issues

root.mainloop()

Reference: https://www.youtube.com/watch?v=pHpI8g0COZw

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: RandomGuest

79217864

Date: 2024-11-23 12:52:48
Score: 1.5
Natty:
Report link

You can use Rare2PDF Converter. You get a pretty formatted HTML version of your Python Notebook

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: Michael Mulikita

79217862

Date: 2024-11-23 12:51:47
Score: 1
Natty:
Report link

If you ever need an online tool for that, you can use Rare2PDF Converter. You get a pretty formatted HTML version of your Python Notebook

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

79217857

Date: 2024-11-23 12:49:46
Score: 1
Natty:
Report link

Here's another solution. It's a little known fact that Google Sheets supports conditional formatting rules for borders when those rules have been imported from an Excel file.

I took your sample spreadsheet and exported it as an Excel file. Once opened in Excel, I created the following three CF rules. Conditional Formatting rules within Excel

First row: For C10:G10, I applied the solid top, left, and right border along with the dotted line for the bottom using custom formula:

=COUNTA($C10:$G10)>0.

Mid rows: For C11:G100, I used the solid left and right borders plus the dotted top and bottom border using custom formula:

=COUNTA($C11:$G11)>0.

Bottom row: For the same range, I used the custom formula:

=(COUNTA($C11:$G11)=0)*(COUNTA($C10:$G10)>0)>0

This identified the bottom row, for which I made the top border dotted and the left, right, and bottom borders solid.

Once those were created, I downloaded the .xlsx file and imported it into Sheets.

The result, instant dynamic borders without the use of Apps Script.

Dynamic table border without using Apps Script

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

79217856

Date: 2024-11-23 12:47:46
Score: 1
Natty:
Report link
$ sudo apt-get update
$ sudo apt install python3-pyx

(Linux 6.11.2-amd64 x86_64 GNU/Linux)

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

79217849

Date: 2024-11-23 12:43:45
Score: 2
Natty:
Report link
  1. import required class: -->cookie to respond a cookie. -->HttpResponse to send a response that includes the cookie.

2.Set the cookie: -->Use the HttpResponse.cookie()method to create a respone with cookie.

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

79217847

Date: 2024-11-23 12:43:45
Score: 3.5
Natty:
Report link

git config --global http.sslBackend gnutls

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

79217844

Date: 2024-11-23 12:42:45
Score: 2.5
Natty:
Report link
<h1>sad face in html </h1>
    <p style="font-size:100px">&#128540;</p>
    <p>I will display &#128540;</p>
    <p>I will display &#x1F61C;</p>
   

sad

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

79217840

Date: 2024-11-23 12:40:44
Score: 1.5
Natty:
Report link

change

module.exports = router;

into

export default router;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: emild_

79217835

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

The law of reflection states that the angle of incidence equals the angle of reflection. To use it, identify the incident ray and draw a normal (perpendicular line) at the point of impact. Measure the angle between the incident ray and the normal. Reflect the ray such that the angle of reflection equals the angle of incidence.

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

79217829

Date: 2024-11-23 12:35:43
Score: 2.5
Natty:
Report link

(there is also a alternative if you tell the script to print out the numbers adding by 1 it will tell you 158729 then stop) script below↓↓↓

i = 1 while i < 9999999999: print(i) i += 1

if that is what you meant by biggest number even though this one just makes the script end at that but this may also be on the version or type of python program you run it on

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): 9999999999
  • Low reputation (1):
Posted by: i gotchu bro

79217814

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

In my case, the root cause was the Arduino board (despite connecting with 3.3V Pin), was supplying 5V current to LoRa board!!

Using Level Shifter | Logic level convertor fixed the issue. Hope this helps someone facing similar issue !!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar issue
  • High reputation (-1):
Posted by: giri

79217810

Date: 2024-11-23 12:24:40
Score: 4
Natty:
Report link

Just to confirm... I have the same issue, with 2.1.3, and the solution was that pointed, to downgrade to 2.0.1, like Gabriel Bornia said:

            <dependency>
            <groupId>jakarta.mail</groupId>
            <artifactId>jakarta.mail-api</artifactId>
            <version>2.0.1</version>
        </dependency>
        <dependency>
            <groupId>com.sun.mail</groupId>
            <artifactId>jakarta.mail</artifactId>
            <version>2.0.1</version>
        </dependency>
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: gapler

79217809

Date: 2024-11-23 12:24:39
Score: 6.5 🚩
Natty:
Report link

I have the same issue! ChatGPT was unhelpful. Also suggested a custom docker image but kind of defeats the purpose of using Coolify to automatically build a docker image for you!

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gregsta

79217795

Date: 2024-11-23 12:17:37
Score: 4
Natty:
Report link

iframe was not loaded. I forgot to scroll to load the iframe.

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

79217793

Date: 2024-11-23 12:17:37
Score: 2
Natty:
Report link

The value Send me contains a space. When passed as part of the URL, the space is not encoded, resulting in an invalid URL. Spaces must be replaced with %20 (URL encoding for space).

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

79217789

Date: 2024-11-23 12:15:36
Score: 5
Natty: 4
Report link

@ragul does it show an error in the routing in debug, when its not running like mine, it says GoException: no routes for location:https://mydummytech-b21438u88781.herokuapp.com, this is the link of my url

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @ragul
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Kal Xander

79217786

Date: 2024-11-23 12:11:35
Score: 0.5
Natty:
Report link

It's an easy task do it like this:

const string = "3E8.8F5C28F5C28";
// Remove the fractional part
const sanitizedString = string.split(".")[0];
const result = sanitizedString.padStart(sanitizedString.length + (sanitizedString.length % 2), '0').match(/.{1,2}/g) || [];
console.log(result);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Md Yasin Ansari

79217785

Date: 2024-11-23 12:11:35
Score: 2.5
Natty:
Report link

use html code -- 😀 128512 1F600 GRINNING FACE 😁 128513 1F601 GRINNING FACE WITH SMILING EYES 😂 128514 1F602 FACE WITH TEARS OF JOY 😃 128515 1F603 SMILING FACE WITH OPEN MOUTH 😄 128516 1F604 SMILING FACE WITH OPEN MOUTH AND SMILING EYES 😅 128517 1F605 SMILING FACE WITH OPEN MOUTH AND COLD SWEAT 😆 128518 1F606 SMILING FACE WITH OPEN MOUTH AND TIGHTLY-CLOSED EYES 😇 128519 1F607 SMILING FACE WITH HALO

sad

Reasons:
  • Blacklisted phrase (1): 😂
  • No code block (0.5):
  • Low reputation (1):
Posted by: raj

79217784

Date: 2024-11-23 12:10:35
Score: 2
Natty:
Report link

I also had the same error, resolved it by adding one library for 'jackson-annotations' which was missing earlier. So there should be 3 jackson libraries with the same version i.e jackson-core, jackson-annotations and jackson-databind.

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

79217782

Date: 2024-11-23 12:10:35
Score: 0.5
Natty:
Report link

You can do this in 2 steps, first invoke your mysql command and connect it to a named pipe

socat PIPE:/tmp/mysql_pipe EXEC:"mysql"

Then connect tcp clients to that named pipe

socat TCP4-LISTEN:31337,fork PIPE:/tmp/mysql_pipe
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rob M

79217780

Date: 2024-11-23 12:07:34
Score: 1.5
Natty:
Report link

I had exactly the same problem - in my case it was caused by the service worker loaded from flutter_bootstrap.js

_flutter.loader.load({ serviceWorkerSettings: { serviceWorkerVersion: "3554334882" }

If I comment this out then the app executes only once.

I am still in the process of figuring out whether it has any impact on the rest of the app - it looks like the service workers are still being created.l

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

79217775

Date: 2024-11-23 12:03:33
Score: 4
Natty:
Report link

It can only be completely encrypted if you use Full Strict SSL in Cloudflare's SSL settings. Please refer to the link below

https://developers.cloudflare.com/ssl/origin-configuration/ssl-modes/full-strict/

Reasons:
  • Blacklisted phrase (1): the link below
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: jovenb

79217769

Date: 2024-11-23 12:00:32
Score: 2.5
Natty:
Report link

I am trying to accomplish the exact same thing with my Fishbowl Advanced instance. I keep getting certificate unknown or no common ciphers found errors in the server log regardless of what I have tried to do.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chadgriff

79217767

Date: 2024-11-23 11:59:32
Score: 2.5
Natty:
Report link

I have the same question ... trying to work around the cumbersome/complicated C/C++ tooling.

Per other replies, there is no direct way to do it, since the linking of the dynamic libraries happen before the program is executed.

But one option could be to create a "packager" program, that embeds your program, the .so files, and then on-the-fly, this packager unpacks (and caches, so it only needs to do it once) your binary and the corresponding libraries and executes it.

The bazelisk tool does something like that -- except it doesn't embed the binaries, but downloads it. But the aspect of caching the wrapped binaries and passing along all the flags is the same.

Reasons:
  • Blacklisted phrase (1): I have the same question
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same question
  • High reputation (-1):
Posted by: Jan

79217765

Date: 2024-11-23 11:58:31
Score: 3
Natty:
Report link

try these steps :-

  1. check the flutter is installed successfully (Flutter Doctor).
  2. update Vscode and flutter sdk.
  3. Run Dart Analysis Server in a Separate Terminal. open the terminal and past this command dart --enable-asserts --observe --pause-isolates-on-exceptions=always --no-sound-null-safety /path/to/your/project/lib/main.dart

if any of these steps not worked please send the ss of go to output (when the error occure their is a blue box)

Reasons:
  • RegEx Blacklisted phrase (2.5): please send
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Harshit Vyas

79217760

Date: 2024-11-23 11:57:31
Score: 0.5
Natty:
Report link

LabeledContent would be a more natural solution since it was created specifically for this purpose.

NavigationLink {
    TestView()
} label: {
    LabeledContent(fruit, value: "Details")
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Atakan Yıldırım

79217754

Date: 2024-11-23 11:55:31
Score: 3
Natty:
Report link

this is likely because of Streaming Enabled. A simple fix would be to disable it. It's a property of workspace

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

79217724

Date: 2024-11-23 11:37:27
Score: 1.5
Natty:
Report link

I have created a small extension to disable this fading: https://visualstudioextensions.vlasovstudio.com/2024/11/22/customizing-unreachable-code-fading-in-visual-studio-with-visual-commander/

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

79217707

Date: 2024-11-23 11:24:24
Score: 4.5
Natty: 4.5
Report link

Concepts use in this task are :

ul , li createChild() , appendChild() make a function and call it onClick of button?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: NaQeeb Ur Rehman

79217701

Date: 2024-11-23 11:19:23
Score: 4.5
Natty:
Report link

Thank you for the information.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yacine Houache

79217700

Date: 2024-11-23 11:19:23
Score: 2.5
Natty:
Report link

import numpy.f2py as myf2py does not work

Traceback (most recent call last):

ModuleNotFoundError: No module named 'numpy.f2py'

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

79217699

Date: 2024-11-23 11:19:23
Score: 3.5
Natty:
Report link

GO to the File -> Preferences -> Settings

Top of Search- Gpu Acceleration

change that value in to off and save. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Deepal Suranga Weerasuriya

79217695

Date: 2024-11-23 11:16:23
Score: 3
Natty:
Report link

There is no need to modify Pod file, just update all your firebase dependencies to the latest Nov 13, 2024. Then everything should work fine.

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

79217693

Date: 2024-11-23 11:16:22
Score: 4
Natty:
Report link

This worked by adding an access entry point to my cluster

where ?

eks > clusters >  Access > IAM Access entries > Create an access entry.
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Srikar Marupaka

79217682

Date: 2024-11-23 11:08:21
Score: 0.5
Natty:
Report link

To display specific view use logic shown in this example. It basically calls app.views.setCurrentView using facility and view as input.

The inventory is showing data for displayed elements. So you would need to get dbIds of displayed elements and then use DtModel.getPropertiesDt to get properties of each element.

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

79217679

Date: 2024-11-23 11:07:20
Score: 6
Natty: 7
Report link

why support python3.8.5 ,not python3.9.x?

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): why
  • Low reputation (1):
Posted by: nkinder

79217675

Date: 2024-11-23 11:06:19
Score: 2
Natty:
Report link

I got similar error message. What I do is:

  1. go to C:\Users(your_user_name)\AppData\Roaming\pgAdmin
  2. delete pgadmin4.db
  3. Run pgamin4 again.

PgAdmin generate new pgadmin4.db and the tool goes fine.

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

79217669

Date: 2024-11-23 11:04:18
Score: 8 🚩
Natty:
Report link

I'm having the same problem and I must be doing something wrong, because following your steps, leadnode, I can't get it to work.

This is with the pin at 000000: This is with the pin at 000000

This is the test with the global authentication pin of my account: This is the test with the global authentication pin of my account

Maybe it's a token problem?

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Nacho Badia

79217664

Date: 2024-11-23 11:01:17
Score: 4
Natty:
Report link
  1. Local Current Account Website [ Mr. Issa Ammar], [007999990025378724Key →13 Cle 79

Blockquote

Reasons:
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: issa ammar

79217655

Date: 2024-11-23 10:56:16
Score: 1.5
Natty:
Report link

What properties are you looking to change exactly?

From this documentation link, I managed to change the background colour of the Intellisense widget.

I added this property to the settings.json file:

"editorSuggestWidget.background": "#fff"

The final file looks like this:

{
    "workbench.colorCustomizations": {
        "editorSuggestWidget.background": "#fff"
    }
}

Not sure if the below is useful to you but:

To access settings.json, I went to File > Settings > Preferences and typed 'color'; scrolled a few items down and found an option to access settings.json. It was created as part of the .vscode folder in my current workspace.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: DumbCoder7

79217652

Date: 2024-11-23 10:55:16
Score: 0.5
Natty:
Report link
  1. Set excution_time at PHP config file
  2. Set excution_time at Xampp server
  3. Sometimes your brower will close automatically when request take time is too long -> use curl, postman to send request, or think about queue in laravel
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tran Van Hieu

79217645

Date: 2024-11-23 10:50:15
Score: 2.5
Natty:
Report link

According to the documentation, the IP is determined from headers passed into the requests : https://docs.konghq.com/hub/kong-inc/rate-limiting/#limit-by-ip-address

Is there any proxy, firewall or load balancer in front of your API gateway that could possibly always set the same IP into those headers, which would lead the plugin to think that all the requests come from the same IP address ?

Reasons:
  • Blacklisted phrase (1): Is there any
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Christophe Quintard

79217639

Date: 2024-11-23 10:45:14
Score: 0.5
Natty:
Report link

I have not been able to find a satisfying answer to submitting tasks on multiple nodes using job steps. However I found that in my case (multiple identical runs) what works really well is to submit only one job step split in many tasks. The batch script would then look like:

#!/bin/sh

#SBATCH --partition parallel
#SBATCH --ntasks=100
#SBATCH --cpus-per-task=1
#SBATCH --mem-per-cpu=100M
#SBATCH --job-name test
#SBATCH --output test.out

srun -n100 -u exec.sh

with the executable script exec.sh containing expressions with the variable $SLURM_PROCID to differentiate between the tasks. For example:

#!/bin/sh

echo $SLURM_PROCID
sleep 1200

This will result in the desired behavior, but from what I understand it has some drawbacks compared to submitting separate job steps when it comes to the independently controlling each task. However, until a better alternative is found, this is the only approach that seems to work for this use case.

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

79217637

Date: 2024-11-23 10:45:14
Score: 2.5
Natty:
Report link

The sad thing here is when you have a running licensed system, and added a trial option (for example OPC/UA to test extra functionality) the system will no go to run anymore after the trial period.

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