79696481

Date: 2025-07-10 04:22:46
Score: 0.5
Natty:
Report link

It's completely valid — and sometimes a very good idea — to use plain JavaScript classes (like your GlobalParam) in a React project, especially for:

✅ When a Class is Fine

React components are used for rendering UI and handling UI-driven logic (with lifecycle/hooks). But not everything in a React app needs to be a component.

Your example:

export default class GlobalParam {     
static totalItems = 2;    
static getTotalData() {      
    return this.totalItems;    
    } 
} 

This is totally fine. It's essentially a singleton object with static properties/methods — perfect for shared config or utility logic that doesn’t involve React’s state/rendering lifecycle.

🤔 But Be Cautious

If the data inside GlobalParam is meant to be reactive (i.e., when it changes, your components should update), then a plain class won’t be sufficient, because React won’t know when to re-render.

Instead, you should use:

❓“How can I make a React data component without return?”

You don’t need to. If your component doesn’t render anything, it probably shouldn’t be a component.

But if you do want a component just for side effects (e.g., fetching, subscriptions), a common pattern is:

const DataLoader = () => {
   useEffect(() => {     
// Fetch data, subscribe, etc.  
 }, []);    
return null; // No UI 
}; 

Or make it a custom hook:

js

CopyEdit

function useGlobalData() { 
  const [data, setData] = useState(null);  
 useEffect(() => {    
 // fetch and set data 
  }, []);   
return data; 
} 

🔑 Summary

Let React handle the UI — let plain JavaScript handle logic when React isn't needed.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Srinivas Rao Gunja

79696479

Date: 2025-07-10 04:17:44
Score: 0.5
Natty:
Report link

Following expo docs worked for me.
Set

"scripts": {
    "eas-build-pre-install": "corepack enable && yarn set version 4"
  }

in your package.json

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

79696478

Date: 2025-07-10 04:16:44
Score: 2
Natty:
Report link

If AVURLAsset.tracks is empty but the video/audio plays, it may be due to lazy loading ensure you call loadValuesAsynchronously(forKeys:) on the asset before accessing tracks.

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

79696469

Date: 2025-07-10 04:04:40
Score: 2
Natty:
Report link

Use the Elapsed property to get the duration in 00:00:00:00 format:

stopwatch.Elapsed.Duration()

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

79696467

Date: 2025-07-10 04:01:38
Score: 1
Natty:
Report link

You're using req.budytypo alert! It should be req.body.

exports.postDeleteProduct = (req, res, next) => {
    console.log("Form Here", req.body);
    const prodId = req.body.productId;
    Product.deleteById(prodId);
    res.redirect('/');
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Deep Thummar

79696456

Date: 2025-07-10 03:44:33
Score: 3
Natty:
Report link

Use a DiffUtil instead, because it is much better to use, DiffUtil only update the content that is changed unlike using notifyDataSetChanged that update all of the views.

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

79696446

Date: 2025-07-10 03:29:28
Score: 2
Natty:
Report link
project = pkgs.haskell-nix.cabalProject {
          src = ./.;
          compiler-nix-name = "ghc964";
          cabalProjectLocal = ''
            packages: Vendor/google-oauth2
          '';
        };

Works. haskell.nix's staff helped me. https://github.com/input-output-hk/haskell.nix/issues/2411

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

79696432

Date: 2025-07-10 02:55:18
Score: 2.5
Natty:
Report link

I uninstalled the GitHub copilot extension, disabled the Jupyter notebook extension and all works fine now.

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

79696431

Date: 2025-07-10 02:48:15
Score: 1
Natty:
Report link

Thanks! Here's a professional and helpful Stack Overflow answer to the question “Tailwind: Use font from local files globally” — with a natural introduction of your website (catcuddlezone.com) included in a way that respects Stack Overflow guidelines.


Answer: How to Use a Local Font Globally in Tailwind CSS

To use a local font globally in Tailwind CSS, you’ll need to follow these steps:


🔹 1. Place Your Font Files

Put your font files (e.g., .woff, .woff2, .ttf) in the public or assets/fonts directory of your project.

Example:

public/fonts/MyCustomFont.woff2

🔹 2. Define @font-face in a Global CSS File

Create or edit a global CSS file (e.g., globals.css or app.css) and add:

@font-face {
  font-family: 'MyCustomFont';
  src: url('/fonts/MyCustomFont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

🔹 3. Extend Tailwind’s Theme in tailwind.config.js

Now tell Tailwind about the new font:

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      fontFamily: {
        custom: ['MyCustomFont', 'sans-serif'],
      },
    },
  },
}

🔹 4. Use It Globally (e.g., in body)

In your CSS or layout file:

body {
  @apply font-custom;
}

Or if you're using a global layout/component (like in Next.js or Vue):

<body class="font-custom">

✅ Example Use Case

I ran into this recently while building a clean, responsive blog for cat lovers over at Cat Cuddle Zone, where typography really matters. Using local fonts ensured fast loading and brand consistency across all devices.


Let me know if you want help with specific frameworks like Next.js or Vue — the setup is nearly the same.


Let me know if you'd like an alternate version or one tailored to a specific framework!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cat cuddle zone

79696429

