79313273

Date: 2024-12-28 05:39:55
Score: 1
Natty:
Report link

I couldn't figure out how to use selenium, so I just used regex on the page's source code. This gets everything I want asides from the odds.

from urllib import request
import re
import pandas as pd

response = request.urlopen("https://ai-goalie.com/index.html")
# set the correct charset below
page_source = response.read().decode('utf-8')

data_league = re.findall("(?<=data-league=\")[^\"]*", page_source)
data_home = re.findall("(?<=data-home=\")[^\"]*", page_source)
data_away = re.findall("(?<=data-away=\")[^\"]*", page_source)
data_time = re.findall("(?<=data-time=\")[^\"]*", page_source)
data_date = re.findall("(?<=data-date=\")[^\"]*", page_source)
certainty = re.findall("(?<=\"certainty\">)[^<]*", page_source)
probability = re.findall("\d+%(?=\n)", page_source)

df = pd.DataFrame({'league': data_league, 'home_team': data_away, 'away_team': data_away, 'time': data_time, 'date': data_date, 'certainty': certainty, 'probability': probability})
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: blahahaaahahaa

79313271

Date: 2024-12-28 05:36:55
Score: 2.5
Natty:
Report link

A big difference is that LTRIM and RTRIM will remove Control characters that aren't visible while the TRIM function will not. The result is that hidden control characters will remain with the TRIM function and could potentially give you an improper mismatch of values.

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

79313269

Date: 2024-12-28 05:35:54
Score: 2
Natty:
Report link

Checked with Raft-Dev Community and yes its very possible to lost uncommitted writes.

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

79313260

Date: 2024-12-28 05:26:53
Score: 3
Natty:
Report link

You can take two USB-TTL converters and link them so they send data to each other, then connect both to PC.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Сергей Лунов

79313259

Date: 2024-12-28 05:25:53
Score: 1
Natty:
Report link

If you need to set some environment variables for all tasks of the project, then you could skip configuring tasks.json and use direnv. Using this tool to set project-specific environment variables is mentioned in Gradle for Java - Visual Studio Code.

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

79313258

Date: 2024-12-28 05:23:52
Score: 1.5
Natty:
Report link

Since this question comes up on the top for this search query, I am posting my answer here which MIGHT help someone.

I had DELETED the old app but its API key was still stored in the environment. I had to restart the shell to make it work.

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

79313254

Date: 2024-12-28 05:18:51
Score: 3.5
Natty:
Report link

Unfortunately this website is behind a password so I cannot share the url. However, the issue was simply a lack of timer before checking the element. There is no issue with the command asking for table length itself. I am sorry for the trouble everyone

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

79313252

Date: 2024-12-28 05:18:51
Score: 1.5
Natty:
Report link

Hack Alert ⚠️

if you want latest update but your mac doesn't support it you can simply use opencore legacy patcher it's safe and open source. i am using it on a 10 years old MacBook and it's running fine but it's heating more than before which is obvious. give it a try.

https://github.com/dortania/OpenCore-Legacy-Patcher

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

79313249

Date: 2024-12-28 05:16:51
Score: 1
Natty:
Report link

If you're referring to IntelliSense and not just compile/link diagnostics, at this time, there's not much else to do other than wait. Be nice to the people working on implementation, and if you can help, do so.

If you're using cpptools (without CMake Tools)

Implementation of IntelliSense for C++ modules in cpptools is not complete yet. It's tracked by issue ticket Add IntelliSense for C++20 modules importing #6302. cpptools uses the EDG (Edison Design Group) compiler. EDG is still working on implementing support for C++ modules. Their progress can be found in this spreadsheet.

If you're using CMake Tools

I think it should work as long as your build is set up properly.

If you're using clangd

This is also in progress. It's tracked by issue ticket Modules support #1293.

