79347266

Date: 2025-01-10 23:52:55
Score: 6.5
Natty: 7
Report link

where do you add this script in Unity?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): where do you add this
  • Low reputation (1):
Posted by: Christian K.

79347240

Date: 2025-01-10 23:27:51
Score: 1
Natty:
Report link

project is init first then i actived storage serveice

// Prepare the upload reference, explicitly using the custom bucket URL const bucketUrl = 'gs://appppNmae-15f9a.firebasestorage.app'; const fileRef = storage().refFromURL( ${bucketUrl}/uploads/my-folder/${new Date().getTime()}_${result.name} );

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

79347225

Date: 2025-01-10 23:12:47
Score: 2
Natty:
Report link

You should use

git remote update
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mariusz

79347214

Date: 2025-01-10 23:05:45
Score: 2.5
Natty:
Report link

As addition to Christophe Le Besnerais comment. When using system variables do not forget to provide values for them as they say here

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

79347211

Date: 2025-01-10 23:04:45
Score: 1
Natty:
Report link

The accepted answer didn't work for me (Laravel 11.33.2 - no-auth), but this did:

$this->get(url()->query('/path/to/api', [
    'key' => 'value',
    'search' => 'username',
]));

Here's the Laravel URL Generation docs.

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

79347208

Date: 2025-01-10 23:02:45
Score: 2.5
Natty:
Report link

I'm on a mac and solved it with:

brew reinstall ca-certificates

source: https://github.com/rubygems/rubygems/issues/4555#issuecomment-1931256379

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Juan JosΓ© RamΓ­rez

79347201

Date: 2025-01-10 22:59:44
Score: 1.5
Natty:
Report link

I had to go back from AzureFileCopy@6 to AzureFileCopy@3, no idea why!!!

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

79347193

Date: 2025-01-10 22:53:43
Score: 0.5
Natty:
Report link

Use the Subtraction method of the DateTime class for computing the number days for your time interval. Divide the number of days by 7 and multiply the result by 2. That gives you the number of leave days of the full 7-day weeks. Divide number of days modulo 7 ( % 7 instead of / 7). This gives you the remaining days which range from 0 through 6. Count the number of leave days contained in this result which is a number in the range from 0 through 2. Add this number to the number of leave days of the complete weeks and you are done.

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

79347184

Date: 2025-01-10 22:45:41
Score: 3.5
Natty:
Report link

I was struggling to find out why my github page wasn't updating since I had started from scratch. Turns out I needed to clear my cache on chrome

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gwong

79347169

Date: 2025-01-10 22:26:38
Score: 1
Natty:
Report link

As suggested by @ADyson i used Filter.

Here the solution: stackoverflow.com/a/24026535/3061212

this my code:

    public class CustomAuthFilter : AuthorizationFilterAttribute
        {
            public override void OnAuthorization(HttpActionContext actionContext)
            {
                KeyValuePair<string, string>[] values = (KeyValuePair<string, string>[])actionContext.Request.Properties["MS_QueryNameValuePairs"];    
                string MyVar = Guid.Parse(values.Where(f => f.Key.Equals("MyVar")).FirstOrDefault().Value);    
            }
        }

    [CustomAuthFilter]
    public class FastSchedulerController : ApiController
    {           

        [Route("api/FastScheduler/test")]
        [HttpGet]
        public string test(string id)
        {
            return id;
        }
  }
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-2): solution:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ADyson
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: elle0087

79347161

Date: 2025-01-10 22:20:37
Score: 1
Natty:
Report link

So... I wrote a "simple" .xlsx parser only for getting the checkboxes since I couldn't get it working with apache poi, here you go.

The code currently still has 2 problems, which I would appreciate some help with:

  1. No approximate for checkbox position (row/column)
  2. The returned checkboxes list seems to be out of order, optimally the checkboxes should be added by going through a row, adding all checkboxes from left to right and so on...
package com.osiris.danielmanager.excel;

import org.junit.jupiter.api.Test;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.nio.charset.StandardCharsets;
import java.nio.file.Paths;
import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;

public class ParseExcelForCheckboxes {

