79482408

Date: 2025-03-04 00:15:17
Score: 1
Natty:
Report link

This should be faster than looping:

# Using boolean indexing to find the cutoff index
cutoff_index = df[df['stage'] != 0].index.min()

# Slice and reset index
df = df.iloc[cutoff_index:].reset_index(drop=True)
print(df)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Forneims

79482406

Date: 2025-03-04 00:12:16
Score: 1
Natty:
Report link

Indeed the issue only exists on my emulator in Android Studio.

On real devices the network operations in the background work flawlessly, too. The WorkManager work even "works" when the app is completely closed.

So the reason for this issue seems to be that emulators might handle network access differently than real devices when apps are in the background.

This is weird and not officially documented as far as I know.

So, when in doubt, test your app on a real device to check whether the problem also exists in the field and not just in the emulated development environment.

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

79482392

Date: 2025-03-04 00:07:16
Score: 3
Natty:
Report link

Unfortunately, you'll need to developer documentation. They charge about $10k for it. Let me know if you get your hands on it. I'd like to take a peek at it as well.

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

79482373

Date: 2025-03-03 23:51:12
Score: 3
Natty:
Report link

try to remove it, 'coz is no longer required or recommended. The Firebase SDK handles the channel as needed.

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

79482358

Date: 2025-03-03 23:39:10
Score: 4
Natty: 4.5
Report link

Hey Tamdim was there any resolution to this? I'm experiencing the same issue.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AAndis

79482349

Date: 2025-03-03 23:32:08
Score: 1
Natty:
Report link

Problem resolved.

TBH, after pouring over configuration properties on two machines and some minor code refactoring (and I mean really minor) the "Can't find std.ixx" problem is gone. I can't put my finger on what exactly I did that solved it but could easily have been inconsistent configuration settings across the 3 modules and 7 other compilation units combined with MS's confusing array of module implementation guidance.