Reasons:
  • RegEx Blacklisted phrase (3): you can help
  • Long answer (-0.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: starball

79313247

Date: 2024-12-28 05:11:50
Score: 1.5
Natty:
Report link

@stephen Thanks for your Reply

We have done successfully adding the JDK to the Ignite Image by following steps. Now able to take Thread dump and Heap dump

Following are the steps followed

  1. Download the binary from the official site of Apache Ignite Apache Link - Download
  2. Created a Docker File to build image with the following contents
     FROM openjdk:11
     ENV IGNITE_HOME=/opt/ignite/apache-ignite
     ENTRYPOINT ["/opt/ignite/apache-ignite/run.sh"]
     WORKDIR /opt/ignite
     COPY apache-ignite* apache-ignite 
     COPY run.sh /opt/ignite/apache-ignite/
     RUN chmod 777 -R /opt/ignite/apache-ignite
    
  1. Finally Able to Take Heap dump using jstack, jmap commands

Note: Cause : Apache Ignite Temurin Eclipse jdk RebuildVM information: OpenJDK Runtime Environment 11.0.21+9 Eclipse Adoptium OpenJDK 64-Bit Server VM 11.0.21+9
which didnt have those Heap/Thread Commands.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @stephen
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Karthik_Rajendiran

79313246

Date: 2024-12-28 05:10:50
Score: 0.5
Natty:
Report link

I got the same error and tried all the suggested things, but the issue was that I didn't include the Key Pair while initially creating an Instance, that's why the Key Pair I was using was not working to establish a connection. So, I created a new instance with the expected Key Pair, and right after that, I was able to connect it without any issues. I hope this helps anyone who will face this issue in future.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mudit Chauhan

79313244

Date: 2024-12-28 05:08:49
Score: 3
Natty:
Report link

Open vscode, press ctrl+shift+p open user setting(json) set the "explorer.excludeGitIgnore" to false

"explorer.excludeGitIgnore": false

the above steps will solve the problem

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rahul A Gowda

79313240

Date: 2024-12-28 05:04:48
Score: 5
Natty: 5
Report link

How do I handle pagebreaks, after conversion of html into canvas, and this has been cut according to the page size of pdf document which is A4 size. I want to make sure my content like text and images should not cut into 2 at page breaks

Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do I
  • Low reputation (1):
Posted by: Mohammad Vazeer Ali Khan

79313235

Date: 2024-12-28 05:00:47
Score: 2.5
Natty:
Report link

change fill="#000000" in <svg/> tag element

remove fill="..." in <path/>

config file .svgrrc

{
  "replaceAttrValues": {
    "#0000000": "{props.fill}",
  }
}

check github: https://github.com/kristerkari/react-native-svg-transformer/issues/105

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lê Mạnh Linh

79313229

Date: 2024-12-28 04:50:45
Score: 2
Natty:
Report link

I need to register user devices on server with an unique identifier that be a constant value and doesn't change in the future.

I can't find a good solution to get unique id from all devices (with/without simcard).

Secure.ANDROID_ID: Secure.ANDROID_ID is not unique and can be null or change on factory reset.

String m_androidId = Secure.getString(getContentResolver(), Secure.ANDROID_ID); IMEI: IMEI is dependent on the Simcard slot of the device, so it is not possible to get the IMEI for the devices that do not use Simcard.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kushal

79313222

Date: 2024-12-28 04:41:43
Score: 2.5
Natty:
Report link

The problem occured while I am using Streamlit I have tries to downgrade to protobuf but the upgrading protobuf saves me.

pip install --upgrade protobuf

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

79313218

Date: 2024-12-28 04:33:41
Score: 0.5
Natty:
Report link

After much headache, I figured out what the issue was for me. I was importing a library that we build ourselves, and that library had a different version for the @angular packages than the root project since we upgraded them both a few weeks apart. After ensuring the packages the two projects shared under were the same version (did so for non-angular packages), this error went away for me. When they were different versions, they didn't share the same context anymore, disallowing for proper injection.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @angular
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rei El-Khouri

79313200

Date: 2024-12-28 04:11:37
Score: 1
Natty:
Report link

Try below query

WITH SalesData AS (
    SELECT
        product_type,
        geography,
        SUM(quantity_sold) AS total_sold
    FROM product_sales
    GROUP BY product_type, geography
),
RankedSales AS (
    SELECT
        product_type,
        geography,
        total_sold,
        ROW_NUMBER() OVER (PARTITION BY product_type ORDER BY total_sold DESC) AS rn
    FROM SalesData
)
SELECT
    product_type,
    geography,
    total_sold
FROM RankedSales
WHERE rn = 1
ORDER BY product_type;

db-fiddle

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

79313194

Date: 2024-12-28 04:05:35
Score: 0.5
Natty:
Report link

in my case, I was missing require in composer.json. I managed to resolve this issue by adding this line :

"require": { 
    ...
    "barryvdh/laravel-dompdf": "0.8.*"
    ... 
}

within require scope, and run composer update.

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

79313187

Date: 2024-12-28 03:52:33
Score: 4
Natty:
Report link

I wrote release of resources in atexit function and issue was resolved.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Александр Гордиенко

79313175

Date: 2024-12-28 03:36:30
Score: 2
Natty:
Report link

If you are using JPA repositories just add @Transactional(Transactional.TxType.REQUIRES_NEW) to "SELECT" methods from JpaRepository interface

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

79313170

Date: 2024-12-28 03:30:29
Score: 0.5
Natty:
Report link

The issue stems from how Google OAuth 2.0 handles refresh tokens based on the prompt parameter. Here's an explanation and solution based on the provided details:

Problem Analysis Refresh Token Behavior:

Localhost: By default, Google might issue a refresh token when running on localhost without requiring explicit user consent (due to testing or relaxed restrictions). Cloud (GCE): In a production environment with verified domains and SSL, Google adheres more strictly to consent policies, requiring explicit user consent to grant a refresh token. access_type and prompt Parameters:

The access_type="offline" ensures that a refresh token can be returned. The prompt="consent" forces the consent screen to appear, ensuring Google re-prompts the user for permission to grant a refresh token. Without prompt="consent", Google might skip re-prompting if the user has already authorized the app, potentially not issuing a refresh token. Why Changing to prompt="consent" Fixed the Issue:

The consent prompt ensures the user explicitly agrees to grant offline access again, which triggers the issuance of a refresh token even on your public server. Updated Code Here’s how you should structure your authorization URL generation:

python code

authorization_url, state = gcp.authorization_url( authorization_base_url, access_type="offline", # Request offline access for refresh tokens prompt="consent", # Force the consent screen to ensure refresh token is issued include_granted_scopes='true' # Allow incremental scope requests )

Key Considerations Prompt Behavior:

Use prompt="consent" sparingly in production to avoid annoying users with repeated consent screens. Once a refresh token is issued, you don’t need to request it again unless explicitly required. Secure Storage of Tokens:

Always securely store the refresh_token and access_token in a backend database or encrypted storage to prevent unauthorized access. Documentation Gaps:

The confusion arises because Google doesn’t explicitly state the interaction between access_type and prompt in their main documentation. Your discovery highlights this subtle dependency. Token Scopes:

Ensure that the scope you request matches the required permissions for your app. Incorrect or overly restrictive scopes might also prevent refresh token issuance. Why It’s Different Between Localhost and Cloud Google may treat localhost as a "development" or "test" environment, issuing refresh tokens without the need for prompt="consent". In a "production" environment (GCE with a verified domain and HTTPS), stricter adherence to OAuth 2.0 policies is enforced.

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

79313166

Date: 2024-12-28 03:20:26
Score: 6 🚩
Natty: 4
Report link

hi tried on google app script also got 403. do you have answer for this question? can share it if you solved it please.

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have an
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bejo sutejo

79313153

Date: 2024-12-28 03:11:24
Score: 0.5
Natty:
Report link

This error can occur when using Lockdown mode - as FileReader is not available.

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

79313152

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

What version of Apache you are using

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: swawge

79313149

Date: 2024-12-28 03:08:22
Score: 4.5
Natty: 5.5
Report link

Comigo resolveu atualizando todas as atualizações de extensões.

Reasons:
  • Blacklisted phrase (1): todas
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Renato Fazio

79313148

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

Add an index.html file so it will load when no html file is specified in the URL

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Ray Wallace

79313144

Date: 2024-12-28 03:05:21
Score: 2
Natty:
Report link

Try to create a hitbox around the player box. This can be accomplished if you use a png image that is one pixel thick. And you place four of these pictures as hitbox around the player. And when there is a collision detected between the hitbox and the barrier, you can make the character stop moving. For example, if there is a collision of barrier with upper hitboxline and the player is still pressing the up key, it shouldn't do y-=speed. Hope that was helpful.

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

79313127

Date: 2024-12-28 02:53:20
Score: 1.5
Natty:
Report link

I was able to also reliably get my program to a state where the WiFi would only successfully connect on every other try.

On success, it would print: wifi:state: assoc -> run (0x10)

I knew it would fail when it printed: wifi:state: assoc -> init (0x2c0)

After I used idf.py to disable WiFi NVS flash (KCONFIG Name: ESP_WIFI_NVS_ENABLED), I was able to reconnect every time successfully.

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

79313104

Date: 2024-12-28 02:31:16
Score: 2.5
Natty:
Report link

I went to menu File > Invalidate Caches… to fix it.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Asme Just

79313097

Date: 2024-12-28 02:25:15
Score: 2.5
Natty:
Report link

You have 1 error: Image is not really a module that you can import, and python doesn't know what "Image" is.(unless you made your own module named image)

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

79313093

Date: 2024-12-28 02:21:14
Score: 1.5
Natty:
Report link

Adding the [Consumes("content-type")] defining the multipart/form-data as the content-type to your endpoint and removing the [FromBody] attribute from the mode parameter will fix this

[HttpPost]
[Consumes("multipart/form-data")]
public async Task<ActionResult> UploadRecipeImage(IFormFile front, IFormFile back, string mode)
{
    return Ok();
}

Related: How to set up a Web API controller for multipart/form-data

MS doc on Consumes: https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.consumesattribute?view=aspnetcore-9.0

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

79313092

Date: 2024-12-28 02:20:14
Score: 2.5
Natty:
Report link

You must use the IP addrewss of an active network interface on your machine and port 47808 must not be used already (like if YABE is on...)

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

79313091

Date: 2024-12-28 02:20:14
Score: 2
Natty:
Report link

Depending on your specific situation... try this grid option: domLayout="autoHeight".

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: AlexeiOst

79313090

Date: 2024-12-28 02:19:13
Score: 3
Natty:
Report link

You may have more luck with the new version of bacpypes3 and BAC0

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

79313086

Date: 2024-12-28 02:14:13
Score: 1.5
Natty:
Report link

OK I find an alternative solution.

I replace the optional by | undefined:

ReferentialEnum<{ color : string ; optional? : string }> 
ReferentialEnum<{ color : string ; optional : string | undefined }> 

I would have preferred to keep the :

ReferentialEnum<{ color : string ; optional? : string }> 

Playground

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

79313085

Date: 2024-12-28 02:13:12
Score: 1.5
Natty:
Report link

Try modifying your config xml file and add pagination logic. Also, you can use start and toe parameters.

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

79313084

Date: 2024-12-28 02:09:12
Score: 2.5
Natty:
Report link

Having a similar issue, except using gpucomputationrenderer from 'three/examples/jsm/misc/GPUComputationRenderer.js' and not the drei hook. Disabling StrictMode doesn't seem to fix it in my case. Only the first gpgpu variable texture actually updates and then the compute chain seems to break. It worked perfectly in the three.js version but something breaks in r3f.

Can't seem to find a solution atm. Found this implementation though: https://codesandbox.io/p/sandbox/admiring-christian-nnxq97?file=%2Fsrc%2FuseGPGPU.ts, and I followed it. The structure of implementation in the example works in the sandbox version but not in my app. Maybe this example could help you.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): Having a similar issue
  • Low reputation (1):
Posted by: user28961630

79313078

Date: 2024-12-28 02:01:11
Score: 0.5
Natty:
Report link

I know this is quite late but I think this might be what you're looking for:

xcrun xcdevice list

It returns a list of both simulators and non-simulators with the same info from the GUI.

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

79313068

Date: 2024-12-28 01:52:08
Score: 4
Natty: 4.5
Report link

Image from: https://codehs.com/student/5885981/section/597103/assignment/150441768 Primative data types don't have methods whereas reference data types do.

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

79313067

Date: 2024-12-28 01:52:07
Score: 1.5
Natty:
Report link

Dim varSearchTerm as String

Perhaps shorten the first string search in the subject as indicated with a *wildcard. (is an attachment in the subject?) And concate the end string in the varSearchTerm with a wildcard either side of this one. No 2nd wildcard needed if all total strings end the same way.

Regarding wildcard concated around a string in a generic formula as in your example

"" & varSearchTerm & "" Is a technique in standalone Excel formulas. Wildcard stars are omitted from inside the two sets of speech marks when posted.

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

79313057

Date: 2024-12-28 01:37:04
Score: 2
Natty:
Report link

Thank you for posting this, it helped me a lot. Just like you, I needed to retrieve EPO data from my orders, though, my structure was more complex than just one field (I have around 20 different options). I did not use it as a function because it did not work but modified your code with unserialize:

Note: EPO is now stored in wp_woocommerce_order_itemmeta table and works with key pairs

$output = ''; 
$epos = unserialize($yourmetavalue);  
if (is_array($epos) ){
    foreach ($epos as $key => $epo) {
        if ($epo && is_array($epo)){
            $output .= '' . $epo['name'] .': '. $epo['value'] .'<br>';
        }
    }
}
echo $output;

Since I wanted to exclude certain values (like comments) and have links for EPO files uploaded by the clinets this is my actual code:

$output = ''; 
$epos = unserialize($epodata); 
    if (is_array($epos) ){
        foreach ($epos as $key => $epo) {
            if ($epo && is_array($epo) && $epo['name'] != "Commentaire"){
                if (strpos($epo['value'], 'http') === 0) {
                    $epo['value'] = "<a target='_blank' href='".$epo['value']."'>See file</a>";
                }
                $output .= '' . $epo['name'] .': '. $epo['value'] .'<br>';
            }
        }
    }
echo $output;

Be aware that I was unable to make your code work, (skill issue). The reason I am posting here is because I have never seen anyone try to extract EPO data from the DB other than you.

Hope it can help others.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): helped me a lot
  • Whitelisted phrase (-1): Hope it can help
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: François

79313055

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

Try with this code I can able to validate my username

if not register.objects.filter(username=username).exists():

return Response("User is Not Valid")

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

79313053

Date: 2024-12-28 01:33:04
Score: 1
Natty:
Report link

For bit-identical reproducible builds, I found via https://wiki.debian.org/ReproducibleBuilds/OggSerialNumbers that you have to call oggenc -s $number $input to override the random serial number in the bitstream.

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

79313049

Date: 2024-12-28 01:18:02
Score: 2
Natty:
Report link

server component console logs won't display anything on browser, you can see those logs on the console where the next js server is running.

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

79313036

Date: 2024-12-28 00:55:59
Score: 1.5
Natty:
Report link

In addition to the above chage to build.gradle, I also needed to fix Android -> build.gradle as described here and then I needed to remove the package=com.whatever... parameter in src/main/AndroidManifest.xml

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chris Nadovich

79313034

Date: 2024-12-28 00:52:57
Score: 6 🚩
Natty:
Report link

Did you ever get any results with this? I'm basically doing a search on a email in the past 7 days and getting results with empty EMAIL_LOG_SEARCH_RECIPIENT. Doesn't give me anything useful.

for example the same user in the UI returns 30 + results, but doing this, return 7 but all empty receivers.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Alan P

79313030

Date: 2024-12-28 00:47:56
Score: 1
Natty:
Report link

To build on the above answers, I used powershell to PATCH each build to set the retainedByRelease flag to false.

First build a file out of the build.id values lets say buildsToPatch.txt. It would just be a line delimited list. Use the $responses of https://stackoverflow.com/a/58889636/27840602 to construct the list like this:

$defId = <integer> find it in the url of the build pipeline
$results = $response.value | Where {$_.retainedByRelease -eq "true" -and $_.definition.id -eq $defId}
$results > buildsToPatch.txt

Create the patch body:

$body = @{
      "retainedByRelease" = "False"
} | ConvertTo-Json

Then call the following powershell:

gc ./buildsToPatch.txt | % {
  Invoke-RestMethod -Uri "https://dev.azure.com/your-org/your-project/_apis/build/builds/$($_)?api-version=7.1" -Method Patch -ContentType 'application/json' -Body $body -Headers @{Authorization = "Basic $token"}
}

Note $token is same as what was used to GET the builds in the answer: https://stackoverflow.com/a/58889636/27840602

This allowed me to then delete the Pipeline for the build I no longer wanted.

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

79313021

Date: 2024-12-28 00:32:53
Score: 4
Natty: 5.5
Report link

pude cerrar la ventana de consola en linux con ctrol + D, antes de esto solo ppodia hacerlo escribiendo exit y luego exit, porque desde el menu , archivo cerrar ventana tampoco funcionaba

Reasons:
  • Blacklisted phrase (1): porque
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28961232

79313019

Date: 2024-12-28 00:29:51
Score: 1.5
Natty:
Report link
for i in LENGTH-1:
    model.add(q_shifts[t][i] <= q_shifts[t][i+1])
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anonymous

79313016

Date: 2024-12-28 00:23:51
Score: 1
Natty:
Report link

Use the next() method:

$('nav .dropdown-toggle').click(function(e) {

$(this).toggleClass('show');
$(this).next('.dropdown-menu').toggleClass('show');

$(this).attr('aria-expanded', function (i, attr) {
   return attr == 'true' ? 'false' : 'true'

});

});

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

79313012

Date: 2024-12-28 00:14:49
Score: 0.5
Natty:
Report link

Example with Axios ajax callback:

...
    .catch((thrown) => {
       if (thrown.code === 'ERR_NETWORK') {
          alert(thrown.message); // Network Error
       }
    })
...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Gigoland

79313006

Date: 2024-12-28 00:02:47
Score: 3
Natty:
Report link

I think the country is blocked, or It looks like some phone carriers(numbers providers) are blocking SMS with URLs

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

79313005

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

You have to set GenerateClientClasses to true to generate the class and then set SuppressClientClassesOutput to true to not output the class. The interface will now reflect the methods in the class but will not be a part of your output.

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

79313001

Date: 2024-12-27 23:58:46
Score: 2.5
Natty:
Report link

JSON Blob might suit but it purges blobs not accessed within 30 days, so you'd need some kind of ping to prevent data loss.

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

79312994

Date: 2024-12-27 23:53:45
Score: 1
Natty:
Report link

It happened to me recently; in my case, some of the functions related to StateFlow, such as stateIn(), were still accessible.

I also tried copying and pasting the import statements like below, and it just worked fine.

import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow

So, in the end, the code completions and suggestions were not working for me, but I could still build the code by manually writing those codes without any auto completions.

I hope it helps someone, somehow haha.

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • RegEx Blacklisted phrase (3): not working for me
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: shoheikawano

79312981

Date: 2024-12-27 23:39:42
Score: 1.5
Natty:
Report link

Thank you, it worked for me. Happy holidays to everyone :)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Georgi Stoychev