    public static List<CheckboxInfo> parseXLSX(File file) throws Exception {
        List<CheckboxInfo> checkboxes = new ArrayList<>();
        Map<String, String> sheetNames = new HashMap<>();
        Map<String, List<String>> sheetAndRelationshipPaths = new HashMap<>();

        try (ZipInputStream zis = new ZipInputStream(new FileInputStream(file))) {
            ZipEntry entry;
            Map<String, String> xmlFiles = new HashMap<>();

            // Extract XML files from .xlsx
            while ((entry = zis.getNextEntry()) != null) {
                ByteArrayOutputStream baos = new ByteArrayOutputStream();
                byte[] buffer = new byte[1024];
                int length;
                while ((length = zis.read(buffer)) > 0) {
                    baos.write(buffer, 0, length);
                }
                xmlFiles.put(entry.getName(), baos.toString(StandardCharsets.UTF_8));
            }

            // Parse sheet names and relationships
            if (xmlFiles.containsKey("xl/workbook.xml")) {
                String workbookXml = xmlFiles.get("xl/workbook.xml");
                Document doc = parseXml(workbookXml);
                NodeList sheets = doc.getElementsByTagName("sheet");
                for (int i = 0; i < sheets.getLength(); i++) {
                    Element sheet = (Element) sheets.item(i);
                    String sheetId = sheet.getAttribute("sheetId");
                    String sheetName = sheet.getAttribute("name");
                    sheetNames.put(sheetId, sheetName);

                    // Find the corresponding relationship for each sheet
                    String sheetRelsPath = "xl/worksheets/_rels/sheet" + sheetId + ".xml.rels";
                    if (xmlFiles.containsKey(sheetRelsPath)) {
                        String relsXml = xmlFiles.get(sheetRelsPath);
                        Document relsDoc = parseXml(relsXml);
                        NodeList relationships = relsDoc.getElementsByTagName("Relationship");
                        for (int j = 0; j < relationships.getLength(); j++) {
                            Element relationship = (Element) relationships.item(j);
                            String type = relationship.getAttribute("Type");
                            if (type.contains("ctrlProp")) {
                                String absolutePath = relationship.getAttribute("Target").replace("../ctrlProps/", "xl/ctrlProps/");
                                var list = sheetAndRelationshipPaths.get(sheetId);
                                if (list == null) {
                                    list = new ArrayList<>();
                                    sheetAndRelationshipPaths.put(sheetId, list);
                                }
                                list.add(absolutePath);
                            }
                        }
                    }
                }
            }

            // Parse checkboxes in each sheet
            for (String sheetId : sheetNames.keySet()) {
                String sheetName = sheetNames.get(sheetId);
                if (sheetAndRelationshipPaths.containsKey(sheetId)) {

                    // Extract the control properties xml for checkboxes
                    for (String xmlFilePath : sheetAndRelationshipPaths.get(sheetId)) {
                        String ctrlPropsXml = xmlFiles.get(xmlFilePath);
                        Objects.requireNonNull(ctrlPropsXml);
                        Document ctrlDoc = parseXml(ctrlPropsXml);

                        NodeList controls = ctrlDoc.getElementsByTagName("formControlPr");
                        for (int i = 0; i < controls.getLength(); i++) {
                            Element control = (Element) controls.item(i);
                            if ("CheckBox".equals(control.getAttribute("objectType"))) {
                                CheckboxInfo checkboxInfo = new CheckboxInfo();
                                checkboxInfo.sheetName = sheetName;
                                checkboxInfo.isChecked = "Checked".equalsIgnoreCase(control.getAttribute("checked"));
                                checkboxInfo.cellReference = control.getAttribute("cellReference");
                                checkboxes.add(checkboxInfo);
                            }
                        }
                    }
                }
            }
        }

        return checkboxes;
    }

    private static Document parseXml(String xmlContent) throws Exception {
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder builder = factory.newDocumentBuilder();
        return builder.parse(new ByteArrayInputStream(xmlContent.getBytes()));
    }

    public static void main(String[] args) {
        try {
            File file = new File("example.xlsx"); // Replace with your .xlsx file path
            List<CheckboxInfo> checkboxes = parseXLSX(file);
            for (CheckboxInfo checkbox : checkboxes) {
                System.out.println(checkbox);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @Test
    void test() throws Exception {
        var f = Paths.get("./simple.xlsx").toFile();
        var result = parseXLSX(f);
        System.out.println();
    }

    public static class CheckboxInfo {
        public String sheetName;
        public boolean isChecked;
        public String cellReference;

        @Override
        public String toString() {
            return "Checkbox [Sheet: " + sheetName + ", Checked: " + isChecked + ", Cell: " + cellReference + "]";
        }
    }
}

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Osiris Team

79347145

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

I had this exact problem when doing some logic in the PreviewMouseDown handler of the Button. Putting the logic on the dispatcher solved it for me because that would allow the LostFocus event to cause a binding update before my button logic would execute.

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

79347140

Date: 2025-01-10 22:09:35
Score: 1.5
Natty:
Report link
dotnet publish -p:CompressionEnabled=false

or

<PropertyGroup>
  <CompressionEnabled>false</CompressionEnabled>
</PropertyGroup>

ref

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

79347135

Date: 2025-01-10 22:06:35
Score: 2
Natty:
Report link

Thanks to @vladimir-botka's hint mentioning the template lookup plugin is a string, I figured an easy fix:

storage:
  accessModes:
    {{ modes | to_nice_yaml | trim | indent(4) }}
  resources:
    requests:
      storage: 5Gi

The trim takes care of the problematic code output:

ok: [localhost] =>
  msg: |-
    storage:
      accessModes:
        - ReadWriteOnce
      resources:
        requests:
          storage: 50Gi
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @vladimir-botka's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Floren

79347111

Date: 2025-01-10 21:54:32
Score: 1.5
Natty:
Report link

related: https://github.com/Microsoft/vscode/issues/5627
added πŸ‘‡ to .vscode-test.mjs

mocha: {
    ui: 'bdd',
},
// .vscode-test.mjs
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
    files: 'out/test/**/*.test.js',
    mocha: {
        ui: 'bdd',
    },
});
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yorai Levi

79347108

Date: 2025-01-10 21:51:32
Score: 1
Natty:
Report link

There’s nothing wrong to use mixins instead of decorators. Active Decorator does the same. But I’d not consider it a decorator pattern.

I don't need to work with decorated inherited class of model. I just provide decorator methods for the existing model class.

You just replace a class with a module, thus losing a possibility to inherit it (in a clear way at least).

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

79347100

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

I suggest using a single string and then call it in loop to translate multiple strings. It’s because of the limitation of AdaptiveMtTranslation of handling a single string in the content field. Though it’s not directly indicated in the documents, error 400 is about the number of entries, which should be 1 only.

On Google side, there is a β€˜feature request’ that you can file but there is no timeline on when it can be done. You can request this so that they can check if they can update to support multiple strings without calling a single string in loop.

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

79347092

Date: 2025-01-10 21:38:28
Score: 0.5
Natty:
Report link

I believe the generated eslint.config.mjs contains a mistake.

typescript-eslint docs say to configure tseslint like this:

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
  eslint.configs.recommended,
  tseslint.configs.recommended,
);

