79438317

Date: 2025-02-14 03:45:51
Score: 1
Natty:
Report link

I found a solution for this situation, and even for Terminated Developer Account.

List users

  1. Go to Google Play Developer API doc https://developers.google.com/android-publisher/api-ref/rest/v3/users/list .
  2. Open APIs Explorer on the right of page.
  3. Fill the parent field with format developers/<19 numbers> which can be found on the url when you open the Google Play Console.
  4. Make sure the Google OAuth 2.0 is checked.
  5. Click Execute button and finish the OAuth procedure.
  6. Users will list below. enter image description here enter image description here enter image description here

Delete users

  1. Go to Google Play Developer API doc https://developers.google.com/android-publisher/api-ref/rest/v3/users/delete .
  2. Open APIs Explorer on the right of page.
  3. Fill the name filed with format developers/<19 numbers>/users/<your dev account email> which can be found in user list in List users step.
  4. Make sure the Google OAuth 2.0 is checked.
  5. Click Execute button and finish the OAuth procedure.
  6. Returns HTTP 204 means success. enter image description here
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: London Alexander

79438310

Date: 2025-02-14 03:43:51
Score: 0.5
Natty:
Report link

Library iostream should stay in the files. The problem is with extension of code files - it should be .cpp, not .c. You don't need to remove iostream. But then use other command to compile+link, not:

cl perfdata.c -o perfdata -lpdh

but use this one:

cl perfdata.cpp /link pdh.lib

(That's an example)

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

79438305

Date: 2025-02-14 03:41:50
Score: 0.5
Natty:
Report link

As @browsermator answered putting sleep before get works.

package com.tugalsan.tst.html;

import static java.lang.System.out;
import java.nio.file.Path;
import java.time.Duration;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.edge.EdgeOptions;

public class Main {

    public static void main(String... args) throws InterruptedException {
        var urlPath = Path.of("C:\\git\\tst\\com.tugalsan.tst.html\\a.html");
        var urlStr = urlPath.toUri().toString();
        var until = Duration.ofSeconds(15);
        var scrnSize = new Dimension(640, 480);
        var output = processHTML(urlStr, until, scrnSize);
        out.println(output);
    }

    public static String processHTML(String urlStr, Duration until, Dimension scrnSize) throws InterruptedException {
        WebDriver driver = null;
        try {
            var options = new EdgeOptions();
            driver = new EdgeDriver(options);
            driver.manage().timeouts().implicitlyWait(until);
            driver.manage().timeouts().pageLoadTimeout(until);
            driver.manage().window().setSize(scrnSize);
            driver.get(urlStr);
            Thread.sleep(until);
            return driver.getPageSource();
        } finally {
            if (driver != null) {
                driver.close();
            }
            if (driver != null) {
                driver.quit();
            }
        }
    }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @browsermator
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tugalsan Karabacak

79438304

Date: 2025-02-14 03:41:50
Score: 1
Natty:
Report link

How can I disable or remove that integration? I can't find where to do it. Nor I can find any documentation about it.

Git integration with Dataverse from Power Platform in the Solutions area is a preview feature currently. You cannot disable or remove the integration.

When you create the connection, it hints the connection cannot be undone:

enter image description here

Also in the doc it mentioned the same:

enter image description here

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • High reputation (-1):
Posted by: wade zhou - MSFT

79438300

Date: 2025-02-14 03:40:50
Score: 1.5
Natty:
Report link

It's already done, the hidden property or etc isn't appear in select2 component. Only have disabled property. So, we combined the selector aria-disabled="true" in css.

<li class="select2-results__option" id="select2-multiple_one-result-nqh8-1" role="option" aria-disabled="true" data-select2-id="select2-multiple_one-result-nqh8-1">BIAYA BURUH</li>

With this css

.select2-results__option[aria-disabled="true"] {
    display: none;
}

Maybe it will help. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Filbert Umbawa

79438274

Date: 2025-02-14 03:22:47
Score: 2.5
Natty:
Report link

just delete ";" at .blue{ background-color: rgb(79, 53, 243); color:white; };

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

79438262

Date: 2025-02-14 03:12:45
Score: 2.5
Natty:
Report link

We are using API from NSFWDetector.com to check every image before showing it to the user. We felt pricing is quite right. If image NSFW probability score returned is more than 0.7, we are discarding the image. Check https://NSFWDetector.com

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

79438258

Date: 2025-02-14 03:11:45
Score: 1
Natty:
Report link

When running inside AWS Lambda, you typically should not provide AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY manually. Lambda automatically assumes an IAM role that provides credentials.

const AWS = require("aws-sdk");

AWS.config.update({
  region: process.env.AWS_REGION,
});

const docClient = new AWS.DynamoDB.DocumentClient();

module.exports.DynamoDB = new AWS.DynamoDB();

module.exports.docClient = docClient;
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Nihara Mayurawasala

79438242

Date: 2025-02-14 02:55:42
Score: 0.5
Natty:
Report link
<p>
  {this.props.canLink ? (
    <Link to={"/"} >
      Test
    </Link>
  ) : (
    <Link to={"#"} style={{ cursor: "default", color: "grey" }}>
      Test
    </Link>
  )}
</p>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Park JongBum

79438241

Date: 2025-02-14 02:55:41
Score: 8.5
Natty: 7.5
Report link

I am also experiencing the same issue. Did you figure this out?

Reasons:
  • RegEx Blacklisted phrase (3): Did you figure this out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Omar Jawaid

79438240

Date: 2025-02-14 02:54:41
Score: 2
Natty:
Report link

I encountered the same problem. I rectified this by,

  1. Selecting the Python kernel in the vs code editor.
  2. Please check the environmental variables, and whether you have given the correct path variable.
  3. Finally pip install transformers torch. Now set to go
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rihana Parveen

79438220

Date: 2025-02-14 02:43:39
Score: 3
Natty:
Report link

Yes password encryption type is an issue. AWS support gave me a similar answer. they said scram-sha-256 is not supported. you can find out about your password encryption type with the SCRAM command either in the query editor or with CLI, see reference [reference] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_Password_Encryption_configuration.html#PostgreSQL_Password_Encryption_configuration.getting-ready

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

79438213

Date: 2025-02-14 02:41:39
Score: 2.5
Natty:
Report link

Thanks to everyone that helped guide me through this especially @ADyson. Using their link I was able to get the following code to transfer my PNG file properly:

#Initiate cURL object
$ch = curl_init();
#Set your URL
curl_setopt($ch, CURLOPT_URL, 'https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_..../myContainer/myFile.png');
#Indicate, that you plan to upload a file
curl_setopt($ch, CURLOPT_UPLOAD, true);
#Indicate your protocol
curl_setopt($ch, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS);
#Set flags for transfer
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);

$headers = array();
$headers[] = 'Content-Type: image/png';
$headers[] = 'X-Auth-Token: '.$myID;
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

#Set HTTP method to PUT
curl_setopt($ch, CURLOPT_PUT, 1);
#Indicate the file you want to upload
curl_setopt($ch, CURLOPT_INFILE, fopen('myFolder/myFile.png', 'rb'));
#Indicate the size of the file (it does not look like this is mandatory, though)
curl_setopt($ch, CURLOPT_INFILESIZE, filesize('myFolder/myFile.png'));
#Execute
curl_exec($ch);
curl_close($ch);
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): guide me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ADyson
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brent Curry