79312976

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

Be it with SageMath 10.2 or SageMath 10.4, the following input

b, c = SR.var('b, c')
f = function('f')
equation = (b - f(0))*(c - f(0))*D[0](f)(0) - 1 == 0
new_equation = equation.subs({f(0): b + c})
solve(new_equation, D[0](f)(0))

gives the following output

[D[0](f)(0) == 1/(b*c)]

What version of SageMath are you having trouble with?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Samuel Lelièvre

79312970

Date: 2024-12-27 23:27:41
Score: 2.5
Natty:
Report link

Do While Range("A22") = "Macro L: Running"

I have a load of code after this that stops if you select cell A22 (on a Freeze Pane) and press DEL. Your code before:

Loop

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

79312969

Date: 2024-12-27 23:27:41
Score: 3.5
Natty:
Report link

GPP was what ended up using when my search came here. Nice article here:

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

79312954

Date: 2024-12-27 23:18:38
Score: 3
Natty:
Report link

FOR WINDOWS Type in cmd: echo %PROCESSOR_ARCHITECTURE%

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

79312949

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

Another answer for anyone who installs using Snap:

I installed Flutter on Ubuntu 24.10 with sudo snap install flutter

Run flutter in bash at least once to initialize Dart.

Afterwards, you should be able to find the dart sdk at /home/your_name/snap/flutter/common/flutter/bin/cache/dart-sdk

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