https://typescript-eslint.io/getting-started/

But I don't see tseslint.config() called anywhere?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Ivan Rubinson

79347090

Date: 2025-01-10 21:37:28
Score: 1
Natty:
Report link

TL;DR: Magic Presenter solves this.

I’ve developed my own solution to replace Draper (see why):

See the Magic sections of the READMEs to learn how the API got simplified compared to the Draper’s one. You don’t need to put tons of that explicit declarative stuff here and there anymore.

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

79347071

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

Keep in mind that the version 2.0 lambda event replaces multiValueQueryStringParameters with queryStringParameters separated via comma.

Source: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html

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

79347054

Date: 2025-01-10 21:23:24
Score: 3
Natty:
Report link

reference

using that JSXAttribute, can't you just target className directly and add regex for your validation?

i.e.

'no-restricted-syntax': [
  'error',
  {
    selector: 'JSXAttribute[name="className"][value.value=/^bg-/]',
    message: 'Do not set background colors directly.',
  },
],

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

79347046

Date: 2025-01-10 21:21:23
Score: 5
Natty:
Report link

For anyone having the same Issue check out the CRC section of the CRSF documentation here

It took me way to long to find it so maybe this will help someone :)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having the same Issue
  • Low reputation (1):
Posted by: Sir Kuhnhero

79347031

Date: 2025-01-10 21:13:21
Score: 0.5
Natty:
Report link

I found this similar question. The author says he fixed it by adding 'permission' => 0764, to the cache driver in cache.php. It solved the issue for me but I got a different one afterwards. I hope this helps.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdallah Bari

79347028

Date: 2025-01-10 21:13:21
Score: 1.5
Natty:
Report link

You can either enable the writing of a JUnit compatible file (that azure can use) using the parameter xUnitEnablePublish (of TcUnit) or alternatively you can look into using a solution like the TcUnitRunner. Documentation is available here.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Jakob

79347024

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

Upon taking a closer look it looks like the Metacarpal and Proximal points are at the same location causing this issue. I don't know yet how I'll make them look natural except for manual adjustment but that's the only way I can think of to solve it for the moment.

Hand model Hand Screenshot

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ernest P W

79347013

Date: 2025-01-10 21:07:20
Score: 2.5
Natty:
Report link

I did below changes when updated from laravel 10 to 11:

  1. Changed APP_ENV=local to APP_ENV=development in .env
  2. Added $url->forceScheme('http'); AppServiceProvider.php boot function
  3. The browser was already pointing to https://127.0.0.1:8000/login and causing same issue again so I needed to manually remove the https to http and it resolve the issue.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahsan Alamgir

79347006

Date: 2025-01-10 21:03:19
Score: 4
Natty:
Report link

You will need to utilize a rest api call to post the data you'd like to the SharePoint list. https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/use-the-sharepoint-javascript-apis-to-work-with-sharepoint-data

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

79347005

Date: 2025-01-10 21:03:19
Score: 0.5
Natty:
Report link

You can answer such questions by insisting that poetry install the latest version of the project that you expect to be updated eg poetry add "pycron>=3.1.1"

Then one of three things will happen:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: savoya4196

79346993