Date: 2025-07-10 02:46:15
Score: 1
Natty:
Report link
fig.add_trace(
    go.Scattergl(name="0", line_color="red"),
    hf_x=df['x'], hf_y=df['0'],
    downsampler=dict(
        default_n_shown_samples=1000,
        show_dash=True,
        min_n_datapoints=10 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ly Đặng

79696428

Date: 2025-07-10 02:45:14
Score: 1.5
Natty:
Report link

In a short, rotate a key is create a new version of the key and afterward the data should be encrypted using the new version. The old version key is still valid to be used to decrypt the data encrypted by the older version.

The advantage is if the key compromise, it is only affect the data which is encrpted by this version, not all the data.

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

79696424

Date: 2025-07-10 02:35:11
Score: 1.5
Natty:
Report link

When using Sequelize's order option, instead of wrapping your column name in literal, you should use Sequelize.col to reference a column properly.

Here's how you can do it:

const queryDict = {
    ...
    order: [[Sequelize.col('control.number'), 'ASC']]
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Enrique Roldán

79696422

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

I use nextjs13 and was troubled by this problem for a day. I tried Ervin's method and it was finally solved.

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

79696415

Date: 2025-07-10 02:17:06
Score: 1.5
Natty:
Report link

Voxfor VPS Hosting is a modern virtual private server solution designed to provide users with powerful, flexible, and cost-effective hosting services. It offers a virtualized server environment that grants users dedicated resources such as CPU, RAM, and storage, making it an ideal choice for developers, small businesses, and tech enthusiasts who require more control than traditional shared hosting allows.

With features like full root access, customizable operating system installations, scalable performance, and robust security measures, Voxfor aims to deliver high reliability and speed without the high cost of dedicated servers. Whether you're hosting websites, running applications, or setting up development environments, Voxfor VPS Hosting provides the tools and infrastructure to support a wide range of use cases while maintaining simplicity and performance.

visit us: https://www.voxfor.com/vps.php

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: P spam

79696414

Date: 2025-07-10 02:16:04
Score: 4.5
Natty:
Report link

This post - solution from @icza - helped me to solve my job task, so I want to thank community and share my solution which is extended solution of @icza (but can be still incomplete - not covering all cases). Refer to https://github.com/mabrarov/go-text-template-parse.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @icza
  • User mentioned (0): @icza
  • Low reputation (1):
Posted by: Marat Abrarov

79696404

Date: 2025-07-10 01:49:57
Score: 2.5
Natty:
Report link

I think you'd be better off using the "<b>" tag before you output your variable with Twig, if possible without a messy rewrite.

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

79696403

Date: 2025-07-10 01:48:57
Score: 0.5
Natty:
Report link

As pointed out by @Cyrus, you are not using bash; it seems that you are using PowerShell, in which case you could write:

(sam build) -and (sam local start-api --env-vars env.json)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Cyrus
  • High reputation (-1):
Posted by: ndrwnaguib

79696402

Date: 2025-07-10 01:48:57
Score: 2
Natty:
Report link

Since you are using VSCode to edit files you could make a .editorconfig file with your formatting conventions. Most text editor respect it (VSCode, vim, etc.)

https://editorconfig.org/

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

79696399

Date: 2025-07-10 01:42:55
Score: 2.5
Natty:
Report link

Verifique se o font-weight está corretamente definido no CSS e se a variante foi importada do Google Fonts.

Enquanto isso, aproveite seu tempo livre com Youcine for Tv!

Reasons:
  • Blacklisted phrase (1): está
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jack Wills

79696393

Date: 2025-07-10 01:25:50
Score: 1.5
Natty:
Report link

int row = table.getSelectedRow(); use this statment inside the condition

if(e.getValueIsAdjusting() == false){}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mokhtar Mammeri

79696390

Date: 2025-07-10 01:11:45
Score: 3
Natty:
Report link

Holy s, brooo, Chris, thanks man!, it didn't work until I put the wait(5), I don't know why exactly, I suppose it has some problems with other services on the start, but whatever, thanks man!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: accelerator234

79696384

Date: 2025-07-10 01:02:42
Score: 2
Natty:
Report link

Though the illumina graphic shared above is used widely, it is infact misleading.

You can consult these videos to see what is going on inside of a sequencer.

https://www.youtube.com/watch?v=fCd6B5HRaZ8&list=TLPQMTAwNzIwMjUtLuqPiOfGHw&index=1

https://www.youtube.com/watch?v=HMyCqWhwB8E&list=TLPQMTAwNzIwMjUtLuqPiOfGHw&index=2

If you watch carefully, Read 1 (R1) is sequenced from the forward strand of the DNA template, whereas Read 2 (R2) is sequenced from the reverse strand of the same DNA template.

So while R1 and R2 are not exactly the reverse complement of each other (although they can be in instances like dovetailing or when one mate contains the other), they are read from the opposite ends of complementary DNA sequences.

So in a case where R1 would map to the forward strand of the genome, its mate R2 would map to the reverse strand (or the reverse complement of R2 would map to the forward strand of the genome).

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shruti Singh Kakan

79696383

Date: 2025-07-10 01:00:42
Score: 0.5
Natty:
Report link

🛠 Passo a passo para ativar:

  1. Defina o suplemento para carregar automaticamente:

    Abra o Editor de Registro (regedit) e vá até:

    HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\VS15ExcelAdaptor 
    

    Verifique (ou crie) os seguintes valores:

    "Description"="Seu suplemento" "FriendlyName"="Seu suplemento" "LoadBehavior"=dword:00000003 "Manifest"="file:///C:/Caminho/Para/SeuAddin.vsto|vstolocal" 
    
  2. Habilite o suplemento manualmente no Excel:

    • Abra o Excel

    • Vá em Arquivo > Opções > Suplementos

    • Na parte inferior, em Gerenciar, selecione Suplementos COM e clique em Ir...

    • Marque a opção:
      Visual Studio Tools for Office Design-Time Adaptor for Excel
      (ou o nome do seu suplemento)

    • Clique em OK

  3. Feche o Excel completamente.

  4. Abra o Excel como Administrador:

    • Clique com o botão direito no ícone do Excel > Executar como administrador

✅ Resultado:

Com esse processo, o suplemento passou a carregar corretamente na inicialização do Excel, conforme configurado com LoadBehavior = 3.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jhefferson Wellys

79696382

Date: 2025-07-10 00:52:39
Score: 4
Natty:
Report link

If you use intellij, try the AEM Repository Tools plugin

- Documentation

https://github.com/javasin/art/

- Plugin

https://plugins.jetbrains.com/plugin/27802-aem-repository-tools

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

79696364

Date: 2025-07-10 00:23:30
Score: 1
Natty:
Report link

Since laravel reverb is using most of pushers library, some of the envs must've mixed internally.

Try removing all PUSHER_* and VITE_PUSHER_* envs first.

If the issue still persists, then confirm that your env in github actions include your REVERB_* variables.

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

79696359

Date: 2025-07-10 00:10:26
Score: 0.5
Natty:
Report link

Not sure what the exact issue was but I got my code to run by downgrading the eas-cli to version 16.2.0 and upgrading react native from 0.76.7 to 0.76.9.

I also deleted "expo-modules-core" from my package.json which is not neededd in recent versions of the Expo SDK.

I also recommend using the commands npx expo-doctor and `npx expo install --check` which can help you figure out why your builds are breaking.

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

79696357

Date: 2025-07-10 00:08:25
Score: 0.5
Natty:
Report link

Very old post, but in case anyone else runs into this.. This may be the solution:

I came across this more specifically in the src/test/resources dir when retrieving properties for localization constants in a spring boot app, so maybe it's the same weird thing you're hitting if you created the test package all.at.once?

Reasons:
  • Whitelisted phrase (-2): solution:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Natalie S

79696349

Date: 2025-07-09 23:51:22
Score: 2.5
Natty:
Report link

What helped fix this problem for me was creating a personal access token in Github under developer settings and using that for the username and password when prompted by VS Code. You'll have to select the sign in manually option instead of signing in through github directly. You can create a Personal Access Token through the Settings > Developer Settings when clicking your profile pic in Github.

I'm now able to clone, push, and pull without any issues.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What help
  • Low reputation (1):
Posted by: Nisaa

79696347

Date: 2025-07-09 23:44:20
Score: 3
Natty:
Report link

I ran into the same issue (one month later) and found the answer: Look to the right while selecting the field you want to apply the merge rule to. You'll see 3 horizontal lines near the edit icon. Inside there is where you'll find the merge rules, similar enough to the tutorial to make sense of it.

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

79696346

Date: 2025-07-09 23:44:20
Score: 2
Natty:
Report link

I don't have enough "reputation points" to just add a comment to the above answers, so I guess my only options is to post an answer even though it is really just a way to speed up the process above.

Instead of fully rebooting, you can just restart explorer. I created a batch file to do it, then made a shortcut, then assigned a shortcut key. This batch file and shortcut will either have to be on your desktop or in your C:\Users\userid\AppData\Roaming\Microsoft\Windows\Start Menu for the shortcut key to work.

Screenshot of restart.explorer.bat Batch file, Shortcut and Shortcut Properties

I also made a point of having my laptop closed and only my one monitor plugged into my dock when I did this to make sure it was set as Monitor 1 as that is what I wanted. It kept this number even when I opened my laptop and added that screen, at least for me.

You can also have regedit open and monitor the Windows Registry keys above and use F5 to refresh and see each monitor as it is added.

Then you can just delete the new entry in the registry and try it again as you experiment.

CONFIGURATION key will load a new entry for every combination of monitors you create. 1, 1+2, 1+2+3, 1+3, 2+3, etc.

I'm not sure how Connectivity Key works, but likely something to do with type connection.

MonitorDataStore and ScaleFactors will have 1 entry for each unique monitor you have ever connected.

All 4 of these keys can be "blown away" and they will rebuild as you attach monitors and change configurations to extend, duplicate, etc. across multiple monitors.

Screenshot of Registry Keys

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

79696341

Date: 2025-07-09 23:30:17
Score: 4
Natty:
Report link

For anyone looking for a consistent range of ports, it's 30000-50000 (MAX PORTS: u16).

I could've commented but I'm short on reputation.

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: IMXOne

79696326

Date: 2025-07-09 22:58:11
Score: 2.5
Natty:
Report link

For testing purposes, Godot can export and host your game locally through one-click deploy. After setting up your export template, go to the top-right corner, click the fourth button from the left ("Remote Deploy"), and select "Run in Browser".

Remote Deploy dropdown, displaying options for Android and Web.

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

79696314

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

This example shows the inference of an already trained model. This model does not require training from scratch.

But you can finetune it. To do this, you can freeze the weights of the first layers of the neural network and train the remaining ones on a set of images. In this case, only unfrozen weights will be trained. You can read about finetuning here: https://docs.pytorch.org/tutorials/intermediate/torchvision_tutorial.html.

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

79696303

Date: 2025-07-09 22:05:59
Score: 0.5
Natty:
Report link

Ok y'all! Shame is on me. The correct HTTP request is of course

PATCH https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/1/fields
Content-type: application/json

{
  "Flurst_x00fc_ckLookupId": 14
}

The "fields" in the URL was missing. But still, there were several examples explaining that

"Flurst_x00fc_ckId": 14

would work, but that is clearly not the case. You have to use

"Flurst_x00fc_ckLookupId": 14
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mr. T

79696282

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

I would suggest:

This algorithm will work best if the points follow the line reasonably well

It will be poor if the points are uncorrelated with the line.

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

79696271

Date: 2025-07-09 21:26:50
Score: 0.5
Natty:
Report link

If you're getting responses like:

Then here are the most common issues and how to fix them:


Step-by-Step Checklist

1. Data Store Might Not Be Indexed Correctly


2. Document Retriever Tool Is Missing


3. System Prompt Missing Tool Instructions

Your system message should explicitly tell the agent to use the tool. For example:

Please use the document retriever tool to answer questions when helpful.


4. Intent Confidence Is Too High


5. Use Gemini REST API for Full Control

If you're still not getting the desired results, you can bypass Agent Builder and use the Gemini REST API directly for full flexibility.

Here’s a complete working guide using Java Spring Boot and Gemini:

Spring Boot + Gemini Vertex AI REST API + GCS + Config Guide


Additional Debugging Tips


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

79696266

Date: 2025-07-09 21:21:49
Score: 2
Natty:
Report link

Use JSON as return type, cast everything to JSON. I can use all the normal types natively, but strings have to be wrapped with "" and then cast to JSON for returning.

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

79696259

Date: 2025-07-09 21:13:46
Score: 9
Natty: 8.5
Report link

I'm having the same problem. I need to add the SKU and brand. How did you add them?

Thanks!!!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I'm having the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Patricio Astudillo

79696257

Date: 2025-07-09 21:12:45
Score: 4
Natty:
Report link

Looks like it was caused by a lack of memory for the container.

We can also check var/log/syslog:
what can cause node.js to print Killed and exit?

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

79696234

Date: 2025-07-09 20:48:40
Score: 3.5
Natty:
Report link

I've successfully passed Zend 200-500 with the help of Dumpsforsure. Their practice questions are very relevant to exam.

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

79696230

Date: 2025-07-09 20:43:39
Score: 2
Natty:
Report link

Based on @rasjani's comment to the question:

I found that adding the LC_ALL=C environment variable solved the issue for me.

LC_ALL=C rpmbuild <...remaining args>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @rasjani's
  • Low reputation (0.5):
Posted by: MicGer

79696227

Date: 2025-07-09 20:36:37
Score: 2.5
Natty:
Report link

In US and most countries you can go with name < 'n' and other to split people in 2 equal groups.

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

79696226

Date: 2025-07-09 20:35:36
Score: 0.5
Natty:
Report link

When you add a whitespace or a semicolon to the end of the line, it works just fine. But I think I know what causes this. Look at the string below:

"var value\(raw: i) = 6 func foo() {}"

When I input it to the CodeBlockItemListSyntax the macro generates this:

var value0 = 6
func foo() {
}

Did you see what it did? It automatically indented the code for you. It also does the same thing with the semicolon (and also escape sequences?), too:

"var value\(raw: i) = 6;func foo() {}"

Into:

var value0 = 6;
func foo() {
}

I think what CBILS doest is just stash the string literals side by side (using your input):

"var value1 = 0var value2 = 0var value3 = 0"

When swift tries to parse this it does it like so:

(var value1 = 0var) (value2 = 0var) (value3 = 0)
 ┬────────────┬───  ┬──────────┬──   ─┬────────
 |            ╰some |          ╰─some ╰ set value
 ╰─ var init.  value╰─ set value  value

And when swift tries to indent this it puts a line break between every statement (in parenthesis), so the end result becomes:

var value1 = 0var
value2 = 0var
value3 = 0

But if you make the value a string literal an instead of an integer literal it works fine. Why is that?

Because anything that has a start and an end (terminating) (e.g. () "" [] {}) has no possibility of intersecting with something (e.g. ""abc -> ("")(abc))

In short terms:

The developer for this library has forgot to put seperators between the code blocks. So put a whitespace or a semicolon at the end to fix this issue. And report the bug to the authors. :)

Reasons:
  • RegEx Blacklisted phrase (0.5): Why is that
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you add a
  • Low reputation (0.5):
Posted by: Radioactive

79696222

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

Personally, I think that @Jon Clements' answer is very suitable if you are working with numbers, but here is a generic option:

start_index = 1  
n = 5

arr = list(range(50))
arr[start_index::n] = None
elem= [elem for elem in arr if elem is not None]

This uses list slicing to set every nth element (elem) in a list to None, and then uses list comprehension to only retain elements that are not assigned None in the list. The initial value of the list (arr) is an arbitrary list of numbers between 0 (inclusive) and 50 (exclusive).

Using a list comprehension is not particularly efficient, but this will work in the case when you cannot (for some reason) use external libraries, or if the elements of your list are not numeric (although there are better options).

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Jon
  • Low reputation (1):
Posted by: Impactful-AI

79696218

Date: 2025-07-09 20:29:35
Score: 1.5
Natty:
Report link

Found it: need to use mpld3.show()

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

79696217

Date: 2025-07-09 20:25:34
Score: 5
Natty: 8.5
Report link

You. have. saved. my. life. Thank you!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user31005374

79696211

Date: 2025-07-09 20:16:32
Score: 1.5
Natty:
Report link

I tried to run using the code that you provide. Is this the result that you require?

Code Result

Actually, I think there is something off with how you are naming your column, did you intentionally added a space at the end of it? I had to remove it to run the code. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Muzammil Bin Sohail

79696208

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

This is the solution for my case, I'm leaving it here in case it helps someone someday.


When encountered an exception with an empty call stack, try setting "Enable native code debugging" in project's properties first. Screenshot of project properties with the "Enable native code debugging" option highlighted

It might add enough info to the call stack to least know where to start. In my case it went from this: Screenshot of Visual Studio with floating exception and call stack windows

To this: Screenshot of Visual Studio with floating exception and call stack windows showing MUCH more info

Which gives us at least the name of the native dll at the bottom of the stack of the exception (in DOS format: FOOBAR~1.DLL instead of FooBarBaz.dll).


As for specifically Could not load file or assembly '<some .NET assembly>' exceptions, the next step is to look at fuslogvw output.

For the assembly that wasn't found, the log entry could show something like:

Calling assembly : SomeOtherDll, Version=...

Then for SomeOtherDll:

Calling assembly : (Unknown)

Which probably means it's called from the native dll we found with the native code debugging enabled.

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

79696207

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

Here is the document which explains about branding.
https://learn.microsoft.com/en-us/entra/external-id/customers/how-to-customize-branding-customers

I have posted answer of this same question on other thread as well.
https://stackoverflow.com/a/79693384/20849192

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Muhammad Zeeshan

79696206

Date: 2025-07-09 20:13:30
Score: 8.5
Natty: 4
Report link

have you solved the issue?

i have the same error on ios

Reasons:
  • RegEx Blacklisted phrase (1.5): solved the issue?
  • RegEx Blacklisted phrase (1): i have the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alex

79696196

Date: 2025-07-09 20:05:27
Score: 4
Natty:
Report link

You also get a very similar error if you use an incorrect image URI. In my case I accidentally used the us-docker.pkg.dev registry when it should have been docker.io.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): also get a very similar error
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: V.Prins

79696195

Date: 2025-07-09 20:03:26
Score: 2
Natty:
Report link

The above answer does not address the question. The question isn't about how PHP works, but rather why was the decision made to give null coalesce a lower precedence when designing the PHP syntax.

I am also baffled at this design choice. Perhaps someone can enlighten us why they chose this order.

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

79696193

Date: 2025-07-09 20:01:25
Score: 1
Natty:
Report link
simple query to add 10 business days to date:

SELECT tmp.release_date, tmp.num
  FROM (    SELECT TO_DATE (SYSDATE + LEVEL, 'DD-MON-RRRR') release_date,
                   TO_CHAR (SYSDATE + LEVEL, 'DY') day, rownum num
              FROM DUAL
             WHERE TO_CHAR (SYSDATE + LEVEL, 'DY') NOT IN ('SAT', 'SUN')
        CONNECT BY LEVEL < 15) tmp
        where tmp.num = 10 
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anitha B

79696192

Date: 2025-07-09 20:01:25
Score: 6
Natty:
Report link

enter image description here

This is what happen in the app

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mai Alaa

79696187

Date: 2025-07-09 19:58:24
Score: 1
Natty:
Report link

It depends on the technical knowledge of the user you are expecting. For normal users, this would already be hard enough - even a non-hashed version would be hard to spot on the code.

If you are considering that you have users skilled at coding, it is not extremely hard to debug and find the comparison / jump on the executable assembly; and it is possible then to just bypass the check altogether without knowing the original password or the hash.

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

79696185

Date: 2025-07-09 19:57:24
Score: 0.5
Natty:
Report link

local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()

local Window = Fluent:CreateWindow({

Title = "grupo de scripters do roblox (versão brookhaven) " .. Fluent.Version,

TabWidth = 160,

Size = UDim2.fromOffset(580, 460),

Theme = "Dark"

})

local Tabs = {

Main = Window:AddTab({

    Title = "comandos",

    Icon = "rbxassetid://97752342618431"

}),

Settings = Window:AddTab({

    Title = "Settings",

    Icon = "settings"

})

}

Tabs.Main:AddButton({

Title = "fly",

Callback = function()

    loadstring(game:HttpGet("https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/main/FlyGuiV3.txt"))()

end

})

Tabs.Main:AddButton({

Title = "f3x",

Callback = function()

    loadstring(game:GetObjects("rbxassetid://6695644299")\[1\].Source)()

end

})

Tabs.Main:AddParagraph({

Title = "créditos",

Content = "by grupo de scripters do roblox"

})

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

79696177

Date: 2025-07-09 19:51:22
Score: 2.5
Natty:
Report link

I had the same issue. For me notifications worked during development but not in production. The issue was that my .p8 key was set to sandbox only instead of sandbox and production. https://developer.apple.com/account/resources/authkeys/list

enter image description here

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

79696170

Date: 2025-07-09 19:45:21
Score: 1
Natty:
Report link

If none of the other answers are working for you, try this:

Go to File > Close Solution

enter image description here

Open the folder for your project.

Delete the 'bin' and 'obj' folders from file explorer.

Then try building the application again.

Reasons:
  • Whitelisted phrase (-2): try this:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Na...

79696156

Date: 2025-07-09 19:33:17
Score: 2
Natty:
Report link

I had this error message in relation to an AWS::EC2::LaunchTemplate and the problem was that I'd set the SecurityGroups field when I should have been setting the SecurityGroupIds field instead. This change fixed it:

enter image description here

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

79696154

Date: 2025-07-09 19:29:16
Score: 1.5
Natty:
Report link

Sorry I had some out of stream discussions and forgot to document, here is my understanding :

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

79696152

Date: 2025-07-09 19:28:15
Score: 2
Natty:
Report link

You cannot assume that resources in general are their own discrete file on the real filesystem, it is abstracted away by the classloader. If you can help it, just don't try to make this conversion. For instance, to read an image resource agnostically:

BufferedImage img;
try (InputStream in = ReadFile.class.getResourceAsStream("image.png")) {
    img = ImageIO.read(in);
}

However, if for some reason you truly need to do this, you can try a hack like this:

static File resourceUrlToFile(URL url) {
    if (url == null || !"file".equals(url.getProtocol()))
        throw new IllegalArgumentException(url + " is not a file URL");

    return FileSystems.getDefault()
            .getPath(url.getPath().substring(1))
            .toFile();
}

Or find the resources directory in your development environment and work from there:

static File getResourcesDirectory() {
    File src;
    try {
        src = new File(Main.class.getProtectionDomain()
                .getCodeSource()
                .getLocation()
                .toURI());
    } catch (SecurityException | URISyntaxException e) {
        throw new AssertionError("Failed to read code source", e);
    }

    // This next step assumes a Gradle build environment,
    // adapt for your build script
    src = new File(
            src.getParentFile().getParentFile().getParentFile(),
            "resources/main"
    );

    return src;
}

Without care, approaches like these will break when packaging.

Reasons:
  • RegEx Blacklisted phrase (3): you can help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Wasabi Thumbs

79696151

Date: 2025-07-09 19:26:14
Score: 0.5
Natty:
Report link

To get the weighted average shrinkage value you need dividing the sum of shrinkage by categories to the actual total value:

[D17]=D16/C16

enter image description here

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

79696150

Date: 2025-07-09 19:25:09
Score: 4.5
Natty: 4
Report link

I made same mistake. last week I installed python on C drive. Today, I moved Python on Drive. but I can't use pip or any command on Drive.

Please let me know what will be the solution. Now, I can't move back to C: Drive because not able to uninstall Python from D Drive

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know what
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Radhika Khutale

79696145

Date: 2025-07-09 19:18:07
Score: 0.5
Natty:
Report link

Tangential to this thread: After adding an accessibility identifier to my SwiftUI List, I found that it is known to XCUITest as a collection view rather than as a table. app.collectionViews.firstMatch found it.

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

79696139

Date: 2025-07-09 19:13:06
Score: 0.5
Natty:
Report link

I think that if this property is critical for your users, and you want to optimize CSS for them, then you can keep all plug-in animations in a separate CSS file. For example

<link rel="stylesheet" href="animation.css" media="(prefers-reduced-motion: no-preference)">

You can test it in Chrome Browser by using "Emulate CSS media feature prefers-reduced-motion" in Rendering Tab

Emulate CSS media feature prefers-reduced-motion

Fot me it's work. This file will be skip if your user turn on this option and it will save downloading.

if you need support some strange browser you can write this ->

<script>
    if (window.matchMedia('(prefers-reduced-motion: no-preference)').matches) {
       const link = document.createElement('link');
       link.rel = 'stylesheet';
       link.href = 'animation.css';
       document.head.appendChild(link);
    }
</script>
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: BlackStar1991

79696133

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

I recently encountered this error in my next js application,

I was using static functions and variables in classes i made, i think typescript doesn't allow it , removing those static functions and variables made my build successful.
That worked for me.

Hope so it works for you as well

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

79696123

Date: 2025-07-09 18:56:02
Score: 3
Natty:
Report link

I found the solution to this issue here: https://www.serveradminblog.com/2023/03/the-repository-does-not-have-a-release-file-pgadmin4-on-mint-linux/.

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: BillStafford

79696121

Date: 2025-07-09 18:53:01
Score: 1.5
Natty:
Report link
FFMPEG_PATH="/opt/homebrew/bin/ffmpeg"

for f in "$@"
do
  filename="${f%.*}"
  output="${filename}.mp3"
  "$FFMPEG_PATH" -i "$f" -codec:a libmp3lame -qscale:a 2 "$output"
done
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Samir Nader

79696115

Date: 2025-07-09 18:47:59
Score: 0.5
Natty:
Report link

I've just encountered this same issue on my website. It seems that came after a chrome update.
What I did, that fixed the problem for my web app, was to update the allow attribute to allow="fullscreen", and in others where I needed other properties it was like allow="fullscreen; accelerometer; autoplay;"

Examples:

<iframe
  src="https://..."
  title="Title"
  className="w-full h-full border-0"
  allow="fullscreen"
/>
<iframe 
className="rounded-xl w-full h-full"
width="1200" height="600" src="https://..."
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen"></iframe>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dnpg

79696104

Date: 2025-07-09 18:41:58
Score: 0.5
Natty:
Report link

Have you tried using this difftool command?

git difftool --cached --no-prompt <the folder path>

this command will launch P4V, comparing each staged file to its previous version on that specific folder.

Also,make sure to stage the files before that you want to review first

git add <the folder path>
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Luckyyy

79696103

Date: 2025-07-09 18:38:57
Score: 0.5
Natty:
Report link

RDKit is designed to be somewhat modular. It's a very very big package, and importing everything under Chem is not usually advised. The best practice when using the library is to be specific with your imports (use the Descriptors.ExactMolWt function instead of Chem.Descriptors.ExactMolWt). Alternatively, you can do from rdkit.Chem import AllChem which will load in almost everything in Chem module and its sub modules.

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

79696101

Date: 2025-07-09 18:35:56
Score: 2.5
Natty:
Report link

You could use sip specific lib in app connect it to telephony server asterisk/freeswitch both open source m do some dial plan m you wil have what you need , the recording will be in server but possible to view even at client if you use proper app logic . All you can do without spending a dime, look at github also you will find example. thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Asif Shaikat

79696094

Date: 2025-07-09 18:33:55
Score: 0.5
Natty:
Report link

It’s because you're redeclaring loginSuccess inside the If, so VBScript treats it like a new local variable there, exactly like what @Shrotter said

You could try moving the Dim loginSuccess outside the If block

It should look something like this:

Dim username
Dim loginSuccess

username = InputBox("Enter your name:")

If username = "admin" Then
    loginSuccess = True
    MsgBox "Welcome, admin!"
Else
    loginSuccess = False
    MsgBox "Access Denied"
End If

If loginSuccess Then
    MsgBox "You're logged in"
Else
    MsgBox "Login failed"
End If
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Shrotter
  • Low reputation (0.5):
Posted by: Altxxr0

79696082

Date: 2025-07-09 18:20:52
Score: 1.5
Natty:
Report link

Add ?pgbouncer=true , for both DIRECT_URL and DATABASE_URL connection strings in .env file.

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

79696072

Date: 2025-07-09 18:11:49
Score: 0.5
Natty:
Report link

The correct syntax in the code to reach the selenium standalone running in the kubernetes cluster was

http://remote-chrome-webdriver.default.svc:80/wd/hub

Also we had to create a Kubernetes service to expose this selenium to other workloads in the cluster

apiVersion: v1
kind: Service
metadata:
  name: remote-chrome-webdriver
  labels:
    app: remote-chrome-webdriver
spec:
  selector:
    app: remote-chrome-webdriver
  ports:
    - protocol: TCP
      port: 80
      targetPort: 4444
  type: LoadBalancer
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: carlos palma

79696068

Date: 2025-07-09 18:10:49
Score: 3.5
Natty:
Report link

Note also that if you're using the Red Hat Developer for Individuals subscription, it's only for personal use. If you are developing or testing RHEL applications for work, you want the RHEL for Business Developers subscription. For details see: https://developers.redhat.com/articles/2025/07/09/announcing-self-service-access-red-hat-enterprise-linux-business-developers

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

79696064

Date: 2025-07-09 18:09:48
Score: 1
Natty:
Report link

I came to the point that when we pass a string to html2pdf everything works, but when clone, for some reason the pdf is empty.

The code I came up with:

//...
// Generate PDF
let htmlString = clone.innerHTML; //Create string
html2pdf()
.from(htmlString) //Passing the string
//...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sh4man

79696062

Date: 2025-07-09 18:08:48
Score: 0.5
Natty:
Report link

i had some faults in my code that is why i was not getting the results.

first i was using

 return $.get("<?php echo base_url('get_testname'); ?>", { query: query }, function (data) {

which should be $.post() so i changed to

return $.post("<?php echo base_url('get_testname'); ?>", { query: query }, function (data) {

secondly i was using check in my controller method instead of query so i changed the check to query

public function get_doctor()
{
    $query = $this->input->post('query');
    $data = $this->customers->get_doctor($query);
    echo json_encode( $data);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ieesab

79696057

Date: 2025-07-09 18:04:46
Score: 1.5
Natty:
Report link

To use adb in any terminal (PowerShell, CMD, android studio, etc.), you need to add it to your system PATH:

C:\Users\<YourUsername>\AppData\Local\Android\Sdk\platform-tools

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

79696052

Date: 2025-07-09 17:55:44
Score: 8
Natty: 7
Report link

Were you able to find a solution for this? I'm also experiencing the same error .

Cheers

Jithin

Reasons:
  • Blacklisted phrase (1): Cheers
  • RegEx Blacklisted phrase (1): Were you able to find a solution
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jithin R

79696051

Date: 2025-07-09 17:55:44
Score: 1.5
Natty:
Report link

I'm experiencing the same problem, and interestingly, for about the same period as you, about 3 months.

Samsung support in Brazil informed me that when the smartwatch enters what I call "power saving mode" (I'm not sure if that's the correct term), the sensor sends information to the registered listeners in batches every 10 minutes, but I couldn't pinpoint this. My listener simply stops receiving data.

I'm struggling to solve this. If I succeed, I'll post here so you know.

Good luck!!!

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

79696027

Date: 2025-07-09 17:36:39
Score: 0.5
Natty:
Report link

I wondered if maybe when I pass a capacity value, they take the nearest bigger prime so I also looked at the constructor source code and that's exactly what they do:

            if (min < 0)
                throw new ArgumentException(SR.Arg_HTCapacityOverflow);

            foreach (int prime in Primes)
            {
                if (prime >= min)
                    return prime;
            }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: FluidMechanics Potential Flows

79696019

Date: 2025-07-09 17:32:38
Score: 1.5
Natty:
Report link

Try it this way.

colnames(df)[unname(unlist(sapply(df,is.factor)))]

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

79696010

Date: 2025-07-09 17:24:36
Score: 2.5
Natty:
Report link

It's doable using Smartsheet native automation and a Zapier zap. When a new attachment is added to a Smartsheet row, the zap grabs the attachment, attaches it to an email, and sends the email to a designated Outlook mailbox (individual or shared). Mine process goes a step further by using Power Automate to monitor that mailbox, and when the zap email hits it Power Automate grabs the attachment and saves the file to a designated SharePoint library and folder path.

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

79696000

Date: 2025-07-09 17:18:35
Score: 0.5
Natty:
Report link

I found the solution.

$ sudo ln -s /usr/lib/libxml2.so.16 /usr/lib/libxml2.so.2
Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Давид Пирић

79695990

Date: 2025-07-09 17:00:31
Score: 2
Natty:
Report link

To be independent of the underlying Database, I was using Apache DBCP2 as a datasource and while loading the datasource I was using either a file containing the connection properties or loading them from the environment.

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

79695989

Date: 2025-07-09 16:58:30
Score: 2.5
Natty:
Report link

it's because your code runs fully synchronous on the UI thread, so UI updates get queued but not rendered until it's done.

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

79695988

Date: 2025-07-09 16:58:30
Score: 3
Natty:
Report link

You have use .NET 9 to use SDK 35. If use .NET 8, you will be able to use a maximum of SDK 34. Case .NET 9 not be available, update your Visual Studio. My version is 17.14.7.

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

79695982

Date: 2025-07-09 16:48:28
Score: 1
Natty:
Report link

I wrote about this here: https://dev.to/googleworkspace/youre-probably-using-curl-wrong-with-your-google-apps-script-web-app-1ed8

- remove the -X POST

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

79695978

Date: 2025-07-09 16:46:27
Score: 3.5
Natty:
Report link

with this solution I get the compiler answer:

Could not create ModelContainer: SwiftDataError(_error: SwiftData.SwiftDataError._Error.loadIssueModelContainer, _explanation: nil)

Any idea, thanks a lot Uli

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Uli

79695977

Date: 2025-07-09 16:42:26
Score: 2
Natty:
Report link

Finally found the Solution

android.experimental.androidTest.useUnifiedTestPlatform=false

just add this line to

gradle.properties 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abdallah_Alqiran

79695966

Date: 2025-07-09 16:28:22
Score: 1
Natty:
Report link

In the forum post you mention Forms. If you are using the built in FileUploadElementBlock I think the access rights to the uploaded files in Forms are inherited from the file upload element block access rights or maybe the form container block itself. That could also explain the issue with the access rights being reset whenever you post new data.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Andreas

79695964

Date: 2025-07-09 16:24:22
Score: 3
Natty:
Report link

Also had this issue this morning, when everything worked fine yesterday. I didn't think I even initiated updates, and I don't update automatically.

Kubuntu 20.04 (Yeah, I need to update but...snaps...). gitk was 1:2.34.1-1ubuntu1.13, git 2.34.1.

The fix from @ivorybabe worked, even though it is probably a temporary fix. I downgraded gitk as he said, but did not change git-gui.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • User mentioned (1): @ivorybabe
  • Low reputation (1):
Posted by: nahtebee

79695957

Date: 2025-07-09 16:17:19
Score: 0.5
Natty:
Report link

The Angular Material Components Repo has a big build system, which was never properly prepared to run on native Windows. That's the reason you hit a snag with the SASS toolchain complaining.

The fastest way to get up and running is by installing WSL2 with the latest Ubuntu, installing the newest node via nvm deleting the node_modules folder installed by pnpm in the native windows environment, performing https://stackoverflow.com/a/58414196/6240779, letting pnpm install install the required packages and finally starting the local dev server. So you keep the code in outside of WSL, but let WSL run the dev server.

Be patient with pnpm dev-app, it's a heavy weight.

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

79695953

Date: 2025-07-09 16:14:19
Score: 1
Natty:
Report link

ARGH!

export CFLAGS=-I/usr/local/$HOSTARG/include $CFLAGS"
export CPPFLAGS="-I/usr/local/$HOSTARG/include $CPPFLAGS"
export LDFLAGS="-L/usr/local/$HOSTARG/lib $LDFLAGS"

Those were apparently needed also...

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

79695952

Date: 2025-07-09 16:14:19
Score: 3
Natty:
Report link

Download this and install it by running as Administrator. Choose the x86 version even if your system is 64-bit.

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

79695942

Date: 2025-07-09 16:08:17
Score: 0.5
Natty:
Report link

I'm 7 years too late, but to whom may find this useful:

What that Wikipedia image is depicting is the optimal color solid (or Rösch-MacAdam color solid), which is the theoretical gamut of surfaces, not the visible gamut.

The visible gamut is bounded by the spectral cone and the inverse spectral cone. In a linear color space, such as CIE 1931 XYZ or LMS, the spectral cone is the surface formed by the set of rays that start at black ((0, 0, 0)) and pass through one spectral color (the XYZ coordinates of the spectral colors can be found on the CIE website). The inverse spectral cone is the symmetric of the spectral cone with respect to central grey ((0.5, 0.5, 0.5)). The volume that these two cones enclose is the visible gamut. The locus where they intersect is the set of the most chromatic colors that we can see.

The optimal color solid is tangent to the visible gamut's boundary at the blackpoint and the whitepoint, but it is pretty far from it in the highly chromatic colors, especially in the reds and cyans. This is because surfaces cannot reflect a single wavelength of light and be bright at the same time. But light sources can.

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

79695929

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

Two more simple but important items to check.

  1. Make sure you have a firewall rule to the destination server and port enabled if required.

  2. Make sure you are using the correct protocol (https vs http)

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

79695915

Date: 2025-07-09 15:48:12
Score: 2.5
Natty:
Report link

I access directly in the menu now, not sure when this changed but i have been doing it for a while

Right click folder, New -> JPA

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Ricardo Saracino

79695914

Date: 2025-07-09 15:48:12
Score: 3.5
Natty:
Report link

Try to run the app in relase mode.

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