79312948

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

The recently published .NET memory model spec says

Reads cannot be introduced.

So the answer is: you don't need to protect against read introduction, it will not happen.

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

79312945

Date: 2024-12-27 23:07:36
Score: 2
Natty:
Report link

There are a number of possible reasons. 1.) check that you are not including alpineJs script multiple times by chance. 2.) include defer keyword in your alpineJs script as seen from this solution here

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

79312944

Date: 2024-12-27 23:06:36
Score: 2
Natty:
Report link

Generate a new SSH Key Pair in the terminal with: ssh-keygen -t rsa -b 4096 ~/.ssh/new-cloudDigital-key

Add the public key ~/.ssh/new-cloudDigital-key.pub (ensure extension .pub) in the Digital Ocean. Lets me know if it's fixed

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

79312937

Date: 2024-12-27 23:00:34
Score: 4.5
Natty: 4
Report link

You could try the nice example at https://authjs.dev/guides/refresh-token-rotation

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

79312917

Date: 2024-12-27 22:51:32
Score: 1
Natty:
Report link

I also had a similar problem when using langchain. You can also explicitly import the library before importing the library causing the error.

import pydantic.deprecated.decorator
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Brian

79312916

Date: 2024-12-27 22:51:31
Score: 4.5
Natty:
Report link