Date: 2025-01-10 20:59:18
Score: 1
Natty:
Report link
  1. Navigate to the folder with the contents you want to move up a level.
  2. Enter mv ./* ../
  3. This will move all files and folders in the current directory up into the parent folder.
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jon Horton

79346991

Date: 2025-01-10 20:58:17
Score: 4
Natty:
Report link

Type assignment in float[c3] is not correct. Regards.

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

79346988

Date: 2025-01-10 20:57:17
Score: 2
Natty:
Report link
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user20140095

79346987

Date: 2025-01-10 20:56:16
Score: 3
Natty:
Report link

Here is the solution Pass custom parameters in Event Bridge schedule event to lambda , there is a option with CloudWatch to set custom object and only is neccesary get this value from your python code.

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

79346976

Date: 2025-01-10 20:50:15
Score: 0.5
Natty:
Report link

for a better performance, you can also use,

Select distinct t1.ID from your_table t1
where VALUE = 'TRUE'
and exists (
select 1 from your_table t2
where t1.ID = t2.ID and t2.VALUE = 'FALSE'
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bsraskr

79346972

Date: 2025-01-10 20:48:14
Score: 1.5
Natty:
Report link

I'm using Pixel 8a on version 15, you can actually make it work again.

Open Settings, search for 'permission', should see Permission Manager,

tap on Permission Manager > Files > tap on See more apps that can access all files >

Here you'll see your app and you can change permission here to 'Allow access to manage all files'.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: ιš±ε§“εŸ‹ε

79346963

Date: 2025-01-10 20:44:13
Score: 2.5
Natty:
Report link

I work with Intellij and this configuration in pom.xml worked perfectly:

solution image

Then I synchronized the changes with maven and ran "clean" and "install" to work normally

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

79346958

Date: 2025-01-10 20:41:10
Score: 7.5 🚩
Natty:
Report link

In my case, I have only one function and takescreenshot not working. I automated with webdriver io mobile test with appium, and the end for my test, I wanna attach in my reporter the screenshot of my screen.

My code ->

afterTest: async function (test, context, { error, result, duration, passed, retries }) {
        if (passed) {
            await browser.takeScreenshot();

        }
        else {
            await browser.takeScreenshot();
        }
    },

When my test end, not generate my image =/.

My modules

β”œβ”€β”€ @faker-js/[email protected] β”œβ”€β”€ @types/[email protected] β”œβ”€β”€ @types/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ @wdio/[email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] β”œβ”€β”€ [email protected] └── [email protected]

enter image description here

anybody can help me?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): anybody can help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Rafael Bezerra C Silva

79346957

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

Is think the answer is that:

    WINDOW_WIDTH, WINDOW_HEIGHT = 1280, 720
    display_surface = pygame.display.set_mode((WINDOW_WIDTH, WINDOW_HEIGHT), pygame.RESIZABLE )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sabrina Sauer

79346954

Date: 2025-01-10 20:39:10
Score: 2.5
Natty:
Report link

If I understood your question correctly You want to get that data automatically to smart contract. If Thats the case, You should explore Chainlink API Calls ( https://docs.chain.link/any-api/getting-started ) which allows calls to any api (ie. XANO, Airtable or similar. even the Etherscan it self) from smart contract.

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

79346949

Date: 2025-01-10 20:36:08
Score: 7 🚩
Natty: 5.5
Report link

Please if you achieve that problem can u guide me becauseI have the some err

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): can u guide me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: med amine blibech

79346941

Date: 2025-01-10 20:33:06
Score: 0.5
Natty:
Report link

I faced the same problem, many thanks to Michael BΓΆckling for the answer, but for me it was not the final solution, besides that I made some changes, maybe it will be useful for someone

version: '3.8'

services:
  app:
    ...
    environment:
      - REDIS_URL=redis://:@redis-cluster:6379/0
    depends_on:
      redis-cluster:
        condition: service_started


  redis-cluster:
    image: docker.io/bitnami/redis-cluster:7.0
    environment:
      - 'ALLOW_EMPTY_PASSWORD=yes'
      - 'REDIS_CLUSTER_REPLICAS=0'
      - 'REDIS_NODES=redis-cluster redis-cluster redis-cluster'
      - 'REDIS_CLUSTER_CREATOR=yes'
      - 'REDIS_CLUSTER_DYNAMIC_IPS=no'
      - 'REDIS_CLUSTER_ANNOUNCE_IP=redis-cluster'
    ports:
      - '6379:6379'
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ДСнис Π’ΠΈΠΊΡ‚ΠΎΡ€ΠΎΠ²

79346938

Date: 2025-01-10 20:32:06
Score: 2
Natty:
Report link

I use SdkMan! as is shown here: Install sdkman in docker image . Sdkman! will install any version of Maven I have ever needed, along with a specific version of Java that may not be the version of java that comes with your OS used in the Docker image.

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

79346934

Date: 2025-01-10 20:31:06
Score: 2
Natty:
Report link

try adding this to the vite.config.ts file:

Credit: https://github.com/tabler/tabler-icons/issues/1233#issuecomment-2428245119

export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      ...
      '@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
    },
  }
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maildo Junior

79346925

Date: 2025-01-10 20:22:04
Score: 2.5
Natty:
Report link

Prompt Templates (this were probably the causing of the error) allowed me to execute and edit prompt templates.

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

79346913

Date: 2025-01-10 20:16:03
Score: 2.5
Natty:
Report link

I am getting this same error, running:

/**
 * @title Contract Title
 * @dev An ERC20 token implementation with permit functionality.
 * @custom:dev-run-script scripts/deploy_with_web3.ts
 */

I have got this error and solved it before, but I forget how. However, running this code I am still getting the error:

You have not set a script to run. Set it with @custom:dev-run-script NatSpec tag.

According to the docs, it looks like this should work. So, I'm not sure what I'm missing. Any suggestions would be appreciated. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • Whitelisted phrase (-2): this should work
  • RegEx Blacklisted phrase (2): Any suggestions
  • RegEx Blacklisted phrase (1): I am still getting the error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BSH180_44

79346906

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

I had the same error and it was because I did not have iproxy installed, use the command

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Facu Martinez

79346905

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

My code I just pass into the animator a bool for if the player is walking or not. And if the player is walking then I pass in the X and Y or its directions to the animator's floats X and Y which are used by the blend tree. I'm using two blend trees as you can see. One for idle and one for walking

Vector2 direction;
[SerializeField] float playerSpeed;
Animator animator;
private void Update()
{
    float horizontal = Input.GetAxis("Horizontal");
    float vertical = Input.GetAxis("Vertical");
    direction = new Vector2(horizontal, vertical).normalized * playerSpeed;

    animator.SetBool("Walking", direction != Vector2.zero);
    if (direction != Vector2.zero)
    {
        animator.SetFloat("X", horizontal);
        animator.SetFloat("Y", vertical);
    }

}

Base LEvel Blend Tree

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

79346904

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

private _isAuthenticated = new BehaviorSubject(false); _isAuthenticated$ = this._isAuthenticated.asObservable();

then you either subscribe on the _isAuthenticated$ or await it with const isAuth = await firstValueFrom(auth.isAuthenticated);

As it is atm you only check the initial value with the get property. you never subscribe for changes.

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

79346897

Date: 2025-01-10 20:09:01
Score: 3
Natty:
Report link

You can install previously the local web server, for example apache2, php and mariaDB

Regards.

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Santi Fri

79346895

Date: 2025-01-10 20:08:01
Score: 1.5
Natty:
Report link

The new package for .Net 8 is Microsoft.Azure.Functions.Worker.Extensions.ServiceBus, found here.

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

79346888

Date: 2025-01-10 20:05:00
Score: 3
Natty:
Report link

The problem turned out to be related to a proxy that was setup. Disabling the proxy allows calls to be made to services in LocalStack.

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

