79579281

Date: 2025-04-17 13:02:32
Score: 3
Natty:
Report link

I know this is a very old question but for anyone who is having same issue and stumble on this same issue. Please ensure you use the right syntax.

BLUE

fun main() {
println(getMnemonic(color.BLUE))
}

change to

fun main() {
println(getMnemonic(color.blue))
}

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): having same issue
  • Low reputation (0.5):
Posted by: James Smith

79579280

Date: 2025-04-17 13:01:32
Score: 3.5
Natty:
Report link

You didn't say where you obtained Dolibarr, and what version of it.

However, your issue looks very similar to https://github.com/Dolibarr/dolibarr/issues/31816, which has been solved by this diff: https://github.com/Dolibarr/dolibarr/pull/31820/files.

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

79579279

Date: 2025-04-17 13:01:32
Score: 3
Natty:
Report link

Go to Run icon in header -> run configuration -> select the instance ->r8 click -> duplicate -> go to envirment tab -> write in VM envirmrnt -> -Dserver.port=8001 -> apply -> run

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

79579278

Date: 2025-04-17 13:01:32
Score: 1
Natty:
Report link

I achieved exactly that this way:

for (var { source, destination } of redirects) {
    if (source.test(request.uri)) {
       request.uri = request.uri.replace(source, destination);
...
...
return {
        status: '301',
        statusDescription: 'Moved Permanently',
        headers: {
          location: [{ value: request.uri }]
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: djook

79579270

Date: 2025-04-17 13:01:32
Score: 2.5
Natty:
Report link

yeah, that was it, I tried a different image and it worked :)

thjanks

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vanessa

79579267

Date: 2025-04-17 13:01:32
Score: 1.5
Natty:
Report link

You're absolutely right to want to avoid rewriting your entire Python/OpenCV pipeline in JavaScript — especially for image-heavy and complex processing tasks. The good news is that you can run your existing Python + OpenCV code on-device, even within a React Native app. There are several strategies depending on your platform (Android vs iOS) and how deep you want to integrate.

Use Chaquopy, Pyto, ONNX, Tensorflow Lite.

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

79579266

Date: 2025-04-17 13:01:32
Score: 0.5
Natty:
Report link

Answer from @keen is using {request>remote_ip}, but it's not the actual client's IP address when caddy is working with trusted_proxies, where caddy is behind with reverse proxies or CDN like CloudFront/Cloudflare.

Alternative approach is using {request>client_ip}, in which trusted_proxies will update client_ip according to trusted_proxies. Then we can use it afterwards:

format transform `{request>client_ip} - {request>user_id} [{ts}] "{request>method} {request>uri} {request>proto}" {status} {size} "{request>headers>Referer>[0]}" "{request>headers>User-Agent>[0]}" "host:{request>host}"` {
        time_format "02/Jan/2006:15:04:05 -0700"
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @keen
  • Low reputation (0.5):
Posted by: Gea-Suan Lin

79579264

Date: 2025-04-17 13:01:32
Score: 1
Natty:
Report link

googleFunctions is your module that you are importing (from). You specify the path to the directory that contains modules; C:/Scripts/Google. If you need a __init__.py, then you would put that inside a module, not int he directory that contains modules (and you don't need one). The way you currently put your path, means you should be importing import MoveExtracts directly.

– Mikael Öhman

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

79579263

Date: 2025-04-17 13:01:32
Score: 4.5
Natty:
Report link

Now exist strategy.openprofit_percent

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

79579261

Date: 2025-04-17 13:01:31
Score: 1
Natty:
Report link

I found an existing feature request on the Google Issue Tracker that relates to your concern. Please note that there is currently no estimated timeline for when the feature will be released. Feel free to post there should you have any additional comments or concerns regarding your issue. I also recommend ‘starring’ the feature request to receive notifications about any updates.

Regarding the Google Issue Tracker, it is intended for direct communication with Google’s engineering team. Please avoid sharing any personally identifiable information (e.g., your project ID or project name).

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: HerPat

79579236

Date: 2025-04-17 13:01:31
Score: 1
Natty:
Report link

I have created a project to create audio and CSV in Parquet. You can ignore the audio part in this code.

https://github.com/pr0mila/ParquetToHuggingFace

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

79579233

Date: 2025-04-17 13:01:31
Score: 0.5
Natty:
Report link

VLOOKUP() is the way to go:

In A1 (or wherever you begin), =VLOOKUP(B1,$C$1:$D$3,2,FALSE)

Explained:

B1 is the value you're looking for;

$C$1:$D$3 is the range in which you will be looking and returning from, note that VLOOKUP will always search in the first column (so C column); Adjust according to your actual range; Now I've used absolute references, so you can just drag down from here on.

2 is the column number which you wish to return (so D column);

Solution VLOOKUP

Wrap the thing in ISERROR(formula here, "error message here") to add an error message if not found:

Error solution (Column A contains the formula, column B was manual input)

XLOOKUP() would make this easier, but I don't think that works in Excel-2010.

Edit: added FALSE argument to the formula to find only exact matches, thanks Darren Bartrup-Cook

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): is the
  • Low reputation (0.5):
Posted by: Excellor

79579225

Date: 2025-04-17 13:01:31
Score: 1.5
Natty:
Report link

You can forward cookies from the client to the api using the following snippet:

 const cookieStore = await cookies();

 headers: {
   Cookie: cookieStore.toString(),
 }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joshua Bolk

79579220

Date: 2025-04-17 13:01:31
Score: 3
Natty:
Report link

Running into the same issue here, getting:

leonard@MacBook-Pro-van-Leonard-2 vscode101 % pip install openpyxl

zsh: command not found: pip

Running sudo pip install instead, it is requesting a password, but cant type a pw there

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

79579209

Date: 2025-04-17 13:00:31
Score: 0.5
Natty:
Report link

Task.Delay does not check for cancellation by default. In order to cancel the task, you need to pass the cancellation token to Task.Delay so that it can observe the cancellation request.

await Task.Delay(3000, token);

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

79579205

Date: 2025-04-17 13:00:30
Score: 5.5
Natty:
Report link

Already did that yaman jain but still problem persist. any video or tutorial that will cover setting vs code in c much better you can recommend?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Louie Nale

79579199

Date: 2025-04-17 13:00:30
Score: 1.5
Natty:
Report link

I believe this is the issue you are facing. https://github.com/NixOS/nixpkgs/issues/353059 Unfortunately, right now your workaround to use virtualisation.docker.enableNvidia = true; seems to be the only solution and we should wait for a fix in docker upstream.

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

79579198

Date: 2025-04-17 13:00:30
Score: 1.5
Natty:
Report link

It looks like the TurboPack version on github is the best one at the moment.

As mentioned in https://en.delphipraxis.net/topic/6277-synedit-just-got-a-major-uplift/ in 2022 by @pyscriptor:

One of the major flaws of SynEdit was the poor handling of Unicode.  A major update has been committed to the TurboPack fork, that employs DirectWrite for text painting and fixes Unicode support. SynEdit should now be on a par with, if not better than, the best editors around with respect to Unicode handling.

And I see his big contribution there in the TurboPack fork.

Also we can compare activity:

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @pyscriptor
  • Low reputation (0.5):
Posted by: Nashev

79579197

Date: 2025-04-17 13:00:30
Score: 1
Natty:
Report link

I managed to fix the issue. I’m using React Native version 0.73, and the problem was related to auto-linking not working properly.

What I did was run:

npx react-native config

This gave me the auto-linking configuration as JSON. I copied that output and pasted it into this path:

android/build/generated/autolinking/autolinking.json After that, I ran the app again with npx react-native run-android, and it worked perfectly!

Just make sure any native modules you're using (like react-native-config) are installed correctly and that your .env file is properly set up.

Reasons:
  • Blacklisted phrase (0.5): not working properly
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30299381

79579189

Date: 2025-04-17 13:00:30
Score: 0.5
Natty:
Report link

I’ve worked on a project fine-tuning Whisper-Tiny for translation tasks, and I got good results. You can check out my repo for the steps I followed, which might help you fix the issue you’re facing.

For your problem, I suggest checking if your training data includes the correct output in Arabic script. Also, make sure the fine-tuning settings are adjusted for translation (not just transcription). Double-check your data preprocessing and ensure it's compatible with Arabic script. Testing the model after fine-tuning with a few examples should help identify if the issue is with the training or how you're using the model during inference.

Feel free to check out my repo for more details!

https://github.com/pr0mila/MediBeng-Whisper-Tiny

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

79579179

Date: 2025-04-17 13:00:30
Score: 0.5
Natty:
Report link

Just so there’s no magic: you can only write data into a process’s STDIN; STDERR is always an output FD you can only read or redirect. If you want to feed your program on fd 2 (e.g. it actually does an os.read(2,…)), you must dup your stdin‐pipe onto fd 2 in the child before exec. Otherwise just use send/sendline to write to STDIN and stderr=PIPE (or a file) to capture its error‐output.

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

79579177

Date: 2025-04-17 13:00:30
Score: 1
Natty:
Report link

Command to delete all text of file with Nano editor and a Mac keyboard.

Set start position to mark:

ctrl + 6

Mark everything:

ctrl + _

ctrl + V

Delete:

ctrl + K

Alternatively shortly:

hold ctrl followed by 6 + _ + V + K

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

79579175

Date: 2025-04-17 13:00:30
Score: 1
Natty:
Report link

It's been nearly 2 years since the question, so I believe you've figured it out now.

But just in case not (or others run into something similar): Try disabling your browser plugins. We run into very similar issues with CSP and the errors were caused by Firefox plugins in use. Once those were disabled, the errors went away.

I hope this helps, cheers!

Reasons:
  • Blacklisted phrase (1): cheers
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Juha Liikala

79579169

Date: 2025-04-17 13:00:30
Score: 2.5
Natty:
Report link

If you are using @twa-dev/sdk in your Next app then you will access the story sharing function as:

WebApp.shareToStory(mediaUrl,params)

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

79579166

Date: 2025-04-17 13:00:30
Score: 1.5
Natty:
Report link

For me, catch throw was not breaking at exceptions and __cxa_throw was not either. The only solution that worked was setting a break point on abort() b abort. (GNU gdb (GDB) 13.2) using MINGW

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

79579165

Date: 2025-04-17 13:00:30
Score: 0.5
Natty:
Report link

This might be a working solution, but usually it is not recommended to add the version info into composer.json of your package beacuse the versioning should be handled by Gitlab / Git alone.

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

79579156

Date: 2025-04-17 13:00:30
Score: 1
Natty:
Report link

In Angular 17 and above you can use @if

@if (something) {
  <a>content</a>
}
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Guest

79579145

Date: 2025-04-17 11:32:06
Score: 4
Natty:
Report link

Turns out the issue was that, I was using only one subtable. Each subtable get computed once so if multiple pairings are in there it doesnt work. The solution was to create more GPOS subtables and split the pairings accordingly.

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: A D

79579134

Date: 2025-04-17 11:28:04
Score: 1
Natty:
Report link

Even though the error shows Truncated value: '150199880', that is actually the first nine characters of your input string, not the full value you passed.

SQL Server’s “verbose truncation” feature (introduced in SQL 2016 SP2 CU6/2017 CU12 and on by default in 2019+) reports exactly what would fit in the column. dba.stackexchange.com/questions/54924/…

So when you see a nine‐character truncated value in a varchar(9) column, the real input must have been longer than nine characters

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

79579130

Date: 2025-04-17 11:26:04
Score: 0.5
Natty:
Report link

A workaround would be to do:

MATCH (n:Movie|Person)
SET n:MultiLabel;

CREATE VECTOR INDEX multiLabelIndex
IF NOT EXISTS
FOR (n:MultiLabel) ON (n.text)
OPTIONS {
  indexConfig: {
    'vector.dimensions': 1536,
    'vector.similarity_function': 'cosine'
  }
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Christoffer Bergman

79579127

Date: 2025-04-17 11:25:04
Score: 3
Natty:
Report link

For me, it is @project keyword in IntelliJ Idea (2024.3.5)

typing @project to the copilot chat console

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

79579121

Date: 2025-04-17 11:21:03
Score: 0.5
Natty:
Report link

I know its a really old question,but using adb install like this worked for me:

adb install --no-streaming <pathtoyour.apk>

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NXPTUNX

79579119

Date: 2025-04-17 11:20:02
Score: 1.5
Natty:
Report link

Beside what has been said, there are limitations when SQL Replication is used. Some data may not be replicated, when a table falls to "extended row usage". Note that this may happen after creation time , following "alter table" statements.

Capture program would warn you with

ASN0692W  "Capture" : "ASN" : "WorkerThread" : A Q subscription, registration, or publication exists for a table that is defined with wide rows.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andrej Furlanič

79579118

Date: 2025-04-17 11:20:02
Score: 2.5
Natty:
Report link
h-<number>
height: calc(var(--spacing) * <number>);
h-<fraction>
height: calc(<fraction> * 100%);

https://tailwindcss.com/docs/height

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

79579117

Date: 2025-04-17 11:19:02
Score: 2.5
Natty:
Report link
  1. Go to https://console.firebase.google.com/

  2. Select your project.

  3. Click on Authentication from menu option

  4. Click on SIGN-IN-METHOD

  5. Click on Google and enable it.

Than it works fine :)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: irie Mohamed dieudonne

79579106

Date: 2025-04-17 11:09:59
Score: 5.5
Natty:
Report link

The case when there are no data should be handled with "INSUFFICIENT_DATA" state instead.

Can AWS Cloudwatch alarms detect no activity?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: fa44

79579088

Date: 2025-04-17 11:04:57
Score: 3.5
Natty:
Report link

Check out this Project for realtime monitoring of text files into binary and hexadecimal format Interface_image

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

79579082

Date: 2025-04-17 11:01:56
Score: 1.5
Natty:
Report link

I have faced the same issue when we tried to run spark3 in CDP cluster where spark2 also running as default.

Error:

/opt/cloudera/parcels/SPARK3/lib/spark3/bin/spark-class: line 101: CMD: bad array subscript

Adding env variable in the code before launching the spark launcher job did not work, so finally updated

/etc/profile.d/cdh.sh by adding below entries

export HADOOP_CONF_DIR=/opt/cloudera/parcels/SPARK3/lib/hadoop/etc/hadoop

export SPARK_CONF_DIR=/etc/spark3/conf

export SPARK_HOME=/opt/cloudera/parcels/SPARK3/lib/spark3

Above env variables can be printed out through printenv command.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nagaraj Vittal

79579081

Date: 2025-04-17 10:57:55
Score: 1.5
Natty:
Report link

That is the way it looks now since Ladybug. Goggle have decided that you did not want the old version and that you like this new one much better. All the tools are still there under the three dot menu, but you will have to dig around to find them. (Apprently it was done to make coding an a smaller laptop monitor more comfortable).

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

79579076

Date: 2025-04-17 10:56:55
Score: 2.5
Natty:
Report link

Did you hear about the Break key ? That one key that is so old that nobody knows about ?

If you keep pressing it or if the key is blocked and you connect to a Remote Virtual Computer you may experiment some kind of "slow" behaviour.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Zatigem

79579060

Date: 2025-04-17 10:47:53
Score: 2.5
Natty:
Report link

Just add await in front of fetch since it is a promise.

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

79579045

Date: 2025-04-17 10:39:50
Score: 0.5
Natty:
Report link

Re-reading matchers reference, I found ResultOf which works with a lambda and provides a nice output on error:

testing::ResultOf("y", [](const auto& s) { return s.y; }, expected_y);
Expected arg #0: whose y is equal to 3
         Actual: whose y is 7
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Dominik Kaszewski

79579029

Date: 2025-04-17 10:28:47
Score: 1.5
Natty:
Report link

you can add to your pom.xml
it's working for me with sdk openjdk-24 and Language level : 24 -Stream gatherers

https://github.com/projectlombok/lombok/issues/3869

<dependencyManagement>
    <dependencies>
//eventually your existant dependencies
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.18.38</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Omar MAHI

79579026

Date: 2025-04-17 10:27:47
Score: 1
Natty:
Report link

A simple way to increase the font size of the header in a data grid (WPF)

  <DataGridTextColumn Binding="{Binding Type}" Width="*" FontSize="18"   >
        <DataGridTextColumn.Header>
            <TextBlock FontSize="20" Text="Type" />
        </DataGridTextColumn.Header>
</DataGridTextColumn>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sharuk Basheer

79579023

Date: 2025-04-17 10:27:47
Score: 1.5
Natty:
Report link

Can you please check with Real iPhone Device. It is working fine with the device. Issue happen with only Simulator. I tested with iPhone 14 Pro Max.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please
  • High reputation (-1):
Posted by: Gladis Wilson

79579015

Date: 2025-04-17 10:24:46
Score: 0.5
Natty:
Report link

If anyone is having problems with the new version of Unity HDRP (6000.0.34f1), I found a solution for this.

I used the same MaskStencil shader for masking, but when you use a transparent material for a surface that will be masked you ll see lots of overlapping and z-fighting. While I was playing around with the transparent material, I found a feature that gave me exactly what I wanted. Transparent Depth Prepass

Hope it helps Final

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dawshan

79579010

Date: 2025-04-17 10:22:45
Score: 5
Natty:
Report link

Have you solved your problem? I don't know how to get the headers requested by the client.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved your problem?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: miao hu

79579009

Date: 2025-04-17 10:21:44
Score: 5
Natty:
Report link

Would you like to add the new FOP (Form of Payment) to the PNR without deleting the existing FOP, and have it appear as the first entry in the list?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Burak Tuncer

79579004

Date: 2025-04-17 10:19:43
Score: 3.5
Natty:
Report link

the short answer is no, having multiple labels are not available for the Neo4j indexes.

There is an exception to this which is the FULLTEXT indexes, but they are the only ones that can have multiple labels for the same index.

Here is some documentation around creating vector indexes, https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/vector-indexes/#create-vector-index, and for the full syntax description https://neo4j.com/docs/cypher-manual/current/indexes/syntax/#create-vector-index (and to compare the fulltext one that allows more than one label: https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/full-text-indexes/#create-full-text-indexes and https://neo4j.com/docs/cypher-manual/current/indexes/syntax/#create-full-text-index)

/Therese

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Therese

79579003

Date: 2025-04-17 10:19:43
Score: 1
Natty:
Report link

If you've defined two targets in CMakeLists.txt they both will be generated and Qt Creator will auto-detect and add them in the project tree (as well all the subprojects you may be adding via add_subdirectory).

As for building and running you need to select desired target if there is more than one to choose from. You can also modify active targets list in Project view - open details of cmake build step (by default there is only single build step).

The reason that a part of project is grayed-out usually means that cmake encountered an error and did not finish configuration. Please notice that this situation will be explained in message logs (bottom area in Qt Creator). Quite likely you have some errors in CMakeLists.txt that need fixing or something else is missing in project setup.

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

79578997

Date: 2025-04-17 10:16:42
Score: 1
Natty:
Report link

from moviepy.editor import *

from PIL import Image

import numpy as np

# Re-import the image after the environment reset

image_path = "/mnt/data/A_photograph_captures_a_young_couple_of_Southeast_.png"

image = Image.open(image_path)

image_array = np.array(image)

# Create a video clip from the image

clip_duration = 10 # seconds

image_clip = ImageClip(image_array).set_duration(clip_duration).set_fps(24)

# Add a romantic fade-in and fade-out effect

video_clip = image_clip.fadein(2).fadeout(2)

# Export the final video

video_output_path = "/mnt/data/romantic_dinner_video.mp4"

video_clip.write_videofile(video_output_path, codec='libx264')

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

79578989

Date: 2025-04-17 10:11:41
Score: 0.5
Natty:
Report link

I finally found the solution. The OutBuffer needs to be the pointer to the 1st element of the array, not the pointer to the array.

The marshaling did not even require anything beyond [StructLayout(LayoutKind.Sequential)] for LKIF_FLOATVALUE to process the array of structure correctly.

[StructLayout(LayoutKind.Sequential)] 
public struct LKIF_FLOATVALUE
{
   public LKIF_FLOATRESULT FloatResult;
   public float Value;
}

[DllImport("LkIF2.dll")] 
public static extern RC LKIF2_DataStorageGetData(int OutNo, int NumOfBuffer, ref LKIF_FLOATVALUE OutBuffer, ref int NumReceived); // Works perfectly

RC ReturnCode = LKIF2_DataStorageGetData(OutNo, NumOfBuffer, ref OutBuffer[0], ref NumRecieved); 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pierre B

79578977

Date: 2025-04-17 10:07:39
Score: 5
Natty:
Report link

Sorry, not an answer, but I don't have enough creds to comment...
Thanks for posting. I'm having the same issue with one of my workspaces that contains both git source-controlled directories and non-git directories, yet I can open other workspaces that also contain both git source-controlled directories and non-git directories and NOT see the same issue.

The only difference I see in the structure of the workspace files is that the one with the problem has entries like

"folders": [
        {
            "name": "PS_Library",
            "path": "PS_Library"
        },

Whereas the workspaces without the issue have entries like

    "folders": [
        {
            "path": "."
        },

i.e. just "path" without "name".

Sorry can't be more help, but keen to find a solution.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): not an answer
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same issue
  • Me too answer (0): see the same issue
  • Low reputation (1):
Posted by: Autumnal Sigh

79578973

Date: 2025-04-17 10:04:38
Score: 2
Natty:
Report link

Well, doc says capabilitiesUrl but code on GitHub says capabilitiesURL. Sending the latter did the trick.

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

79578971

Date: 2025-04-17 10:03:37
Score: 6 🚩
Natty: 4
Report link

Do you have the config and the url? I just successfully onboarded this

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: rosa

79578964

Date: 2025-04-17 09:59:36
Score: 1.5
Natty:
Report link

I use git cherry-pick -p <commit> -- path/to/file

This lets me cherry-pick only the lines I want from a file within a commit. You can then even split s the chunks to get even more granular.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: asking for a friend

79578963

Date: 2025-04-17 09:59:36
Score: 1.5
Natty:
Report link

Although it is possible to run DeepFace in parallel, it depends on TensorFlow, and since it allocates all CPU cores to a single task, running multiple instances in parallel becomes ineffective as the cores are shared between different workers.

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

79578960

Date: 2025-04-17 09:58:35
Score: 0.5
Natty:
Report link

Unfortunately, importing tests in bulk that call other tests is not currently supported by Xray's Test Case Importer.

I'd suggest to reach Xray support team and raise a feature request.

However, on Xray Cloud, it's possible to import a single test using a CSV file, directly from the Test issue screen, where a column can be mapped to a called test.

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Sérgio

79578956

Date: 2025-04-17 09:55:34
Score: 3.5
Natty:
Report link

I can't get past agreeing to the terms on MacOS 15.4.

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

79578955

Date: 2025-04-17 09:55:34
Score: 1
Natty:
Report link

The following code helped me:

import io
old = io.text_encoding
def new_text_encoding(encoding = None, stacklevel = 2):
    if encoding == None:
        return 'utf-8'
    return old(encoding, stacklevel)
io.text_encoding = new_text_encoding
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ivan Yakimov

79578940

Date: 2025-04-17 09:48:32
Score: 4
Natty:
Report link

I was able to make it work by activating the region in both the account that makes the STS request and the account where the credentials are generated -

https://repost.aws/knowledge-center/iam-validate-access-credentials#:~:text=For%20Regions%20that,the%20InvalidClientTokenId%20error

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

79578937

Date: 2025-04-17 09:47:31
Score: 1
Natty:
Report link

Your TypeFetch data object expects array each time, but if the data is not present or is loading, it could be undefined or null which causes the error. You could try below code by passing data as [] to the Grid component:

<Grid data={fetchData.data ?? []} />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dhrumitdk

79578936

Date: 2025-04-17 09:47:31
Score: 1
Natty:
Report link

With the input from all the comments, this is what currently does the job:

'~~~~~~~~~~~~~~~~~~~~~~~~~~~
' Sub:      RemoveExpressionsFromWorkbook()
' Purpose:  Replace all formula by their results, essentially freezing the Workbook in its current state
' Source:   n.a.
' Arguments: none
'
' CAVEAT:   This code will alter the contents of this workbook permanently.
'           Before running this code, you should store this workbook with a different name to avoid
'           accidentally overwriting the original file.
'
' Authors:  Friedrich
'
' Comments:
'----------------------------

Sub RemoveExpressionsFromWorkbook()
    Dim ws As Worksheet
    
    ' Disable background tasks
    Call TurnEverythingOff

    For Each ws In ActiveWorkbook.Worksheets
        Debug.Print ws.Name; ": "; ws.UsedRange.Address
        
        ' original code: Does not work correctly because is also removes named tables
        ' the reason for that is not known --> TODO!
'       ws.UsedRange.Value = ws.UsedRange.Value

        ws.UsedRange.Copy
        ws.UsedRange.PasteSpecial xlPasteValues
        
        ' this should de-select the used range, but it does not work --
        ' the selection remains on all worksheets
'       Application.CutCopyMode = False
        
        ' so instead, we actively select the home position cell.
        ' not clear if this will work if events are disabled?
        ' Maybe it's just delayed, and will become active after events are reenabled.
        ws.Activate
        ws.Range("A1").Select

    Next

    ' Restore prior event settings
    Call RestoreEverything
    
End Sub

'~~~~~~~~~~~~~~~~~~~~~~~~~~~
' Sub:      TurnEverythingOff(), RestoreEverything()
' Arguments: none
' Purpose:  Switch off all automatic background processes, and restore them
'
' Source:   https://stackoverflow.com/questions/43801793/turn-off-everything-while-vba-macro-running
' Authors:  Subodh Tiwari sktneer, "YowE3K"
'
' Modifications:
' 2025/03/06 Friedrich: combine all on/all off code with restore-to-prior-value
'
' Comments:
'----------------------------

Sub TurnEverythingOff()
    With Application
        ' store old values in globals
        ' no recursion allowed, so don't call multiple times w/o restoring!
        origCalculation = .Calculation
        origEnableEvents = .EnableEvents
        origDisplayAlerts = .DisplayAlerts
        origScreenUpdating = .ScreenUpdating

        ' switch everything off
        .Calculation = xlCalculationManual
        .EnableEvents = False
        .DisplayAlerts = False
        .ScreenUpdating = False
    End With
End Sub


Sub RestoreEverything()
    With Application
        .Calculation = origCalculation
        .EnableEvents = origEnableEvents
        .DisplayAlerts = origDisplayAlerts
        .ScreenUpdating = origScreenUpdating
    End With
End Sub
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Friedrich

79578935

Date: 2025-04-17 09:46:31
Score: 1
Natty:
Report link

It seems that main issue was the initial guess.
The algorithm was not able to reach an equilibrium point from the provided initial guess.

I'm no expert, but with minor tweaks I managed to get the solutions you mentioned.

The code:

using Revise, Parameters, Plots
using BifurcationKit
const BK = BifurcationKit

# vector field of the problem
function COm(u, p)
    @unpack r,K,a,h,eps,mu = p
    x, y = u
    out = similar(u)
    out[1] = r*x*(1.0 - x/K) - a*x*y/(1 + a*h*x)
    out[2] = eps*a*x*y/(1 + a*h*x) - mu*y
    out
end

####
# integrate ODE for sanity check
# a=0.1 stable
# a=0.3 oscillatory
using DifferentialEquations
z0 = [0.05, 0.1]
alg_ode = Rodas5()
# stable
@reset par_com.a = 0.1
prob_de = ODEProblem(COm, z0, (0.0, 300.0), par_com)
sol_ode = solve(prob_de, alg_ode);
plot(sol_ode)
# keep equilibrium point
zEq = sol_ode.u[end]

# oscillatory
@reset par_com.a = 0.3
prob_de = ODEProblem(COm, z0, (0.0, 300.0), par_com)
sol_ode = solve(prob_de, alg_ode);
plot!(sol_ode)


# parameters used in the model
par_com = (r = 1.0, K = 10.0, a = 0.1, h = 0.5, eps = 0.5, mu = 0.2)
# record variables for plotting
recordCO(x, p) = (x = x[1], y = x[2])

# initial condition
# z0 = [0.05, 0.1] ## fail to find equilibrium
# z0 = [5.0, 6.3] ## guess, from numerical data
z0 = zEq # initiate from numerical data

# Bifurcation Problem
prob = BifurcationProblem(COm, z0, par_com, (@optic _.a); record_from_solution = recordCO)

# continuation parameters
opts_br = ContinuationPar(p_min = 0.01, p_max = 0.5, dsmin=0.01, ds = 0.1, dsmax = 1.0)

# compute the branch of solutions
br = continuation(prob, PALC(), opts_br; plot = true, verbosity = 0, normC = norminf,bothside = true)
# plot the branch
scene = plot(br)

## inspect transient before and after the special points
pt = 3 # point of interest
prob_de = ODEProblem(COm, br.specialpoint[pt].x, (0.0, 1000.0), 
    @set par_com.a = br.specialpoint[pt].param - 0.01)
sol_ode = solve(prob_de, alg_ode);
plot(sol_ode)
prob_de = ODEProblem(COm, br.specialpoint[pt].x, (0.0, 1000.0), 
    @set par_com.a = br.specialpoint[pt].param + 0.01)
sol_ode = solve(prob_de, alg_ode);
plot!(sol_ode)

The continuation result:

julia> br
 ┌─ Curve type: EquilibriumCont
 ├─ Number of points: 272
 ├─ Type of vectors: Vector{Float64}
 ├─ Parameter a starts at 0.01, ends at 0.5
 ├─ Algo: PALC
 └─ Special points:

- #  1, endpoint at a ≈ +0.01000000,                                                                     step =   0
- #  2,       bp at a ≈ +0.04983159 ∈ (+0.04983159, +0.05006280), |δp|=2e-04, [converged], δ = (-1,  0), step = 252
- #  3,     hopf at a ≈ +0.30509470 ∈ (+0.29935407, +0.30509470), |δp|=6e-03, [converged], δ = ( 2,  2), step = 269
- #  4, endpoint at a ≈ +0.50000000,  

I was going to add the images, but 10 reputation points are needed. It is my first post in here...

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation points
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: guitorri

79578930

Date: 2025-04-17 09:41:29
Score: 5
Natty: 5.5
Report link

If you are using POST request then use formParameters instead of queryParameters https://docs.spring.io/spring-restdocs/docs/current/reference/htmlsingle/#documenting-your-api-form-parameters

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dmitriy K.

79578923

Date: 2025-04-17 09:37:27
Score: 1.5
Natty:
Report link

I also like to use the current language of the Portal as Parameter in a SQL Datasource. I tried the tipp number 2 (which is realy fancy). But I am not sure how to use a list of object in the in filter of the Datasource, here is my setup in the visual query designer:

APP ------ {"Language": [ {"Name": "de"}] } -------> SQL DataSource

Entity Language is passed as Filter In-Stream of the SQL Datasource. But how do I get only the first object in the token language?

[In:Filter:Language:Name] is not working and [In:Filter:Language[0]:Name] breaks the query completely. Thanks for your help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): how do I
  • Whitelisted phrase (-0.5): Thanks for your help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Christian Matyas

79578918

Date: 2025-04-17 09:34:26
Score: 2.5
Natty:
Report link
  1. Make sure u have enabled these permissions (delegated and application) https://graph.microsoft.com/Chat.ReadWrite https://graph.microsoft.com/ChatMember.ReadWrite https://graph.microsoft.com/User.Read https://graph.microsoft.com/TeamsAppInstallation.ReadWriteAndConsentSelfForChat.

  2. Use a delegated access token in the add app to chat api. get the access token by doing a Oauth2.0 with your bot app . (note: dont use the bot access token which wont work in most cases).

  3. also check if u are having any rsc permissions in your manifest.json

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

79578912

Date: 2025-04-17 09:32:25
Score: 1.5
Natty:
Report link

After two days of searching and reseach, I fould a way to run my crons. I have just create a new wp-config.php file and copy/paste the info from the old one.. I don't know what exactly the problem was but my issue was finally solved.. so simple

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

79578903

Date: 2025-04-17 09:27:23
Score: 4
Natty:
Report link

Oh , i got the same problem, where paid agreement was not active.Spent 2 weeks figuring it out

Reasons:
  • Blacklisted phrase (1): i got the same problem
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sadig

79578901

Date: 2025-04-17 09:26:23
Score: 2
Natty:
Report link

Don't want to necropost but the original (marked) answer from user6432984 generates errors when there are named ranges in other sheets (On Error Resume Next simply moves to the statement after "Then", as per https://stackoverflow.com/a/40552264, which results the said ranges to be returned as part of the intersection, which is obviously wrong). In addition, VBA returns a bunch of internal names (beginning with "_xl") in certain scenarios which are a distraction. I have modified the original answer to this:

Function getRangeNames(Target As Range)
    Dim n As Name
    Dim s As String
    Dim intersection As Range
    For Each n In ThisWorkbook.Names
        If Left(n.Name, 3) <> "_xl" Then
            On Error Resume Next
            Set intersection = Intersect(Target, n.RefersToRange)
            On Error GoTo 0
            If Not intersection Is Nothing Then
                s = s & n.Name & ", "
            End If
        End If
    Next n
    
    getRangeNames = Left(s, Len(s) - 2)
End Function
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): user6432984
  • Low reputation (1):
Posted by: Detabonator

79578888

Date: 2025-04-17 09:19:21
Score: 0.5
Natty:
Report link

The Qt allow for flexible workflow for developing application with internationalization support since a lot depends on nature of the project and team dynamics.

The only extra call needed in CMakeList.txt is qt_add_translations which will add build targets update_translations (updates content of *.ts files for sources) and *release_translations (*generates *.qm files). How you will use those targets is up to you. Some may would like to add them to default build but please notice that in most cases it's not necessary. You need to make decision based on needs of your project and your team.

Alternatively to calling qt_add_translations you can choose to initialize internationalization using qt_standard_project_setup. Again build targets are produced for you and you decide on the workflow.

Here is an example of one of many of possible workflows:
1. Code is being developed and tested using default cmake build target (all)
2. If there were some changes to strings for translations you can update ts files by running build target update_translations How frequent will you do it is totally up to you e.g. you can do it just once, before doing the translations
3. Whenever translations (*.ts files) were updated you can generate *.qm files by running build target release_translations. Subsequent build of application will use updated files assuming application has default settings (*.qm files being included in application resources).

If you are using Qt Creator as your IDE you can simply switch build targets for cmake with few mouse clicks - you need to open details of build step (Projects view) and select/deselect desired targets on list.

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

79578882

Date: 2025-04-17 09:17:21
Score: 2.5
Natty:
Report link

Phone Authentication:
If you want to go with flutter then https://pub.dev/packages/firebase_phone_auth_handler is the good one. You can follow the given sample.

Let me know if you find any issue while integrating this.****

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

79578879

Date: 2025-04-17 09:15:19
Score: 4.5
Natty:
Report link

you can set stickyHeaderIndices prop for the ScrollView component.(DOC: https://reactnative.dev/docs/scrollview)

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

79578876

Date: 2025-04-17 09:12:18
Score: 2.5
Natty:
Report link

What about using a SortedDictionary<string, uint> to sort using a custom comparer?

Proposed code:

public static ReadOnlyDictionary<string, uint> GetWordCountDictionary(string stringToCount)
{
    Dictionary<string, uint> wordDictionary = new Dictionary<string, uint>();

    //Rest of the method here that is not relevant

    // Custom comparer can be created to order differently, instead of `StringComparer.InvariantCultureIgnoreCase`
    var sortedDictionary = new SortedDictionary<string, uint>(wordDictionary, StringComparer.InvariantCultureIgnoreCase); 

    var result = new ReadOnlyDictionary<string, uint>(sortedDictionary);

    return result;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Alexandru Chirita

79578867

Date: 2025-04-17 09:09:17
Score: 1
Natty:
Report link

By adding

{
  ...
  "converters": "tinyint-one-to-boolean,jdbc-sink,duration-converter",
  "tinyint-one-to-boolean.type": "io.debezium.connector.binlog.converters.TinyIntOneToBooleanConverter",
  "tinyint-one-to-boolean.length.checker": "false",
  "jdbc-sink.type": "io.debezium.connector.binlog.converters.JdbcSinkDataTypesConverter",
  "tinyint-one-to-boolean.selector": "my_database.my_table.my_column,my_database.my_table.other_column",
  "jdbc-sink.selector.boolean": "my_database.my_table.my_column,my_database.my_table.other_column",
  ...
}

to my source connector config I was able to replicate the tinyint as boolean in PostgreSQL.

see also https://debezium.io/documentation/reference/stable/connectors/mysql.html#_tinyint1_to_boolean

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

79578864

Date: 2025-04-17 09:05:16
Score: 0.5
Natty:
Report link

Android 15+ example

enableEdgeToEdge(
    statusBarStyle = SystemBarStyle(),
    navigationBarStyle = SystemBarStyle()
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: georgehardcore

79578863

Date: 2025-04-17 09:04:16
Score: 3.5
Natty:
Report link
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.dml.color import RGBColor

prs = Presentation()

title_font_size = Pt(40)
content_font_size = Pt(24)
minimal_color = RGBColor(101, 67, 33)  # Café oscuro

def add_slide(title, content_lines):
    slide_layout = prs.slide_layouts[5]
    slide = prs.slides.add_slide(slide_layout)

    title_shape = slide.shapes.add_textbox(Inches(0.5), Inches(0.3), Inches(9), Inches(1))
    title_frame = title_shape.text_frame
    p = title_frame.paragraphs[0]
    p.text = title
    p.font.size = title_font_size
    p.font.bold = True
    p.font.color.rgb = minimal_color

    content_shape = slide.shapes.add_textbox(Inches(0.8), Inches(1.5), Inches(8.5), Inches(5))
    text_frame = content_shape.text_frame
    for line in content_lines:
        p = text_frame.add_paragraph()
        p.text = line
        p.font.size = content_font_size
        p.font.color.rgb = RGBColor(60, 42, 33)

# Portada
slide_layout = prs.slide_layouts[0]
slide = prs.slides.add_slide(slide_layout)
slide.shapes.title.text = "El Derecho como objeto teórico y la experiencia jurídica"
slide.placeholders[1].text = "Erika Brahona\nTeoría del Derecho – Unidad I\nFecha: Abril 2025"

# Diapositivas de contenido
add_slide("Objetivo de la exposición", [
    "Profundizar en los aspectos éticos y legales que conforman el Derecho",
    "como objeto teórico y la experiencia jurídica.",
    "Identificar su dimensión filosófica, normativa y práctica."
])
add_slide("¿Qué es el Derecho como objeto teórico?", [
    "• Es una construcción filosófica y conceptual.",
    "• Estudia qué es el Derecho, cómo se justifica y cuál es su función.",
    "• Analiza principios y valores jurídicos más allá de las leyes."
])
add_slide("Corrientes teóricas del Derecho", [
    "• Iusnaturalismo: Derecho basado en principios morales universales.",
    "• Positivismo jurídico: El Derecho son las normas impuestas por el Estado.",
    "• Realismo jurídico: Se enfoca en la aplicación práctica del Derecho."
])
add_slide("¿Qué es la experiencia jurídica?", [
    "• Es el contacto real del individuo con el Derecho.",
    "• Incluye juicios, procesos, trámites legales y decisiones judiciales.",
    "• Representa cómo se vive y se percibe el Derecho en la sociedad."
])
add_slide("Dimensión ética del Derecho", [
    "• Regula la conducta humana, involucrando valores fundamentales.",
    "• Justicia, equidad y libertad son bases esenciales.",
    "• La ética ayuda a evaluar la validez moral de las normas."
])
add_slide("Legalidad vs Ética", [
    "• No todo lo legal es ético, y no todo lo ético es legal.",
    "• Ejemplos: aborto, pena de muerte, derechos LGBTQ+.",
    "• El Derecho debe equilibrar la legalidad con la moral social."
])
add_slide("Función social del Derecho", [
    "• Ordenar la convivencia social.",
    "• Resolver conflictos y proteger derechos.",
    "• Promover cambios sociales desde una base justa."
])
add_slide("Crítica y reflexión", [
    "• ¿Las leyes reflejan los valores actuales?",
    "• ¿Qué pasa cuando el Derecho discrimina o no responde?",
    "• La experiencia jurídica permite mejorar el sistema legal desde la realidad."
])
add_slide("Conclusión", [
    "• El Derecho es teoría y práctica con una dimensión ética.",
    "• Reflexionar sobre él permite mayor compromiso con la justicia.",
    "• Necesitamos un Derecho justo, accesible y humano."
])

# Guardar archivo
prs.save("erikabrahona-taller1.pptx")
Reasons:
  • Blacklisted phrase (1): ¿
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (1): cómo
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Erika Elizabeth

79578857

Date: 2025-04-17 08:59:15
Score: 3.5
Natty:
Report link

Hello I have 6 sheets in my file with windows media player in them. How to set all to not autostart each time when I open the file? I try you suggest, but nothing happen.

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

79578847

Date: 2025-04-17 08:55:13
Score: 2
Natty:
Report link

French native speaker here.

Please see https://xml.insee.fr/schema/commun.html#ChaineFrancaisOfficielMajuscule_stype and https://www.lalanguefrancaise.com/articles/alphabet-francais#liste-des-lettres-de-l-alphabet-en-francais.

The regex you are looking for is :

/^[a-zäàâçéèêëîïôöûùüÿæœ .-]*$/i
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Michel Diemer

79578838

Date: 2025-04-17 08:52:12
Score: 1
Natty:
Report link

The Wikipedia page for the R language has a section on version names that is kept up and has references to the comic strip that the release code name comes from https://en.wikipedia.org/wiki/R_(programming_language)#Version_names

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

79578835

Date: 2025-04-17 08:50:12
Score: 3
Natty:
Report link

Getting the same error since 09.04 and guess what, there was an Office update on 08.04 https://learn.microsoft.com/de-de/officeupdates/current-channel
Please check your working PC for the build number: Version 2503 (Build 18623.20178) doesn´t work anymore.

For me, the query update works fine, excel also saves everything with:
ThisWorkbook.Save added to VBA before Application.Quit

so I force it by killing excel after my script.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): Getting the same error
  • Low reputation (1):
Posted by: Serge Firebirth Neufeld

79578831

Date: 2025-04-17 08:47:10
Score: 4
Natty:
Report link

Just change the version of Python

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

79578830

Date: 2025-04-17 08:47:10
Score: 0.5
Natty:
Report link

The behavior for me on Windows is

worker start
main exiting

on both 3.13 and 3.12. (Which is expected, and I suppose what you want)

Although, in response to your questions

  1. Your specific case does seem weird, but the specification of the abstract event loop doesn't guarantee any order in how switching between tasks are done

  2. I don't think so; the idea of the async await design is that you wouldn't (need to) care about how concurrent tasks are scheduled. You need to await an awaitable to get its result (make sure it runs to completion). In general, why would you want the behavior you described anyway? Usual event-loop implementations will run tasks "asap" anyway.

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

79578825

Date: 2025-04-17 08:44:09
Score: 2
Natty:
Report link

the issue was the model. just changed it to

model: openai('gpt-4o')
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Erik Metz

79578814

Date: 2025-04-17 08:40:08
Score: 2
Natty:
Report link

The javascript equivalent of @sibu's correct answer is:

function submitForm(button) {
  let form = button.closest("form");
  if (form) form.submit();
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @sibu's
  • Low reputation (0.5):
Posted by: RiaanP

79578811

Date: 2025-04-17 08:38:08
Score: 0.5
Natty:
Report link

I don't trust Dir$ in this case, I assume it isn't update-safe. The folder is changed while reading it.

Can you get all *.BAT files first, e.g. read them into an array or List, and then call each of them?

Example:

Dim filenames List As String
fileName$ = Dir$(pathName$, 0)

Do Until fileName$ = ""
  filenames(filename$)= filename$
  fileName$ = Dir$()
Loop
ForAll f in filenames
   ...
End ForAll
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: D.Bugger

79578796

Date: 2025-04-17 08:31:05
Score: 1
Natty:
Report link

From changing this generator client { provider = "prisma-client-js" output = "../generated/prisma" } to this generator client { provider = "prisma-client-js" output = "../node_modules/.prisma/client" } solved my problem in nestjs.

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

79578792

Date: 2025-04-17 08:28:04
Score: 1
Natty:
Report link

I'd like for you to consider hybrid tables as a potential solution. They are designed for higher concurrent DML workloads than standard tables, potentially resolving queuing or abortion issues.

Important Considerations:

Refer to official Snowflake documentation for detailed information on hybrid tables.

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

79578790

Date: 2025-04-17 08:26:03
Score: 1
Natty:
Report link

you need to add

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    <version>${spring.boot.version}</version>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Londoner

79578775

Date: 2025-04-17 08:14:59
Score: 4
Natty: 4
Report link

You have to implement this yourself. If you use Python, you can take these inference requests as an example: https://github.com/vllm-project/vllm/blob/main/benchmarks/backend_request_func.py

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

79578774

Date: 2025-04-17 08:13:59
Score: 0.5
Natty:
Report link

Never mind, I found an easy way to adapt this using multiple instances of react-i18next from this GitHub issue. Guess I'm overthinking it.

Just create a global instance and another instance, each of which loads different translations. Then wrap the global app with <I18NextProvider i18n={globalInstance} /> and use the other instance in the child component, either wrap the component with the same I18NextProvider or using the hook const { t } = useTranslation('banner', { i18n: childInstance });. Note that you should be aware of the namespace, as they load from different files.

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

79578763

Date: 2025-04-17 08:03:57
Score: 3
Natty:
Report link

If you have cPanel set the timezone in PHP settings.

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

79578759

Date: 2025-04-17 08:01:56
Score: 0.5
Natty:
Report link

For those running into this problem while building a Flutter project for Android: I've resolved it by running flutter clean.

After cleaning the build assets the building process worked.

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

79578756

Date: 2025-04-17 08:00:55
Score: 3
Natty:
Report link

Thanks to engineersmnky - I tried it without getting the config from the json and pasted the strings directly to the imap connection. I'm getting still the same error, so net/imap is incompatible with ractors.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Berti92

79578737

Date: 2025-04-17 07:47:52
Score: 3
Natty:
Report link

Cross-check if the id is a string when the API expects a number, and ensure the product object sent in PUT doesn’t include extra or mismatched fields like id.

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

79578727

Date: 2025-04-17 07:43:51
Score: 1
Natty:
Report link

One instruction:

         or    %ah,%al                 ;set zero flag if either byte was zero
         jz    oneofthemwaszero        ;one of the bytes was zero

( since no one was counting the jz that would likely follow. )

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

79578726

Date: 2025-04-17 07:42:50
Score: 0.5
Natty:
Report link

Your best bet would still be MD5, or hash() but with a few changes to the strategy.

If you can manage nulls and empty strings (and zeroes), then perhaps MD5 could be the most feasible. But it requires some human intervention to set the data right.

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

79578722

Date: 2025-04-17 07:40:49
Score: 8.5 🚩
Natty: 5.5
Report link

| Hi, did you found a solution or any other work-around ?

Reasons:
  • RegEx Blacklisted phrase (3): did you found a solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Corentin

79578716

Date: 2025-04-17 07:35:47
Score: 1
Natty:
Report link

Like user2357112's, but fixing the end element is simpler:

import collections
import itertools

def restricted_combinations(elements, sublist_length, combination_length):
    pool = collections.deque(maxlen=sublist_length-1)
    for elem in elements:
        for head in itertools.combinations(pool, combination_length - 1):
            yield (*head, elem)
        pool.append(elem)

Attempt This Online! (includes testing)

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

79578712

Date: 2025-04-17 07:31:45
Score: 7
Natty: 7.5
Report link

how do i deploy python static graphic in sent my api?

Reasons:
  • Blacklisted phrase (1): how do i
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how do i
  • Low reputation (1):
Posted by: Bilguun Monkhbat