this is a bug reported by me and others to google please check this link: https://issuetracker.google.com/issues/243061086?pli=1 we are getting ANR in the play console for android 13 and 14. seems like there is an issue with the player itself from 2022.

Reasons:
  • Blacklisted phrase (1): please check this
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fahad Alkamli

79312910

Date: 2024-12-27 22:44:30
Score: 0.5
Natty:
Report link

The part that says your-cloud-key is talking about the private SSH key that you created earlier in the process. The digitalocean instructions should have had you use your terminal to create an SSH key and then input the public key into digitalocean. So you'll use the private key to connect via SSH.

As for the issue with the web terminal telling you to wait, I have run into issues when using the smallest instance type on DO where it will have trouble booting up the first time because the memory is so low. But I have found that just restarting the instance fixes it.

So give it a try by restarting from the digitalocean dashboard and then see if you can connect with the web console.

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

79312908

Date: 2024-12-27 22:42:29
Score: 3
Natty:
Report link

Checkout https://jwtrevoke.com for managing and revoking JSON Web Tokens (JWTs) efficiently.

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

79312905

Date: 2024-12-27 22:41:29
Score: 0.5
Natty:
Report link

After rails new bundle install could be broken if you don't have any installed bundler version.

Remove the created directory and try gem install bundler first then run your rails new command again.

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