79346886

Date: 2025-01-10 20:05:00
Score: 2.5
Natty:
Report link

My 2 cents: I've used the suggested solution and I was successful. However, I had to use the "samaccountname" property instead, which was more adequate for my needs, since I wanted to use the regular LOGIN name in the authentication process.

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

79346882

Date: 2025-01-10 20:03:00
Score: 1.5
Natty:
Report link

https://vercel.com/guides/what-can-i-do-about-vercel-serverless-functions-timing-out

it might be because you are using a free tier qouting the docs

Maximum function durations

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

79346881

Date: 2025-01-10 20:02:59
Score: 5
Natty:
Report link

Facing the same issue with AISearch as the source. In playground, it's working, but can't deploy... I know it's in preview, but this vicious circle is a bit sad.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same issue
  • Low reputation (1):
Posted by: user29146796

79346875

Date: 2025-01-10 20:00:58
Score: 0.5
Natty:
Report link

man sprof will give you a full example, including example executable and shared library source code, compilation and linking, environment exports, and sprof commands for final analysis.

https://man7.org/linux/man-pages/man1/sprof.1.html

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

79346872

Date: 2025-01-10 19:59:58
Score: 3
Natty:
Report link

Six years later, here with the same issue and wracking my brain for two days to figure out!

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

79346869

Date: 2025-01-10 19:56:57
Score: 0.5
Natty:
Report link

I accidentally ran amplify push while I my amplify mock config was active and faced this same issue. I thought I was cooked and needed to rebuild my entire app from scratch...

Thankfully, running amplify pull reset the config to communicate with the real server instead of the mock server. Problem solved. 😁

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

79346860

Date: 2025-01-10 19:53:57
Score: 3
Natty:
Report link

This setting is (unhelpfully) found here: Tools > Options > Environment > Fonts and Colors > Text Editor > Peek Background Unfocused.

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

79346859

Date: 2025-01-10 19:52:55
Score: 9 🚩
Natty: 5.5
Report link

i have the same problem is there any progress

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Blacklisted phrase (1): is there any progress
  • Blacklisted phrase (1): is there any
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: sΓΌleyman Mercan

79346856

Date: 2025-01-10 19:50:55
Score: 1
Natty:
Report link

I had the same problem on Ubuntu 24. Rebooting did not help. I uninstalled/reinstalled git via APT and it started working again. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Justin Wozniak

79346855

Date: 2025-01-10 19:49:54
Score: 0.5
Natty:
Report link

Free proxy lists usually don't work.

You might consider buying some proxies. Enure that they don't use socks5 and aren't authentificated.

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

79346846

Date: 2025-01-10 19:46:53
Score: 2.5
Natty:
Report link

Check the language. There are 3 english (en, en_US, en_UK). Make sure you use the right one!

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

79346843

Date: 2025-01-10 19:44:53
Score: 0.5
Natty:
Report link
It worked for me:
Linux:
1)
pwd (print working directory)
/tmp/projectname 
contents:
/tmp/projectname/jars/....
/tmp/projectname/test/Simple.class

2)
java -classpath ".:/tmp/projectname/jars/*" test.Simple
Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anil

79346841

Date: 2025-01-10 19:43:53
Score: 1.5
Natty:
Report link

My solution is this code (please tell me if you think to a better code) :

// returns the path that will not erase any existing file, with added number in filename if necessary
// argument : the initial path the user would like to save the file
QString incrementFilenameIfExists(const QString &path)
{
    QFileInfo finfo(path);
    if(!finfo.exists())
        return path;

    auto filename = finfo.fileName();
    auto ext = finfo.suffix();
    auto name = filename.chopped(ext.size()+1);

    auto lastDigits = name.last(4);

    if(lastDigits.size() == 4 && lastDigits[0].isDigit() && lastDigits[1].isDigit() && lastDigits[2].isDigit() && lastDigits[3].isDigit() && lastDigits != "9999")
        name = name.chopped(4)+(QString::number(lastDigits.toInt()+1).rightJustified(4,'0'));
    else
        name.append("-0000");

    auto newPath = (path.chopped(filename.size()))+name+"."+ext;
    return incrementFilenameIfExists(newPath);
}
Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2.5): please tell me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Amir Hammoutene

79346836

Date: 2025-01-10 19:40:52
Score: 0.5
Natty:
Report link

I used this google link: https://lh3.googleusercontent.com/d/${id}=w1000.

It worked perfectly for me.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alessandro Rios

79346834

Date: 2025-01-10 19:39:52
Score: 1
Natty:
Report link

var client = new AmazonCognitoIdentityProviderClient("MYKEY", "MYSECRET", RegionEndpoint.USEast1);

var request = new AdminGetUserRequest();
request.Username = "USERNAME";
request.UserPoolId = "POOLID";

var user = client.AdminGetUserAsync(request).Result;                      

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

79346833

Date: 2025-01-10 19:38:51
Score: 2
Natty:
Report link

You already have done group by year and product, if you need to select each year instead of only 2015 you can delete where year = "2015" and it will work

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

79346828

Date: 2025-01-10 19:37:51
Score: 3.5
Natty:
Report link

Probably, you just don't have git installed on the minion.

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

79346824

Date: 2025-01-10 19:36:51
Score: 2.5
Natty:
Report link

In configure.ac replace [OpenSSL_add_all_ciphers] with [OPENSSL_init_crypto] on line 332, finally... AC_CHECK_LIB([crypto], [OPENSSL_init_crypto], , [have_libcrypto="0"])

Then run ./autogen.sh

Continue make and make install.

Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Santi Fri

79346811