79438202

Date: 2025-02-14 02:39:38
Score: 1
Natty:
Report link

I was able to "wake up" those hotkeys on the left side of the PC-issue Kinesis Freestyle 2 keyboard using the "Keyboard Shortcuts" feature on the Mac:

  1. Open System Settings > Keyboard.
  2. Select the Keyboard Shortcuts button to open a new dialog box.
  3. Select the App Shortcuts link to open a new dialog box.
  4. Add a new shortcut by selecting the "+" button.
  5. Select an application from the Application dropdown menu, or leave it at the default value "All Applications."
  6. Type the name of the command in the Menu title field. Examples include Delete, Copy, Paste, Undo. Note: you'll want to input multiple examples of the Undo command, as some applications will have separate commands for Undo Paste, Undo Cut, Undo Delete, etc. I had no problems mapping multiple versions of the Undo command to the same hotkey, and using the hotkey in Chrome.
  7. Select the Keyboard shortcut field.
  8. Press the hotkey that you want to map to the command.
  9. The field will show the key combination that the hotkey returns.
  10. Select the Done button.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Devon Apple

79438183

Date: 2025-02-14 02:27:36
Score: 1.5
Natty:
Report link

"showIncludes" is an option of CL.exe, so the commands below works for you. I have tested just now.

SET CL=/showIncludes
MSBuild.exe  myproj.vcxproj
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: onewayout

79438182

Date: 2025-02-14 02:26:35
Score: 4
Natty:
Report link

surl, furl means its not hosted link. It should be api call and in that API need to redirect to frontend server

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dinesh Pammi

79438174

Date: 2025-02-14 02:18:33
Score: 0.5
Natty:
Report link

After 3 days, 2 vms, a laptop I was about to format, there seems to be an issue with the latest edition of Visual Studio Community (17.13.0).

What I had to do was completely uninstall visual studio, then run the uninstall tool. After that, I downloaded visual studio again from the microsoft site, but instead of executing the exe, I opened command prompt, navigated to the exe, and ran VisualStudioSetup.exe --channelUri https://aka.ms/vs/17/release.LTSC.17.8/channel

This allowed me to install Community Version 17.8 which does not have the issue.

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

79438171

Date: 2025-02-14 02:16:33
Score: 3.5
Natty:
Report link

In file tsconfig.json, add line "esModuleInterop": true

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Võ Minh Lợi

79438167

Date: 2025-02-14 02:10:32
Score: 0.5
Natty:
Report link

I'd create a pool of workers, feed them work through a thread-aware queue, and collect the results using one as well.

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

79438156

Date: 2025-02-14 01:56:27
Score: 8.5 🚩
Natty: 4
Report link

nice!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Filler text (0.5): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Low entropy (1):
  • Low reputation (1):
Posted by: wei wei

79438153

Date: 2025-02-14 01:53:27
Score: 2
Natty:
Report link

Don't use containers if you don't need them.

Keep it simple, that's the way you go, if you need to add overhead technologies must be for a reason

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

79438141

Date: 2025-02-14 01:41:24
Score: 2
Natty:
Report link

You should use AlarmManager

This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: 卡尔斯路西法

79438138

Date: 2025-02-14 01:37:24
Score: 1
Natty:
Report link

Experiencing the same problem.

I noticed that with pytorch backend the GPU memory is ~10x smaller, so I increased the batch size to be 16x, so the training speed is 16x faster. Now comparable to the TensorFlow backend (however, the GPU utilization is still low, ~3% vs ~30% with TF).

NOTE: increasing the batch size may affect training quality, which is yet to be compared.

I suspect batch size with pytorch has different semantics than the traditional Keras semantics. See here: https://discuss.pytorch.org/t/solved-pytorch-lstm-50x-slower-than-keras-tf-cudnnlstm/10043/8

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

79438131

Date: 2025-02-14 01:31:22
Score: 1.5
Natty:
Report link

Kind of upside down: time series is by definition a dataset where the data points are at equal index (time) intervals; yet linear is what assumes equal intervals... Would love to learn more

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

79438125

Date: 2025-02-14 01:25:18
Score: 8.5 🚩
Natty: 5
Report link

I'm having this problem too. Could you solve it?

Reasons:
  • Blacklisted phrase (2): Could you solve
  • 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 (0.5):