I'm glad this is over. Sorry, that doesn't help the community much :-( Back to productive work.

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

79482341

Date: 2025-03-03 23:26:06
Score: 0.5
Natty:
Report link

"Function do_something_1() As String" is better OOP, as it is better encapsulation and abstraction, two pillars of OOP. However it depends on the actual real life usecase as always. From the given usecase the first option is clearly better OOP.

TLDR: You don't want the second option in this case, as it means you are telling the function the name and surname from where ever you are calling it from. Not only is this redundant, but you're also bypassing whatever names are already in the class.

In a bit more detail: If you needed to call the second function, first you'd have to get the name and surname, and only then can you call the second function externally; which is messy and poor abstraction. While from within the function you are just redundantly passing variables the function already has, also messy, and adds more parameters to your function. (Some functions already have a bunch of parameters, so the last thing you want is even more). Secondly if you make a mistake and passed your function the wrong name (regardless of if called externally or from within the class), it would use that instead of the classes variable.

Only if you wanted to call the function with a different name and surname from the ones inside the class, would you have a function like your second option.

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

79482333

Date: 2025-03-03 23:14:04
Score: 2
Natty:
Report link

Go to the folder of your submodule and run:

$ git submodule update --init -- .

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

79482332

Date: 2025-03-03 23:13:04
Score: 1.5
Natty:
Report link

Same problem, but with PHP8.3 on Ubuntu 24.04.1 and managed to fix it with updating libgd3.

apt-get install libgd3

It updated from libgd3 2.3.3-9ubuntu5 to 2.3.3-12+ubuntu24.04.1+deb.sury.org+1

You can check library version with apt-cache policy libgd3

see issue for the refernce: https://github.com/oerdnj/deb.sury.org/issues/2183#issuecomment-2695764167

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tymoteusz Motylewski

79482331

Date: 2025-03-03 23:13:03
Score: 0.5
Natty:
Report link

How can I overload a method with @QueryParam in Jersey/Spring?

This may not be feasible in Jersey, but Spring supports it. Here is your example code modified to work in Spring:

@GetMapping(value = "/test", produces = MediaType.TEXT_PLAIN_VALUE, params = "PID")
public String getText(@RequestParam("PID") String pid) {
    return pid;
}

@GetMapping(value = "/test", produces = MediaType.TEXT_PLAIN_VALUE, params = { "PID", "NAME" })
public String getText(@RequestParam("PID") String pid, @RequestParam("NAME") String name) {
    return pid + name;
}

See also: Overload path functions with different @QueryParams.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @QueryParam
  • Starts with a question (0.5): How can I
  • High reputation (-1):
Posted by: shelley

79482326

Date: 2025-03-03 23:10:02
Score: 3
Natty:
Report link

Got it figure out. Databricks File System (DBFS) does not support random writes, which are required for writing Excel files. This limitation necessitates workarounds like writing to a local disk first and then copying files to DBFS. I leveraged the cluster, then copied the files to the storage account.

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

79482310

Date: 2025-03-03 22:59:00
Score: 0.5
Natty:
Report link

If there is no way to do this with Jersey is there a way to do it with any other frame work?

Spring is capable of achieving this desired mapping: https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-controller/ann-requestmapping.html#mvc-ann-requestmapping-params-and-headers

This can be accomplished using the params element of the request mapping annotation. For example:

@GetMapping(value = "/tagSets", produces = MediaType.APPLICATION_JSON_VALUE, params = "entityId")
public TagSets getTagSets(@RequestParam("entityId") Integer entityId) {
    ...
}

@GetMapping(value = "/tagSets", produces = MediaType.APPLICATION_JSON_VALUE)
public TagSets getTagSets() {
    ...
}
Reasons:
  • Blacklisted phrase (1): is there a way
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: shelley

79482309

Date: 2025-03-03 22:58:00
Score: 1.5
Natty:
Report link

Autoload and declare IOFactory before calling it

**require 'vendor/autoload.php';

use PhpOffice\PhpSpreadsheet{SpreadSheet, IOFactory};

use PhpOffice\PhpSpreadsheet\Writer\Xlsx; //Csv, Xls**

Before

$reader = IOFactory::createReader($inputFileType);

This solves your issues. Most of the tutorials on their site are not elaborate. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Igweze Ebele Mark

79482298

Date: 2025-03-03 22:46:58
Score: 2.5
Natty:
Report link

In my situation, the problem was fixed by updating the Android API and Android Emulator in Android Studio.

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

79482294

Date: 2025-03-03 22:41:57
Score: 1
Natty:
Report link

Using lombok? Take a look at @FieldNameConstants

https://projectlombok.org/features/experimental/FieldNameConstants

Found solution here in response to similar question: Use Enum type as a value parameter for @RolesAllowed-Annotation

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: MarCrazyness

79482286

Date: 2025-03-03 22:34:56
Score: 0.5
Natty:
Report link

Using winget worked for me:

winget install Microsoft.msmpisdk

This lets you build

winget install Microsoft.msmpi

This lets you run

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Gordon

79482282

Date: 2025-03-03 22:31:55
Score: 5.5
Natty:
Report link

This all depends on packages, code, etc. There is nowhere near enough information here to provide a sufficient answer. Please provide more information and I will get back to you!

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cole Bauml

79482279

Date: 2025-03-03 22:30:54
Score: 0.5
Natty:
Report link

I faced the same issue despite followin the migration guide from v3. Reading this answer, I created a .postcssrc.json file instead of postcss.config.[js|mjs] and it solved it !

// .postcssrc.json
{
   "plugins": {
      "@tailwindcss/postcss": {}
   }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TCH

79482278

Date: 2025-03-03 22:30:54
Score: 7.5 🚩
Natty: 5
Report link

can you post listener code also @ofithch79

Reasons:
  • RegEx Blacklisted phrase (2.5): can you post
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @ofithch79
  • Single line (0.5):
  • Starts with a question (0.5): can you post
  • Low reputation (1):
Posted by: AK_R

79482277

Date: 2025-03-03 22:29:53
Score: 3
Natty:
Report link

Found out myself, added basicConstraints = critical,CA:TRUE to config file used when generating CA root certificate and all is ok

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

79482270

Date: 2025-03-03 22:26:53
Score: 0.5
Natty:
Report link

Based on CanIUse the GetDisplayMedia method is not yet implemented for Safari browser

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

79482263

Date: 2025-03-03 22:18:51
Score: 2
Natty:
Report link

You can easily update your data in Excel spreadsheets manually or using a program, then drop the file https://www.updatedeck.com/ to have your deck updated. Disclaimer: I created the tool to help anyone looking for a way to automatically update their PowerPoint decks.

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

79482257

Date: 2025-03-03 22:14:50
Score: 2
Natty:
Report link

Fork of Googles webrtc libraries.

https://github.com/webrtc-sdk

https://github.com/webrtc-sdk/android

dependencies {
    implementation 'io.github.webrtc-sdk:android:125.6422.06.1'
  }
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: manit

79482254

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

If you check options("contrasts") you will probably see "contr.sum" "contr.poly".

Reset options(contrasts = c("contr.treatment", "contr.poly")) then you will get the desired result.

See explanation on R contrasts .

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

79482247

Date: 2025-03-03 22:09:49
Score: 1
Natty:
Report link

It was answered in this thread: https://github.com/dotnet/aspnetcore/issues/60680

Key is to add explicit statements in .csproj:

<PropertyGroup>
    ...
    <StaticWebAssetBasePath>_content/RazorClassLibrary1</StaticWebAssetBasePath>
    ...
</PropertyGroup>

<ItemGroup>
    <None Include="wwwroot\**\*" Pack="true" PackagePath="contentFiles/any/net9.0/wwwroot/" />
</ItemGroup>
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Roland Buergi

79482246

Date: 2025-03-03 22:09:49
Score: 2
Natty:
Report link

Make sure your jwt callback properly saves the user and token data when someone logs in, and then pass that data to the session callback so it can be used in the session. Double-check that your session strategy is set to "jwt" and that your NEXTAUTH_SECRET is correctly set in your environment file. This should fix the issue!

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

79482245

Date: 2025-03-03 22:09:49
Score: 3.5
Natty:
Report link

Figured out I had to change the connection type to odbc

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

79482243

Date: 2025-03-03 22:07:48
Score: 1.5
Natty:
Report link

Yes, the Peppol Testbed will send the AS4 UserMessage and the SBDH together. The AS4 transmission is basically a MIME message where the first part contains the signed SOAP Envelope with the WS Security and AS4 User Message, and the second MIME part contains the encrypted SBDH document.

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

79482239

Date: 2025-03-03 22:05:48
Score: 3
Natty:
Report link

I'd like to do this "6-7 tasks on t2.small" but ECS is not willing to place more than 2 tasks on a single EC2 instance even if all tasks are 0.125vCPU x 0.125GB.

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

79482231

Date: 2025-03-03 21:58:46
Score: 1
Natty:
Report link

Ultimately it came down to what to use in the statement "IN" or "ANY". I've Changed to "ANY" and it works as expected

PreparedStatement myStatement =  connection.prepareStatement(
                """
                        SELECT path
                        FROM   my_table
                        WHERE  path = ANY ( ? )
                        """);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: P. M.

79482227

Date: 2025-03-03 21:57:46
Score: 1.5
Natty:
Report link

Use any temporary links saver:
https://2tv.su

Reasons:
  • Low length (2):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Sergey Shuchkin

79482222

Date: 2025-03-03 21:55:46
Score: 2.5
Natty:
Report link

FYI: although not good for all the above reasons it only works (at least in gcc) for positively incrementing values, i.e.: case 1 ... 10 works case -1 ... -10 doesn't work but case -10 ... -1 does.

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

79482210

Date: 2025-03-03 21:47:45
Score: 0.5
Natty:
Report link

after some reseach i've able to run it at android_86_64
edit build.gradle.kts add

externalNativeBuild {
            cmake {
                cppFlags += "-std=c++20 -std=gnu++20"
                arguments += "-DANDROID_STL=c++_shared"
            }
        }  

after add manifest permisions

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 

and im able to do simple db request

mysqlx::RowResult res = session->sql("show variables like 'version'").execute();
version = res.fetchOne().get(1).get<std::string>();

i can take db server version but if im try to get SELECT NOW(); i got issues that android cant take output result to JDI

Abort message: 'JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal continuation byte 0xf

I'm tryed session->sql("SET NAMES utf8mb4;").execute(); but it doesnt help .... and still cant compile for armv8

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

79482196

Date: 2025-03-03 21:40:43
Score: 1
Natty:
Report link

I'm just spinning something here and this might be an overly-simplistic approach, but what if you created a column for Running Total Calculation in DAX.

Then add a Result column with a simple logical test, i.e. if Running Total column is greater than 20 show Running Total, else show 0.

Then, on the table visual, set a Conditional Formatting rule on the Text Color to be the same as the background if the value of the DAX column is 0, or less than 20.

Here is a link to good solution for creating the Running Total Column Cumulative (Running) Totals in DAX

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

79482178

Date: 2025-03-03 21:27:41
Score: 1
Natty:
Report link

if (navigator.onLine) {
  console.log("You are now connected to the network.");
} else {
  console.log("The network connection has been lost.");
}

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

79482169

Date: 2025-03-03 21:18:39
Score: 0.5
Natty:
Report link

There is Network Time Security (NTS) but what you need is probably Roughtime https://developers.cloudflare.com/time-services/roughtime/ It allows to have a signed time. There is also Time stampprotocol that is used to sign documents

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

79482148

Date: 2025-03-03 21:11:38
Score: 2.5
Natty:
Report link

The best way to track the shopify event is Google tag manager GTM.

GTM setup consist of 4 major steps:

  1. Custom datalayer setup custom pixel
  2. datalayer variables( value, currency, transaction ID, items)
  3. Trigger for each events
  4. Event tag for each event, assigning variables as event parameter and trigger to fire the event tag.

kind REgards

Reasons:
  • Blacklisted phrase (1): REgards
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sam Mahmud

79482140

Date: 2025-03-03 21:08:37
Score: 1
Natty:
Report link

With pygmentize

pygmentize codediff.diff -o codediff.png
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Martin Monperrus

79482136

Date: 2025-03-03 21:05:36
Score: 1.5
Natty:
Report link

Use ZIndex as shown below. Doesn't have to be 5 or 10, just know that the higher the number, the higher it is to the top (from the viewing perspective of the user). The more complex the layout, the more handy this becomes.

<toolkit:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui" ... ZIndex="5"> <Label Text="{Binding VideoUrl}" ... /> <toolkit:MediaElement x:Name="mediaElement" ... ZIndex="10"/> </toolkit:Popup>

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

79482132

Date: 2025-03-03 21:03:34
Score: 7.5 🚩
Natty:
Report link

I have the same error but with SES. I would like to use the IAM Role which has the AmazonSESFullAccess and the AdministratorAccess-Amplify. But im keep getting this error what you mentioned: [CredentialsProviderError]: Could not load credentials from any providers. This is how im using it.

"use server" 
import { SESClient, SendEmailCommand } from "@aws-sdk/client-ses";
const sesClient = new SESClient({region: process.env.SES_REGION});

Have you gotten any solution for this issue? Ive tried also adding fromNodeProviderChain() but same result.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1): I have the same error
  • RegEx Blacklisted phrase (2): any solution for this issue?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user29875536

79482123

Date: 2025-03-03 20:59:33
Score: 4.5
Natty: 5
Report link

Not in the out-of-the-box usage metrics reporting, however you can capture slicer values in a tracking pixel. This blog post details the process: https://web.archive.org/web/20200922010331/https://datachant.com/2020/01/06/power-bi-pixel-a-new-way-to-track-usage-on-power-bi/

Reasons:
  • Blacklisted phrase (1): This blog
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chris Decker

79482122

Date: 2025-03-03 20:58:32
Score: 3
Natty:
Report link

uinstall your node_modules and reinstall using

npm i --force

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

79482102

Date: 2025-03-03 20:48:30
Score: 2
Natty:
Report link

I had the same issue. It turned out that I forgot to use -r when zipping the mlpackage folder, which is why Xcode couldn't find the manifest in it.

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

79482100

Date: 2025-03-03 20:48:30
Score: 2
Natty:
Report link

Old post I know - but if anyone is still looking the OP is asking to read Excel's cached data when a workbook link exists to a non-accessible file. PHPExcel attempts and to calculate the formula and fails.

Answer is to use the method: getOldCalculatedValue(). Example: $objWorksheet->getCell('A1')->getOldCalculatedValue()

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

79482093

Date: 2025-03-03 20:45:29
Score: 3.5
Natty:
Report link

There is a fresh lib for this, supporting new and old architectures: react-native-image-palette

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

79482091

Date: 2025-03-03 20:44:29
Score: 1
Natty:
Report link

My bad, I didn't read the documentation carefully. so i had to use @assets to include the Quill.js assets and @scripts to execute the initialization script when navigating using wire:navigate. This ensures that Quill.js is properly loaded and initialized every time you navigate.

@assets
    <link rel="stylesheet" href="https://cdn.quilljs.com/1.3.6/quill.snow.css">
    <script src="https://cdn.quilljs.com/1.3.6/quill.min.js"></script>
@endassets

@scripts
    <script>
        document.addEventListener("livewire:navigated", () => {
            const quill = new Quill("#editor", {
                theme: "snow",
            });
        });
    </script>
@endscripts

Explanation:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @assets
  • User mentioned (0): @scripts
  • User mentioned (0): @assets
  • User mentioned (0): @endassets
  • User mentioned (0): @scripts
  • User mentioned (0): @endscripts
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mebrouki Amine

79482084

Date: 2025-03-03 20:39:28
Score: 0.5
Natty:
Report link

For anyone who is stuck with this. My issue was I was getting this even when I created a new expo app. However I found that I was doing

npx create-expo-app <appname> 

instead of

npx create-expo-app@latest <appname>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pushparaj Samant

79482082

Date: 2025-03-03 20:39:27
Score: 13 🚩
Natty:
Report link

same problem Did you find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (1): same problem
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: akszczot

79482081

Date: 2025-03-03 20:39:27
Score: 0.5
Natty:
Report link

The AutoWrap property for the TableField object is read/write, but....it doesn't quite work like you'd expect. Using the Immediate window, this simple statement appears to give the value. print activeproject.TaskTables("Entry").TableFields(4).autowrap Result > true However, when I manually edit the Entry table and set the Name field text wrapping to false, the above statement still shows "true". Interesting.

So then I tried setting the AutoWrap true or false with the following statement: Activeproject.TaskTables("Entry").TableFields(4).AutoWrap = true (or false)

By doing that, the "read" statement above gives the correct status every time. That leads me to believe setting the text wrap to true as a regular part of your overall macro code will ensure the Name field stays wrapped. What I don't know, and this is why I wanted to try and replicate your "lose text wrapping via filter application" (i.e. "mess with") problem, if the above will actually solve the problem you are seeing.

Just for interest, your Option 2 selects Entry view table field 3 as the Name field. Did you modify the default Entry table? On my installation the default Entry view table Name field is field 4.

enter image description here

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

79482069

Date: 2025-03-03 20:32:25
Score: 1
Natty:
Report link

The logical operator || is only used to verify whether multiple conditions will obtain a true or false value. It's not used for finding items in a string. Instead use else if-statements:

if (str.find("Legs") != std::string::npos) {
    ...
}
else if (str.find("Arms") != std::string::npos) {
    ...
}
.
.
.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Quatumiser 101

79482068

Date: 2025-03-03 20:31:25
Score: 1
Natty:
Report link

In our case, we were using the wrong subfolder/URL. Changing the URL to match the virtual folder configured in IIS fixed the issue.

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

79482067

Date: 2025-03-03 20:31:24
Score: 8 🚩
Natty: 4.5
Report link

Š„Š¾Ń€Š¾ŃˆŠµŠµ виГео на ŃŽŃ‚ŃƒŠ±Šµ ŠøŠ»Š»ŃŽŃŃ‚Ń€ŠøŃ€ŃƒŃŽŃ‰ŠµŠµ вашу Ń€Š°Š±Š¾Ń‚Ńƒ https://www.youtube.com/watch?v=xmw3iIKXDlE https://www.youtube.com/watch?v=XrrTgCNT3cg

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: ŠŸŃ‘Ń‚Ń€ Ларин

79482065

Date: 2025-03-03 20:30:24
Score: 0.5
Natty:
Report link

You can use like this

.where("posts.type", "=", sql<PostType>`${type}::"PostType"`)
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user14298448

79482045

Date: 2025-03-03 20:20:21
Score: 0.5
Natty:
Report link
function fibonacciDP(n) {
    // Validate input
    if (typeof n !== 'number' || !Number.isInteger(n) || n < 0) {
        return NaN; // Handle invalid input
    }

    // Base cases
    if (n === 0) return 0;
    if (n === 1) return 1;

    // Create an array to store Fibonacci numbers up to n
    const fibArray = new Array(n + 1);
    fibArray[0] = 0; // F(0)
    fibArray[1] = 1; // F(1)

    // Fill the array using the previous two values
    for (let i = 2; i <= n; i++) {
        fibArray[i] = fibArray[i - 1] + fibArray[i - 2];
    }

    return fibArray[n]; // Return the nth Fibonacci number  
}

It is classic example of dynamic programming. you can follow below link for better understanding, https://www.geeksforgeeks.org/program-for-nth-fibonacci-number/

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

79482039

Date: 2025-03-03 20:18:21
Score: 1.5
Natty:
Report link

Adding the wildcard

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-ios'">
    <Content Remove="**\google-services.json" />
</ItemGroup>

Got past this error for me. It does not work with a forward slash, must use back slash to match windows pathing.

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

79482038

Date: 2025-03-03 20:18:20
Score: 6.5 🚩
Natty: 5
Report link

So, is it possible to remove the metadata from an electronically signed PDF file and keep the signature valid?

If it is possible, I would appreciate some code to implement it.

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): is it possible to
  • Blacklisted phrase (1.5): would appreciate
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: rampunseng