Date: 2025-01-10 19:28:49
Score: 1
Natty:
Report link

Try

Image.asset(
  food.imagePath,
  height: 120,
  width: 120,
  fit: BoxFit.cover, 
),
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: rstrelba

79346810

Date: 2025-01-10 19:28:49
Score: 0.5
Natty:
Report link

it's an interpolation error. when calling kickoff(), you are giving 'topic' as the only variable name to interpolate but have no reference to it (i.e. {topic}), but in week_0_ramp_up_task you are interpolating url (item a. you have {url}) but aren't passing it as an input in kickoff().

editing the code as follows resolved any errors for me:

from typing import List

from crewai import Agent, Task, LLM, Crew
from crewai.tools import tool

inputs={
        'topic': 'Internal experts in mining technology',
        'url': 'https://privatecapital.mckinsey.digital/survey-templates'
}

llm = LLM(
    model="gpt-4o",
    base_url="https://openai.prod.ai-gateway.quantumblack.com/0b0e19f0-3019-4d9e-bc36-1bd53ed23dc2/v1",
    api_key="YOUR_API_KEY_HERE"
)

ddagent = Agent(role="Assistant helping in executing due diligence steps",
                goal="""To help an user performing due diligence to achieve a specified task or multiple tasks. "
                      Sometimes multiple tasks need to be performed. The tasks need not be in a sequence""",
                backstory='You are aware about all the detail tasks of due diligence. You have access to the necessary content and best practices',
                verbose=True,
                memory=True,
                llm=llm
                )


@tool("get_experts")
def get_experts(topic: str) -> List[str]:
    """Tool returns a list of expert names."""
    # Tool logic here
    expert_list = []
    expert_list.append("Souradipta Roy")
    expert_list.append("Dushyant Agarwal")
    return expert_list


@tool("get_documents")
def get_documents(topic: str) -> List[str]:
    """Tool returns a list of document names."""

    # Tool logic here
    documents_list = []
    documents_list.append("document 1")
    documents_list.append("document 2")
    return documents_list


research_task = Task(
    description="""
        Respond withe appropriate output mentioned in the expected outputs when the user wants
        to create a survey or wants to know anything about survey creation or survey analysis.
    """,
    expected_output="""
        Respond with the following:
        Great, to create surveys and drive analytics, there are currently two resources to utilize:
    a.    Survey Templates - Discover our collection of survey templates. The link for that tool is **https://privatecapital.mckinsey.digital/survey-templates**
    b.    Survey Navigator - Streamline survey creation, analysis, and reporting for client services team. The link for that tool is ** https://surveynavigator.intellisurvey.com/rel-9/admin/#/surveys**
    """,
    agent=ddagent,
    verbose=True
)

internal_experts_task = Task(
    description=f"""
        Respond with an appropriate sentence output listing the firm experts based on the {inputs["topic"]} mentioned.
    """,
    expected_output=f"""
        Respond with an appropriate sentence output listing the firm experts based on the {inputs["topic"]} mentioned.
        The firm experts are retrieved from the tool get_experts.""",
    agent=ddagent,
    tools=[get_experts],
    verbose=True
)

week_0_ramp_up_task = Task(
    description="""
        You are responsible for helping the user with Week 0 ramp up. There will be 6 sub-steps in this. If user chooses any of below sub-steps except document recommendations then provide details on respective option chosen.
    """,
    expected_output=f"""
        If user chooses any of below sub-steps except document recommendations then provide details on respective option chosen.

    a.    Get transcript for pre-reads or generate an AI Report - β€œFor transcript recommendations, please go to the Interview Insights (Transcript Library) solution to read up on transcripts relevant to the DD topic.” Here is the link for Interview Insights {inputs["url"]}. The Interview Insights platform includes AI-driven insights of thousands of searchable transcripts from prior ENS projects to generate AI Reports.
    b.    Get document recommendations - When this sub-step is chosen by user, do get_documents function calling to provide document recommendations based on the topic mentioned.
    c.    Look at past Due Diligences - β€œFor past Due Diligence research, please go to the DD Credentials tools.” Here is the link for DD Credentials: **https://privatecapital.mckinsey.digital/dd-credentials** The DD Credentials tool can help you uncover past targets, outsmart competitors with our expertise, and connect with PE-qualified experts in seconds.
    d.    Review Past Interview Guides - β€œA comprehensive collection of modularized question banks for use in creating customer interview questionnaires.” Here is the link for the Interview Guides: **https://privatecapital.mckinsey.digital/interview-guide-templates**
    e.    Review Module Libraries - β€œEach Market Model folder includes a ppt overview, data sources, and an Excel model.” Here is the link for the Module Libraries: ** https://privatecapital.mckinsey.digital/market-models**
    f.    Private Capital Platform - β€œResources and central hub for Private Capital and due diligence engagements.” Here is the link for the Private Capital Platform: **https://privatecapital.mckinsey.digital/**""",
    agent=ddagent,
    tools=[get_documents],
    verbose=True
)


crew = Crew(
    agents=[ddagent],
    tasks=[research_task, internal_experts_task, week_0_ramp_up_task],
    verbose=True
)
result = crew.kickoff(inputs)
print(result)

Also, FWIW, you should revoke that api key and avoid exposing your keys in the future.

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: joshua k

79346797

Date: 2025-01-10 19:23:48
Score: 2
Natty:
Report link

This turned out to be a simple miss...