Posted by: Ricardo Rubik Ruiz

79438121

Date: 2025-02-14 01:20:17
Score: 3
Natty:
Report link

I believe this can be achieved by copying the built-in setting “*/@on.” and replacing the argument “on” with “data-click.” However, in my case, the configuration persistence after editing turned out to be broken.

enter image description here

enter image description here

enter image description here

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

79438120

Date: 2025-02-14 01:20:17
Score: 0.5
Natty:
Report link

To help anyone else. I had Text with modifiers attached to it within an overlay modifier. I changed the code a lot just to realize I could go back to the old code and change the order of the modifiers. Moving one first on the list worked.

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

79438119

Date: 2025-02-14 01:19:16
Score: 4
Natty: 4.5
Report link

Though it is too late to answer, but I think what you are looking for is here: https://www.deepdefence.co/api-for-aws-effective-permissions/

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

79438116

Date: 2025-02-14 01:17:15
Score: 4.5
Natty: 4
Report link

I have jdk v17 and v23 both installed and both are in configured in Windows 11 Environment System variable path. Error: (1) when I type "Java -version" at windows cmd I see only v23 installed (2) when I type "Java -version" in my jupyter notebook, I see the message "NameError: name 'java' is not defined

Please help.

Reasons:
  • RegEx Blacklisted phrase (3): Please help
  • No code block (0.5):
  • Low reputation (1):
Posted by: AAserver

79438101

Date: 2025-02-14 01:03:13
Score: 0.5
Natty:
Report link

After reading more code in the repo, I realized that Avro is using template class specialization. All I need to do is define the right encoding / decoding logic for the struct, and it will call it correctly.

template<> struct codec_traits<UserEntry> {
    static void encode(Encoder& e, const UserEntry& user) {
           avro::encode(e, user.user_id);
           avro::encode(e, user.user_name);
           ...
           ...
           ...
    }

    static void decode(Decoder& d, UserEntry& user) {
           avro::decode(d, user.user_id);
            avro::decode(d, user.name);
            ...
            ...
            ...
        }
    }
};

Note: If UserEntry is made of other struct types, they also need to have their encoders defined.

To write the data

avro::DataFileWriter<UserEntry> writer(file_name, schema);
UserEntry user;
...
// populate
...

writer.write(user);
writer.close();

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

79438097

Date: 2025-02-14 01:00:12
Score: 2
Natty:
Report link

So I fiddled around with the code provided by @Leylou and I could not get it to work. I decided to go back to my original code and did a BUNCH of reading!

In my original script this line:

let newEvent = busDriverCalendar.createEvent(tripData[i][28], tripData[i][34], tripData[i][35], { description: tripData[i][29], location: tripData[i][32] });

needed to be changed like this:

let newEvent = busDriverCalendar.createEvent(tripData[i][28], tripData[i][34], tripData[i][35],  {description: tripData[i][29], guests: tripData[i][1], location: tripData[i][32]});

If you read through my original script you will see that three different calendars are used. In the same line for each calendar I changed it to include guests: tripData[i][1],

It works perfectly, adding the person who submitted the form without sending notification or updates.

I want to thank @Leylou for the work you did on the answer you provided. Ultimately it was not useful to me but it might be useful to someone else. That answer did work in my test account, I just could not get it to work in the main account all this google app script work is for.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Leylou
  • User mentioned (0): @Leylou
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: vlkirkpatrick

79438091

Date: 2025-02-14 00:53:11
Score: 2.5
Natty:
Report link

Any updates to this? I'm also hitting the same issues of ProblemDetectedLocally. Players can join/create lobby, and successfully connect to peers. But also get stuck at the same "local problem"

Reasons:
  • RegEx Blacklisted phrase (0.5): Any updates
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Blake Darrow

79438080

Date: 2025-02-14 00:47:10
Score: 2
Natty:
Report link

Your CSS is correct when altering the flex direction based on screen size. If the media query isn't working as expected, the issue might be due to other CSS rules or inherited properties from different page parts interfering with the layout. It is essential to look for any styles that are in conflict, like margins, padding, or display properties on the parent or other elements on the page. Also, ensure that the query is used correctly and accessible within your browser's developer tools. Here's a tip for managing multiple tasks effectively while developing: I use Arbeitszeitrechner to monitor my working hours. This calculator helps me maintain a balanced approach to programming and project management, ensuring my development efforts stay on track while producing the best results.

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

79438076

Date: 2025-02-14 00:45:09
Score: 3.5
Natty:
Report link

Was researching about that recently and apparently you can check it in promise as stated here

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

79438068

Date: 2025-02-14 00:39:08
Score: 4.5
Natty:
Report link

Vagrant seems to be it! Looks like what I wanted: https://github.com/hashicorp/vagrant

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

79438050

Date: 2025-02-14 00:30:06
Score: 1
Natty:
Report link

import {
  toRaw,
  isRef,
  isReactive,
  isProxy,
} from 'vue';

export function deepToRaw<T extends Record<string, any>>(sourceObj: T): T {
  const objectIterator = (input: any): any => {
    if (Array.isArray(input)) {
      return input.map((item) => objectIterator(item));
    } if (isRef(input) || isReactive(input) || isProxy(input)) {
      return objectIterator(toRaw(input));
    } if (input && typeof input === 'object') {
      return Object.keys(input).reduce((acc, key) => {
        acc[key as keyof typeof acc] = objectIterator(input[key]);
        return acc;
      }, {} as T);
    }
    return input;
  };

  return objectIterator(sourceObj);
}

By hulkmaster https://github.com/vuejs/core/issues/5303#issuecomment-1543596383

You can also wrap the sourceObj with unref like this. objectIterator(unref(sourceObj))

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

79438049

Date: 2025-02-14 00:29:06
Score: 3
Natty:
Report link

