79550493

Date: 2025-04-02 11:38:44
Score: 6 🚩
Natty:
Report link

same question,

stream splits tool_calls and returns data: {"choices":[{"delta":{"content":null,"tool_calls":[{"function":{"arguments":"{\"city\": \""}," 



so that the complete parameters cannot be obtained, but I don't know how to solve it


Map<String, Object> arguments = ModelOptionsUtils.jsonToMap(functionInput);
Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (2): I don't know how to solve
  • RegEx Blacklisted phrase (1): same question
  • RegEx Blacklisted phrase (2): know how to solve
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ldl

79550492

Date: 2025-04-02 11:38:44
Score: 5.5
Natty: 5
Report link

Inspired by @Oliver Matthews' answer, I create a repository on markdown-include: https://github.com/atlasean/markdown-include .

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

79550483

Date: 2025-04-02 11:31:42
Score: 1
Natty:
Report link

Few points for consideration:

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

79550477

Date: 2025-04-02 11:28:41
Score: 0.5
Natty:
Report link
import matplotlib.pyplot as plt

# Data for the diagram
categories = [
    "Водогосподарська проблема",
    "Енергетична проблема",
    "Сировинна проблема",
    "Глобальна продовольча проблема",
    "Охорона Світового океану",
    "Освоєння космосу"
]
importance = [9, 8, 7, 8, 6, 5]  # Importance rating from 1 to 10 for each problem

# Create the diagram
plt.figure(figsize=(10,6))
plt.barh(categories, importance, color='skyblue')
plt.xlabel("Важливість проблеми (оцінка від 1 до 10)")
plt.title("Оцінка важливості глобальних проблем в системі «суспільство-природа» в Україні")
plt.gca().invert_yaxis()  # Invert the order on the Y-axis
plt.tight_layout()
plt.show()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Khrystyna

79550473

Date: 2025-04-02 11:27:40
Score: 1.5
Natty:
Report link

Efectivamente funciona con "react-native-google-places-autocomplete": "^2.5.6" aunque en mi caso y me imagino que para el de todos no hace falta instalar 'react-native-get-random-values' ya que esta version al parecer no la necesita, de hecho te puedes ahorrar muchos errores desinstalando 'react-native-get-random-values' si ya lo habias instalado.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rubén Andia pimentel

79550469

Date: 2025-04-02 11:26:40
Score: 2.5
Natty:
Report link

You can use Reactotron. It's easy to setup.

link here https://docs.infinite.red/reactotron/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: cmcWebCode

79550466

Date: 2025-04-02 11:24:39
Score: 0.5
Natty:
Report link

I decided to drop this idea, because from what I found nginx and Apache are not able to use certificate in the middle of the chain as CA to authenticate clients. In case anyone wonders, I ended up using same self-signed CA and same client certificate, only I pinned its fingerprint for the site when I planned to use admin-ca.cer certificate.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Alexey Malev

79550463

Date: 2025-04-02 11:23:39
Score: 3.5
Natty:
Report link

it shows in milliseconds, you have to divide this value by 1000 and get the right value in seconds

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

79550462

Date: 2025-04-02 11:23:39
Score: 2.5
Natty:
Report link

The url field contains data:application/pdf;base64,..., which might not be properly handled by some clients. Try sending the Base64 content separately in a downloadable format instead of embedding it directly in a url.

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

79550457

Date: 2025-04-02 11:22:39
Score: 0.5
Natty:
Report link

Force handling errors globally:

Configured Flask and Flask-RESTful to propagate JWT exceptions correctly by adding the following code to init.py:

app.config['PROPAGATE_EXCEPTIONS'] = True  # Propagate exceptions to the client
api.handle_errors = False                  # Disable Flask-RESTful 

This provided the results I was looking for and I successfully tested the JWT lifecycle:

  1. Login: Issued JWT tokens via /api/login.

  2. Valid Token: Accessed protected resource successfully.

  3. Expired Token: Received expected 401 error ("Token has expired").

  4. Token Refresh: Successfully refreshed JWT token via /api/refresh.

  5. New Token: Validated new token with protected endpoint access.

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

79550445

Date: 2025-04-02 11:15:36
Score: 0.5
Natty:
Report link

In 2025 using base-select allows styling the <select> see details here https://developer.chrome.com/blog/a-customizable-select and https://codepen.io/web-dot-dev/pen/zxYaXzZ

At the time of writing this only supports chrome and edge - https://caniuse.com/mdn-css_properties_appearance_base-select

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

79550437

Date: 2025-04-02 11:07:35
Score: 3
Natty:
Report link

Suprememobiles, One Stop Destination for all Electronics Needs 5g Mobile phones & Tablets | Laptops | Smart TV's | Smartwatch | Earbuds | Headphone | Home Appliances. We are dealing multi-brand like Apple, Samsung, Xiaomi, Realme, Vivo phone, Oppo phone, Motorola phone, OnePlus, Nokia, Tecno.

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

79550434

Date: 2025-04-02 11:07:35
Score: 1
Natty:
Report link

Try this small util I wrote. While searching for the same topic, I found your question

https://github.com/denistiano/bertsonify

I was solving the same thing. If trained with quality data seems to give okay results. Obviously the more complex the object, the harder it is to have quality output.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Denis Iliev

79550430

Date: 2025-04-02 11:06:35
Score: 0.5
Natty:
Report link

Welcome to Windows app development! Here's a breakdown of compatibility for different Windows versions and some guidance on how to approach development.

App Compatibility Across Windows Versions

Microsoft has had different development frameworks for its platforms, and compatibility depends on which one you are using:

1. Windows Phone 8.0 Apps on Other Versions

2. Windows 8 / 8.1 and Windows RT Apps on Other Versions

What You Need to Do

If you want your app to run across multiple platforms, consider these approaches:

  1. Use Windows Phone 7.x SDK (if targeting WP7.8)

    • If your app must support Windows Phone 7.8, use the Windows Phone SDK 7.1 (not 8.0).

    • However, WP7.8 is very outdated, and it’s better to focus on newer versions.

  2. Develop a Universal Windows App (for Windows 8.1 and Windows Phone 8.1)

    • If you want to support both Windows Phone 8.1 and Windows 8.1, use the Universal Windows App framework.

    • This lets you share a common codebase while keeping platform-specific optimizations.

  3. Target UWP (Universal Windows Platform) for Future-Proofing

    • If possible, migrate to UWP (Windows 10 and later), which supports desktops, tablets, and phones under one framework.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: App Scoop

79550428

Date: 2025-04-02 11:05:34
Score: 1.5
Natty:
Report link

Using the outline utility, you can change the focus border color in Tailwind CSS.

For example:

<input
  className="focus:outline-gray-400"
/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohit Jha

79550417

Date: 2025-04-02 10:58:33
Score: 1.5
Natty:
Report link

Yes you are correct play store or app store does not allow you to publish app for only some certain cities. But you could handle it from your end, by fetching the current location of the user. you will easily get latitude and longitude of the user, using which you can easily get the user's state or city, then proceed with your logic only if the user is at your desired location.

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

79550416

Date: 2025-04-02 10:57:32
Score: 1.5
Natty:
Report link

Sequoia 15.3.2 M3 chip.

brew install cmake didn't work for me, so I tried next:

brew install pkg-config
brew install cmake libgit2
bundle install
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cyx

79550415

Date: 2025-04-02 10:56:32
Score: 1
Natty:
Report link

I read the article linked in the first comment and solved it!

#include <bits/stdc++.h>

Instead of adding a header file like above, I added only the necessary files as shown below.

#include <string>
#include <array>
#include <bitset>
#include <utility>
#include <iostream>
#include <iomanip>
#include <future>

And adding -stdlib=libc++ to the compile command solved it!

g++ -std=c++17 -stdlib=libc++ -I/opt/homebrew/opt/cryptopp/include/cryptopp -L/opt/homebrew/opt/cryptopp/lib -lcryptopp DES_Encryption.cpp -o DES_Encryption && ./DES_Encryption

Thank you to everyone who responded.

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

79550411

Date: 2025-04-02 10:55:32
Score: 1.5
Natty:
Report link

Starting at line 85 you can see the issue. That shouldn't be there.

}
[root@server ~]# sudo vi /etc/nginx/nginx.conf
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CookieKiller

79550407

Date: 2025-04-02 10:51:31
Score: 1.5
Natty:
Report link

1. Create a batch file "run.bat" and write a set of commands in that file
2. Create a Task in Task Scheduler and give a proper name, and in the triggers section Choose "Weekly" and set it to run every Monday at your desired time.
3. choose program in the action and choose the batch file created in the above.
4. save

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Narendra Poojana Boyina

79550405

Date: 2025-04-02 10:49:30
Score: 1
Natty:
Report link

You are mixing two different packages, which are both shadcn ports for flutter.

The example is from shadcn_flutter but the tabs are from shadcn_ui. Try to use one of the two.

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

79550399

Date: 2025-04-02 10:44:29
Score: 1.5
Natty:
Report link
var userName = result.ClaimsPrincipal?.Claims  
.FirstOrDefault(c =\> c.Type.Equal("name",OrdinalIgnoreCase))?.Value;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: KishoreKumarS

79550397

Date: 2025-04-02 10:43:29
Score: 4
Natty: 4.5
Report link

Migrating from 0.11.x to 0.12+

https://ffmpegwasm.netlify.app/docs/migration

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

79550395

Date: 2025-04-02 10:42:28
Score: 1.5
Natty:
Report link

As per docs https://cloud.google.com/compute/docs/create-windows-server-vm-instance, windows is not covered under free trial

Possible next step to try is to activate a full billing account https://cloud.google.com/free/docs/free-cloud-features#how-to-upgrade

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

79550390

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

You Guys can use this package

dom-speech-recognition

https://www.npmjs.com/package/@types/dom-speech-recognition
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Himanshu Taviyad

79550381

Date: 2025-04-02 10:30:25
Score: 2.5
Natty:
Report link

I'm experiencing the same issue. When I download it, it pulls empty data and doesn't show anything. This problem probably started today. Unfortunately, we weren't able to send reports to our clients.

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

79550377

Date: 2025-04-02 10:26:24
Score: 4.5
Natty: 5.5
Report link

I create a repository on markdown-include: https://github.com/atlazean/markdown-include

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

79550375

Date: 2025-04-02 10:25:24
Score: 3.5
Natty:
Report link

The Chart Visualizer in Megaladata does not directly support aggregation operations. It is designed to display the relationship between fields.

To aggregate data before visualization:

1. Use the Grouping component to aggregate your data (e.g., sum, average, count).

2. Use the aggregated data as input for the Chart Visualizer.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Megaladata

79550374

Date: 2025-04-02 10:25:24
Score: 1.5
Natty:
Report link

If the program terminates abruptly due to unhandled exceptions, destructor for global objects might not be called. This happens because operating system might not give enough time to cleanup resources properly.

Try using smart pointers for resource management to avoid such issues.

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

79550373

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

I there any update on how this can be done. Currently I also need similar functionality in table

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

79550370

Date: 2025-04-02 10:23:23
Score: 3.5
Natty:
Report link

Thanks to @JulianKoster, I realized that asset-mapper wasn't installed, causing this issue, here is the fix:

composer require symfony/asset-mapper symfony/asset symfony/twig-pack

Read: https://symfony.com/doc/current/frontend/asset_mapper.html

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @JulianKoster
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lunyx

79550358

Date: 2025-04-02 10:18:22
Score: 0.5
Natty:
Report link

For this level of detail you'll need to write a custom reporter plug-in. This will have the ability to introspect the whole workflow and you can also examine input/output files themselves (needed for 3) which a generic plugin is not going to do.

You could then export all the info as JSON, or you could have your plugin update your database directly.

See:

https://github.com/snakemake/snakemake-interface-report-plugins/tree/main

And here is an example of a plugin:

https://github.com/UoMResearchIT/ro-crate_snakemake_tooling/tree/develop/snakemake-report-plugin-wrroc/snakemake_report_plugin_wrroc

Note - when making a test plugin I found that using poetry, as suggested here, was more of a hindrance than a help, but YMMV.

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

79550353

Date: 2025-04-02 10:16:21
Score: 1.5
Natty:
Report link

You could use COALESCE to change the NULL values.

select 
       coalesce(path, '') as path
      ,comment 
from  read_csv('${path}')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mike_W

79550348

Date: 2025-04-02 10:15:21
Score: 2.5
Natty:
Report link

I prefer sonarLint , it highlights possible NullPointerException risks.

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

79550345

Date: 2025-04-02 10:14:20
Score: 3.5
Natty:
Report link

Thanks for all the useful remarks,

Seems like std::bitcast is the right way to do this. It requires C++20 but I think I'm ok with that.

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

79550336

Date: 2025-04-02 10:09:19
Score: 2
Natty:
Report link

apparently i was missing the @app.function_name for every function and i had to fix the imports from

from . import RSSNewsletter

to

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

79550333

Date: 2025-04-02 10:09:19
Score: 2
Natty:
Report link

One of the best tools I use in my apps is the Talker package. It provides a logs screen to track every log and error in your app. check the doc here

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

79550322

Date: 2025-04-02 10:04:18
Score: 1.5
Natty:
Report link

My first suspicion here would be a memory-related error. These will show up in the kernel log:

$ sudo dmesg -T

as OOM events. You could also use strace on the application to look for malloc() calls that fail, but you do have to make sure you run strace on the underlying binary, not any wrapper script that might be being invoked in the rule.

If the application has just enough memory available when run outside of Snakemake then it may be the overhead of Snakemake pushing it over the edge. Also, with Snakemake are you running one job at a time or allowing it to run multiple jobs in parallel? Are you using multiple threads within the rule?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Tim Booth

79550319

Date: 2025-04-02 10:03:17
Score: 1
Natty:
Report link

How to do

Method 01:

You can simply create an AWS data sync task for the particular work.

  1. First Create Data sync task with source and destination location. Since you try to share data from AWS S3 to another S3 this task won't need any AWS agent.

  2. Then RUN the task data will be migrate to destination S3 (Time will depend on the total size of data that you going to migrate)

Price:

  1. In basic mode:

    Datasync task price

  2. In enhance mode: AWS data sync price

Method 02:

You can use Cross Region Replication (CRR) enable on S3.

These articles will guide you to how to replicate the existing S3 bucket. I think this method will be more cost-effective way for your task.
https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication.html
https://aws.amazon.com/getting-started/hands-on/replicate-data-using-amazon-s3-replication/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: W A J Amasara

79550316

Date: 2025-04-02 10:01:17
Score: 3
Natty:
Report link

I prefer using SonarQueue for IDE plugin. It shows more ptential problems, describes whats and whys.

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

79550312

Date: 2025-04-02 10:01:17
Score: 5.5
Natty:
Report link

enter image description here Now it only supports .exe and .MSI format packages.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: xingba gan

79550307

Date: 2025-04-02 10:00:16
Score: 2
Natty:
Report link

I ran into the same problem and solved it. In my case, there is a space in the font name: (Spleen 32x64). And instead of entering:

Spleen 32x64

In the "Font Family", I simply add quote marks, like:

"Spleen 32x64"

And it works.

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

79550306

Date: 2025-04-02 09:59:15
Score: 0.5
Natty:
Report link

Why does an O(nlogn) algorithm perform faster than O(n) in practice?

The surprising result you're seeing where an O(nlogn) algorithm performs faster than an O(n) algorithm is due to several practical factors:

  1. Constant Factors and Lower-Level Operations: Even though the theoretical time complexity of sorting is O(nlogn), the constants involved in sorting (like in Timsort, which is the algorithm used by Python's sort()) can sometimes outperform O(n) solutions, especially when the input size is small or when the implementation of the O(n) solution involves costly operations.

  2. Efficient Sorting Algorithms: The Timsort algorithm used in Python is highly optimized for practical use cases. It is particularly fast on real-world data, especially if there are ordered or partially ordered sequences in the input. Even though the sorting step theoretically has higher time complexity, in practice, it can run faster because of optimizations that reduce the constant factors.

  3. Set Operations Overhead: In your O(n) solution, you're relying heavily on set operations, specifically in and add. While these operations are average O(1), they can sometimes take more time than expected because of factors like hash collisions, dynamic resizing, or poor cache locality when iterating over the set. These operations might not be as fast as they theoretically should be, especially when you're performing a lot of lookups or insertions.

Why does the first O(n) algorithm get a Time Limit Exceeded (TLE) and the second one passes?

  1. Repeated Operations in the First Algorithm: In your first algorithm, you're doing the following:

    while (num + 1) in s:
        num += 1
        current_streak += 1
    
    

    This loop could lead to repeated set lookups for numbers that are consecutive. Since you're iterating over nums and performing a lookup operation for every number in the set, this could end up causing a lot of redundant work. Specifically, for each number, you're incrementing num and repeatedly checking num + 1. If there are a lot of consecutive numbers, this can quickly become inefficient.

    The time complexity here might still be O(n) in theory, but due to the redundant operations, you're hitting a performance bottleneck, leading to TLE.

  2. Efficiency of the Second Algorithm: In the second algorithm, you've made a few optimizations:

    next_num = num + 1
    while next_num in nums:
        next_num += 1
    
    

    Here, the check for next_num in nums is still O(1) on average, and the update to next_num skips over consecutive numbers directly without performing additional redundant lookups. This change reduces the number of unnecessary checks, improving the algorithm’s performance and avoiding redundant work.

    Even though the theoretical time complexity is the same in both cases (O(n)), the second version is faster because it avoids unnecessary operations and works more efficiently with the set lookups.

  3. Impact of Set Operations: In the first solution, you may have faced inefficiencies due to the use of the current_streak variable and updating num during iteration. Additionally, by modifying num in the loop, you're creating potential confusion and inefficient memory access patterns (e.g., reusing the same variable and performing multiple lookups for numbers that are already part of the streak).

    The second solution benefits from using next_num as a separate variable, which simplifies the logic and makes the code more efficient by focusing on skipping over consecutive numbers directly without redundant checks.

Conclusion

Optimizing algorithms often involves reducing redundant operations and ensuring that you don't perform the same work multiple times. Even with the same time complexity, how you structure the code and the operations you choose can significantly affect performance.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why do
  • Low reputation (1):
Posted by: Parth Sharma

79550303

Date: 2025-04-02 09:57:15
Score: 3.5
Natty:
Report link

It seems to have been fixed in latest release (65.6.0).

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

79550300

Date: 2025-04-02 09:57:15
Score: 2.5
Natty:
Report link

val_counts = df["x"].value_counts()

filtered_df = df[df["x"].map(val_counts) <= ceiling]

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Soumen Ghosh

79550298

Date: 2025-04-02 09:57:15
Score: 0.5
Natty:
Report link

By default tooltip aggregates the data from one xAxis, but you can override it with a tooltip.formatter, see the link to the API: https://api.highcharts.com/highcharts/tooltip.formatter

The starting point can be like this:

tooltip: {
    shared: true,
    formatter: function () {
        let tooltipText = '<b>' + this.x + '</b>';
        this.points.forEach(point => {
            tooltipText += '<br/>' + point.series.name + ': ' + point.y;
        });
        return tooltipText;
    }
}

Please see a simplified config, where you can get the shared tooltip for multiple axes, I trust you will be able to adjust it for your project: https://jsfiddle.net/BlackLabel/pvr1zg26/

Reasons:
  • RegEx Blacklisted phrase (1): see the link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79550293

Date: 2025-04-02 09:55:14
Score: 1
Natty:
Report link

ISO certification itself doesn’t guarantee anything about the language (like English, Spanish, etc.) being used.
Instead, ISO standards focus on processes, quality, consistency, and compliance, regardless of the language.

For example:

These standards can be documented and implemented in any language as long as:

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

79550290

Date: 2025-04-02 09:52:14
Score: 3.5
Natty:
Report link

I have the following challenge. Im using dapper to access 2 databases in the same codebase.

Database 1: Uses UTC dates (i could change this but would not like to do that)
Database 2: Uses LocalDates (not something i can change)

These typehandlers are static, what means not repository/connectionstring specific

SqlMapper.AddTypeHandler(new DateTimeUtcHelper());

Any idea's how to solve this problem?

(Could implement datetimeoffset in Database 1 so the datatype is different)

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this problem?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user30141463

79550286

Date: 2025-04-02 09:50:13
Score: 0.5
Natty:
Report link

When dealing with localized strings in Swift, especially for UI elements, choosing the right approach is crucial. Here’s a breakdown of the options:

1️⃣ LocalizedStringKey (Best for SwiftUI)


2️⃣ LocalizedStringResource (Best for Performance)


3️⃣ String with NSLocalizedString (Best for Non-SwiftUI Code)

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Govind Ravaliya

79550283

Date: 2025-04-02 09:49:13
Score: 1.5
Natty:
Report link

In the "Plots" panel you have the "zoom" option, which detachs the plot window and allows you to visualize it full-screen. Usually, the resolution doesn't drop in the process. If you want to inspect the plot in the IDE, that's a good solution.

Additionally, if you want to quickly export the file, you can just take a screenshot of the full-screen plot.

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

79550271

Date: 2025-04-02 09:43:12
Score: 2.5
Natty:
Report link

Same issue here. Fresh setup for Eclipse 2025-03.

Windows -> Prefeneces -> Version Control -> select SVN node will produce:

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: mauretto

79550268

Date: 2025-04-02 09:41:11
Score: 2.5
Natty:
Report link

I didn't find the bug (code seems ok) but I wouldn't disable the gravity in runtime. Instead I would set isKinematic flag on/off, in this way (when isKinematic is on) you know that no forces are affecting your player. And for the slopes I would just apply a bigger force.

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

79550256

Date: 2025-04-02 09:37:09
Score: 4.5
Natty:
Report link

Not having the exact same issues as you, but definitely having issues in this update. Preview is super slow and buggy. As soon as I use a textfield anywhere even on a basic test, I am getting the error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored. Please fix this problem.in the console. Build times definitely seem soooooo much slower, its making the process annoying when it doesn't need to be.

I've cleaned the derived data, tried killing every Xcode process going, restarted a billion times lol. Great update this time around.

Reasons:
  • RegEx Blacklisted phrase (1): I am getting the error
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the exact same issue
  • Low reputation (1):
Posted by: Billie Boo

79550250

Date: 2025-04-02 09:34:08
Score: 3.5
Natty:
Report link

qpdf input.pdf --overlay stamp.pdf --repeat=z -- result.pdf

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Stăuceanu Radu Gabriel

79550218

Date: 2025-04-02 09:23:05
Score: 0.5
Natty:
Report link

This dropdown behavior is likely managed by a TabControl or a custom tabbed document manager within your application. Here are some areas to investigate:

1-Check TabControl Properties:

If you're using a TabControl, check if SizeMode is set to Fixed or FillToRight, as this can affect how the dropdown appears.

Look for TabControl properties like DrawMode, Padding, and Multiline that might be affecting the display.

2-Event Handling for Window Resizing:

If resizing triggers the dropdown to appear, the control might not be refreshing correctly. Look for Resize or Layout event handlers where the tab control is refreshed (Invalidate(), Refresh()).

3-ScintillaNET or Custom UI Code:

Since you’re using ScintillaNET, there might be a custom tab manager handling open documents. Check for any Scintilla or related UI event handlers that modify the tab behavior.

4-Force a Refresh When a Tab is Added:

If new tabs are being added dynamically, make sure the control is properly updated. Try manually forcing a redraw when a new tab is added:

tabControl.Invalidate();

tabControl.Update();

5-Debugging Strategy:

Set breakpoints in places where tabs are created, removed, or refreshed.

Try manually calling tabControl.Refresh() after adding tabs to see if it immediately triggers the dropdown.

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

79550205

Date: 2025-04-02 09:18:03
Score: 2
Natty:
Report link
URI link = URI.create("http://example.com")
URI.create(link.toString() + "?name=John")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RasAlhague

79550204

Date: 2025-04-02 09:18:03
Score: 3
Natty:
Report link

Downgrading to Python 3.11 is one of the solution for this issue but instead of reverting to Python 3.11, I tried by upgrading to Python 3.12.7 and it started working properly.

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

79550199

Date: 2025-04-02 09:16:03
Score: 1
Natty:
Report link
bool _shouldCollapse = true;
onTreeReady: (controller) {
    if (_shouldCollapse && rootNode.children.isNotEmpty) {
      WidgetsBinding.instance.addPostFrameCallback((_) {
        if (mounted) {
            controller.collapseNode(rootNode.children.first as IndexedTreeNode<NodePayload>);
            setState(() => _shouldCollapse = false);
        }
      });
    }
},

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

79550196

Date: 2025-04-02 09:15:02
Score: 3
Natty:
Report link

It seems to have changed. I used the following scopes: 'w_member_social profile openid email r_organization_socia', Try it out

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

79550194

Date: 2025-04-02 09:15:02
Score: 2
Natty:
Report link

#GroupMembers ul { list-style: disc; }

your tag id different with css class id

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

79550190

Date: 2025-04-02 09:14:02
Score: 3
Natty:
Report link

Try disconnecting and deleting the existing runtime and create new runtime. this solved the issue for me

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

79550185

Date: 2025-04-02 09:13:01
Score: 0.5
Natty:
Report link

It turns out this was caused by Firebase wanting a newer NDK version than what was in my Flutter SDK defaults.

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

79550179

Date: 2025-04-02 09:12:01
Score: 0.5
Natty:
Report link

Do the changes below in your test.sh and test2.sh We have to pass the variables as arguments to the script.

test.sh (updated version):

#!/bin/bash

TESTVARIABLE=hellohelloheloo
./test2.sh ${TESTVARIABLE}

test2.sh (updated version):

#!/bin/bash

echo ${1}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Theri Muthu Selvam

79550177

Date: 2025-04-02 09:11:01
Score: 0.5
Natty:
Report link

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>3D Wheel Menu with JSON Events</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            min-height: 100vh;
            background: #f5f5f5;
            font-family: Arial, sans-serif;
        }
        .wheel-container {
            perspective: 1000px;
            width: 250px;
            height: 400px;
            position: relative;
            border: 0px solid #000;
            padding: 35px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            right: 0;
        }
        .wheel {
            width: 200px;
            height: 350px;
            position: relative;
            margin: 0 auto;
            transform-style: preserve-3d;
            transition: transform 0.1s linear;
            transform: rotateX(0deg);
        }
        .wheel__segment {
            position: absolute;
            width: 100%;
            height: 40px;
            top: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #ddd;
            border: 1px solid #aaa;
            transform-origin: 50% 0;
            color: #333;
            font-size: 14px;
            font-weight: bold;
            transition: box-shadow 0.3s ease;
        }
        .wheel__segment span {
            transform: translateZ(120px);
        }
        .wheel__segment:hover {
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }
        /* Styling for contentview */
        #contentview {
            position: absolute;
            left: 30px;
            top: 50px;
            width: 400px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            font-size: 16px;
        }
    </style>
</head>
<body>
    <div class="wheel-container">
        <div class="wheel"></div>
    </div>

    <!-- Contentview div where item info will be shown -->
    <div id="contentview">
        <h2>Practical application of the source code and ideas of this article.</h2><br>
        <p id="item-info">Click on an item to see its details here.</p>
    </div>

    <script>
    (function($) {
        const spinSound = new Audio('https://cdn.pixabay.com/download/audio/2025/01/19/audio_fca0fdbc60.mp3?filename=wind-swoosh-short-289744.mp3');
        const $wheel = $('.wheel');
        const segmentCount = 20;
        const segmentAngle = 360 / segmentCount;
        const wheelHeight = $wheel.height();
        const radius = wheelHeight / 2;
        const segmentHeight = (2 * Math.PI * radius) / segmentCount;

        // Data for items on the wheel
        const items = [
            { 
                id: 1, 
                title: 'Item 1', 
                Action: 'click', 
                Event: () => displayContent('Item 1', 'Details of Item 1') 
            },
            { 
                id: 2, 
                title: 'Item 2', 
                Action: 'dblclick', 
                Event: () => displayContent('Item 2', 'Details of Item 2') 
            },
            { 
                id: 3, 
                title: 'Item 3', 
                Action: 'click', 
                Event: () => displayContent('Item 3', 'Details of Item 3') 
            },
            { 
                id: 4, 
                title: 'Item 4', 
                Action: 'dblclick', 
                Event: () => displayContent('Item 4', 'Details of Item 4') 
            },
            { 
                id: 5, 
                title: 'Item 5', 
                Action: 'click', 
                Event: () => displayContent('Item 5', 'Details of Item 5') 
            },
            { 
                id: 6, 
                title: 'Item 6', 
                Action: 'dblclick', 
                Event: () => displayContent('Item 6', 'Details of Item 6') 
            }
        ];

        // Extend items array to match segment count
        const extendedItems = [];
        for (let i = 0; i < segmentCount; i++) {
            extendedItems.push(items[i % items.length]);
        }

        // Function to create segments on the wheel
        for (let i = 0; i < segmentCount; i++) {
            const angle = segmentAngle * i;
            const item = extendedItems[i];
            const $segment = $('<div>', {
                class: 'wheel__segment',
                'data-index': i
            }).css({
                'transform': `rotateX(${angle}deg) translateZ(${radius}px)`,
                'height': segmentHeight
            }).html(`<span>${item.title}</span>`).appendTo($wheel);

            // Attach event handlers
            $segment.on(item.Action, function() {
                item.Event();  // Trigger event from JSON data
            });
        }

        // Function to update contentview div with item details
        function displayContent(title, details) {
            $('#item-info').html(`<strong>${title}</strong><br>${details}`);
        }

        // Function to handle the size of the wheel dynamically
        function changeWheelSize(width, height) {
            const $container = $('.wheel-container');
            const $wheel = $('.wheel');
            $container.css({
                width: width + 'px',
                height: height + 'px'
            });

            $wheel.css({
                width: (width - 70) + 'px',
                height: (height - 70) + 'px'
            });

            const newWheelHeight = $wheel.height();
            const newRadius = newWheelHeight / 2;
            const newSegmentHeight = (2 * Math.PI * newRadius) / segmentCount;

            $('.wheel__segment').each(function(i) {
                const angle = segmentAngle * i;
                $(this).css({
                    'transform': `rotateX(${angle}deg) translateZ(${newRadius}px)`,
                    'height': newSegmentHeight
                });
            });
        }

        // Call function to adjust wheel size
        changeWheelSize(250, 500);

        let currentRotation = 0;
        let isDragging = false;
        let startY = 0;
        let lastY = 0;
        let lastTime = 0;
        let velocity = 0;
        let animationId = null;

        // Function to play sound when wheel rotates
        function playSpinSound() {
            spinSound.currentTime = 0;
            spinSound.play();
        }

        // Function to update wheel rotation
        function updateWheel() {
            $wheel.css('transform', `rotateX(${currentRotation}deg)`);
            playSpinSound();
        }

        // Mouse and touch event handlers for dragging
        $wheel.on('mousedown touchstart', function(e) {
            e.preventDefault();
            isDragging = true;
            startY = getEventY(e);
            lastY = startY;
            lastTime = performance.now();
            cancelAnimationFrame(animationId);
            velocity = 0;
        });

        $(document).on('mousemove touchmove', function(e) {
            if (!isDragging) return;
            e.preventDefault();
            const currentY = getEventY(e);
            const deltaY = currentY - lastY;
            currentRotation -= deltaY * 0.5;
            velocity = -deltaY / (performance.now() - lastTime) * 15;
            lastY = currentY;
            lastTime = performance.now();
            updateWheel();
        });

        $(document).on('mouseup touchend', function() {
            if (!isDragging) return;
            isDragging = false;
            if (Math.abs(velocity) > 0.5) {
                applyMomentum();
            }
        });

        function getEventY(e) {
            return e.type.includes('touch') ? e.touches[0].pageY : e.pageY;
        }

        function applyMomentum() {
            const friction = 0.96;
            velocity *= friction;
            if (Math.abs(velocity) > 0.5) {
                currentRotation += velocity;
                updateWheel();
                animationId = requestAnimationFrame(applyMomentum);
            }
        }
    })(jQuery);
    </script>
</body>
</html>

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: danieldac1819

79550172

Date: 2025-04-02 09:09:00
Score: 1.5
Natty:
Report link

As commented by @Tzane , I ended up using enums. It was a pain to define an enumerator for each specific test, but this way I was able to require all test reporting results to be of type enum , which forces the strings to be static each time.

To be honest, my main takeaway is that the main test results should definitely not be reported as a string, because it requires more work to parse and analyze later.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Tzane
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: tigerninjaman

79550171

Date: 2025-04-02 09:08:00
Score: 3.5
Natty:
Report link

It's supported in Safari 16.4

https://webkit.org/blog/13966/webkit-features-in-safari-16-4/

I think all browsers now support this.

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

79550166

Date: 2025-04-02 09:05:59
Score: 0.5
Natty:
Report link

This is the solution I came up with, which is completely dynamic so df_criterias can have as many condition columns as it wants

df_criterias = spark.createDataFrame(
[
    ("IN ('ABC')", "IN ('XYZ')", "<2021", "", "Top"),
    ("IN ('ABC')", "NOT IN ('JKL','MNO')", "IN ('2021')", "", "Bottom"),
    ],
["CriteriaA", "CriteriaB", "CriteriaC", "CriteriaD", "Result"]
)

dict = {
"CriteriaA" : "ColumnA",
"CriteriaB" : "ColumnB",
"CriteriaC" : "ColumnC",
"CriteriaD" : "ColumnD"
}

# Rename rule columns and retrieve only columns defined in dictionary above
df_criterias_renamed = df_criterias.select([col(x).alias(dict.get(x, x)) for x in dict.keys()])
 
# Set up all combinations of rules
rows_criterias = df_criterias_renamed.distinct().collect()
 
# Cycle through rules
for row in rows_criterias:
    filters = row.asDict()
    # Ignore if filter is blank
    where_clause_list = [f"{k} {v}" for k,v in filters.items() if v != "" and k!= "Result"]
    # Combine all clauses together
    where_clause = " AND ".join(where_clause_list)
    print(where_clause)

enter image description here

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

79550137

Date: 2025-04-02 08:52:55
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 63 - Vikas Kumar 4rd Sem.

79550127

Date: 2025-04-02 08:48:54
Score: 1.5
Natty:
Report link

I had the same problem. Try to insert a SliverPersistentHeader (with the same height as your AppBar widget) as the first sliver in you CustomScrollView.

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

79550121

Date: 2025-04-02 08:45:54
Score: 0.5
Natty:
Report link

The option to Move to Position is not available for the uses at the Stakeholder access level in this Azure DevOps Organization. You may evaluate if it is necessary to assign a more privileged license for that user like Basic (5 free Basic licenses) and request the user to check again once granted.

enter image description here

Refer to the documents below for further information.

About access levels - Azure DevOps | Microsoft Learn

Billing FAQs - Azure DevOps | Microsoft Learn

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Alvin Zhao - MSFT

79550101

Date: 2025-04-02 08:36:52
Score: 2.5
Natty:
Report link

If using custom containers, you must somehow pass env variables from main azure app service process (KUDU) to your container. For example in entrypoint or cmd you could do printenv > .env and it will create .env file with all the env vars within app service that KUDU knows about

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

79550086

Date: 2025-04-02 08:30:50
Score: 1
Natty:
Report link

try using an !important for your font-family

.bodytxt {
    font-family: 'Resistance', sans-serif !important;
    ...
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: HL03

79550076

Date: 2025-04-02 08:25:48
Score: 4
Natty:
Report link

I used sqlite:///:localhost: and it solved. Thanks to @rasjani for the suggestion!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @rasjani
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ryan

79550075

Date: 2025-04-02 08:25:48
Score: 2.5
Natty:
Report link

If you still struggling to find the solution then just make sure some of python version doesn't support tensorflow, then you have only option to uninstall it and then supported version.

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

79550074

Date: 2025-04-02 08:25:48
Score: 1
Natty:
Report link

For future readers, Postgres has a built in solution, REPLACE().

Here's it added to my CONCAT() line to accomplish the desired result:

REPLACE(CONCAT({concat_columns}), '"', '')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Python_Learner

79550059

Date: 2025-04-02 08:18:46
Score: 2
Natty:
Report link

Configure your Keycloak client as “bearer-only” and use OWIN’s (or ASP.NET Core’s) JWT middleware to validate tokens. Set your issuer, audience, and signing key (ideally retrieved from Keycloak’s OIDC discovery endpoint) to match Keycloak’s settings. This lets your .NET MVC app validate the bearer tokens issued by Keycloak.

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

79550046

Date: 2025-04-02 08:13:45
Score: 0.5
Natty:
Report link

Hang on.... wasn't Composer supposed to mean we had one-click installation?

So how come when I copy the link out of the Drupal module page e.g.

composer require 'drupal/blog:^3.1'

I get the error message

"Root composer.json requires drupal/blog, it could not be found in any version, there may be a typo in the package name."

And the proposed solutions are that I have to write and run code?

Blog is not the only package I'm having this problem with. Yesterday, I solved it by installing a previous version (2.x instead of the current 3.x) for a different package. And it's on both D10 and D11 with the latest version of Composer (which D11 reports isn't the right one) and approved PHP.

This is silly.

Reasons:
  • Whitelisted phrase (-2): I solved
  • RegEx Blacklisted phrase (1): I get the error
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nigel Morris-Cotterill

79550038

Date: 2025-04-02 08:10:45
Score: 3
Natty:
Report link

Primefaces CSP doenst work with f:ajax!

USE

p:ajax!

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: László Tóth

79550029

Date: 2025-04-02 08:06:44
Score: 2.5
Natty:
Report link

{ "name": "Fun City Lag 11", "displayName": "Fun City Lag 11" } react-native run-android --variant=release

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

79550018

Date: 2025-04-02 08:01:42
Score: 1
Natty:
Report link

Yo, so the main reason that its not working is because the stages keyword in your .gitlab.yml file overwrites the stages. Since .pre is a special stage that isn't listed in .gitlab.yml, it gets ignored when you define stages:.

Just add - .pre to stages .

include:
  - local: "prestage.yml"

stages:
  - .pre  # Add here
  - build
  - test

job1:
  stage: build
  script:
    - echo "This job runs in the build stage."

job2:
  stage: test
  script:
    - echo "This job runs in the test stage."

Other settings leave as it is was. And it should work

Reasons:
  • Blacklisted phrase (1): its not working
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: falcon

79550015

Date: 2025-04-02 08:00:41
Score: 1.5
Natty:
Report link

=SUMPRODUCT((A2:A7=G1)*(B1:E1=G2)*B2:E7)

  1. SUMPRODUCT processes arrays efficiently without needing multiple lookup functions.

  2. Works well if the dataset is structured properly.

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

79550010

Date: 2025-04-02 07:59:41
Score: 4.5
Natty:
Report link

Just by looking at your code, I haven’t tested it - your custom exception (STOP) logic currently contains a return statement directly before the exception. Exception is never raised.

How to fix? Remove the aforementioned return statement

Reasons:
  • RegEx Blacklisted phrase (1.5): How to fix?
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: kris-szczepaniak

79550005

Date: 2025-04-02 07:57:40
Score: 1.5
Natty:
Report link

On Windows 11, as of today, right-click + "Run with PowerShell" does not work.

The policy error still appears, even with RemoteSigned set at all scopes.

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

79550004

Date: 2025-04-02 07:57:40
Score: 1
Natty:
Report link

If the fixed navbar is pushing up on only one of your pages, it’s likely due to some CSS or layout issue specific to that page. Here are a few steps you can take:

  1. Check for Padding/Margin Issues: Ensure that your page content has the right padding-top to account for the navbar height. You can add a margin-top equal to the height of the fixed navbar to prevent the content from being pushed up.

  2. Inspect Custom CSS: If you’ve customized the navbar or page styles, make sure there are no conflicting styles that could affect the layout.

  3. Viewport Differences: Sometimes, different pages may have slight variations in viewport height or other elements that cause layout shifts. Ensure consistency across all pages.

For the best long-term results, you might want to consider using a solid structure and layout framework—similar to how affordable metal roofing offers long-term stability and protection for your home. Consistency and careful attention to the details make a big difference.

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

79550003

Date: 2025-04-02 07:56:40
Score: 4
Natty:
Report link

Thanks for reporting this. Unfortunately, there is no such option to dump all configuration at runtime, but you can always debug nginx process to dump configuration, as mentioned in official docs: https://docs.nginx.com/nginx/admin-guide/monitoring/debugging/#dumping-nginx-configuration-from-a-running-process

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CRS-Dev

79549999

Date: 2025-04-02 07:54:39
Score: 1
Natty:
Report link

If anyone run into this issue while defining BuildConfig filed with type of string in your gradle file, then the trick for it to work is to add extra slash before \n. Like this:

buildConfigField("String", "YourStringVariable", "\"First Line.\\nSecond Line.\"")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vkalns86

79549998

Date: 2025-04-02 07:53:39
Score: 4.5
Natty: 5
Report link

https://github.com/steveio/CircularBuffer in case anyone interested and https://github.com/steveio/ArrayStats for running trend analysis

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

79549997

Date: 2025-04-02 07:52:38
Score: 1
Natty:
Report link

This is indeed a bug. The cell content can't be broken anywhere and exceeds the space horizontally. Basically you can:

The fix in iText Core won't help you much I believe as you will see something like this as the result

enter image description here

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

79549995

Date: 2025-04-02 07:51:38
Score: 1.5
Natty:
Report link

I believe this is specifically a Windows 10 issue when running via terminal. I found out that you could copy paste this line into your terminal, then run it again. It should work this time.

reg add HKCU\Console /v VirtualTerminalLevel /t REG_DWORD /d 1 /f

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

79549988

Date: 2025-04-02 07:49:37
Score: 0.5
Natty:
Report link

Based on the answer of @Poat, I found that the optional features can be queried using this management class:

var managementClass = new ManagementClass("Win32_OptionalFeature");
var featureObjects = managementClass.GetInstances();

Then, go through each object and check its name. The install state can be queried to get whether the optional feature is available or not:

foreach (var featureObject in featureObjects)
{
    if ((string)featureObject.Properties["Name"].Value == "TelnetClient" 
        && (uint)featureObject.Properties["InstallState"].Value == 1)
    {
        // Feature installed
    }
}

Be careful: The name value is different then the description you see in Windows. You could also query the description property to check the name as you see it. For more information, see the Microsoft documentation: https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-optionalfeature

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Poat
  • Low reputation (0.5):
Posted by: Sven Möhring

79549983

Date: 2025-04-02 07:45:37
Score: 3
Natty:
Report link

Please provide more details.

I think the sidebarContent is a ref from useRef. The ref shouldn't be used as deps of useEffect. I will always be the same reference and the react won't rerender. Please try to use useState

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hao-Jung Hsieh

79549973

Date: 2025-04-02 07:41:35
Score: 2
Natty:
Report link

Are you using Business Process Tracking?

We had the same problem, also around 13 minutes per loop iteration. For us it turned out that our Data Explorer instance was stopped and the workflow could not send its metadata to Data Explorer. Each loop it took 13 minutes (probably because of the retries) before it gave up and flow continued.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rob Fox

79549967

Date: 2025-04-02 07:39:35
Score: 1
Natty:
Report link

Following the example code and comment given by OP, event A, B, C, D is referred.

A is P14273
B is AX14273

C is H14273:O14273
D is Q14273:AW14273
E is AY14273:CH14273 (I add this for clearer example)

[ Condition ]

(in sequence of priority..)

IF any value in C, D, E is later or the same day as B. Then, it will not be evaluated
IF C, D, E date is before B. Then, It will be evaluated

IF abs(A-B)< abs(B-C) , for all C. Then, Cond1 is TRUE
IF abs(A-B)< abs(B-D) , for all D. Then, Cond2 is TRUE
IF abs(A-B)< abs(B-E) , for all E. Then, Cond3 is TRUE

IF and(Cond1,Cond2,Cond3) is TRUE. Then, Output is "Yes"

Else, Output is "No"

IF C, D, E date is before B Then, Output is "" (nothing) <-- (I add this for clearer example)

[ Execution ]

Example for considering only A,B,C :

=IF(MIN(H14273:O14273)\>=AX14273,"",  
    IF(ABS(P14273 - AX14273)   
       \< MAX(   
         ABS( AX14273 - IF(H14273:O14273\>=AX14273,AX14273,H14273:O14273) )  
       ),  
    "Yes" , "No")  
  )  

considering all A-E :

=IF(MIN(H14273:O14273)\>=AX14273,"",  
   IF(ABS(P14273 - AX14273)  
      \< MAX(  
         ABS( AX14273 - IF(H14273:O14273\>=AX14273,AX14273,H14273:O14273),  
         ABS( AX14273 - IF(Q14273:AW14273\>=AX14273,AX14273,Q14273:AW14273),  
         ABS( AX14273 - IF(AY14273:CH14273\>=AX14273,AX14273,AY14273:CH14273) )  
      ),  
   "Yes" , "No")  
 )

[ Notes ]

=IF(H14273:O14273>=AX14273,AX14273,H14273:O14273)

is an array formula, so if it is typed into a cell.. it will spill to the right.

ABS(AX14273-IF(H14273:O14273>=AX14273,AX14273,H14273:O14273)

will '0' the dates later than AX14273, then find the maximum date difference in the range.

Please share if it works/not/understandable. \(^_^)/

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: p._phidot_

79549961

Date: 2025-04-02 07:36:34
Score: 2.5
Natty:
Report link

Delete the .vs directory in the solution directory and restarted VS 2019. Now the form is loading again.

Solution is here:

https://developercommunity.visualstudio.com/t/error-opening-windows-forms-designer-the-designer/941165

Reasons:
  • Whitelisted phrase (-1): Solution is
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ihsani SAHBAZ

79549960

Date: 2025-04-02 07:36:34
Score: 0.5
Natty:
Report link

To prevent line overlapping and ensure media queries work effectively for large screens, consider the following strategies:

# Preventing Line Overlapping

1. *Line Height*: Adjust the line height of your text elements to create sufficient spacing between lines. A good starting point is a line height of 1.5 to 2 times the font size.

2. *Margin and Padding*: Ensure adequate margin and padding between text elements to prevent them from running into each other.

3. *Font Size and Family*: Choose a font size and family that is clear and readable, even at larger screen sizes.

4. *Text Wrap*: Use the `word-wrap` or `overflow-wrap` properties to prevent long words from overflowing their containers.

# Media Queries for Large Screens

1. *Define Breakpoints*: Establish clear breakpoints for large screens (e.g., 1200px, 1800px, 2400px) to target specific screen sizes.

2. *Use Min-Width*: Instead of using `max-width`, use `min-width` to target screens that are at least a certain width.

3. *Test and Refine*: Test your media queries on various devices and screen sizes to ensure they're working as intended.

4. *Prioritize Content*: Use media queries to prioritize content on larger screens, such as displaying more columns or showcasing high-priority information.

# Example Media Query

/* Target screens with a minimum width of 1800px */

@media only screen and (min-width: 1800px) {

/* Adjust font sizes, margins, and padding as needed */

body {

font-size: 18px;

}

.container {

margin: 40px auto;

padding: 20p

x;

}

}

By implementing these strategies, you can prevent line overlapping and create effective media queries that cater to Large screens.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @media
  • Low reputation (1):
Posted by: Jemily Monte

79549954

Date: 2025-04-02 07:34:33
Score: 4
Natty:
Report link

I ended up using the MediaStore API, and that works now.

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

79549953

Date: 2025-04-02 07:33:33
Score: 1
Natty:
Report link

to return IDs that have at least one "in" status you may find this query suitable-

SELECT DISTINCT id
FROM status
WHERE status = 'in';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yuvraj

79549950

Date: 2025-04-02 07:33:33
Score: 2
Natty:
Report link

As of cmake 4.0.0 there is a generic way to specify this target property. DEBUGGER_WORKING_DIRECTORY was added which can be set as a target property for executables. This value can be picked up by tooling (IDEs for example) via the cmake file API.

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

79549944

Date: 2025-04-02 07:30:32
Score: 3
Natty:
Report link

the easiest way is download repo and import as library

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

79549942

Date: 2025-04-02 07:29:32
Score: 1
Natty:
Report link

You have to create simulator build in your eas.json file like :

"development-simulator": {
  "developmentClient": true,
  "distribution": "internal",
  "ios": {
    "simulator": true // The important part!!
  }
},

Then you need to run your build, when it's finished expo will ask Install and run the iOS build on a simulator? then select Y and app will be installed on your simulator. Cheers :)

Reasons:
  • Blacklisted phrase (1): Cheers
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dariusz