79701787

Date: 2025-07-15 08:50:24
Score: 1
Natty:
Report link

The initial answer from @Daniel put me on the right track. However, the new level must be given a name, and editing its label afterwards is a good idea.

Here's the code in full. The new lines are the two that use the forcats function-

# Define the data:-
df <- data.frame(pat = c(1:90))
df$by <- ifelse(df$pat < 30, "A", "B")
df$lvl <- ifelse(df$pat < 30, NA, ifelse(df$pat < 60, "Red", "Blue"))

# Convert the NA level to something that will predictably appear at the
# bottom of an alphabetical list, then edit its label to something 'legible' 
df$lvl_f <- forcats::fct_na_value_to_level(df$lvl, level = 'zz_Missing')
df$lvl_f <- forcats::fct_recode(df$lvl_f, Missing = "zz_Missing")

# Output in GTSummary
df |> select(by, lvl_f) |>
  tbl_summary(by = by,
              percent = "column",
              type = list(all_continuous() ~ "continuous2"),
              missing = "ifany",
              missing_text = "Missing",
              missing_stat = "{N_miss} ({p_miss})"
  ) |>
  modify_post_fmt_fun(
    fmt_fun = ~ifelse(. == "0 (NA%)", "0", .),
    columns = all_categorical()
  ) |> 
  add_overall(last = TRUE)

And here's the updated output, with corrected percentage. Thanks @Daniel (for the answer, and a great package in GTSummary!).
enter image description here

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

79701783

Date: 2025-07-15 08:45:22
Score: 1.5
Natty:
Report link
dd(print_r($data,true));

:)

--- writing useless characters because of ridiculous stackoverflow minimal character limits

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • Has code block (-0.5):
Posted by: user151496

79701769

Date: 2025-07-15 08:36:20
Score: 0.5
Natty:
Report link

I encountered the same issue and simply solved it by removing the

;

at the beginning of:

extension=soap

Restarted the command prompt, and ran

php artisan serve

And it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Peter Ochieng

79701753

Date: 2025-07-15 08:24:17
Score: 2
Natty:
Report link

p{
  font-size:50px;
  transform: scale(1, 5);
}
<p>JINI IV</p> 

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

79701750

Date: 2025-07-15 08:21:16
Score: 1.5
Natty:
Report link

The title u could set an absolute shade using a prop. Or you could set the color to contrast by design with:

--webkit-text-stroke: <color>;
color: <color>;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tachaeus

79701748

Date: 2025-07-15 08:21:16
Score: 1
Natty:
Report link

In pthread, it provides an indirect way.

static bool isSingleThreaded = true ;
static pthread_once_t onceControl = PTHREAD_ONCE_INIT ;

void MarkMultiThreaded()
{
    isSingleThreaded = false ;
}