I have an example in this repository, I hope it helps you. https://github.com/gregorysouzasilva/pdf-filler/blob/main/src/App.tsx

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gregory Souza Silva

79438042

Date: 2025-02-14 00:25:02
Score: 8.5 🚩
Natty: 5
Report link

Have you found a fix? I've also tried everything you've listed, without success.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix?
  • RegEx Blacklisted phrase (2.5): Have you found a fix
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ariane

79438025

Date: 2025-02-14 00:12:59
Score: 3
Natty:
Report link

Silly me... It works actually, I just have two different nav components running on different routes and I watched the wrong view all the time.

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

79438011

Date: 2025-02-13 23:59:54
Score: 7.5 🚩
Natty: 5.5
Report link

Did you ever find the solution? I am running into same issue and hoping you have found the solution. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you ever find the solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: sajaan458

79438008

Date: 2025-02-13 23:57:53
Score: 1.5
Natty:
Report link

I was able to work with Google Cloud Support in order to get a response on this issue. The resume functionality of the Firestore gRPC Listen call does not support delete capture.

In order to determine if there was a delete, you can include the expected count and then compare the last known value to the new one upon resuming. Additionally, you would need to count the number of new documents and increment your stored expected count as needed. If there is a difference between that and the new value coming from the server upon resume, that means deletes have occurred. If you wanted to know what was removed, you'd need to get all the changes again. This is not particularly helpful if your source regularly has deleted documents, but this is the intended functionality.

The resume functionality does fully support adding new documents, updating existing fields on documents, and removing fields from documents.

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

79438004

Date: 2025-02-13 23:55:53
Score: 2.5
Natty:
Report link

Buen día yo lo logre así pero no puedo combinarlo con Orderby o otro Select adicional.

... // Código BaseSpecification

public Expression<Func<T, T>>? GroupBy { get; private set; }

... // Código SpecificationEvaluator

if (spec.GroupBy != null)
{
  inputQuery = inputQuery.GroupBy(spec.GroupBy).Select(g => 
      g.First()).AsQueryable();
}
Reasons:
  • Blacklisted phrase (2): Código
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Horacio Ramirez

79438003

Date: 2025-02-13 23:55:53
Score: 1
Natty:
Report link

I opened implementation of Encoding.GetEncoding() on VS and I saw a part that matches parameter value with sets. I realized that Encoding had a constant variable for ISO_8859_1 = 28591. But this is an internal const so I couldn't use Encoding.ISO_8859_1 so I just used the value:

Encoding.GetEncoding(28591)

After switching to this, I was able to read and write a file with Turkish characters.

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

79437979

Date: 2025-02-13 23:39:51
Score: 1.5
Natty:
Report link