79482025

Date: 2025-03-03 20:10:18
Score: 3
Natty:
Report link

@click is handled by the compiler and template compilation, so the binding of the event handler won't work.

Why not do all of this logic inside vue.js and components? Fetch the data in a wrapper component and render conditionally whatever you're tryin to do.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @click
  • Low reputation (0.5):
Posted by: aleksKamb

79482022

Date: 2025-03-03 20:10:18
Score: 2
Natty:
Report link

Currently rewriting my companies custom primeng theme that used css overrides for the past 6 years and got screwed when primeng renamed them so I would suggest looking into using design tokens so you don't have to worry about mappings

https://primeng.org/theming#architecture

https://primeng.org/theming#customization

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

79482014

Date: 2025-03-03 20:05:17
Score: 2.5
Natty:
Report link

I tried to reproduce it with this sample on Windows 10 with both Chrome and Edge and it seemed to work as expected: https://github.com/adamenagy/Container/blob/master/shared-model-box-selection.html

See video: https://youtu.be/BZJlZwq0oDs

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Adam Nagy

79481992

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

Workaround to eliminate the warning:

Use:

import html2pdf from 'html2pdf.js/dist/html2pdf.min.js';

Instead of:

import html2pdf from 'html2pdf.js';

This is a known issue with the html2pdf.js library. See open issue for more details: https://github.com/eKoopmans/html2pdf.js/issues/570

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