The last parameter to the `SQLBindParameter() needs to be initialized with 0.

Thx everybody and sorry for the time waste.

Reasons:
  • Blacklisted phrase (1): Thx
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Igor

79346796

Date: 2025-01-10 19:23:48
Score: 0.5
Natty:
Report link

You may want to try hetcor from John Fox's polycor package. Revelle (the creator and maintainer of psych) notes that convergence problems can happen with mixedCor. I have had better luck with hetcor, and it detects data types automatically, BUT you should make sure that your binary and ordered categorical variables are converted to factors (ordered factors for the ordinal categorical variables) with the correct ordering. Otherwise, neither function works.

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

79346793

Date: 2025-01-10 19:22:47
Score: 1.5
Natty:
Report link

The tutorial you are following uses a package called @angular/localize, which is a part of Angular's native i18n system for translating applications.

When you internationalize with @angular/localize, you have to build a separate application for each language.

I recommend using ngx-translate instead, as it allows you to dynamically load translations at runtime without the need to compile your application with a specific locale.

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

79346792

Date: 2025-01-10 19:22:47
Score: 3.5
Natty:
Report link

i know im few years late. ive had an idea from Philia Fan comment of using the :scriptnames to search for my config files location, then problem from user2138149, i create an empty ~/.vimrc files and add "source /etc/vimrc", based on my vimrc location, then only add my custom configuration at the bottom. it works.

do you guys know if running it like this would have a negative effects?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): user2138149
  • Low reputation (1):
Posted by: Hexorz NH

79346786

Date: 2025-01-10 19:14:46
Score: 3.5
Natty:
Report link

There is a requires_file param that can be used in place of requires. See https://rules-python.readthedocs.io/en/0.32.1/api/packaging.html#py-wheel-rule-requires-file

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matthew Ding

79346774

Date: 2025-01-10 19:06:44
Score: 0.5
Natty:
Report link

It won't. At least with Nextjs App router because it is able to interleave client and server components:

When interleaving Client and Server Components, it may be helpful to visualize your UI as a tree of components. Starting with the root layout, which is a Server Component, you can then render certain subtrees of components on the client by adding the "use client" directive.

Within those client subtrees, you can still nest Server Components or call Server Actions.

From the Posthog docs:

Does wrapping my app in the PostHog provider de-opt it to client-side rendering?

No. Even though the PostHog provider is a client component, since we pass the children prop to it, any component inside the children tree can still be a server component. Next.js creates a boundary between server-run and client-run code.

The use client reference says that it "defines the boundary between server and client code on the module dependency tree, not the render tree." It also says that "During render, the framework will server-render the root component and continue through the render tree, opting-out of evaluating any code imported from client-marked code."

Pages router components are client components by default.

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

79346762

Date: 2025-01-10 19:01:42
Score: 1.5
Natty:
Report link

In my opinion the reason of the observable difference in performance may be the fact that methods/functions containting try/catch block will not be inlined, at least for sure not by MSVC compiler (see https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4714?view=msvc-170 )

Before the change void foo(int a) couldn't be inlined. After the change it may have been inlined.

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

79346758

Date: 2025-01-10 19:00:42
Score: 1.5
Natty:
Report link

don't use limit

// Trade Logic
if (longCondition)
    strategy.entry("Long", strategy.long)

test

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

79346755

Date: 2025-01-10 19:00:42
Score: 2.5
Natty:
Report link

Okay, it was a bug in Android. Updated to the latest one - Android Studio Ladybug Feature Drop | 2024.2.2 and it works fine for my popup previews.

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

79346754

Date: 2025-01-10 18:59:42
Score: 3.5
Natty:
Report link

Consider to use migration plugin Magic Export & Import with full support of Polylang.

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

79346742

Date: 2025-01-10 18:55:41
Score: 1
Natty:
Report link

I was getting this error on a unit test project. It was odd because this was the result of a refactor exercise, everything was working before

There were 2 things I did, and I can not say exactly which solved the problem, but I just spent a 1/2 day on this so I want to maybe save someone else time.

I introduced a subclass in a new project that was .NET Framework 4.8.1 Other projets depending on this new project had lower .Net versions. I brought them all up to 4.8.1 (I dont think that exercise caused or resolved the problem. )

I also had a unit test project to test the new class. Somehow (I assume I did it) the project reference to Microsoft.CSharp had been removed.

Chatgpt suggested ensuring this reference. I added a reference in the solution explorer.

That solved the problem for me.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: greg

79346740

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

This code has solved my problem.

Android.Webkit.WebStorage.Instance.DeleteAllData();
Android.Webkit.CookieManager.Instance.RemoveAllCookies(null);
Android.Webkit.CookieManager.Instance.Flush();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Filipe Piletti Plucenio

79346738

Date: 2025-01-10 18:53:40
Score: 2.5
Natty:
Report link

I faced this error message in mac when the file I was reading was open. When I closed the file and ran the code again, the issue was resolved.

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

79346737

Date: 2025-01-10 18:53:40
Score: 4
Natty:
Report link

In case anyone having the same issue. I've found a fix from this Forum:

Basically you need to clear the code by using the WCH LinkUtility app and WCH LinkE. Make sure to set the WCH LinkE link mode to WCH-LinkRV then clear All Code Flash by Power Off. For those with the black Ch32V003 F4P7 board if your green LED is blinking it wont upload any code due to the led is connected to the upload pin enter image description here

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

79346724

Date: 2025-01-10 18:48:38
Score: 2.5
Natty:
Report link

You Wrote UIColor.whiteColor(), try switching it to UIColor.blackColor()

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

79346720

Date: 2025-01-10 18:46:38
Score: 0.5
Natty:
Report link

Looks like I fixed it by selecting Arduino IDE - Sketch - Optimize for debugging.

I checked it on 2 different nucleos stm32.

Unfortunately I can't see variable's value in registers but it's shown in variables section.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pasha4ur

79346711

Date: 2025-01-10 18:43:37
Score: 1
Natty:
Report link

for debug, plot the line 10% to upTrend

upTrendLine = direction < 0 ? supertrend : na
upTrend10 = upTrendLine * 1.1
plot(upTrend10)

Now create the alert

croosUpTrend10 = ta.crossunder(low, upTrend10)
plotshape(croosUpTrend10)
alertcondition(croosUpTrend10, "croosUpTrend10" )

test

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

79346709

Date: 2025-01-10 18:43:37
Score: 3.5
Natty:
Report link

alist = [] result = ["".join(alist[:i]) for i in range(1, len(alist)+1]

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

79346705

Date: 2025-01-10 18:39:36
Score: 4.5
Natty:
Report link

What about a log scale on Y ?

plt.yscale('log')

plot

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
Posted by: rehaqds

79346685

Date: 2025-01-10 18:31:33
Score: 10 🚩
Natty: 5.5
Report link

I have the same issue. Any updates?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (0.5): Any updates
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: chantal boado

79346680

Date: 2025-01-10 18:29:33
Score: 2
Natty:
Report link

Try: xdotool key --clearmodifiers shift && xdotool type 'date;'

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

79346679

Date: 2025-01-10 18:27:32
Score: 2
Natty:
Report link

There are 2 options now, Places API and the Places API (New) check both.

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

79346672

Date: 2025-01-10 18:25:32
Score: 0.5
Natty:
Report link

Essa resposta salvou meu dia! 11

I fixed the problem. Bootstrap modals have a property tabindex="-1", which made the CKEDITOR plugins inputs to loose their focus. Just delete it!

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rafael Furtado

79346671

Date: 2025-01-10 18:24:31
Score: 0.5
Natty:
Report link

I've come across similar situations in the past, and I would usually either do one of these:

  1. Put the entire contents of the .npmrc file into a GitHub actions secret, then print it to a new .npmrc file in your action.
  2. Store the token and other info as a secret, then create a new .npmrc file and inject the secrets into the file.

If you were to go the second route, you would probably have something like this in your GitHub actions workflow:

# ...

jobs:
  publish-npm:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Publish
        run: |
          # These use the variables defined in step's env
          echo "registry=${NPM_REGISTRY}" > .npmrc
          echo "registry/:_authToken=${NPM_TOKEN}" >> .npmrc

          npm publish
        env:  # Secrets from GitHub are injected below
          NPM_REGISTRY: ${{ secrets.NPM_REGISTRY }} 
          NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

In your GitHub repository, define NPM_REGISTRY and NPM_TOKEN as secrets (docs) by going to Settings > Security > Actions > Secrets.

Resources

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ikehunter5

79346667

Date: 2025-01-10 18:23:31
Score: 1
Natty:
Report link

i appreciate those who tried to help , apparently through small debuging steps i noticed that the window.open was not being called and when changed to window.location with a small time delay the chat worked

window.location = "test2.php?units="+units+"&&price="+price+"&down="+down+"&&space="+space+"";

apologies if any part of the question was not clear and thank you

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

79346666

Date: 2025-01-10 18:23:31
Score: 3
Natty:
Report link

How we can compare below in ORACLE.

values '["b", "a"]' and '["a", "b"]' stored in VARCHAR datatype

'["b", "a"]' = '["a","b"]' ==> TRUE

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): How we can
  • Low reputation (1):
Posted by: Dave

79346663

Date: 2025-01-10 18:22:31
Score: 2
Natty:
Report link

Thank you everyone, all were relevant and helpful! The AddOnDepot's response is spot on. For my incredibly unsavvy code, I ended up using something like:

for (const [dataKey, peopleValues] of Object.entries(jsonParsed.data)) {
  Logger.log(`${dataKey}`);
  Logger.log(peopleValues.name);
  Logger.log(peopleValues.title);
  /* And was able to apply the same concept to access deeper nested values!
  for( const [deeperNestedKeys, deeperData] of Object.entries(peopleValues))
  {
      Logger.log(deeperData.otherValue);
  }
  */
}

My first tip off was actually from an old stackoverflow post that I didn't fully understand at first, so credit also to: https://stackoverflow.com/a/62735012/645379

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

79346651

Date: 2025-01-10 18:16:30
Score: 2
Natty:
Report link

The solution to go offline before starting a download didn't work for me, but I've found a better one.

Enable the Auto-open DevTools for popups option in DevTools preferences. It makes Chrome open the DevTools window for a new window/tab of the download URL just before the Save dialog appears.

DevTools Preferences

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

79346645

Date: 2025-01-10 18:13:29
Score: 1
Natty:
Report link

File Permissions Issue:

1: In the Docker build context, the files you copy into the container retain their permissions unless explicitly changed.

2: If the configure file does not have execute (+x) permissions locally, it will not be executable in the container.

Updated Dockerfile:

FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base

RUN apt-get update RUN apt-get install -y libmotif-dev build-essential

COPY . /usr/src/myapp

WORKDIR /usr/src/myapp/oracle-outside-in-content-access-8.5.7.0.0-linux-x86-64/sdk/samplecode/unix/

RUN chmod +x ./configure

RUN ls -l

RUN make

WORKDIR /app

RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R

appuser /app

USER appuser

COPY . .

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

79346640

Date: 2025-01-10 18:11:29
Score: 3
Natty:
Report link

decode/swscale directly into the buffer

That would be so fantastic, but how? Like:

(AVCodecContext)  int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags);

?

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