const routes = [ { text: '', //this will be the link text component: , // Or keep this null path: '/', }, { text: 'Sales Overview New', //this will be the link text component: , // Or keep this null path: '/sales-overview-new', }, { text: 'Sales Overview New', //this will be the link text component: null, // Or keep this null path: '/sales-overview-new', } ]

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

79437950

Date: 2025-02-13 23:19:47
Score: 2
Natty:
Report link

Actually downloading the Microsoft SQL Server 2019 Integration Services Feature Pack for Azure resolved it for me. I'm using Visual Studio 2017 and already had the 2017 Integration Services Feature Pack for Azure installed.

https://www.microsoft.com/en-us/download/details.aspx?id=100430

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

79437945

Date: 2025-02-13 23:16:47
Score: 1.5
Natty:
Report link

In the same function where you draw the rectangle that indicates the face, save the coordinates to a global variable. Then, when saving the frame to the file, limit its area like this: video_frame[y:y+h, x:x+w], see detail:

def detect_bounding_box(vid): global area gray_image = cv2.cvtColor(vid, cv2.COLOR_BGR2GRAY) faces = face_classifier.detectMultiScale(gray_image, 1.1, 5, minSize=(40, 40)) for (x, y, w, h) in faces: cv2.rectangle(vid, (x, y), (x + w, y + h), (0, 255, 0), 4) area = [x, y, w, h] return faces

........

cv2.imwrite(img_name, video_frame[area[1]:area[1]+area[3], area[0]:area[0]+area[2]])

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): ........
  • Low reputation (1):
Posted by: Juan Suarez

79437944

Date: 2025-02-13 23:15:41
Score: 8.5 🚩
Natty: 6
Report link

Did you manage to resolve this? I'm experiencing something similar and I think it's an API incompatibility issue. Mind you, I am doing a major jump: 1.14 -> 1.20.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to resolve this
  • RegEx Blacklisted phrase (1.5): resolve this?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Alain Williams

79437943

Date: 2025-02-13 23:15:39
Score: 6 🚩
Natty:
Report link

I am also getting a blank/black screen with only the cursor showing. Pls suggest is there is any resolution

Reasons:
  • RegEx Blacklisted phrase (2.5): Pls suggest
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Narendra

79437936

Date: 2025-02-13 23:12:38
Score: 2
Natty:
Report link

In fact, Gilbert's suggestion painted the string centered around the rotation point, so the rotated string has extra space (r.height - textWidth) / 2. If I subtract this value from x-position, it starts working perfectly. So, the simplified correct version should be:

            g2d.drawString(text, x0 - r.height / 2, y0 + fontMetrics.getDescent());

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex B.

79437933

Date: 2025-02-13 23:10:37
Score: 1
Natty:
Report link

There is now a NuGet package called Microsoft.AspNetCore.SystemWebAdapters that provides the features of VirtualPathUtility from System.Web to an ASP.NET Core application.

https://github.com/dotnet/systemweb-adapters

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

79437919

Date: 2025-02-13 22:58:35
Score: 4
Natty: 4.5
Report link

Wish to proceed the discussion after a long time. I've just tried above two repositories, and they all reported to me that the gdal cannot be imported.

  1. For developmentseed/geolambda I set up a simple python 3.10 lambda in us-east-1, and added the
"arn:aws:lambda:us-east-1:552188055668:layer:geolambda:4" 
"arn:aws:lambda:us-east-1:552188055668:layer:geolambda-python:3" 

with environment variables:

GDAL_DATA=/opt/share/gdal
PROJ_LIB=/opt/share/proj (only needed for GeoLambda 2.0.0+)

I just add one line in python "from osgeo import gdal" It shows error like cannot import gdal.

  1. For lambgeo/docker-lambda I user prebuilt lambda layer, like
{
    "region": "us-east-1",
    "layers": [
      {
        "name": "gdal38",
        "arn": "arn:aws:lambda:us-east-1:524387336408:layer:gdal38:4",
        "version": 4
      }
    ]
  },

And with recommended environment variables.

GDAL_DATA: /opt/share/gdal
PROJ_LIB: /opt/share/proj

Also, I got the same error with cannot find gdal. Do you have any idea if I configure some wrong during the approach?

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Samuel Wei

79437916

Date: 2025-02-13 22:53:34
Score: 2
Natty:
Report link

Check your browser's extensions. In my case "Grammarly" extension was the reason, because some extensions inject some codes into the pages. The error disappeared when I disabled the extension.

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

79437915

Date: 2025-02-13 22:52:33
Score: 9.5
Natty: 7
Report link

I’ve the same identical problem. Did you solved it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: pigreco

79437914

Date: 2025-02-13 22:52:33
Score: 3.5
Natty:
Report link

Add true_names: false under cert_key_chain family.

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

79437912

Date: 2025-02-13 22:49:32
Score: 4.5
Natty: 5
Report link

In my case it was previously setup for GHE.com so needed to undo https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/using-github-copilot-with-an-account-on-ghecom

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

79437906

Date: 2025-02-13 22:47:31
Score: 1
Natty:
Report link

import {
  toRaw,
  isRef,
  isReactive,
  isProxy,
} from 'vue';

export function deepToRaw<T extends Record<string, any>>(sourceObj: T): T {
  const objectIterator = (input: any): any => {
    if (Array.isArray(input)) {
      return input.map((item) => objectIterator(item));
    } if (isRef(input) || isReactive(input) || isProxy(input)) {
      return objectIterator(toRaw(input));
    } if (input && typeof input === 'object') {
      return Object.keys(input).reduce((acc, key) => {
        acc[key as keyof typeof acc] = objectIterator(input[key]);
        return acc;
      }, {} as T);
    }
    return input;
  };

  return objectIterator(sourceObj);
}

By hulkmaster https://github.com/vuejs/core/issues/5303#issuecomment-1543596383

You can also wrap the sourceObj with unref like this. objectIterator(unref(sourceObj))

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

79437905

Date: 2025-02-13 22:46:31
Score: 0.5
Natty:
Report link

History: Principles of In-process Functions

Previously your Function code and the Azure Functions runtime shared the same process. It's a web host, and it's your Functions code, all running in one process.

The runtime handled the inbound HTTP requests by directly calling your method handler.

Background: Principles of Isolated Functions

The Azure Functions Host runtime is still responsible for handling the inbound HTTP requests. But, your Functions app is a totally separate .NET application, running as a different process. Even in a different version of the .NET runtime.

If you run it locally you'll see two processes:

  1. The Functions Host process (Func.exe on Windows, dotnet WebHost on Debian Linux)
  2. A separate .NET process launched with your Functions app

Your Isolated Functions app isn't too much different from a console app. It's definitely not a web host.

This makes even more sense when you consider that the entrypoint is Program.cs. It's clear that no other code is involved in initialising your app. That's quite different from In-process where you define a Startup class - i.e. a method called by the Azure Functions runtime code because they're part of the same process.

Actual answer: How the pipeline works

So if your Functions are running in something similar to a console app, how is it handling HTTP triggers if it's not a web host any more?

The answer is that your Functions app, although isolated, has a gRPC channel exposed. The Functions Host process handles the HTTP requests for you, and passes them to your Functions app through the gRPC channel.

The gRPC channel in your Functions app isn't obvious, and it's not something you explicitly open or have control over. You might stumble across it in a stack trace if you hit a breakpoint or have an unhandled exception.

The pipeline becomes:

  1. Host process receives HTTP request
  2. Host process calls your Functions app via gRPC
  3. Functions app calls your Middleware classes, if you registered any
  4. Functions app calls your Function method, and you return a response
  5. Functions app returns the response back to the Host process via gRPC
  6. Host process returns the HTTP response back to the caller

Other notable differences in the pipeline

As mentioned above, Isolated lets you add your own Middleware classes into the processing pipeline. These run in your Function code immediately before the actual Function method is called, for every request. In-process had no convenient way to achieve this.

Even though your Functions aren't handling the HTTP call directly, helpfully your Middleware classes can still access a representation of the HTTP request that's passed in from the Host. This enables you to check HTTP headers, for example. It's particularly useful in your Middleware classes because you can perform mandatory tasks like authentication, and it's guaranteed to execute before handling the request.

host.json

This part of your question has a good answer here: https://stackoverflow.com/a/79061613/2325216

References

https://learn.microsoft.com/en-us/azure/azure-functions/dotnet-isolated-in-process-differences https://github.com/Azure/azure-functions-dotnet-worker

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Andrew B

79437898

Date: 2025-02-13 22:43:30
Score: 1
Natty:
Report link

You should store property Counter2.Text or Counter.Text instead of the textbox component itself

screenshot

Also 1 TinyDB component would be sufficient, just use different tags like Counter1, Counter2

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

79437894

Date: 2025-02-13 22:42:29
Score: 4.5
Natty: 5
Report link

Download the windows port of WOL from:

https://brainforcesolutions.com/software/wol.zip

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

79437882

Date: 2025-02-13 22:35:28
Score: 0.5
Natty:
Report link

It works for me to define the type to deserialize as following:

var ridt = JsonConvert.DeserializeObject<T>(ri_bdy);
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DavidL Viva

79437881

Date: 2025-02-13 22:34:28
Score: 1
Natty:
Report link

I got it! You still follow Apple Insider's tutorial, but you have to target a specific file hidden deep within MacOS. Copy and paste the image/icon you want into the Get Info pane of the file: /Library/Frameworks/Python.framework/Versions/3.13/Resources/Python.app

Your path might be be different because of a different verison of Python - just replace the 3.13 with your version.

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

79437875

Date: 2025-02-13 22:31:27
Score: 3.5
Natty:
Report link

You need to create a custom validator for this.

Please, check this post: Validate each Map<string, number> value using class-validator

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

79437873

Date: 2025-02-13 22:30:27
Score: 3.5
Natty:
Report link

riov8 gave me the solution here with their great vscode extension. Explicitly i like how you can point to a json file and extract values so i didnt have to make multiple files

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

79437870

Date: 2025-02-13 22:29:27
Score: 3
Natty:
Report link

In my case it was a problem at the build step (nest build), I tried Basil's answer and it didn't work at first then I did new clear build cache & deploy to make it

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

79437868

Date: 2025-02-13 22:29:26
Score: 4.5
Natty: 5
Report link

Seems something like this will be finally implemented in Android 16: https://developer.android.com/about/versions/16/features#hybrid-auto-exposure

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

79437863

Date: 2025-02-13 22:25:25
Score: 0.5
Natty:
Report link

This appears to still be an issue in 2025, so rather than post a new question I thought it cleaner to add to this conversation. For now I have settled for adding a sleep into my code to make it wait for the duration of the track. Each track object contains its duration so this is easy enough. But it is a klunky, highly volatile, solution. Pausing the track messes it up, for example.

So here's where hopefully some smarter people can weigh in. There are 2 other potential fixes I have noticed in my testing. Developer Tools are your friend here.

First, the index.js script that gets loaded into the hidden iframe DOES contain definitions for item_end and track_ended. But they don't seem to be emitting to the parent. I don't know if this is a bug or intentional by Spotify. But I do see in the network traffic a POST event from fetch to https://cpapi.spotify.com/v1/client/{client_id}/event/item_end so the event is firing, it's just not getting back to our app code from the embedded player. I wasn't successful in any attempts to intercept that fetch() call as a way to determine the track had ended.

Second, in Chromium-based browsers anyway, the embedded player logs typical events like load, play, pause, and ended, as viewable in the Developer Tools Media tab. (https://chromium.googlesource.com/chromium/src/+/refs/heads/main/media/base/media_log_events.h) If there's a way to listen for these library calls then that's a possibility too.

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

79437862

Date: 2025-02-13 22:23:25
Score: 2.5
Natty:
Report link

For env vars:

message(STATUS "$ENV{BLABLA}")

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: w.t

79437860

Date: 2025-02-13 22:23:25
Score: 1
Natty:
Report link

I had this issue:

This version (1.5.15) of the Compose Compiler requires Kotlin version 1.9.25 but you appear to be using Kotlin version 1.9.24 which is not known to be compatible.  Please consult the Compose-Kotlin compatibility map located at https://developer.android.com/jetpack/androidx/releases/compose-kotlin to choose a compatible version pair (or `suppressKotlinVersionCompatibilityCheck` but don't say I didn't warn you!).

and fixed playing with the Expo version downgrading to 52.0.19

Checkout this thread: https://github.com/expo/expo/issues/32844#issuecomment-2643381531

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

79437858

Date: 2025-02-13 22:19:24
Score: 1
Natty:
Report link

My analogy to this is, it is like a library (BigQuery) and clustering is like books on shelves by genre. If there are a lot of books (rows) that don't have a genre (NULL), they are all like one big shelf of unclassified books. It reads more files because searching in books with no genre, BigQuery has to check all that big unclassified shelf reading a lot of unnecessary books. And with clustering, books with no genre (NULL), it is like one big shelf of unclassified books in the library. BigQuery checks more data than needed, which makes everything slower. Perhaps if you can pre-filter the NULL then cluster it to remove the NULL cluster or try to put ‘E’ on the later in the clustering order otherwise if not frequently needed, remove it if possible.

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

79437849

Date: 2025-02-13 22:13:23
Score: 2
Natty:
Report link

I just came across this error and after exploring various blogs, I find out that adding this ""APIKeyExpirationEpoch": -1, "CreateAPIKey": -1" ,as mentioned in comment above, is deprecated and causing this error [NoApiKey: No api-key configured]. My way is to simply run the amplify update api, having previously deleted apikey expiration epoch -1 to start with a clean slate.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jose-Luis Morales Watanabe

79437845

Date: 2025-02-13 22:11:23
Score: 1.5
Natty:
Report link

Yes "401 Anonymous caller does not have storage.objects.get access" suggests that authentication is required to download the necessary files from Google Cloud Storage but your environment lacks proper credentials.

Did you run?

gclient auth-login

and verify that you can access the bucket?

gsutil ls gs://chromium-tools-traffic_annotation/
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Ian Carter

79437840

Date: 2025-02-13 22:09:22
Score: 2
Natty:
Report link

The original question is quite old, but for anyone facing similar issues: I created a library facing this issue: https://github.com/wlucha/ng-country-select

It avoids resource path issues by using emoji flags and offers features like multilingual search, default country selection, and Angular Material styling.

It’s easy to integrate and works with modern Angular versions.

Reasons:
  • Whitelisted phrase (-2): for anyone facing
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Low reputation (1):
Posted by: WALL

79437839

Date: 2025-02-13 22:09:22
Score: 3
Natty:
Report link

I think both are supposed to work, but have you tried switch the matching IDs from the Entity.Id to the Entity.Guid to see if that works?

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: Jeremy Farrance

79437838

Date: 2025-02-13 22:09:22
Score: 2
Natty:
Report link

I actually found what it is. I was regenerating the OIDC application registration on every restart. In the past with OpenIdDict pre version 6 this would work, but apparantly with the version 6 this means that also all stored tokens are invalidated.

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

79437830

Date: 2025-02-13 22:07:21
Score: 3.5
Natty:
Report link

resolved, forget to put picam2.start(). It should be placed in at the start of the while loop.

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

79437823

Date: 2025-02-13 22:03:21
Score: 1
Natty:
Report link

Root cause : I have installed some *.rpm which have modified some files related to mercurial in /usr/lib64/python2.7, that is what put the mess in pythonhome. Fix : To fix all the mess I have got a new /usr/lib64/python2.7 folder from identical machine(as they are all virtual machines) to replace and everything goes well now. Hope this will help someone.

Reasons:
  • Whitelisted phrase (-1): Hope this will help
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Donald M

79437821

Date: 2025-02-13 22:03:21
Score: 3.5
Natty:
Report link

I've found the answer.

I needed to find the correct gateway via

docker network inspect -v

That's it

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

79437817

Date: 2025-02-13 22:01:20
Score: 2
Natty:
Report link

The question is old, but if someone encounters this issue, the @wlucha/ng-country-select library is a great solution for adding a country dropdown with flags in Angular: https://github.com/wlucha/ng-country-select

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

79437812

Date: 2025-02-13 22:00:19
Score: 2
Natty:
Report link

Try using scikit-fda==0.7.1, i read that in newer versions the code was refactored, but not all the code was updated.

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

79437809

Date: 2025-02-13 22:00:19
Score: 1
Natty:
Report link

Console.app shows you an Error Log by default. I believe you can also view Crash Reports by opening files with an '.ips' extension. A Core Dump is an object file that can be explored with a debugging tool such as valgrind or gdb.

You can read more about Console.app here.

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

79437795

Date: 2025-02-13 21:51:18
Score: 2
Natty:
Report link

For future reference, please provide what the correct output should be instead of just an example output.

You can perform a group by, take the unique States for each ID, then take the value counts of that

combinations = df.group_by('id').agg(pl.col('state').unique())
counts = combinations.select(pl.col('state').value_counts().alias('counts'))
print(counts.unnest('counts'))

assert (counts.select(pl.col('counts').struct.field('count').sum()) == df.n_unique('id')).item()

# Alternatively, as a single expression:
print(df.select(
    pl.col('state').unique().implode()
    .over('id', mapping_strategy='explode')
    .value_counts()
    .struct.unnest()
))

Reasons:
  • RegEx Blacklisted phrase (2.5): please provide what
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: etrotta

79437793

Date: 2025-02-13 21:49:17
Score: 1
Natty:
Report link

make sure to use WebSocket with an uppercase "S" and instantiate it with new. Check if window.opener.WebSocket is accessible and use:

const websocket = new window.opener.WebSocket('ws://address');

If it still doesn’t work, verify the context and permissions between windows.

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

79437788

Date: 2025-02-13 21:47:16
Score: 4
Natty:
Report link

I actually found what I was looking for in terms of Git subtrees, similar to submodules but much easier to configure.

https://opensource.com/article/20/5/git-submodules-subtrees

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Swampcritter

79437786

Date: 2025-02-13 21:46:16
Score: 2.5
Natty:
Report link

const websocket = new window.opener.Websocket('{WebsocketAddress}');

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Bird Dad

79437783

Date: 2025-02-13 21:45:15
Score: 0.5
Natty:
Report link

clang-tidy doesn't have separate rules for prefixing members of class or struct. Technically, struct and class are the same, differing only in their default access levels. If a struct has private members or a class has public members, they function identically. This is why clang-tidy applies the same rules to both.

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

79437780

Date: 2025-02-13 21:43:15
Score: 2
Natty:
Report link

Keeping in mind as well, that the Camel code will establish a JMS connection to MQ, send the message, then drop the JMS connection for every iteration.

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

79437777

Date: 2025-02-13 21:41:14
Score: 2
Natty:
Report link

I added ENV var:

export DOTNET_ROOT=/opt/dotnet-sdk-bin-9.0/

after it everything works.

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

79437774

Date: 2025-02-13 21:39:14
Score: 1.5
Natty:
Report link

So far, I think this is a new feature. Until then, lambda was required to move the logs from S3 to cloud_watch..

https://aws.amazon.com/blogs/mt/sending-cloudfront-standard-logs-to-cloudwatch-logs-for-analysis/

My approach is to provision cloud_watch log_group and km key and attach CloudFront to CloudWatch_log_group via web. Probably AWS Cli will have support already for this.. But for now, I will wait a bit for official implementation.

Also, there is another solution called real-time logs using kinesis.

It seems that there is already work started in the provider. https://github.com/hashicorp/terraform-provider-aws/issues/40250

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

79437770

Date: 2025-02-13 21:36:13
Score: 0.5
Natty:
Report link

Could it be that the plane you are using is parallel to the XZ plane, while you need it to be parallel to the XY plane?

From Apple's documentation,

planeTransform: The transform used to define the coordinate system of the plane relative to the scene. The coordinate system's positive y-axis is assumed to be the normal of the plane.

The matrix matrix_identity_float4x4 represents the XZ plane. The matrix for the XY plane with normal in the +Z direction should be:

let xyPlaneMatrix = simd_float4x4(
      SIMD4<Float>( 1,  0,  0, 0),
      SIMD4<Float>( 0,  0,  1, 0),
      SIMD4<Float>( 0, -1,  0, 0),
      SIMD4<Float>( 0,  0,  0, 1)
   )
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Thanh Duy Truong

79437763

Date: 2025-02-13 21:32:12
Score: 5.5
Natty: 5
Report link

Is the accepted answer really correct? I thought that once spark reads the data, the ordering may not necessarily be the same as what was persisted to disk?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: Ildar

79437761

Date: 2025-02-13 21:31:11
Score: 2.5
Natty:
Report link

For string. You may use Here-String syntax for multiline string assignment like

echo @"
here is the first string
location is $global:loc
"@

Ref: https://devblogs.microsoft.com/scripting/powertip-use-here-strings-with-powershell/

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

79437751

Date: 2025-02-13 21:25:09
Score: 1.5
Natty:
Report link

I have achieved it, It was necessary to detect the operating system and port the C# script to node.js, I'm not sure if this is the correct way to do it but it works fine for now.

note: any suggestions will be welcome.

const { exec, spawn } = require('child_process');
const os = require('os');

/**
 * Manages application elevation and admin privileges across different platforms
 */
class AdminPrivilegesManager {
    /**
     * Checks and ensures the application runs with admin privileges
     * @returns {Promise<void>}
     */
    static async ensureAdminPrivileges() {
        const isAdmin =  this.checkPrivilegesAndRelaunch();
        console.log('isAdmin',isAdmin);
    }

    static checkPrivilegesAndRelaunch() {
        if (os.platform() === 'win32') {
            exec('net session', (err) => {
                if (err) {
                    console.log("Not running as Administrator. Relaunching...");
                    this.relaunchAsAdmin();
                } else {
                    console.log("Running as Administrator.");
                    return true
                }
            });
        } else {
            if (process.getuid && process.getuid() !== 0) {
                console.log("Not running as root. Relaunching...");
                this.relaunchAsAdmin();
            } else {
                console.log("Running as root.");
                return true;
            }
        }
    }

    static relaunchAsAdmin() {
        const platform = os.platform();
        const appPath = process.argv[0]; // Path to Electron executable
        const scriptPath = process.argv[1]; // Path to main.js (or entry point)
        const workingDir = process.cwd(); // Ensure correct working directory
        const args = process.argv.slice(2).join(' '); // Preserve additional arguments

        if (platform === 'win32') {
            const command = `powershell -Command "Start-Process '${appPath}' -ArgumentList '${scriptPath} ${args}' -WorkingDirectory '${workingDir}' -Verb RunAs"`;
            exec(command, (err) => {
                if (err) {
                    console.error("Failed to elevate to administrator:", err);
                } else {
                    console.log("Restarting with administrator privileges...");
                    process.exit(0);
                }
            });
        } else {
            const elevatedProcess = spawn('sudo', [appPath, scriptPath, ...process.argv.slice(2)], {
                stdio: 'inherit',
                detached: true,
                cwd: workingDir, // Set correct working directory
            });

            elevatedProcess.on('error', (err) => {
                console.error("Failed to elevate to root:", err);
            });

            elevatedProcess.on('spawn', () => {
                console.log("Restarting with root privileges...");
                process.exit(0);
            });
        }
    }
}

module.exports = AdminPrivilegesManager;
Reasons:
  • RegEx Blacklisted phrase (2): any suggestions
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Francisco IA Lover

79437746

Date: 2025-02-13 21:22:09
Score: 2.5
Natty:
Report link

Add the following property to the aws-lambda-tools-defaults.json file in the directory where the Lambda function is at:

"code-mount-directory": "../../../"

Please have a look here for further details: https://github.com/aws/aws-extensions-for-dotnet-cli/discussions/332

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

79437727

Date: 2025-02-13 21:14:07
Score: 2
Natty:
Report link

If I am not mistaken, Transcient are created every GetService() call. Scoped are ThreadStatic (in normal apps), so they are created and exist through a thread's lifetime. However, given that IIS has a pool of application threads, scoped in web is likely per-HTTP request, so likely is implemented via a data slot or saved in the HttpContext.Items collection or as ambient data in Execution context via AsyncLocal.

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

79437717

Date: 2025-02-13 21:11:06
Score: 4
Natty: 4
Report link

I have MSSQL 2019 and TRIM still does not work, STRING_SPLIT does though.

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

79437716

Date: 2025-02-13 21:11:05
Score: 1
Natty:
Report link

This is an old thread but if anyone is still looking for how to refresh queries using VBA in Excel. I used this bit of code to easily do that:

Sub RefreshData()
Dim ws As Excel.Worksheet

For Each q In ActiveWorkbook.Queries
    q.Refresh
Next

End Sub
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Heredia

79437708

Date: 2025-02-13 21:07:05
Score: 3
Natty:
Report link

I reset the IDE, and did TypeScript: Restart, and ESLINT Restart after hitting F1 in vscode and the problem resolved.

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

79437682

Date: 2025-02-13 20:55:02
Score: 2.5
Natty:
Report link

This question is asking how to reverse proxy to an external URL using Azure front door without a proxy app or middleware.

Similar to netlify redirects with rewrite or the rewrite

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

79437671

Date: 2025-02-13 20:51:01
Score: 0.5
Natty:
Report link

Go to android\settings.gradle.kts and under plugins update the version of "org.jetbrains.kotlin.android" to the latest one according to this link: https://kotlinlang.org/docs/releases.html#release-details For example:

plugins {
    id("dev.flutter.flutter-plugin-loader") version "1.0.0"
    id("com.android.application") version "8.7.0" apply false
    id("org.jetbrains.kotlin.android") version "2.1.10" apply false
}
Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Elyasaf755

79437663

Date: 2025-02-13 20:45:00
Score: 2
Natty:
Report link

This particular recommendation seems to have been removed from the documentation as of 2025-02-13.

To me, it seems the visibility should be more closely related to the throttling rate? No real experience here (yet).

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