79481990

Date: 2025-03-03 19:49:14
Score: 1.5
Natty:
Report link

(Exported Computer\HKEY_CURRENT_USER limb for each account first, for backup).

I succeeded in enabling/installing the FastReport VCL components by starting RegEdit with my Admin account and exporting the registry limb:

Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0

Then, I ran RegEdit with my regular user account then imported the file I exported in the previous step.

More recently, I had similar trouble, though I had not used "Run as administrator" to install FastReports. The install went fine, but the components did not appear, and I was not able to Install the packages within the Delphi IDE. Kept getting "... could not be found" error.

This I remedied by copying the following limb

Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Environment Variables

from Administrator account registry to regular account registry.

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

79481981

Date: 2025-03-03 19:43:13
Score: 0.5
Natty:
Report link

With k3s, checking the kube-apiserver pod specification does not work, because the API server is embedded in the k3s binary and there is no process to inspect, nor is there any manifest for a static pod.

If you use a config.yaml configuration file, the options won't appear in the k3s service nor the process, anyway.

Calling the raw API does not seem to work either.

In my case, I was looking to confirm that k3s really took in my configuration file and the admission plugin that I had enabled was part of the kube-apiserver arguments. The simplest way that I found to confirm that with k3s is checking the k3s.io/node-args annotation on the node which reveal the actual arguments used on the k3s command:

> kubectl get node <control-plane-node> \
  -o jsonpath='{.metadata.annotations.k3s\.io/node-args}' | jq .
[
  "server",
  "--secrets-encryption",
  "true",
  "--kube-apiserver-arg",
  "enable-admission-plugins=ExtendedResourceToleration"
]

Here, the next to last item in the array specifies an argument for kube-apiserver (--kube-apiserver-arg) and the last item is the value for this argument. It's equivalent to running kube-apiserver with --enable-admission-plugins=ExtendedResourceToleration. See the k3s documentation on the 'k3s server' command for reference.

It's not a complete list of enabled admission controllers, of course, only those which were enabled with --enable-admission-plugins.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SylvainC

79481975

Date: 2025-03-03 19:41:13
Score: 3
Natty:
Report link

import javax.swing.; import java.awt.; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.util.LinkedList; import java.util.Random; public class SnakeGame extends JPanel implements ActionListener { private static final int TILE_SIZE = 30; // Tamanho de cada quadrado (tile) private static final int WIDTH = 600; // Largura do campo de jogo private static final int HEIGHT = 400; // Altura do campo de jogo private static final int NUM_TILES_X = WIDTH / TILE_SIZE; private static final int NUM_TILES_Y = HEIGHT / TILE_SIZE; private LinkedList snake; // A cobrinha private Point food; // A comida private boolean isGameOver; // Condição de fim de jogo private char direction; // Direção atual da cobrinha private Timer timer; // Timer para atualizar o jogo public SnakeGame() { this.setPreferredSize(new Dimension(WIDTH, HEIGHT)); this.setBackground(Color.BLACK); this.setFocusable(true); snake = new LinkedList<>(); snake.add(new Point(NUM_TILES_X / 2, NUM_TILES_Y / 2)); // Inicia a cobrinha no centro direction = 'R'; // Direção inicial (direita) generateFood(); // Listener para as teclas direcionais addKeyListener(new KeyAdapter() { @Override public void keyPressed(KeyEvent e) { switch (e.getKeyCode()) { case KeyEvent.VK_UP: if (direction != 'D') direction = 'U'; // Para não ir para a direção oposta break; case KeyEvent.VK_DOWN: if (direction != 'U') direction = 'D'; break; case KeyEvent.VK_LEFT: if (direction != 'R') direction = 'L'; break; case KeyEvent.VK_RIGHT: if (direction != 'L') direction = 'R'; break; } } }); // Timer para chamar a atualização do jogo timer = new Timer(100, this); timer.start(); } @Override public void actionPerformed(ActionEvent e) { if (isGameOver) { return; // Se o jogo acabou, não faz nada } moveSnake(); checkCollisions(); repaint(); } private void moveSnake() { Point head = snake.getFirst(); // A cabeça da cobra Point newHead = null; // Movendo a cobra de acordo com a direção switch (direction) { case 'U': // Cima newHead = new Point(head.x, head.y - 1); break; case 'D': // Baixo newHead = new Point(head.x, head.y + 1); break; case 'L': // Esquerda newHead = new Point(head.x - 1, head.y); break; case 'R': // Direita newHead = new Point(head.x + 1, head.y); break; } // Adicionando a nova cabeça snake.addFirst(newHead); // Verificando se a cobra comeu a comida if (newHead.equals(food)) { generateFood(); // Gerar nova comida } else { snake.removeLast(); // Remover a cauda se não comer a comida } } private void checkCollisions() { Point head = snake.getFirst(); // Checar se a cabeça da cobra bateu nas paredes if (head.x < 0 || head.x >= NUM_TILES_X || head.y < 0 || head.y >= NUM_TILES_Y) { isGameOver = true; } // Checar se a cobra bateu em si mesma for (int i = 1; i < snake.size(); i++) { if (head.equals(snake.get(i))) { isGameOver = true; } } } private void generateFood() { Random rand = new Random(); int x = rand.nextInt(NUM_TILES_X); int y = rand.nextInt(NUM_TILES_Y); food = new Point(x, y); } @Override protected void paintComponent(Graphics g) { super.paintComponent(g); // Desenhar a cobra g.setColor(Color.GREEN); for (Point p : snake) { g.fillRect(p.x * TILE_SIZE, p.y * TILE_SIZE, TILE_SIZE, TILE_SIZE); } // Desenhar a comida g.setColor(Color.RED); g.fillRect(food.x * TILE_SIZE, food.y * TILE_SIZE, TILE_SIZE, TILE_SIZE); // Desenhar o texto de fim de jogo if (isGameOver) { g.setColor(Color.WHITE); g.setFont(new Font("Arial", Font.BOLD, 30)); g.drawString("Game Over!", WIDTH / 3, HEIGHT / 2); } } public static void main(String[] args) { JFrame frame = new JFrame("Jogo da Cobrinha"); SnakeGame gamePanel = new SnakeGame(); frame.add(gamePanel); frame.pack(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }javac SnakeGame.java

Reasons:
  • Blacklisted phrase (1): nĆ£o
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Override
  • User mentioned (0): @Override
  • User mentioned (0): @Override
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miguel

79481974

Date: 2025-03-03 19:39:12
Score: 1
Natty:
Report link

There's actually a more direct way to solve this, in case you have a lot of annoying arguments to fill.

mocked_method.assert_called_once()
args, kwargs = mocked_method.call_args

self.assertEqual(args[0], "your_positional_arg_value")
self.asssertEqual(kwargs.get("keyword_arg"), "your_keyword_arg_value")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicolas Johnson

79481973

Date: 2025-03-03 19:38:12
Score: 1
Natty:
Report link

Looking at GCC's implementation of std::stof they throw this error if the float is smaller than FLT_MIN, not FLT_TRUE_MIN.

The reason for this is probably because FLT_TRUE_MIN was introduced in C++17, while std::stof in C++11.

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

79481971

Date: 2025-03-03 19:37:12
Score: 1
Natty:
Report link

There are only two elements here ..

Class name jobs-save-button__text has only 2 elements actually

for every click on job posting more will be come but thats dynamic so only 2 elements manifest at anby give time.

So you will write a loop, click on each job posting item //li[ div/div[contains(@class, "job-card")]], and get 2 elements each time and loop through next posting item again..

additonal_postings_click

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

79481970

Date: 2025-03-03 19:37:11
Score: 5.5
Natty: 5
Report link

Works on iOS, Android, and Tablets without extra configuration.

https://www.npmjs.com/package/@ammarwahid/react-native-responsive-layout

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: ammar

79481966

Date: 2025-03-03 19:35:10
Score: 1.5
Natty:
Report link

You can use the Firebase CLI tool to upload the mapping file manually for your app using crashlytics:mappingfile:upload. See https://firebase.google.com/docs/cli#crashlytics-commands

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matthew Robertson

79481955

Date: 2025-03-03 19:29:09
Score: 3
Natty:
Report link

I have trying to implement in nav with Tailwind css

flex ml-auto

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

79481944

Date: 2025-03-03 19:23:08
Score: 3.5
Natty:
Report link

that thfhdbffhbfbfbfhbcgbvhjsbhavfgvfgcvsgvisvgacvsdkhcbsnbbdsvhskxbnhsdbcxhjzbvhbvhjzbchjzdvchgvgha

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MAFODAY WALKER

79481941

Date: 2025-03-03 19:21:08
Score: 2
Natty:
Report link

Googling does not give simple examples and it's giving me a headache trying to figure out IIS 6.0, ASP.Net, HTML, Forms, Post Method Verb, AND PHP all mixed together. My suggestion is to just customize your HTTP 405 Error page as it is the default result for POST attempts. Is SO much easier as this only took me 2 minutes of web design for 405 and that was back in 2009. Today, still no google result seems to help. Trust me, 405 is easier than years of headache. 🤬

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

79481937

Date: 2025-03-03 19:18:07
Score: 3
Natty:
Report link

I don't believe there is a way to actually track what variables have been modified. The way I am solving this at the moment is to keep a mirror of values before the evaluation and then comparing against the mirror after the .value() function completes. Not optimal, but then again, no big deal.

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

79481928

Date: 2025-03-03 19:15:06
Score: 1.5
Natty:
Report link

The userGuess variable is not getting set to the user inputs as the program runs. Add in a line before you call checkIfCorrect to update the variable before you pass it to the function..

userGuess = getTest("userInput");

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

79481914

Date: 2025-03-03 19:07:05
Score: 3.5
Natty:
Report link

they ignore the question.

...To learn more, see our tips on writing great answers...

No thank you, the question is good enough.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29874551

79481908

Date: 2025-03-03 19:01:04
Score: 2
Natty:
Report link

Apparently if your co-pilot license is through business they are now respecting the flag at the org level for experimental editor features. Assuming your copilot is handled through your organization, you need your work admin to go in and flip the "Editor preview features" flag before it will come back.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rudy A. Hernandez

79481906

Date: 2025-03-03 19:00:03
Score: 1.5
Natty:
Report link

We use screen to keep sessions going if the ssh connection drops. screen --version to see if its installed on your system, get your admin to install it if not. Then start a screen session from an ssh terminal: screen -S To reconnect if your ssh session drops reconnect with ssh then : screen -x

https://linuxize.com/post/how-to-use-linux-screen/

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

79481899

Date: 2025-03-03 18:58:03
Score: 1.5
Natty:
Report link

$wsh = New-Object -ComObject WScript.Shell while (1) { $wsh.SendKeys('+{F15}') Start-Sleep -seconds 59 }

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

79481896

Date: 2025-03-03 18:58:03
Score: 0.5
Natty:
Report link

The try-with-resources statement is designed to automatically close resources that implement the AutoCloseable interface (or its sub-interface Closeable). When the try block exits, the close() method is called on the resource, ensuring that it is properly closed and any associated resources are released.

  1. When you use try-with-resources, the ScheduledExecutorService is automatically closed as soon as the try block exits. This means that the executor service is shut down before it has a chance to execute any tasks.

2.When ScheduledExecutorService is closed (via close() or shutdown()), it stops accepting new tasks and attempts to terminate any ongoing tasks. This is why your scheduled task never runs when using try-with-resources.

For ScheduledExecutorService, you should manually manage its lifecycle. This typically involves:

  1. Explicitly call shutdown() or shutdownNow() when you no longer need the executor service.
  2. Ensure that any scheduled tasks have completed or been canceled before shutting down the executor.

@Test public void testScheduledExecutorService() throws InterruptedException { Logger LOG = LogManager.getLogger();

ScheduledExecutorService executorService = Executors.newScheduledThreadPool(1);
executorService.scheduleWithFixedDelay(() -> LOG.info("Doing something …"), 0, 1, TimeUnit.SECONDS);

Thread.sleep(5000); // Let the executor run for a while

// Shutdown the executor service
executorService.shutdown();
try {
    // Wait for tasks to finish, but no longer than 10 seconds
    if (!executorService.awaitTermination(10, TimeUnit.SECONDS)) {
        executorService.shutdownNow(); // Force shutdown if tasks didn't finish
    }
} catch (InterruptedException e) {
    executorService.shutdownNow(); // Force shutdown if interrupted
    Thread.currentThread().interrupt(); // Preserve interrupt status
}

LOG.info("Finishing at {}", LocalDateTime.now().format(DateTimeFormatter.ISO_LOCAL_DATE_TIME));

}

here we did:

  1. The executorService.shutdown() method initiates an orderly shutdown of the executor service. It allows previously submitted tasks to execute but does not accept new tasks.

  2. The awaitTermination() method blocks until all tasks have completed execution after a shutdown request, or the timeout occurs, or the current thread is interrupted, whichever happens first.

  3. If the tasks do not complete within the specified timeout, shutdownNow() is called to attempt to stop all actively executing tasks.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Test
  • Low reputation (1):
Posted by: Debashis Kar Suvra

79481892

Date: 2025-03-03 18:56:02
Score: 2
Natty:
Report link

The fix turns out to be passing --full-source-path to perf script.

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

79481887

Date: 2025-03-03 18:53:02
Score: 0.5
Natty:
Report link

This is a typing issue - you just need to convert them to date time and then you can do the date math...

df["Date/Time Opened"] = pd.to_datetime(df["Date/Time Opened"])
df["Date/Time Closed"] = pd.to_datetime(df["Date/Time Closed"])

df["Duration (hours)"] = (df["Date/Time Closed"] - df["Date/Time Opened"]).dt.total_seconds() / 3600

Dates are stored in seconds, so the divide by 3600 is simply converting the seconds of the datetime fields into days in this instance.

Make sense?

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

79481875

Date: 2025-03-03 18:48:01
Score: 2
Natty:
Report link

For now, I'm going to make a single { SharedViewModel() }, and add a reset method to the VM, so once the tournament creation is done, it will just replace the state with the default one - it's probably the cleanest solution I came up with.

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

79481874

Date: 2025-03-03 18:48:01
Score: 3
Natty:
Report link

There is no platform build for that version you requested, amd64 and arm64/v8 only available for mysql:8 image.

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

79481865

Date: 2025-03-03 18:41:59
Score: 2.5
Natty:
Report link

I am on Linux Ubuntu 11 and apt install libyaml-dev solved my problem.

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

79481857

Date: 2025-03-03 18:38:59
Score: 2
Natty:
Report link

You can edit ā€œmingw64.iniā€ or ā€œmsys2.iniā€ or "UCRT64.ini" in the MSys2 install directory. Uncomment the line that reads:

MSYS2_PATH_TYPE=inherit

It should let Msys2 see paths for the Windows Python or any other Windows tools or libraries.

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

79481856

Date: 2025-03-03 18:38:59
Score: 1
Natty:
Report link

Try ExtensionsBuilder, much less code https://stackoverflow.com/a/77183562/6166627.

Be aware that some gql clients don't support top-level extensions like Apollo.

As an alternative, consider just putting your warnings inside the data itself: "data": {"warnings":[{"code":"NOT_FOUND", ids: [1,2,3], message: "Articles not found"}], articles:[...]}

related https://github.com/spring-projects/spring-graphql/issues/1138

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sam

79481848

Date: 2025-03-03 18:36:58
Score: 0.5
Natty:
Report link

The + operator must be used to move the clock by one tick.

As an example (you can omit the : Self-message part if not needed):

obj=Lifeline A~a
a->a +: Self-message

enter image description here

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

79481846

Date: 2025-03-03 18:35:58
Score: 1.5
Natty:
Report link

I standing here with eight minutes in my hands in this venerable and rather magnificent institution, I was going to assure you that I belong to the Henry VIII School of public speaking - that as Henry VIII said to his wives 'I shall not keep you long'. But now finding myself the seventh speaker out of eight in what must already seem a rather long evening to you I rather feel like Henry VIII's the last wife. I know more or less of what expected of me but I am not sure how to do it any differently.

Perhaps what I should do is really try and pay attention to the arguments that have advanced by the Opposition today. We had for example Sir Richard Ottaway suggesting - challenging the very idea that it could be argued that the economic situation of the colonies was actually worsened by the experience of British colonialism.

Well I stand to offer you the Indian example, Sir Richard. India share of the world economy when Britain arrived on it's shores was 23 per cent, by the time the British left it was down to below 4 per cent. Why? Simply because India had been governed for the benefit of Britain.

Britain's rise for 200 years was financed by it's depredations in India. In fact Britain's industrial revolution was actually premised upon the de-industrialisation of India.

The handloom weaver's for example famed across the world whose products were exported around the world, Britain came right in. There were actually these weaver's making fine muslin as light as woven wear, it was said, and Britain came right in, smashed their thumbs, broke their looms, imposed tariffs and duties on their cloth and products and started, of course, taking their raw material from India and shipping back manufactured cloth flooding the world's markets with what became the products of the dark and satanic mills of the Victoria in England

That meant that the weavers in India became beggars and India went from being a world famous exporter of finished cloth into an importer when from having 27 per cent of the world trade to less than 2 per cent.

Meanwhile, colonialists like Robert Clive brought their rotten boroughs in England on the proceeds of their loot in India while taking the Hindi word loot into their dictionary as well as their habits.

And the British had the gall to call him Clive of India as if he belonged to the country, when all he really did was to ensure that much of the country belonged to him.

By the end of 19th century, the fact is that India was already Britain's biggest cash cow, the world's biggest purchaser of British goods and exports and the source for highly paid employment for British civil servants. We literally paid for our own oppression. And as has been pointed out, the worthy British Victorian families that made their money out of the slave economy, one fifth of the elites of the wealthy class in Britain in 19th century owed their money to transporting 3 million Africans across the waters. And in fact in 1833 when slavery was abolished and what happened was a compensation of 20 million pounds was paid not as reparations to those who had lost their lives or who had suffered or been oppressed by slavery but to those who had lost their property.

I was struck by the fact that your Wi-Fi password at this Union commemorates the name of Mr Gladstone - the great liberal hero. Well, I am very sorry his family was one of those who benefited from this compensation.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Flute Lessons

79481835

Date: 2025-03-03 18:31:57
Score: 1
Natty:
Report link

I had exactly the same use case and I reached out to Clerk's support.

They responded that this is definitely possible and they pointed me to this blog from Turso: https://turso.tech/blog/why-we-transitioned-to-clerk-for-authentication that gives some hints on how they used Clerk with their CLI.

I haven't tried it myself yet but I thought to share it!

Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: George Eracleous

79481833

Date: 2025-03-03 18:29:56
Score: 1.5
Natty:
Report link

Currently, there is no way to select the desired version (this is a limitation of the developer offering the solution Odoo in this case), with a new deployment you are directed to the latest version.

Please get in touch with the Odoo support directly via:

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

79481831

Date: 2025-03-03 18:28:56
Score: 3.5
Natty:
Report link

I'm writing to report an issue with my lnstagram account. Recently When l try to log in to my account, l'm experiencing the following problem: You Submitted an Appeal On 7 February 2025

My account details are:

: Username: [_valeriiya_24]

: Email:

[email protected]

Phone Number: 0985693012

Please fix Soon as possible. Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Contains signature (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Valeriiya

79481830

Date: 2025-03-03 18:27:56
Score: 4
Natty: 4.5
Report link

This is application for naming photo before capture. It's easy and function

https://play.google.com/store/apps/details?id=com.lumir.TakeNamedPhoto

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

79481825

Date: 2025-03-03 18:25:55
Score: 2.5
Natty:
Report link

This has nothing to do with your project. It's a warning in the plugin you've added, nothing to worry about.

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

79481824

Date: 2025-03-03 18:25:55
Score: 2
Natty:
Report link

Had the same issue, I managed to solved by this two line of code from mysql MaraiDB(xampp shell)

MariaDB [(none)]> SET time_zone = '+00:00'; Query OK, 0 rows affected (0.001 sec)

MariaDB [(none)]> SET GLOBAL time_zone = '+00:00'; Query OK, 0 rows affected (0.001 sec)

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

79481819

Date: 2025-03-03 18:24:55
Score: 0.5
Natty:
Report link
$ find dir01 -type f -path "*/dir03/myfile.txt"
dir01/dir02/dir03/myfile.txt
dir01/dir04/dir05/dir03/myfile.txt

You probably don't need -type f but it felt instinctual for me to include it

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

79481818

Date: 2025-03-03 18:24:55
Score: 2
Natty:
Report link

As of 3/2025, @AidaMartinez is right on the money. I had Type set to Python instead of Spark. The screenshot of the AWS console shows off what I'm talking about. The commands likely are similar in a script editing capacity.

screen shot of Job details

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

79481811

Date: 2025-03-03 18:23:54
Score: 0.5
Natty:
Report link

It is possible to host a Streamlit app in SageMaker Studio, but apps running in a JupyterLab space require access to that specific Studio environment. This means only Studio users can access Streamlit dashboards hosted on SageMaker.

Currently, SageMaker Studio doesn't offer a feature to share dashboards with external users (or publicly).

A workaround could be to create a lightweight container image with the Streamlit application and deploy it using ECS or EKS, with the necessary access controls in place.

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

79481802

Date: 2025-03-03 18:19:53
Score: 0.5
Natty:
Report link

Some of the trickiest code involves checks and checkmates, and stalemates, promotions

Write some separate independent code that works as a chess engine. That code can be asked questions about various board positions from the code managing Tiles/Grid/Board

For example if the chess engine can't find any legal move that gets the player whose turn it is out of check, that's checkmate. Similar for stalemate when the king is not in check

Likewise, for castling, en passant, don't allow them if the chess engine hasn't

To get started you could borrow an open source chess engine or load a binary. There is a standard interface for loading chess engines that works in several programming languages, probably all the popular ones.

Then if you need some extra information that you can't get either customize an open source one or write your own.

I would argue that you should start out architecting it around the chess engine first. That way you make the chess engine do most of the work. All your UI layer has to do is refuse moves that are not on the list of legal moves.

I found this out the hard way.

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

79481801

Date: 2025-03-03 18:18:53
Score: 1.5
Natty:
Report link

I'm afraid you're using a very old version of OpenDaylight. The package org.opendaylight.netconf.restconf-nb-bierman02/1.7.4.SNAPSHOT is:

  1. Almost 7 years old (released on 2018-12-05).
  2. Removed from the latest OpenDaylight releases.

I suggest using a more recent version of OpenDaylight and referring to the following tutorial to migrate your application from the draft to RFC8048.

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

79481800

Date: 2025-03-03 18:18:53
Score: 2.5
Natty:
Report link

The syntax you used is correct, but when building your Next.js application, it uses the empty variable. This may be due to the way environment variables are injected during the build process.

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

79481799

Date: 2025-03-03 18:18:53
Score: 2.5
Natty:
Report link

As someone said, "something else must be happening". I found out that we are using ThrowContextEnricher which provides the exactly 'functionality' I was confused about.

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