void CheckThreadStatus()
{
    pthread_once( & onceControl , MarkMultiThreaded ) ;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: YUKI N

79701739

Date: 2025-07-15 08:14:14
Score: 2
Natty:
Report link

Anyway, the /t says to only copy the directory structure, and the /e says to include empty directories in the structure. It's that simple.

xcopy <source> [<destination>] /t /e
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user31044436

79701732

Date: 2025-07-15 08:02:11
Score: 0.5
Natty:
Report link

I recently encountered the same issue when I wanted to create a local directory for small businesses in my city. I found that combining a few methods worked best for me:

1. Google Maps API: I used the Google Places API to search for businesses by keyword and location. It provides the name, address, and exact latitude and longitude. It’s free up to a certain limit, but it's very reliable.

2. OpenStreetMap and Overpass API: If you want a free option, OpenStreetMap is excellent. I used the Overpass Turbo tool to query business categories, like amenity=restaurant, for my region and got coordinates as well.

3. Scraping Local Directories: For additional data, I manually collected listings from popular local directories and then used a simple geocoding tool, like Google Sheets with the Geocode plugin, to convert addresses to coordinates.

4. TekMag Listing (My Tip): I also listed my own site on TekMag Listing, which is a good place to discover and verify local businesses, especially if you're looking to build backlinks or improve local SEO at the same time.

My advice is to always double-check the data and respect site scraping rules. With these tools, I created a solid local map of businesses in just a few days.

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

79701731

Date: 2025-07-15 08:02:11
Score: 2
Natty:
Report link

Helps to me, convert string to integer:

$offset = (int) $offset;
$limit = (int) $limit;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: EarthLing

79701727

Date: 2025-07-15 07:56:10
Score: 1.5
Natty:
Report link

change url to this

  url: 'index.php?route=extension/module/log_order.log&user_token={{ user_token }}&order_id=' + orderId,
       
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: websky group

79701725

Date: 2025-07-15 07:55:10
Score: 3.5
Natty:
Report link

There's sql table that drizzle created, edit this table with pgadmin

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

79701718

Date: 2025-07-15 07:46:08
Score: 0.5
Natty:
Report link

This is an older question but still appears at the top of a google search so I will update with information from 2023.

Apple introduced support for Web Push in webkit iOS and iPadOS 16.4 (2023) https://webkit.org/blog/13878/web-push-for-web-apps-on-ios-and-ipados/

This change means that apps such as PWA (Progressive Web Apps) or side loaded apps can also receive push notifications. https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps Progressive Web Apps are apps built in Html/JS which can run cross platform without different code bases.

Push notifications use a IETF open standard which can be used for both iOS and Android devices.
https://web.dev/articles/push-notifications-how-push-works

This cumulates to mean that its not longer required to have an apple account to create apps for iOS AND for these apps to receive push notifications.

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

79701717

Date: 2025-07-15 07:44:07
Score: 0.5
Natty:
Report link

To ensure the uniqueness of multiple fields like label and table-id in a MySQL database using CodeIgniter, you have a few reliable options:

Option 1: Add a Unique Composite Index in the Database

You can enforce uniqueness at the database level by creating a composite unique key:

ALTER TABLE context ADD UNIQUE KEY unique_label_table (label, table_id);

This ensures that the combination of label and table_id is unique — so duplicate inserts will automatically fail.

Option 2: Check Before Insert in CodeIgniter

If you want to handle it in CodeIgniter before inserting, you can do:

$exists = $this->db->get_where('context', [

'label' => $item['label'],

'table_id' => $node['id']

])->row();

if (!$exists) {

$this->db->insert('context', [

'type_flow' => $node['name'],

'title' => $node['data']['title'],

'label' => $item['label'],

'type' => $item['type'],

'value' => $item['value'],

'table_id' => $node['id'],

]);

}

This checks whether a record with the same label and table_id already exists before inserting.

(Best Practice)

For data integrity, it's best to combine both:

Add a unique index in MySQL to prevent duplicates.

Add a CodeIgniter check to avoid insert errors.

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

79701715

Date: 2025-07-15 07:43:06
Score: 1
Natty:
Report link

I was able to resolve this by adding the script to my package.json file

 "cucumber-js --tags 'not @skipTest' --config=cucumber.js || true"

So when I run npm run test It runs all my tests except the one tag as skipTest

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

79701709

Date: 2025-07-15 07:35:04
Score: 0.5
Natty:
Report link
$query = $this->db->table('context')->where('table_id', $node['id'])->where('type_flow', 'conditions');

                     
                        
                        if ($query != null) {
                            continue;
                        } else {
                            $this->db->table('context')->insert([
                                'type_flow' => $node['name'],
                                'title' => $node['data']['title'],
                                'label' => $item['field'],
                                'type' =>  $item['type'],
                                'value' => $item['value'],
                                'table_id' => $node['id'],
                            ]);
                        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: qboshenkiy0_ Shirufietto

79701705

Date: 2025-07-15 07:28:03
Score: 2.5
Natty:
Report link

You can store it in the database, and then encrypt it with sha256

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

79701703

Date: 2025-07-15 07:28:03
Score: 1.5
Natty:
Report link

Try move

<local:SingleView />

out of DataTemplate.

This would be destroyed and re-created after remote desktop session switched.

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

79701699

Date: 2025-07-15 07:26:02
Score: 3
Natty:
Report link

Just copy the plugins directory in Qt to your executable program directory, and you're all set.

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

79701695

Date: 2025-07-15 07:25:02
Score: 1.5
Natty:
Report link

To automatically switch Node versions per project, use nvm with a .nvmrc file. Just place the desired Node version in .nvmrc, then run nvm use. For full automation, add a script to your shell config or use tools like avn to auto-switch on directory change.

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

79701690

Date: 2025-07-15 07:20:01
Score: 1.5
Natty:
Report link

The best way to understand the issue is to check the runtime logs in the Vercel panel and identify the actual cause. That's how I solved mine. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammad Taimoor Hussain

79701688

Date: 2025-07-15 07:17:00
Score: 0.5
Natty:
Report link

You just have to:

create a pnpm-workspac.yaml and write:

executionEnv:
  nodeVersion: 22.14.0

launch any scripts declared in you package.json using npx pnpm run <command>

You'll see that the node version you chose will be fetched and used.

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

79701673

Date: 2025-07-15 06:58:56
Score: 1.5
Natty:
Report link

It may have been related to a bug in MUI. This is for Autocomplete but its similar:
https://github.com/mui/material-ui/issues/46131
When had a similar issue on TextFiled, gemini.google stated that it is a known bug in MUI that sometimes the render does not take place and it advises to force it by means of a key.

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

79701670

Date: 2025-07-15 06:52:55
Score: 3.5
Natty:
Report link

mylist.Select( (a,b) => new { a, b }).OrderByDescending(x=>x.b).Select(x=>x.a)

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

79701648

Date: 2025-07-15 06:32:50
Score: 0.5
Natty:
Report link

So, it turned out that the problem was in the multiline string literal for query.

@Query("""
    SELECT
        u.customerId AS customerId,
        r.id.amountThreshold AS amountThreshold,
        SUM(r.amount) AS amount
    FROM RecordEntity r
    JOIN UserEntity u ON r.id.accountNumber = u.accountNumber
    WHERE u.customerId IN ?1
    GROUP BY u.customerId, r.id.amountThreshold
    ORDER BY u.customerId, r.id.amountThreshold
""")

Looks like Hibernate adds special characters somewhere inside and then cannot recognize aliases..

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

79701644

Date: 2025-07-15 06:27:49
Score: 1.5
Natty:
Report link

Try putting this in application-local.yaml:

otel:
  sdk:
    disabled: true
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: igobivo

79701637

Date: 2025-07-15 06:19:47
Score: 4
Natty:
Report link

Find a tool, https://sqliagram.pages.dev/. It visualizes SQL in a DAG, this may help

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

79701631

Date: 2025-07-15 06:12:45
Score: 1
Natty:
Report link

There can be many reasons for being two times slower in dev vs. prod. Maybe you have other workloads in prod, so fewer documents remain in cache for this query.

Running with explain("executeStats") can help compare the work done and the time.

Note that if you can group before lookup (usually possible with many-to-one relationships, as you can group on the key, it will be faster in both cases

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

79701630

Date: 2025-07-15 06:10:45
Score: 0.5
Natty:
Report link

// === MainGame.java === package com.prajval.battleroyale;

import com.badlogic.gdx.Game;

public class MainGame extends Game { @Override public void create() { this.setScreen(new GameScreen()); } }

// === GameScreen.java === package com.prajval.battleroyale;

import com.badlogic.gdx.Screen; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.utils.Array; import com.badlogic.gdx.graphics.glutils.ShapeRenderer;

public class GameScreen implements Screen {

SpriteBatch batch;
Texture mapTexture;
Player player;
Array<Bullet> bullets;
Array<Enemy> enemies;
OrthographicCamera camera;
ShapeRenderer shapeRenderer;

float safeZoneX = 100;
float safeZoneY = 100;
float safeZoneSize = 600;
float shrinkTimer = 0;

@Override
public void show() {
    batch = new SpriteBatch();
    mapTexture = new Texture("map.png");
    player = new Player();
    bullets = new Array<>();
    enemies = new Array<>();
    enemies.add(new Enemy(600, 300));

    shapeRenderer = new ShapeRenderer();

    camera = new OrthographicCamera();
    camera.setToOrtho(false, 800, 480);
}

@Override
public void render(float delta) {
    shrinkTimer += delta;
    if (shrinkTimer > 5f && safeZoneSize > 100) {
        safeZoneSize -= 10;
        safeZoneX += 5;
        safeZoneY += 5;
        shrinkTimer = 0;
    }

    player.update(delta);

    if (player.shooting) {
        bullets.add(new Bullet(player.x + 16, player.y + 16));
        player.shooting = false;
    }

    for (Bullet b : bullets) {
        b.update(delta);
    }

    for (Enemy e : enemies) {
        e.update(delta);
    }

    for (Bullet b : bullets) {
        for (Enemy e : enemies) {
            if (e.alive && e.hitBy(b)) {
                e.alive = false;
            }
        }
    }

    if (!player.inSafeZone(safeZoneX, safeZoneY, safeZoneSize)) {
        player.health -= delta * 5;
    }

    camera.position.set(player.x, player.y, 0);
    camera.update();

    Gdx.gl.glClearColor(0, 0.3f, 0, 1);
    Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);

    batch.setProjectionMatrix(camera.combined);
    batch.begin();
    batch.draw(mapTexture, 0, 0);
    batch.draw(player.texture, player.x, player.y);
    for (Bullet b : bullets) {
        batch.draw(b.texture, b.x, b.y);
    }
    for (Enemy e : enemies) {
        if (e.alive) {
            batch.draw(e.texture, e.x, e.y);
        }
    }
    batch.end();

    shapeRenderer.setProjectionMatrix(camera.combined);
    shapeRenderer.begin(ShapeRenderer.ShapeType.Line);
    shapeRenderer.setColor(0, 1, 0, 1);
    shapeRenderer.rect(safeZoneX, safeZoneY, safeZoneSize, safeZoneSize);
    shapeRenderer.end();
}

@Override
public void dispose() {
    batch.dispose();
    mapTexture.dispose();
    player.dispose();
    shapeRenderer.dispose();
    for (Bullet b : bullets) {
        b.dispose();
    }
    for (Enemy e : enemies) {
        e.dispose();
    }
}

public void resize(int w, int h) {}
public void pause() {}
public void resume() {}
public void hide() {}

}

// === Player.java === package com.prajval.battleroyale;

import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Input; import com.badlogic.gdx.graphics.Texture;

public class Player { public float x = 400, y = 240; public float speed = 200; public float health = 100; public Texture texture; public boolean shooting = false;

public Player() {
    texture = new Texture("player.png");
}

public void update(float delta) {
    if (Gdx.input.isKeyPressed(Input.Keys.W)) y += speed * delta;
    if (Gdx.input.isKeyPressed(Input.Keys.S)) y -= speed * delta;
    if (Gdx.input.isKeyPressed(Input.Keys.A)) x -= speed * delta;
    if (Gdx.input.isKeyPressed(Input.Keys.D)) x += speed * delta;

    if (Gdx.input.isKeyJustPressed(Input.Keys.SPACE)) shooting = true;
}

public boolean inSafeZone(float zoneX, float zoneY, float zoneSize) {
    return x >= zoneX && x <= zoneX + zoneSize && y >= zoneY && y <= zoneY + zoneSize;
}

public void dispose() {
    texture.dispose();
}

}

// === Bullet.java === package com.prajval.battleroyale;

import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Rectangle;

public class Bullet { public float x, y; public float speed = 400; public Texture texture;

public Bullet(float x, float y) {
    this.x = x;
    this.y = y;
    texture = new Texture("bullet.png");
}

public void update(float delta) {
    x += speed * delta;
}

public Rectangle getBounds() {
    return new Rectangle(x, y, texture.getWidth(), texture.getHeight());
}

public void dispose() {
    texture.dispose();
}

}

// === Enemy.java === package com.prajval.battleroyale;

import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.Rectangle;

public class Enemy { public float x, y; public boolean alive = true; public Texture texture;

public Enemy(float x, float y) {
    this.x = x;
    this.y = y;
    texture = new Texture("enemy.png");
}

public void update(float delta) {
    // Idle behavior for now
}

public boolean hitBy(Bullet bullet) {
    return getBounds().overlaps(bullet.getBounds());
}

public Rectangle getBounds() {
    return new Rectangle(x, y, texture.getWidth(), texture.getHeight());
}

public void dispose() {
    texture.dispose();
}

}

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Override
  • Low reputation (1):
Posted by: Rakesh Ahire

79701623

Date: 2025-07-15 06:05:43
Score: 0.5
Natty:
Report link

It looks like you're facing an issue where the anchor build runs successfully but doesn't generate the IDL file in target/idl, even though there’s no visible error except:

\> Error: Could not build IDL

Given your stack (Anchor 0.31.1, Solana 2.0.25, Rust 1.88.0 on WSL Ubuntu), here are a few suggestions to help troubleshoot:

✅ Things to Double-Check:

1. Correct Program Structure:

Make sure your program has all public instructions properly exported. Anchor requires clear instruction definitions to generate the IDL.

2. Missing #[program] or #[derive(Accounts)] Macros:

If these macros are missing or misconfigured, Anchor might build the binary but fail to generate the IDL.

3. Cargo.toml Validity:

Ensure your lib.rs is set as the crate root in your Cargo manifest.

4. Outdated Anchor CLI Cache:

Sometimes ~/.anchor cache causes issues. Try:

rm -rf ~/.anchor

anchor clean

anchor build

5. Run with Verbose Flag:

Try running with anchor build --verbose to see deeper logs. It might expose where exactly IDL generation fails.

6. IDL Path Issue:

Check whether the IDL is being created but in a different path due to custom project structure.

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

79701620

Date: 2025-07-15 06:02:42
Score: 5.5
Natty: 5
Report link

May be it's Gradle JDK problem:

https://www.youtube.com/watch?v=3ByuOHZKeLE

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Weizhen Liu

79701609

Date: 2025-07-15 05:51:40
Score: 2.5
Natty:
Report link

can you please how you are saving the conversation reference as a dictionary, and what format does this data look like
I am trying a similar thing but struggling to save the conversation references

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): can you please
  • Low reputation (1):
Posted by: Aniket Mallick

79701595

Date: 2025-07-15 05:34:36
Score: 2
Natty:
Report link

So what I'm seeing is that your opening parenthesis/bracket is preceeded by a space -- if you look for that space and then the punctuation, maybe that will help?

So like something like this??

def extract_main_protein_name(name):
    """
    Extract the main protein name by removing descriptive parentheses/brackets
    while preserving functional ones (like ion charges).
    """
    # Remove descriptive content in parentheses/brackets that are preceded by a space
    # This regex looks for white space followed by an opening bracket/parenthesis, then removes everything until the end
    pattern = r'\s+[\(\[].*'
    cleaned_name = re.sub(pattern, '', name).strip()
    return cleaned_name

# Apply the function to clean protein names
df['Protein names'] = df['Protein names'].apply(extract_main_protein_name)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Pleasantly Bizarre

79701594

Date: 2025-07-15 05:33:35
Score: 1
Natty:
Report link

my "config.toml":

theme = "monokai"

my "languages.toml"

[[language]]
name = "c"
scope = "source.c"
injection-regex = "c"
file-types = ["c","h"]
comment-token = "//"
language-servers = [ "clangd" ]
indent = { tab-width = 4, unit = "  " }
auto-format = true
formatter = { command = "clang-format" }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: agrinevich

79701593

Date: 2025-07-15 05:32:35
Score: 2.5
Natty:
Report link

var Point = (function (1

2

function Point(x, y) •

345

67

this.x = (typeof

this. y = (typeof

!== 'undefined') ? x:

I== 'undefined' ) ? y

8

Point. prototype.clone = function () ‹ return new Point(this.x, this.y);

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gvrhartsaga J.

79701588

Date: 2025-07-15 05:25:33
Score: 1
Natty:
Report link

Remove

btnSort.Dispose();

and try.

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-1):
Posted by: senthilkumar2185

79701556

Date: 2025-07-15 04:39:23
Score: 2
Natty:
Report link

use --no-open instead

like this npx vite --no-open

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

79701554

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

You can use PasteButton to bypass the permission alert for iOS 16+.

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

79701552

Date: 2025-07-15 04:30:21
Score: 1
Natty:
Report link

For interpolation, the xarray documentation says: "linear and nearest methods return arrays including NaN, while other methods such as cubic or quadratic return all NaN arrays." You can also refer to the reference below for solutions.

Reference: https://docs.xarray.dev/en/latest/user-guide/interpolation.html#interpolating-arrays-with-nan

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

79701547

Date: 2025-07-15 04:21:19
Score: 1.5
Natty:
Report link

You need to link the other dependencies as well according to the sfml site, Make sure to put them in this order.. winmm.lib, sfml-system-s.lib(or sfml-system-s-d.lib if debug), then opengl32.lib;gdi32.lib; sfml-window-s.lib( or sfml-window-s-d.lib if debug) , then freetype.lib; sfml-graphics-s.lib( or sfml-graphics-s-d.lib if debug), then flac.lib;vorbisenc.lib;vorbisfile.lib;vorbis.lib;ogg.lib, tben sfml-audio-s.lib( or sfml-audio-s-d.lib if debug), then ws2_32.lib; sfml-netowork-s.lib( or sfml-network-s-d.lib if debug).. when putting SFML_STATIC; in the preprocessor settings, as they will all need to be linked in order, and do not put the .dll files into the folder you .exe file appears after its build (usually at (ProjectDir)/x64, which has two folders, Debug and Release depending on what you built it for, x64[Debug] or x64[Release],, or.. if you built for win 32(x86), then the .exe file will build into the (ProjectDir)/Release of (ProjectDir)/Debug folders, depending on what you are trying to build for .. If you set that build config up for that setup and it is static, then you do all you did already but in the additional linker serttings, put them all in the exact order as I stated, then make sure the .exe folder where it will build, does not have any .dll files for sfml at all. then when you build it, you can give to yourfriends and they dont have to download shit to play it, because you made it static, no extra files are needed to run it.. take it places have fun.. if you do not need to do it static and you erase it, then yes all you need are the sfml-*.lib files in the additional dependencies as it will attempt to load them from your machine instead, which the settings already have those dlls ready to go so you dont need the extra ones, but if you try to run the .exe file on another machine, who dont have the .dlls needed, it will not run, so you need to give your friends the .exe with the .dll files relating to those .lib files I added to the mix above. Make sense? Also, if you do not do static, then after you do all that, build your program but dont run it.. then go into that folder where the .exe files is , and copy into it the .dll files from sfml3/bin folder, whereever you got that, just copy em into your .exe folder for the build type and it will be able to read them and run your program.. Hope that helps.. -AcidMan out

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: aCIDman

79701539

Date: 2025-07-15 04:08:16
Score: 2
Natty:
Report link

The easiest way for me is to send a message through the discord server to see the status and set a time limit for the task. If the task doesn't complete, send another message through discord. The agenda docs also say to redo the task if it doesn't complete, but it seems like there is a dashboard for the agenda, but I haven't tried it.

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

79701536

Date: 2025-07-15 04:06:15
Score: 1
Natty:
Report link

from moviepy.editor import ColorClip, concatenate_videoclips

colors = [

(255, 0, 0),     # Red

(0, 0, 255),     # Blue

(0, 255, 0),     # Green

(255, 255, 0)    # Yellow

]

clip_duration = 0.5

num_repeats = int(15 / (clip_duration * len(colors)))

size = (720, 1280)

clips = [ColorClip(size=size, color=color, duration=clip_duration) for color in colors] * num_repeats

final_clip = concatenate_videoclips(clips, method="compose")

final_clip.write_videofile("color_swap_15s.mp4", fps=24)

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

79701525

Date: 2025-07-15 03:40:10
Score: 5
Natty: 6.5
Report link

https://www.electronforge.io/config/makers/squirrel.windows#handling-startup-events

this document has the answer what you need

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: njjnjjnjj

79701523

Date: 2025-07-15 03:34:04
Score: 10.5
Natty:
Report link

Did you find how to fix this, I have same error, Image

Reasons:
  • RegEx Blacklisted phrase (3): Did you find
  • RegEx Blacklisted phrase (1): I have same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same error
  • Single line (0.5):
  • Starts with a question (0.5): Did you find
  • Low reputation (1):
Posted by: Jose Yasbet Alvarez Godinez

79701522

Date: 2025-07-15 03:31:03
Score: 1
Natty:
Report link
set(CMAKE_CXX_FLAGS -std=c++17)
set(FLTK_DIR /usr/local/FLTK-1.4/share/fltk)
find_package(FLTK REQUIRED NO_MODULE)
include_directories(${FLTK_INCLUDE_DIRS})
aux_source_directory(. SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})
target_link_libraries(${PROJECT_NAME} ${FLTK_LIBRARIES})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dehua Kang

79701516

Date: 2025-07-15 03:17:00
Score: 3
Natty:
Report link

Do you really think you will find a scalability issue with Zoom meeting and that Zoom will fix the issue? Performance test your own infrastructure, not those of a third party.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: James Pulley

79701514

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

Try changing DecimalField to FloatField, if the problem from DecimalField you will know , and try compare them in views and print the results

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

79701511

Date: 2025-07-15 03:02:57
Score: 1
Natty:
Report link

Support got back to me after 11 days and suggested I clear all my settings in ~\.gitkraken then restart the app - I did this, still bugged.

Then I ran the following from Why doesn't git recognize that my file has been changed, therefore git add not working and changes are recognized as expected!

rm .git/index
git reset
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Wilan

79701510

Date: 2025-07-15 03:01:57
Score: 2
Natty:
Report link

In my case, it was because I was using AzureResourceManagerTemplateDeployment@3 without specifying the deployment scope. It is set to Resource Group by default and when I set it to Subscription, issue solved.

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

79701507

Date: 2025-07-15 02:55:56
Score: 1
Natty:
Report link

Another one-liner that actually returns:

New-TemporaryFile | % { rm $_; ni $_ -ItemType Directory }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DaMaxContent

79701504

Date: 2025-07-15 02:48:54
Score: 1.5
Natty:
Report link
js {
    const example = require("../includes/example.js");
}

Adding the require statement in the .sqlx file helped solve the issue for me

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

79701503

Date: 2025-07-15 02:43:53
Score: 2
Natty:
Report link

The error message is clear enough, elements of points_2d should be float or double.

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

79701501

Date: 2025-07-15 02:39:52
Score: 3
Natty:
Report link

For PowerShell, you have this extension:

https://marketplace.visualstudio.com/items?itemName=thimpat.run-script-as-admin

Simply right-click on the .ps1 or .bat you want to run as admin and select Run Script as an administrator.

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

79701498

Date: 2025-07-15 02:37:52
Score: 5
Natty: 5
Report link

I have answerd it here,it works. https://github.com/rapid7/metasploit-framework/issues/13231#issuecomment-3071689469

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

79701494

Date: 2025-07-15 02:29:50
Score: 0.5
Natty:
Report link

You can look at it in wireshark, or capture the request and compare it to your request. Something is different between the two - protocol, method (get?, put?, post?) header. You must be sending a bad request somehow.

If the request works when sent from another system, it's your transmission. Good luck!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Gregory Bishop

79701491

Date: 2025-07-15 02:20:48
Score: 1.5
Natty:
Report link

u need to set a model to the class in forms.py

from .models import *
class ClientForm(ModelForm):
    class Meta:
        model = Client
        fields = '__all__'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AbdElbasste Mazouz

79701485

Date: 2025-07-15 02:09:46
Score: 1
Natty:
Report link

Solution 1:

foreach (DataRow dr in dt_appointments.Rows)
{
    dr["Start"] = Convert.ToDateTime(dr["Start"]).ToLocalTime().ToString("g");
    dr["End"] = Convert.ToDateTime(dr["End"]).ToLocalTime().ToString("g");
}

Solution 2:


dgv_appointments.DataSource = dt_appointments; 

dgv_appointments.Columns["End"].DefaultCellStyle.Format = "g"; 

dgv_appointments.Columns["Start"].DefaultCellStyle.Format = "g"; 

For your reference, all date and time format strings are available here:
https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings

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

79701470

Date: 2025-07-15 01:36:39
Score: 2
Natty:
Report link

Because the style is applied to DataGridRow, not DataGrid.

You shold update ContextMenu property of each row.

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

79701461

Date: 2025-07-15 01:28:37
Score: 3
Natty:
Report link

Hi everyone who is facing the same issue as me, I figured out that it is my MCU. It worked on another MCU but didn't work on mine that I am working with. Thanks everyone that helped me.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-2): I figured out
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: boy

79701460

Date: 2025-07-15 01:25:36
Score: 3.5
Natty:
Report link

If it's working on dev and not on Production. This could potentially be an issue with minification of the css.

If you were initially using v3 and just upgraded to v4. The changes aren't just as straight forward as upgrading the package. There's a few structural changes that you need to make. Please check this article to make the necessary changes to upgrade from v3 to v.4

Tailwind migration from v3 to v4

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (1): Please check this
  • No code block (0.5):
  • Low reputation (1):
Posted by: Simon

79701446

Date: 2025-07-15 00:50:29
Score: 3
Natty:
Report link

As @JohanC answered with base=2 there are no logical positions to place these minor ticks, so my solution was to use `basex=8` for `x` axis and `basey=4` for `y` axis.


basex = 8 # Base for logarithmic scale

basey = 4 # Base for logarithmic scale

fig, ax = plt.subplots(figsize=(8,6))

ax.plot(x, y, 'o--')

ax.set_xscale('log',base = basex)

ax.set_yscale('log', base = basey)

ax.set(title='loglog')

ax.grid()

ax.grid(which="minor", color="0.9")

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • User mentioned (1): @JohanC
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Igor Soares

79701434

Date: 2025-07-15 00:02:19
Score: 2
Natty:
Report link

In case anyone else is encountering the same problem with auto-importing in Nuxt - I discovered that the problem was related to Dropbox.

My project was contained within a Dropbox folder and the Dropbox sync process somehow breaks Nuxt.

I'd be interested in a workaround - in the meantime I have moved my project to the C drive

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

79701432

Date: 2025-07-14 23:57:17
Score: 2.5
Natty:
Report link

A minor point update for par-packer appeared today, and when I installed via the cygwin installer and now it works. Still no understanding of what was happening before but it's working so I'm moving on.

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

79701427

Date: 2025-07-14 23:42:14
Score: 2
Natty:
Report link

Esse me tirou do prego, ->

v.getRootView().getContext()

no meu codigo dentro do Adapter

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

79701426

Date: 2025-07-14 23:42:14
Score: 2
Natty:
Report link

The following is a roundabout method, but does have the effect of cleaning out the base environment.

I have completely uninstalled conda since I could not update past version 3 (yes, 20 versions ago). I say this in case another user is having long install times. Switching to miniconda with the mamba solver fixes much of those problems, and of course, you end up with a clean base environment as well.

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

79701409

Date: 2025-07-14 23:05:07
Score: 0.5
Natty:
Report link

Xpath query was incorrect. Need to add a "." to the Xpath query to make it start at the selected node. Second query should be:

auto path_node = name_node.parent().select_node(".//coordinates");

The value that was being returned was the first occurrence of a coordinates node in the entire document, which just so happened to match.

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

79701406

Date: 2025-07-14 22:56:05
Score: 3.5
Natty:
Report link

Isso acontece quando instalas o react-native-safe-area-context sem atualizar o react navigation

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

79701405

Date: 2025-07-14 22:53:05
Score: 3
Natty:
Report link

Wow, after stuggling with this for years, manually selecting and updating each figure number (in a caption, which is in a group, because I don't want the caption and image separated, maybe that's just me), this WORKED!! Woo hoo!! Thank you!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cliff Jennings VT Cliffy

79701403

Date: 2025-07-14 22:46:03
Score: 0.5
Natty:
Report link

This works for me:

grep '^  "version": ' package.json | cut -d '"' -f 4
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Zp1k_e

79701398

Date: 2025-07-14 22:38:01
Score: 1
Natty:
Report link

This is telling that the storage is full and .vscode-server was not able to be created in the remote server.

  1. ssh into the server through Terminal or cmd

  2. enter ncdu ~

  3. clear out large files

  4. remove partially installed VS Code server files: rm -rf ~/.vscode-server

  5. Now try connecting to remote server through VS Code.

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

79701395

Date: 2025-07-14 22:30:59
Score: 4
Natty:
Report link

i have figured it out, i was doing the "*A1" twice. fixed it! lol thank you for helping though

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AmongTheShadows

79701392

Date: 2025-07-14 22:22:57
Score: 3.5
Natty:
Report link

You need to change "MudTablePager" to "MudDataGridPager". See TryMudblazor Example

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

79701383

Date: 2025-07-14 22:04:53
Score: 2.5
Natty:
Report link

I don't know if this was solved for you or not, but I was having this issue and for some reason my checkout of the automotive-design-compose repo was pinned to a specific branch instead of main (I think because of an earlier Google tutorial). I switched to main and synced and everything worked great.

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

79701381

Date: 2025-07-14 22:00:52
Score: 0.5
Natty:
Report link

This one worked for me

SELECT name
  FROM world  
WHERE continent = 'Europe' and
gdp/population >
(SELECT gdp/population
FROM world
Where name = 'United Kingdom');
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gi Gi

79701374

Date: 2025-07-14 21:47:49
Score: 2.5
Natty:
Report link

thank you so much to every single person here this problem was making me wanna bang my head on a wall even Ai couldn't help, Thank yall so much

and for people wondering I just pasted default values as a praw.ini file with the exe and it worked like a charm

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user31041454

79701373

Date: 2025-07-14 21:47:49
Score: 1.5
Natty:
Report link

It seems like i found the problem. One just always should mention a port number upon construction of Deno.QuicEndpoint despite it being an optional option. So upon construction with the port number 443 like this new Deno.QuicEndpoint({port:443}), any HTTPS requests through WebTransport will reach their destination automatically just like regular HTTPS requests and it seems that HTTPS server and QUIC one do not even block each other when they are hosted on the same port number.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Товарищ Понечка

79701368

Date: 2025-07-14 21:39:47
Score: 1.5
Natty:
Report link

Change your if statement to

 if(element.validity.valid)
            {
                validationMessage = element.dataset["errorMessage"];
            }

You're checking an object, you want to check the property value of valid on validity

source: https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement/validity

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

79701360

Date: 2025-07-14 21:20:43
Score: 3
Natty:
Report link

I changed Application.Title only to fix.

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

79701350

Date: 2025-07-14 21:07:39
Score: 0.5
Natty:
Report link

You’re facing a common issue: Apache’s authentication (AuthType Basic) is processed before rewrite rules. Unfortunately, this is how the Apache request lifecycle works authentication is evaluated before mod_rewrite rules are processed, so the redirect can’t happen beforehand using only .htaccess.

But there’s a clean workaround using Apache’s mod_rewrite to bypass authentication entirely for mobile devices, so they never reach the authentication block.
You can edit your .htaccess using the htaccess editor and try something like this:

RewriteEngine On
RewriteBase /

# Detect mobile user agents
RewriteCond %{HTTP_USER_AGENT} (android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge\ |maemo|midp|mmp|mobile.+firefox|netfront|opera\ m(ob|in)i|palm(\ os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows\ ce|xda|xiino [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a\ wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r\ |s\ )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1\ u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(\ i|ip)|hs\-c|ht(c(\-|\ |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(\ |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(\ |\/)|klon|kpt\ |kwc\-|kyo(c|k)|le(no|xi)|lg(\ g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-|\ |o|v)|zz)|mt(50|p1|v\ )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v\ )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|\ )|webc|whit|wi(g\ |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-) [NC]
RewriteRule ^admin/?$ https://mywebsite.fr/adminNotAllowed/ [R=302,L]

# Only allow authentication if not mobile
SetEnvIf Request_URI "^/admin/?$" is_admin
<IfDefine !MOBILE>
<If "%{ENV:is_admin} == 'is_admin'">
  AuthName "admin"
  AuthType Basic
  AuthUserFile "/home/xxxxxx/www/admin/.htpasswd"
  Require valid-user
</If>
</IfDefine>

What this does:
• Checks if the user is mobile before hitting authentication.
• Redirects /admin mobile requests to a “not allowed” page.
• Only runs basic auth if request is NOT from a mobile.

Apache is limited in logic, but this setup ensures redirect logic is triggered early and avoids unnecessary authentication prompts.

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

79701347

Date: 2025-07-14 20:59:38
Score: 3
Natty:
Report link

I would check out the S3Dlib library, which builds on top of matplotlib to greatly extend its 3D plotting capabilities. They've got a couple examples of plotting a 3D Earth in matplotlib here: https://s3dlib.org/examples/imagemap.html
3D earth plotted in matplotlib using s3dlib

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

79701344

Date: 2025-07-14 20:55:36
Score: 3
Natty:
Report link

Unfortunately, there are no reciprocal classes since axis and axis2 have evolved from different architectures. You will have to rebuild following the newer architecture pattern of axis2.

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

79701341

Date: 2025-07-14 20:47:35
Score: 1
Natty:
Report link

In July 2025, this now works:

import PIL.ImageGrab 
im = PIL.ImageGrab.grab() 
im.save('my_screenshot.png')

PIL.__version__ is 10.3.0. I am using Ubuntu 24.04.

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

79701335

Date: 2025-07-14 20:34:32
Score: 3.5
Natty:
Report link

Here is the problem. When the format of a column in the original Excel source includes two decimal points, the cell only contains cents (ex .40), and the datatype is changed to Currency in Power Query, the data loaded back into Excel is .4 not displaying the 0 after the .4. If data changes are frequent, this puts the burden on the user to continually reset the formatting in Excel.

Besides using VBA Macros, is there a way to ensure the format of the data in the transformed Excel Sheet does not get altered by Power Query on every refresh?

Reasons:
  • Blacklisted phrase (1): is there a way
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: user1558897

79701333

Date: 2025-07-14 20:34:32
Score: 0.5
Natty:
Report link

pyftdi seems to work with synchronous FIFO without issue. See below snippet.

from pyftdi.ftdi import Ftdi

ftdi = Ftdi()
ftdi.open_from_url("ftdi:///0")

ftdi.reset()
ftdi.set_bitmode(bitmask=0xFF, mode=Ftdi.BitMode.SYNCFF)

ftdi.write_data(b"hello, world!")
print(ftdi.read_data(1024))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: GHJGHJJHG

79701331

Date: 2025-07-14 20:31:31
Score: 1
Natty:
Report link

Material 3 equivalent of Text from Material 2.5 is text().

You can see a list of components here.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Gustavo Pagani

79701330

Date: 2025-07-14 20:29:31
Score: 0.5
Natty:
Report link

In my case i was on iOS and a physical restart to the phone helped "unstuck" it

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

79701323

Date: 2025-07-14 20:20:29
Score: 3
Natty:
Report link

Go to Tools -> Options -> Security -> Certificate Manager

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

79701322

Date: 2025-07-14 20:17:28
Score: 2.5
Natty:
Report link

I was also facing this problem. So adding the below line to dependencies NOT to dev_dependencies will surely avoid the issue.

hive_generator: ^2.0.1
Reasons:
  • Blacklisted phrase (1): also facing this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abel Leul

79701317

Date: 2025-07-14 20:09:27
Score: 1
Natty:
Report link

There are no problems. You just calculate area of the same triangle being translated to put one vertex into coordinate origin. Result is correct

enter image description here

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

79701298

Date: 2025-07-14 19:49:22
Score: 3.5
Natty:
Report link

My favorite Barcode Decoder is zxingorg.com I like this very easy and Free Fast Simple No login need

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

79701282

Date: 2025-07-14 19:28:17
Score: 0.5
Natty:
Report link

The unexpected usage of the "Gemini for Google Cloud API" is likely due to automatic activation by Firebase or certain Google Cloud Console features potentially triggered by dashboard activity or background processes. Especially those using Firebase services such as Firebase Cloud Messaging and Remote Config for Android apps.

enter image description here

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

79701273

Date: 2025-07-14 19:18:12
Score: 2.5
Natty:
Report link

We are also on cloudways and seeing that the duplicate orders issue disappears when we turn off Varnish. It creates a massive problem in performance but it stops the duplicate order issue. I believe it has to do with the way they have Varnish set up but I haven't gotten them to realize that yet.

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

79701267

Date: 2025-07-14 19:04:08
Score: 1
Natty:
Report link

The difference lies in the timing and location of the service load balancing decision within the eBPF-powered datapath. In a standard Cilium with kube-proxy replacement, the service load balancing for traffic between pods happens at the socket level. The load balancing resolves the ClusterIP to the backend pod IP at the pod's network interface, resulting in traffic showing the backend IP (e.g., 10.233.66.81). Meanwhile on a GKE Dataplane v2, the service load balancing and IP translation happen at the packet level, so the ClusterIP (e.g., 34.118.232.190) is visible on the pod's interface, and the DNAT to the backend pod IP (e.g., 10.80.5.15) happens later in the node's network stack.

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

79701263

Date: 2025-07-14 18:56:06
Score: 1.5
Natty:
Report link

Upgrade the react-native-modal version

Please upgrade to 14.0.0-rc.1 see if it works correctly.

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

79701260

Date: 2025-07-14 18:52:04
Score: 2.5
Natty:
Report link

I'm not totally sure I understand the scenario, but if you want to call ACS, then you'd need a Teams Phone standard license and add on top of that either calling plans or direct routing. If you can provide a bit more context about your scenario, I can try to get you a more helpful answer!

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

79701247

Date: 2025-07-14 18:32:00
Score: 0.5
Natty:
Report link

Correct PostgreSQL syntax is:

select * from message where id in (select * from unnest(?))
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: user149408

79701245

Date: 2025-07-14 18:30:00
Score: 2
Natty:
Report link

Yes as @furas pointed out, the problem comes from Pyside6 version (6.9.1). After downgrading to 6.9.0 it worked for me. There is an issue here https://github.com/pyqtgraph/pyqtgraph/issues/3328

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @furas
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: val

79701237

Date: 2025-07-14 18:20:57
Score: 0.5
Natty:
Report link

It basically means you dont have enough RAM to complete the merge in pandas. Now there are few things you can try based on your code and scenario -

  1. Enable swap if disabled and increase swap memory if you are using linux based system. Swap memory uses your SSD/HDD as RAM when usage spikes beyond RAM capacity. Linux kernel will automatically use it when your RAM exhausts. There are plenty of youtube tutorials on how to do it.

  2. Use polars or apache pyarrow instead of pandas. Pyarrow is much efficient in terms of memory as compared to pandas and save large dataframes in chunks.

It would be good if you can give code snippets and your system config to help you in a better way.

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

79701233

Date: 2025-07-14 18:11:55
Score: 0.5
Natty:
Report link

Despite what other, well-intentioned, suggestions imply, there are indeed good reasons why one may want the object referenced by a shared pointer to outlive the pointer itself. For example, if you keep one shared pointer reference and distribute weak pointers, but you also want to delete the shared pointer on a background thread. For algorithmic reasons, you want the liftetime of the shared pointer, and thus the weak pointers, to end when the object is passed to the deleter thread, but you don't want the object to be deleted until the deleter thread can process it.

Luckily, there is a way to do this without drawing outside the lines (afaict). Instead of using a "hack" custom deleter that doesn't delete the object, use a custom deleter that puts the object pointer into a unique pointer. Just prime the deleter with the unique pointer beforehand, or use some more sophisticated object management method.

I think that should do the job without triggering anyone's sensibilities. You'd be using the deleter in the way it was intended to be used (aka custom memory management), and it doesn't interfere with how shared_ptr is supposed to work.

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

79701226

Date: 2025-07-14 18:01:53
Score: 3
Natty:
Report link

I had something similar happen. I wound up changing from MicroPython version 1.25.0 to 1.24.1. So far, it seems to have solved my problem. I have to deinit in between listening to an NRF24L01 module. Can't run both both at the same time, so I have to listen, then stop listening, then init wifi, do networky things, then deinit wifi, then start listening again. After several cycles with the 1.25.0, it seemed to hang up when trying to deinit or init wifi.

Maybe downgrading is your solution??

Good luck!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Tom

79701224

Date: 2025-07-14 17:59:52
Score: 2.5
Natty:
Report link

Turns out, it was because I was running out of memory and docker was just killing the container, I tried the same setup with 2 replica and then adding a third one, that works as expected.

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