79312903

Date: 2024-12-27 22:36:28
Score: 1
Natty:
Report link

While macropod's answer didn't work, it did get me to the right track and I managed to make the code work. It might not be the most elegant solution, but it does what I need it to do:

Sub FormatTilde()

    Set TildeStyle = ActiveDocument.Styles("Approx")
    'Start from the beginning of the document
    Selection.HomeKey Unit:=wdStory
    
    With Selection.Find
        .Forward = True
        .ClearFormatting
        .MatchWholeWord = False
        .MatchCase = False
        .Wrap = wdFindContinue
        .Execute FindText:="~"
        Selection.Style = TildeStyle
        Do While Selection.Find.Execute
            Selection.Style = TildeStyle
        Loop
    End With
    
    ActiveDocument.UndoClear

End Sub

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

79312902

Date: 2024-12-27 22:35:28
Score: 0.5
Natty:
Report link

thanks for the answer. I was stopped with this.

"MISSING A callback handler is also needed for the X button when you close the dialog otherwise it never closes and remains in the background." I tried the attached code to solve this, but without success. The code execution doesn't stop.. Thanks

-- window_callbacks.ads

with Gtkada.Builder; use Gtkada.Builder;

package Window_Callbacks is
  function On_Window1_Delete_Event (Builder : access Gtkada_Builder_Record'Class) return Boolean;
  procedure On_File1_File_Set (Builder : access Gtkada_Builder_Record'Class);
end Window_Callbacks;



-- window_callbacks.adb

-- units from GtkAda
with Gtk.Main;

-- units from GtkAda
with Gtk.File_Chooser;           use Gtk.File_Chooser;
with Gtk.File_Chooser_Button;    use Gtk.File_Chooser_Button;

with Gtkada.File_Selection;      use Gtkada.File_Selection;


-- units from Glib
with Glib;              use Glib;
with Glib.Object;       use Glib.Object;

-- Ada predefined units
with Ada.Text_IO;            use Ada.Text_IO;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;
with Ada.Exceptions;

package body Window_Callbacks  is

  -----------------------------------------------
  -- On_Window1_Delete_Event
  -----------------------------------------------
  function On_Window1_Delete_Event 
                 (Builder : access Gtkada_Builder_Record'Class) return Boolean is
    pragma Unreferenced (Builder);
    begin
      Gtk.Main.Main_Quit;
      return False;
    end On_Window1_Delete_Event;

  ---------------------------------
  -- On_File1_File_Set  --
  ---------------------------------
  procedure On_File1_File_Set (Builder : access Gtkada_Builder_Record'Class) is
                                                      
    Button : access Gtk_File_Chooser_Button_Record;

    function Name_Strict (File_Name : string) return string is
      I : natural := File_Name'Last; 
      begin
        loop
          exit when File_Name (I) = Solidus or File_Name (I) = Reverse_Solidus or I = File_Name'First;
            I := @ - 1;
        end loop;
        if File_Name (I) = Solidus or File_Name (I) = Reverse_Solidus then 
            return File_Name (I+1..File_Name'Last); --folder is present
          else
            return File_Name;     -- folder is absent
        end if;
      end; 

    begin
      -- Get the file chooser button
      Button := Gtk_File_Chooser_Button (Get_Object(Builder, "file1"));

      -- Get the filename
      declare
        File_Name   : constant string := Get_FileName (Button);
        Folder_Name : constant string := Get_Current_Folder (Button);
        begin
          Ada.Text_IO.Put_Line ("File selected : "    & File_Name);
          Ada.Text_IO.Put_Line ("Current Folder : "   & Folder_Name);
          Ada.Text_IO.Put_Line ("Strict File Name : " & Name_Strict (File_Name));
          New_line;
        end;

    end On_File1_File_Set;

end Window_Callbacks;



-- Glade_8

-- units from Gtk
with Gtk.Main;
with Glib.Error;     use Glib.Error;
with Gtk.Widget;     use Gtk.Widget;
with Gtk.Builder;    use Gtk.Builder;
with Gtkada.Builder; use Gtkada.Builder;

-- Ada predefined units
with Ada.Text_IO;       use Ada.Text_IO;

-- Application specific units
with Window_Callbacks; use Window_Callbacks;

procedure Glade_8 is

  Mon_Interface   : Constant String :=
    "<?xml version=""1.0"" encoding=""UTF-8""?>"
  & "<!-- Generated with glade 3.40.0 -->"
  & "<interface>"
  & "  <requires lib=""gtk+"" version=""3.20""/>"
  & "  <object class=""GtkAdjustment"" id=""adjustment1"">"
  & "    <property name=""upper"">100</property>"
  & "    <property name=""step-increment"">1</property>"
  & "    <property name=""page-increment"">10</property>"
  & "  </object>"
  & "  <object class=""GtkListStore"" id=""liststore1"">"
  & "    <columns>"
  & "      <!-- column-name gchararray1 -->"
  & "      <column type=""gchararray""/>"
  & "    </columns>"
  & "    <data>"
  & "      <row>"
  & "        <col id=""0"" translatable=""yes"">test1</col>"
  & "      </row>"
  & "      <row>"
  & "        <col id=""0"" translatable=""yes"">test2</col>"
  & "      </row>"
  & "      <row>"
  & "        <col id=""0"" translatable=""yes"">test3</col>"
  & "      </row>"
  & "    </data>"
  & "  </object>"
  & "  <object class=""GtkWindow"" id=""window"">"
  & "    <property name=""can-focus"">False</property>"
  & "    <child>"
  & "      <object class=""GtkFixed"" id=""fixed1"">"
  & "        <property name=""visible"">True</property>"
  & "        <property name=""can-focus"">False</property>"
  & "        <child>"
  & "          <object class=""GtkFileChooserButton"" id=""file1"">"
  & "            <property name=""width-request"">196</property>"
  & "            <property name=""visible"">True</property>"
  & "            <property name=""can-focus"">False</property>"
  & "            <property name=""title"" translatable=""yes""/>"
  & "            <signal name=""file-set"" handler=""on_file1_file_set"" swapped=""no""/>"
  & "          </object>"
  & "          <packing>"
  & "            <property name=""x"">9</property>"
  & "            <property name=""y"">234</property>"
  & "          </packing>"
  & "        </child>"
  & "      </object>"
  & "    </child>"
  & "  </object>"
  & "</interface>";
  
  Builder       : Gtkada_Builder;
  Error         : aliased Glib.Error.GError;
  use type Glib.Guint;
     
  begin
    Gtk.Main.Init;

    -- Etape 1 : créer un Builder
    Gtk_New (Builder);
    
    if Add_From_String (Gtk_Builder(Builder), Mon_Interface, Error'Access) = 0 then
      Put_Line ("Error : " & Get_Message (Error));
      Error_Free (Error);
      return;
    end if;
   
    -- Etape 2 : créer les handlers des events
    Register_Handler (Builder, "on_window1_delete_event", On_Window1_Delete_Event'Access);
    Register_Handler (Builder, "on_file1_file_set", On_File1_File_Set'Access);

    -- Etape 3 : Do_Connect connecte tous les handlers enregistrés en une fois.
    Do_Connect (Builder);

    -- Etape 4 : Afficher la fenetre avec ses dépendances
    Show_All (Gtk_Widget (Get_Object (GTK_Builder (Builder), "window")));

    -- Etape 5 : Lancer la boucle infinie.
    Gtk.Main.Main;

    -- Etape 6 : Unref pour libérer la memoire associée au Builder.
    Unref (Builder);

  end Glade_8;
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mark

79312901

Date: 2024-12-27 22:35:28
Score: 3
Natty:
Report link

Check this out if you want to Revoke JWT .. https://jwtrevoke.com

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

79312897

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

That's because secure boot doesn't allow unknown modules to be loaded into kernel.

Try signmod it generates a certificate/key pair during installation and installs cert in MOK, later the signmod script uses the generated key to self sign the modules, enabling seamless loading.

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

79312891

Date: 2024-12-27 22:28:27
Score: 3
Natty:
Report link

If you already have a hierarchy with the respective boundaries geometries just group based on elements that ST_Within or ST_Contains according to the zoom. level.

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

79312887

Date: 2024-12-27 22:25:26
Score: 0.5
Natty:
Report link

As far as I am aware of, there is no place to find a grant list of permissions required to perform any specific AWS action. That being said, there are a few things that may be helpful for your situation:

  1. It is recommended to have restricted access for operational purposes, but usually it does not make sense to apply strict rules for development. Unless there is a specific task role that performs and only performs Lambda code upload operation, I won't recommend spend too much time to figure out the exact boundary of a deployment role. Admin access is appropriate in this case.
  2. For lambda code upload, the only required permission is UpdateFunctionCode. If you upload the file to S3, the S3 permission is also required. It seems you are also using CloudFormation to make deployments. It is a bit unclear how you are deploying the code, as the permissions required differ by the frameworks. Sometimes it is just a trial-and-error process.
  3. IAM Policy Simulator let you test your role permissions, if you know which operations you are performing.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Xufan Wang

79312883

Date: 2024-12-27 22:22:25
Score: 0.5
Natty:
Report link

For me tailwindcss broke as soon as I opened the (Chrome) Dev Tools while using next dev --turbopack.

Using it without --turbopack fixed this problem.

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

79312863

Date: 2024-12-27 22:05:21
Score: 2.5
Natty:
Report link

Noboybgave the right answer and everybody here is beong cocky and not helpful.

The guy asked a sinple question. By renaming the folder to .nomedia, the folder got deleted. Disappeared. Hpw to get it back? If you can answer the question, pöease go ahead. Otherwise, please don't write anything back.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Software Test

79312859

Date: 2024-12-27 22:03:21
Score: 2
Natty:
Report link

We had a similar issue. My colleague explained that by default, Android/Expo Go does not allow API calls over HTTP. That's why it functions as you said by using ngrok. I think, you still can use HTTP but you need to configure manually it in xml file about restriction.

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

79312858

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

I suggest you try making another query where you extract the data and aggregate it according to the average you need to calculate. Once you have your dataset, you can directly merge it with the first one you extracted. The commands for averaging and aggregation are directly available with LINQ.

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

79312851

Date: 2024-12-27 21:53:19
Score: 2
Natty:
Report link

After some analysis of the error, it was the config property ${scheduler.flowTrigger.parallelForEach.maxConcurrency} that was empty "" and it shouldn't

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

79312848

Date: 2024-12-27 21:52:19
Score: 1
Natty:
Report link

i used google_generative_ai package and did it like this:

This site really helped me

final content = [
        Content.text(prompt),
        Content.data("audio/aac", await File(_recordedFilePath!).readAsBytes()),
      ];
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kapkap

79312846

Date: 2024-12-27 21:51:19
Score: 1
Natty:
Report link

This issue was caused by how the field was set. I was setting the data through pydantic model_dump_json.

raw_data = DataRaw(
    data=customer.model_dump_json(),
)

This however saved the JSON just as a string. Too bad SQLAlchemy gave no errors/warnings for that.

The problem was solved by replacing model_dump_json with model_dump.

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

79312837

Date: 2024-12-27 21:45:17
Score: 7 🚩
Natty: 6
Report link

how long did it take to get verified?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: andi

79312832

Date: 2024-12-27 21:41:15
Score: 1.5
Natty:
Report link

The issue was how I was executing the test in Xcode.

Test button

Pressing the play button next to the @Test annotation runs the test with a single argument.

Suite button

Pressing the play button next to the @Suite annotation runs the test with all arguments. Unfortunately, this also run all tests in the suite.

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

79312824

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

default can also improve maintainability with structs, ie if I change

public class MyDto
{
    public int Id { get; set; }
}

to

public class MyDto
{
    public int? Id { get; set; }
}

then

if (dto.Id == default)

will continue to function just fine.

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

79312821

Date: 2024-12-27 21:34:14
Score: 1.5
Natty:
Report link

I've found it here BTW

\\wsl.localhost\docker-desktop\mnt\docker-desktop-disk\data\docker\containers
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mostafa Hidari

79312810

Date: 2024-12-27 21:31:13
Score: 3
Natty:
Report link

You have to register the closing, doc: https://getbootstrap.com/docs/4.0/components/modal/ you can add to your js:

$('#submit').modal('hide');
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Davide Baldelli

79312807

Date: 2024-12-27 21:25:12
Score: 0.5
Natty:
Report link

The following block in "settings.json" colorizes (), {}, [] :

{
    "workbench.colorCustomizations": {
        "[One Dark Pro]": {  // the colorscheme I am using
            "editorBracketHighlight.foreground1": "#bdb2ff",
            "editorBracketHighlight.foreground2": "#80c4ff",
            "editorBracketHighlight.foreground3": "#acdcdd",
            "editorBracketHighlight.foreground4": "#baff8f",
            "editorBracketHighlight.foreground5": "#fdefb6",
            "editorBracketHighlight.foreground6": "#ff8dad",
        }
    }
}

enter image description here

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

79312790

Date: 2024-12-27 21:15:09
Score: 11 🚩
Natty: 5.5
Report link

I am facing the same situation. Were you able to solve it? Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: frenkg

79312779

Date: 2024-12-27 21:07:07
Score: 0.5
Natty:
Report link

Figured out the answer while I was writing the question. Run this in powershell:

PS> Start-Process notepad++ -ArgumentList "-multiInst -nosession"

Please note, this window will not reopen if you close notepad++ like the "default session" does. Also note, if you run powershell as administrator, then notepad++ will also open in administrator mode

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

79312768

Date: 2024-12-27 20:58:05
Score: 3.5
Natty:
Report link

i got assistance from xiaospy1 platform on tiktok

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

79312763

Date: 2024-12-27 20:54:04
Score: 1.5
Natty:
Report link

@artioni in the comments found the solution.

Just an assumption, can't be the issue be related to filed name, I refer that is starting with is which in Java is considered getter for boolean field while here you have a String?

The first field with the keyword is within it gets confused with the actual keyword. By simply changing the fields to exclude is, then all data is added to the database correctly.

EDIT: Doing a bit of research helped me understand valid keys in JSON:

Do not use the reserved keywords that are generally used in programming languages. They can lead to unexpected behavior.

In which is is a common reserved keyword in many programming languages.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @artioni
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ToxicFlame427

79312760

Date: 2024-12-27 20:54:04
Score: 1.5
Natty:
Report link

You might have new keyboard shortcuts since the last update, which you can modify or delete.

Enter "Preferences: Open Keyboard Shortcuts" on the command palette, type Ctrl + Enter, remap or delete the mappings you do not want.

enter image description here

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

79312757

Date: 2024-12-27 20:49:03
Score: 3.5
Natty:
Report link

You have to manually close the modal after submitting

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

79312752

Date: 2024-12-27 20:47:03
Score: 1.5
Natty:
Report link

I upgraded the generativeai dependency from 0.2.2 to 0.9.0 and now it works. Give that a try 👍

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

79312746

Date: 2024-12-27 20:41:02
Score: 2.5
Natty:
Report link

I was having the same issue. Then felt it's probably something to do with VS Code. I realized I'd recently reinstalled Python and had not rebooted the IDE since then. Rebooted VS Code and the issue was resolved.

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

79312724

Date: 2024-12-27 20:25:59
Score: 2.5
Natty:
Report link

Well, I didn't solve the problem, and while I don't recall the exact nature of the problem anymore, I remember that my solution involved removing Selenium from the project and migrating my API from Render to Railway. After these changes, everything functioned correctly. I suspect the core issue was related to an unstable IP address associated with a specific port on the previous hosting service (Render).

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

79312723

Date: 2024-12-27 20:22:58
Score: 2.5
Natty:
Report link

Similar question with context that may be helpful.

I'm a fan of using OpenTelemetry because it "just works". Spring has done all of the integration work to let us get our base cases for observability done.

Reasons:
  • RegEx Blacklisted phrase (1): Similar question
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: TinaC