79510320

Date: 2025-03-14 22:17:10
Score: 1
Natty:
Report link

As of Expo 51, using environment variables directly is supported.

You just have to prefix to all .env vars:

EXPO_PUBLIC_

No plugins needed!

https://docs.expo.dev/guides/environment-variables/

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

79510317

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

I tried @Mehdi Varse's code reply, and it seems that his method would always work because it's evaluation of the (if value == null) would always return true for lastName. At least, when i tried to apply it to my situation (which is related). it would always fall through.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Mehdi
  • Single line (0.5):
  • Low reputation (1):
Posted by: IcyNeko

79510316

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

I encountered a similar issue using production mode.

In angular.json, I added "sourceMap": true to the production configuration, and this gave me little more info where the cause of my problem was situated...

...
"configurations": {
   "production": {
      "sourceMap": true,
      "budgets": [
...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geert

79510311

Date: 2025-03-14 22:09:08
Score: 3
Natty:
Report link

Just a tip, a good introduction to Liquibase can be found here:
Liquibase

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

79510309

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

Sounds like you need to look at Hive Partitioning?

Seems like the perfect solution for your problem, e.g. use the date field of your parquet files as the partition key: https://duckdb.org/docs/stable/data/partitioning/hive_partitioning.html#hive-partitioning

Filters on the partition keys are automatically pushed down into the files. This way the system skips reading files that are not necessary to answer a query. For example, consider the following query on the above dataset:

HTH

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

79510307

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

i like know why would u encode in to a pdf only report that all it is supose be is a report on onthing

so why would any one encode java in to it unless there more to pdf then just a report to say if i type out and document has no java in it, how ever i found java code in number of goverment documents one being socal securty wich has no need to do this unless this code was to do more then just give u report on earning or other it has me woundering how many other gov documents also encode java and this cant be radom there has be a program writeing this not a person this has me woundering what being encidoed in such reports, also something odd is it looks more like encription then dose anything else, but say it is jave that just about 8x10 long in code how can one decode it now from what i seen here, now here odd thing is open it as pdf java code disapears only shows up if u open it with notepad, wich odd, java can be used for number things inclueing createating remote access and if no one crack above code i doute they crack what i got, i meen this comeing out socal secuty any one can print out pdf of earning open it note pad and try crack the code

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

79510299

Date: 2025-03-14 22:02:06
Score: 3
Natty:
Report link

There you go: https://marmelab.com/react-admin/AuthProviderWriting.html#handlecallback

You can also look at examples from other 3rd party authentication providers, like ra-auth-auth0 for instance.

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

79510296

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

const curSidebar = document.querySelector('.ui-widget-overlay');

curSidebar.style.cssText += "opacity:0.5!important;background-color:#333!important";

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

79510285

Date: 2025-03-14 21:52:04
Score: 0.5
Natty:
Report link

iOS 18.4 beta 1 and 2 do not fix the issues.

I realised selection.bounds(at: page) delivers more correct results than page.characterBounds(at: index). But not as good as characterBounds(at) for iOS 17 and earlier.

// page: PDFPage

for (index, character) in page.enumerated() {
        
    let range = NSRange(location: index, length: 1)
    guard let selection = page.selection(for: range) else { continue }

    let charBounds = selection.bounds(for: page)
}

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

79510277

Date: 2025-03-14 21:48:03
Score: 0.5
Natty:
Report link

Posting an answer here to clarify my own findings based on @Yashashri Pawar's helpful answer above.

My tsconfig.json file:

{
  "compilerOptions": {
    "module": "NodeNext",
    "esModuleInterop": true,
    "moduleResolution": "nodenext",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "lib",
    "sourceMap": true,
    "strict": true,
    "target": "es2017"
  },
  "compileOnSave": true,
  "include": [
    "src"
  ]
}

My .eslintrc.js file:

module.exports = {
  root: true,
  env: {
    es6: true,
    node: true,
  },
  extends: [
    "eslint:recommended",
    "plugin:import/errors",
    "plugin:import/warnings",
    "plugin:import/typescript",
    "google",
    "plugin:@typescript-eslint/recommended",
  ],
  parser: "@typescript-eslint/parser",
  parserOptions: {
    project: ["tsconfig.json", "tsconfig.dev.json"],
    sourceType: "module",
  },
  ignorePatterns: [
    "/lib/**/*", // Ignore built files.
    "/generated/**/*", // Ignore generated files.
  ],
  plugins: [
    "@typescript-eslint",
    "import",
  ],
  rules: {
    "quotes": ["error", "double"],
    "import/no-unresolved": 0,
    "indent": ["error", 2],
  },
};

...and my .vscode/settings.json file:

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "eslint.workingDirectories": [
    "./functions",
  ]
}

That setup got me going with firebase functions out of the box. Upvote the above answer for proper credits ☝️

Reasons:
  • Blacklisted phrase (0.5): Upvote
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Yashashri
  • Low reputation (0.5):
Posted by: Maxime Franchot

79510273

Date: 2025-03-14 21:46:02
Score: 4.5
Natty:
Report link

Not an answer but Here's the the info I've found about:

https://developer.apple.com/forums/thread/763311
https://developer.apple.com/forums/thread/659621

Reasons:
  • Blacklisted phrase (1): Not an answer
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Manolis Dame

79510267

Date: 2025-03-14 21:43:01
Score: 0.5
Natty:
Report link

For tailwind v4

@import "tailwindcss/theme.css" layer(test);

@layer test {
  #root {
    @tailwind utilities;
  }
}

https://play.tailwindcss.com/NFMogqbwfp?file=css

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

79510265

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

when you run vllm: example

export MAX_MODEL_LEN=16000

vllm serve $HOME/Documents/work/large-language-models/DeepSeek-R1-Distill-Qwen-7B --host 0.0.0.0 --port 8000 --max-model-len=$MAX_MODEL_LEN --uvicorn-log-level debug

if you don't specify explicity MAX_MODEL_LEN, it will use default value of model that you use.

--max-model-len
Model context length. If unspecified, will be automatically derived from the model config.

It's causing your GPU to run out of memory. You need to limit it by setting export MAX_MODEL_LEN=<appropriate value>

thís problem is related to server-side, VLLM of langchain don't use max_model_length like you. [example](https://github.com/langchain-ai/langchain/blob/c74e7b997daaae36166e71ce685850f8dc9db28e/docs/docs/integrations/llms/vllm.ipynb#L278)

llm = VLLM(
    model="meta-llama/Llama-3.2-3B-Instruct",
    max_new_tokens=300,
    top_k=1,
    top_p=0.90,
    temperature=0.1,
    vllm_kwargs={
        "gpu_memory_utilization": 0.5,
        "enable_lora": True,
        "max_model_len": 350,
    },
)

it use vllm_kwargs, the config is configured for client-side.

Reference

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): when you
  • Low reputation (0.5):
Posted by: happy

79510243

Date: 2025-03-14 21:28:58
Score: 5.5
Natty:
Report link

Have you looked at Spark tuning?

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

79510228

Date: 2025-03-14 21:15:56
Score: 1.5
Natty:
Report link

I agree to the answer of @Charlieface, then if you don't want NULL order_date value in the result you may declare it as IFNULL(order_date, 'any date or value') AS order_date, and for country having NULL values as well IFNULL(country, ''EU' or 'All' or something') AS country.

As a reminder GROUPING SETS intentionally produces NULL values when columns are not included in a particular grouping combination.

Having NULL values is not an error; it's a fundamental part of how GROUPING SETS works.

It is very common to use the COALESCE or IFNULL functions along with GROUPING SETS to convert the null values to another value.

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

79510220

Date: 2025-03-14 21:10:54
Score: 2.5
Natty:
Report link

I resolved it i needed to add @include mat.core(), i dont know how it is possible that angular material v16 worked well without it.

Reasons:
  • Blacklisted phrase (0.5): i need
  • Whitelisted phrase (-2): I resolved
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @include
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alan Dolan

79510219

Date: 2025-03-14 21:09:54
Score: 1
Natty:
Report link

If you need a quick estimate of token usage and costs, you can use thetokencalculator.site. It calculates token counts using tiktoken from openai and provides cost estimates based on OpenAI's documentation. The tool also supports Deepseek models.

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

79510216

Date: 2025-03-14 21:07:54
Score: 1
Natty:
Report link

inspired by the answer of @mcskinner, you can use .resample() in place of lambda function.

y = y.groupby('user').resample('H', level = 'datehour').y
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @mcskinner
  • Low reputation (1):
Posted by: ktp89

79510210

Date: 2025-03-14 20:59:52
Score: 1.5
Natty:
Report link

In Alan Christensen's code you can use the Up mouse event, then the ContextMenuStrip will also fire

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

79510209

Date: 2025-03-14 20:58:52
Score: 2.5
Natty:
Report link

I recently ran into this issue and found a solution.

Essentially you need to use the data extraction term for the relevant part of the smart chip within the formula. For example, I was looking to sum a set of cells IF the reference smart chip cell had a particular name, so I had to add ".name" to the reference range. I found this not to be very intuitive, as I thought the reference should recognize that I was looking for the name or that the specification should be in the criterion section of the formula.

For me, the proper formula was:

=SUMIF(Spring_Cleaning_List[Owner].name,"*Alyssa*", Spring_Cleaning_List[Est workload])

If you're not using a table it'll look like:

=SUMIF(A:A.name,"*name*", B:B)

of course, if you're looking to extract the email or another aspect of the smart chip you won't use ".name", you'll use the relevant extraction term.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Alyssa

79510205

Date: 2025-03-14 20:55:51
Score: 1
Natty:
Report link

Now with iOS 17.0+, MacOS 14.0+, there's an onKeyPress() modifier to do that, while allowing us to stick to a TextEditor https://developer.apple.com/documentation/swiftui/view/onkeypress(_:action:)

// Handle keyboard events for Enter and Shift+Enter
.onKeyPress(keys: [.return]) { event in
    if event.modifiers == .shift {
        // let the dispatch continue, so TextEditor handles ENTER -> adds a new line
        return .ignored
    }
    // otherwise, handle the key press -> submit
    handleSubmit()
    return .handled
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: blackhogz

79510203

Date: 2025-03-14 20:55:51
Score: 1.5
Natty:
Report link

I had this issue especially with html attributes. Turns out there's a specific html setting (html.completion.attributeDefaultValue ) which when set to empty does allow for autoclosing the quotes, without moving the cursor past the closing quote.

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

79510192

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

These days, such transformations are done with [sklearn's ColumnTransformer](https://scikit-learn.org/stable/modules/generated/sklearn.compose.ColumnTransformer.html) or (easier), [skrub's TableVectorizer](https://skrub-data.org/stable/reference/generated/skrub.TableVectorizer.html).

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

79510189

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

As of 3/14/2025, I have confirmed Azure doesn't not support authentication using retail API. Hence, it is not possible to retrieve the Enterprise agreement pricing using the retail API as questioned earlier.

Option 1: Use Azure pricing calculator, sign in to get enterprise agreement price.

Option 2: (Requires EA admin or Enrollment reader role over EA billing account)

To retrieve EA pricing, download cost management price sheet as .csv file. Write automation script to filter price of any resource. One simple way would be using Meter ID.

Option 3: (Requires EA admin to sync EA pricing sheet to storage account)

If you do not have EA admin or Enrollment reader role, you can ask the admin to sync the pricing sheet to storage account. Finally get access to storage account and write automation to retrieve the pricing of desired resource. Here is the Azure documentation for improved exports experience.

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

79510186

Date: 2025-03-14 20:46:49
Score: 1
Natty:
Report link

only this worked for me :- we need to download Microsoft Visual C++ Redistributable latest

https://www.youtube.com/watch?v=eeIlKz3CNmc

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: DILSHAD AHMAD

79510184

Date: 2025-03-14 20:46:49
Score: 3
Natty:
Report link

Ok, I found a solution wrote by user557597. By adding these flags:

#define _REGEX_MAX_STACK_COUNT 200000
#define _REGEX_MAX_COMPLEXITY_COUNT   1000000000L

it extends the stack size and loop count.

best regards

Reasons:
  • Blacklisted phrase (0.5): best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mike

79510178

Date: 2025-03-14 20:43:47
Score: 9.5 🚩
Natty: 6.5
Report link

I have a question if I have two users one user will login but second user will not access the first user data without their authentication and if they will login the admin the admin page redirect to home please give me a solution for this i have two users for authentication?

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (2.5): please give me a solution
  • RegEx Blacklisted phrase (1): I have a question if I have two users one user will login but second user will not access the first user data without their authentication and if they will login the admin the admin page redirect to home please
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rana Anas Aslam

79510172

Date: 2025-03-14 20:41:46
Score: 4
Natty: 4.5
Report link

For newer systems, Ubuntu 24+
Follow the steps given here - https://docs.docker.com/engine/security/rootless/

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

79510170

Date: 2025-03-14 20:40:46
Score: 2
Natty:
Report link

It's not exactly what you're looking for, but I found a workaround, using Emojis.
I just use line breaks (Alt+Enter) and add either a white square or a green check.
It's pretty easy to update on the computer, so even though it's not as simple as a checkbox, it works out pretty well.

Image Attached Example of single-cell checklists with various states

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

79510161

Date: 2025-03-14 20:36:45
Score: 0.5
Natty:
Report link

There is a built in function. STRING_SPLIT. It requires compatibility level 130.

https://learn.microsoft.com/en-us/sql/t-sql/functions/string-split-transact-sql?view=sql-server-ver16

That will take care of you.

Try this to see what it does:

select value from STRING_SPLIT ('3,7,12,33,43',',')

so like:

select * from myTable T
where 3 in (select value from string_split(T.categoryIds,','))
Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jerrylagrou

79510156

Date: 2025-03-14 20:31:44
Score: 3.5
Natty:
Report link

This issue is fixed and scheduled for stable release early April.

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

79510152

Date: 2025-03-14 20:28:44
Score: 2
Natty:
Report link

I worked for me; you gotta take in mind the Date Created vs Date Modified columns shown in Windows Explorer

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miguel A Samayoa Ríos

79510141

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

You could create the object in "tests/testthat/setup.R". The testthat vignette on special files covers setup files and a few others of possible general interest, such as "helper" files and data files.

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

79510140

Date: 2025-03-14 20:17:42
Score: 1.5
Natty:
Report link

I found the correct syntax using the sx property:

<ButtonSlider
    sx={{
        backgroundColor: dataSlider.buttonColor, 
        '&:hover':{
            backgroundColor:dataSlider.buttonHoverColor
        },
    }}
    variant="contained">
    {data.buttonText}
</ButtonSlider>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: binsworth

79510121

Date: 2025-03-14 20:06:40
Score: 3
Natty:
Report link

The error was due to Angular SSR being enabled. To fix it, I disabled SSR by removing "server": "src/main.server.ts" and changing the outputMode to "outputMode": "static" from angular.json.

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

79510119

Date: 2025-03-14 20:06:40
Score: 1.5
Natty:
Report link

chrome://flags/#allow-insecure-localhost doesn't work anymore. I think it was taken out, or we have an internal policy that removed it. I think it was also deemed "experimental" and google said it could be removed in the future.

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

79510117

Date: 2025-03-14 20:05:40
Score: 0.5
Natty:
Report link

I suspect you will find that your Web hosting is running an older version of PHP. Equally you should look in /vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Spreadsheet.php at line 269 and see what is there.

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

79510106

Date: 2025-03-14 19:59:39
Score: 2.5
Natty:
Report link

If you are using choco install gnucobol, modify the 'Path' variable in Environment Variables to include this path (because that's where the file gcc.exe is located) :

C:\ProgramData\chocolatey\lib\gnucobol\tools\bin

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

79510105

Date: 2025-03-14 19:58:38
Score: 3
Natty:
Report link

This isn't my answer but I'm having the same problem and this is what I found

"In case anyone else is banging their head against a wall with this. I will provide my solution. It seems that voip notifications need to report to call kit within seconds so it has to be done right away. I was using an API call to get the call details first and then reporting the call. This will cause an error to show up that says the same thing I just explained. If you keep sending notifications without reporting right away after about 4 times Apple will block the notifications from coming in. From your notification server you will see 200 success but nothing on the app side. I had to delete the app and install again to see the error message again, then reporting the call to CallKit right after seems to work. Background and killed state. I did use a serial queue (not main). Good luck to anyone else out there facing this issue as the threads are bare bones on answers. Hope this helps."

https://developer.apple.com/forums/thread/723225

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (0.5):
Posted by: Manolis Dame

79510101

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

This is an old question, but regarding this issue: the behavior you requested is still not possible, by usage of hotkeys.

However, the UI button strategy you described is wrong. The correct strategy is to have the UI be moved around to the views, and possibly scaled (if the views have different scale). When the button is clicked, you have to navigate to the view AND move the menu to the new position.

Several example models provide this kind of UI-based menu that moves around the views, like this example model Example Model (Grain Terminal)

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

79510090

Date: 2025-03-14 19:48:36
Score: 1
Natty:
Report link

I used app.UseFileServer(); in program.cs and solved

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

79510086

Date: 2025-03-14 19:46:36
Score: 2
Natty:
Report link

For Tensorflow, you need to use version 2.14.0 or earlier, per the resolution of this issue.

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

79510084

Date: 2025-03-14 19:44:35
Score: 1
Natty:
Report link

The latest version of Pinecone has shifted away from the Pinecone clasinecone.io/. s. Instead, initialize with pinecone.init()
try

import pinecone

pinecone.init(api_key="*****", environment="") 

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

79510083

Date: 2025-03-14 19:44:35
Score: 3.5
Natty:
Report link

const [showPass, setShowPass] = useState(false);

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

79510069

Date: 2025-03-14 19:34:33
Score: 2.5
Natty:
Report link

Almost every IDE has this feature, it is available on Android Studio, Vs-code also has this feature,

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

79510067

Date: 2025-03-14 19:33:33
Score: 3
Natty:
Report link

I faced the same issue in but a peer to peer federated learning architecture. Make sure to do multiple communication rounds because one round of averaging will not help the model learn all the important features, in fact it may dilute some of the features too.

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

79510062

Date: 2025-03-14 19:29:32
Score: 1
Natty:
Report link

In some cases, the underline might be added by the operating system or browser autofill features. This is less likely in a Flutter app, but it's worth considering.

TextField(
  enableSuggestions: false,
  autocorrect: false,
  ...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bruno Sousa de Oliveira

79510055

Date: 2025-03-14 19:27:32
Score: 7
Natty: 7
Report link

what config eventually worked?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Has no white space (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Matthew Loschiavo

79510042

Date: 2025-03-14 19:20:30
Score: 2.5
Natty:
Report link

I use a self-hosted runners(Linux), this allows me to use same machine every time, so the UUID remains static.

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

79510036

Date: 2025-03-14 19:17:29
Score: 3.5
Natty:
Report link

The issue is there is a set cookie you need to keep updating or use.

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

79510033

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

mesa.time was removed in version 3 (see the migration docs).

There are two option.

  1. If you want to keep using version 3 you could use your own time.

for instance:

import time

or,

  1. you could switch back to version 2.
pip install mesa == 2.3.2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: LadyBug

79510024

Date: 2025-03-14 19:10:28
Score: 3.5
Natty:
Report link

I am agree with you but oooh yes hwe hwe

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

79510020

Date: 2025-03-14 19:08:27
Score: 3
Natty:
Report link

Same issue, here's the fix

tokio = { version = "1.0", features = ["full", "macros"] }
Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kehinde

79510015

Date: 2025-03-14 19:07:27
Score: 2.5
Natty:
Report link

Vuetify finally added a way to prevent this behavior

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

79510013

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

Instead of creating a new anonymous user immediately when user is nil, introduce a short delay (e.g., 1-2 seconds). If Firebase restores the user in that time, skip creating a new user.

func StackOverFlow_forAuthState_GetOnAppLaunch() {
    guard handle == nil else { return } // Ensure observer is only set once

    handle = Auth.auth().addStateDidChangeListener({ (auth, user) in
        if let user = user {
            if user.isAnonymous {
                print("🔥 - user is anonymous ⬜️ \(user.uid)")
            } else if user.isEmailVerified {
                print("🔥 - user is email verified ✅ \(user.uid)")
            } else {
                print("🔥 - user needs email verification 🟧 \(user.uid)")
            }
        } else {
            print("🔥 - user not found. Waiting before signing in anonymously...")

            // Delay before creating a new anonymous account
            DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {
                if Auth.auth().currentUser == nil { // Double-check before signing in
                    print("🔥 - Still no user, signing in anonymously...")
                    Auth.auth().signInAnonymously { (authResult, error) in
                        if let error = error {
                            print("❌ Error signing in anonymously: \(error.localizedDescription)")
                            return
                        }
                        guard let user = authResult?.user else { return }
                        print("✅ Anonymous UID: \(user.uid)")
                    }
                } else {
                    print("✅ - Firebase restored user, no need to sign in again")
                }
            }
        }
        
        // Notify UI
        NotificationCenter.default.post(name: .auth_change, object: nil)
    })
}
Reasons:
  • Blacklisted phrase (1): StackOverFlow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mian Usama

79510012

Date: 2025-03-14 19:06:27
Score: 3
Natty:
Report link

I m just a simple poor boy I m using the social media to the smile on your face bcse I love my social media account

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

79510009

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

I had the same ERROR message and i fix it by creating a new python virtual environment with python 3.12.4, this might not be the right answer to the problem but hope it will be helpful somehow!

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

79510006

Date: 2025-03-14 19:02:25
Score: 3
Natty:
Report link

Except when it's not.

The error occurs even when package.json does not contain ">=".

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

79510005

Date: 2025-03-14 19:02:25
Score: 1
Natty:
Report link

Disclaimer: I am a technical support staff for DRAC.

I stumble upon this while researching something else. For questions related to installation on DRAC (formerly know as Compute Canada) systems, please open a support ticket and myself or another support person will happily help you to resolve your issues.

For technical support/​help: https://docs.alliancecan.ca/wiki/Technical_support

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

79510004

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

You will have to check for packages that have been archived or been moved to a new repository

for example

react-native-fbsdk has been moved to react-native-fbsdk-next

So likewise all other packages you have installed go to their Github and see if there are things mentioned for the package updation.

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

79510001

Date: 2025-03-14 18:57:25
Score: 1.5
Natty:
Report link

I had the same problem in windows 11,

deleting the %APPDATA%\Code\User\settings.json file solved it for me.

the --disable-gpu or rasterizer answers didn´t do it.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cézar Augusto

79509997

Date: 2025-03-14 18:53:24
Score: 3
Natty:
Report link

I did the same thing as you did and you are right, I was using v2021.0.3 and reverted back to v2021.0.1, which solved it

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jean-Pierre SAMRA

79509990

Date: 2025-03-14 18:47:22
Score: 4
Natty:
Report link

The compact view will not show this. Try switching to it.

enter image description here

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

79509986

Date: 2025-03-14 18:45:21
Score: 1
Natty:
Report link

Set folder ./sql in Kotlin:

val flyway = Flyway.configure()
    .locations("filesystem:./sql")
    .dataSource(/*config to your DB*/)
    .load()
flyway.migrate()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: gee12

79509981

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

I think you can solve this by these steps:

  1. Refresh the page or restart the browser.

  2. Clear cache and cookies again, ensuring both are fully cleared.

  3. Disable browser extensions (especially ad-blockers) or open the page in Incognito/Private mode.

  4. Try a different browser (Chrome, Firefox, Edge, etc.).

  5. If none work, log out and log back in.

I hope you will get you answer.

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

79509965

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

Also, in Solidity, be careful not to use calldata as the storage type for a function’s return value. calldata is a special, read-only storage location used for function inputs in external calls, and its data only exists during the function’s execution. Once the function finishes, the calldata scope ends, making it unavailable for return values. Instead, return values must use memory or storage types always!

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tony N.

79509960

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

You can use a for each excel sheet activity. And then perform your action within the given for loop.

enter image description here

Alternatively you can also use only code within an assign to get all. sheet names, add them to an array, and then iterate through the array.

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kevin Foendoe

79509954

Date: 2025-03-14 18:27:18
Score: 3
Natty:
Report link

Lucky Singh 2000VALID ₹50,000 10,00,000 3,00,00,000 4000 (78770 31438) EAF

8910/- 26Fnu 💰 🤑 💸 gwillagangent MONEY 💰 ...okay लक्की सिंह. 2025 namaste 🙏

Reasons:
  • Blacklisted phrase (0.5): 🙏
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucky singh Motras

79509949

Date: 2025-03-14 18:26:18
Score: 4.5
Natty: 4.5
Report link

Get it off me! This thing is terrible - make it go away.

OR does anyone now another Editor with easy ftp integration ?

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

79509945

Date: 2025-03-14 18:24:17
Score: 1.5
Natty:
Report link

just an update on where we are with the pipeline fix, and somethings I found.

It seems that PowerShell was using version 5 by default when 7 is available, it gives another error, although a “better” one.

https://devblogs.microsoft.com/devops/deprecating-weak-cryptographic-standards-tls-1-0-and-1-1-in-azure-devops-services/

Essentially running Quick check of TLS 1.2 compatibility throws an error. It had something to do with the cipher suites enabled on the server.

On our server:

TLS_RSA_....

.....

....

In the article:

It is key that on the OS one of the four TLS 1.2 cipher suites below is enabled:

And it doesn’t seem like they are there ( I checked using Get-TlsCipherSuite).

Running this in in powershell 7 give the following issue:

run: (Invoke-WebRequest -Uri status.dev.azure.com -UseBasicParsing).StatusDescription

Result: Invoke-WebRequest: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

So according to the guy: You have the problem if the above fails with “The underlying connection was closed: An unexpected error occurred on a send.”

the fix to add those The sys admin followed these steps:

Using Group Policy

  1. Open the Group Policy Management Console.

  2. Navigate to Computer Configuration > Administrative Templates > Network > SSL Configuration Settings.

  3. Double-click SSL Cipher Suite Order and click the Enabled option.

  4. Right-click the SSL Cipher Suites box and select Select all from the pop-up menu.

  5. Right-click the selected text and select Copy from the pop-up menu.

  6. Paste the text into a text editor such as Notepad and update it with the new cipher suite order list.

  7. Replace the list in the SSL Cipher Suites box with the updated ordered list.

  8. Click OK or Apply.

Changes will take effect after a restart. If you need more detailed information, you can find it here.

Thanks for all the help

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

79509940

Date: 2025-03-14 18:22:17
Score: 4
Natty:
Report link

There is a link now on comments:

enter image description here

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

79509908

Date: 2025-03-14 18:08:13
Score: 0.5
Natty:
Report link

You can check your imports in "main.js", it might stuck because case sensitive.

For example you have a line below in "main.js" but actual file name is "app.vue", in this case you can see this error. But it can still work okay in local, it is depend to your environment.

import App from './App.vue'

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ömer Kamçılı

79509879

Date: 2025-03-14 17:53:10
Score: 4
Natty:
Report link

Try

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

79509873

Date: 2025-03-14 17:53:10
Score: 1
Natty:
Report link

I think indeed it's not possible as we want (I'm facing the same situation). If we change Customer, the migration will be down the line in customer app migrations, and at time of applying 0001_initial it won't exist. But it needs foreign keys to User in 0001_initial.

All the docs say it must be a separate application.

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

79509868

Date: 2025-03-14 17:50:09
Score: 4
Natty: 4.5
Report link

Thank you very much for sharing your problem. It was the same as mine, it saved me here. Thanks, my friend.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vinicius.rich

79509858

Date: 2025-03-14 17:45:08
Score: 5
Natty: 4.5
Report link

Tenia el mismo problema y me di cuenta qué el ícono de 1024 * 1024 no debe tener bordes redondeados.

Puedes probar eso!

Reasons:
  • RegEx Blacklisted phrase (2.5): mismo
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Obsidiana

79509853

Date: 2025-03-14 17:42:07
Score: 2.5
Natty:
Report link

If you register your Faculty model as a snippet, FieldPanel will load the Snippet Chooser, which has a search box. You can then tweak the search by specifying the search fields and autocomplete fields for the Faculty model.

This is how the chooser looks like:

enter image description here

See Registering snippets and Making snippets searchable

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

79509846

Date: 2025-03-14 17:40:06
Score: 2
Natty:
Report link

As of February 2025 / Edge version 133.0, the current fix does not work because the allow-insecure-localhost flag is no longer available in the temporarily unexpired flags.

This can be fixed by modifying Edge's policies [1]: Use the SSLErrorOverrideAllowedForOrigins policy [2] or, more broadly, the SSLErrorOverrideAllowed policy [3]. These can be set in Intune or in the registry (see links). Setting the former policy to ["https://localhost"] works.

[1] edge://policy

[2] https://learn.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#sslerroroverrideallowedfororigins

[3] https://learn.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#sslerroroverrideallowed

(Copied from my answer at https://stackoverflow.com/a/79428053/21257318)

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

79509841

Date: 2025-03-14 17:38:06
Score: 3.5
Natty:
Report link

The comment of juanpa.arrivillega solves my problem:

"python package names are case insensitive, and on pypi, the "modAL" package seems to be distributed as "modAL-python""

I just replaced "modAL" by "modAL-python" and it works as expected. Thank you !

Can you add it as a regular answer so I can accept it ?

NOTE : Meanwhile I asked ChatGPT which suggested to use Poetry, but I couldn't find the right way to add this dependency line.

Here, @benjamin_a

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @benjamin_a
  • Low reputation (1):
Posted by: theKMan747

79509832

Date: 2025-03-14 17:33:05
Score: 0.5
Natty:
Report link

I found a temporary solution for this problem without reopen Visual Studio.

After creating the class, I have to press SaveAll button and I have to change Active Solution Configuration (If Debug than Release, if release than debug). Afterwards classes begin to be detected.

However, this action must be performed after each new class is created.

When I clicked the SaveAll button, I observed that it saved the code <Compile Include="Class1.cs" /> between the ItemGroup tags in the csproj file. I know this. But other projects don't need this action. It starts detecting the class as soon as you create it in other projects.

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

79509829

Date: 2025-03-14 17:33:05
Score: 3
Natty:
Report link

If you want to do dynamic FROMs, you can do:

ARG MYAPP_IMAGE=myorg/myapp:latest
FROM $MYAPP_IMAGE

From reference: https://stackoverflow.com/a/49939610/6650211

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

79509820

Date: 2025-03-14 17:29:04
Score: 1.5
Natty:
Report link

In my case, it was because I had a webapp (called ROOT) which just had index.html and no WEB-INF/web.xml file. As a result, the default setting in tomcat's code is not to use absolute ordering. To fix it, I simply created that folder and file with just the <absolute-ordering/> tag inside the<web-app> tag.

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

79509818

Date: 2025-03-14 17:29:04
Score: 3.5
Natty:
Report link

This solution worked also for me, Delphi 2007 + Office 2010.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dany Valbon

79509815

Date: 2025-03-14 17:28:04
Score: 3
Natty:
Report link

The comment of juanpa.arrivillega solves my problem:

"python package names are case insensitive, and on pypi, the "modAL" package seems to be distributed as "modAL-python""

I just replaced "modAL" by "modAL-python" and it works as expected. Thank you !

Can you add it as a regular answer so I can accept it ?

NOTE : Meanwhile I asked ChatGPT which suggested to use Poetry, but I couldn't find the right way to add this dependency line.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: benjamin_a

79509806

Date: 2025-03-14 17:24:03
Score: 0.5
Natty:
Report link

If I understand your problem correctly, you just need to check if the user is logged in when button is pressed.

This uses a ternary operator which basically means:

if this variable is true ? Do this : otherwise do this

<TouchableOpacity
  onPress={
    userLoggedIn ? DoLoggedInStuff : navigation.navigate("LoginScreen")
  }
>
  Click me!
</TouchableOpacity>
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Niclas Göransson

79509793

Date: 2025-03-14 17:17:02
Score: 2
Natty:
Report link

I'd fought with all kind of workarounds on tracking changes in my shared/online excel files and I'd ended up creating an app for that:
https://TrackChanges.app/

It can track changes in shared/online Excel or Google Spreadsheets and you can get email, Slack or Teams notifications with the actual changes.

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

79509782

Date: 2025-03-14 17:13:01
Score: 0.5
Natty:
Report link

Application.DateDifference will always return 0 if the first date passed in is later than the second date passed in.

Add a check to make sure you put the earlier date as the first argument.

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

79509764

Date: 2025-03-14 17:05:59
Score: 4
Natty:
Report link

may be you need docker? ew, maybe. i just cant exactly know what is S3 bucket

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

79509750

Date: 2025-03-14 17:00:58
Score: 3.5
Natty:
Report link

I think the original issue is that you're trying to mount to /dev. If you look at the gcsfuse docs, it says /dev is a restricted mount path.

The way you solved this was by adding gcsfuse inside your container, however, the docs also say you don't need to modify your container in any way to use the feature.

Having you tried changing the mount path and using your original image?

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

79509748

Date: 2025-03-14 16:58:57
Score: 7 🚩
Natty:
Report link

I'm trying to use the Secure PDF plugin in Moodle 4.5 on a local Apache server. I've made all the changes mentioned for the ImageMagick theme, but it still doesn't work. Any suggestions?

Change policy.xml as follows:

<policymap>
 <policy domain="delegate" rights="read|write" pattern="gs" />
     <policy domain="coder" rights="read|write" pattern="PDF" />
     <policy domain="delegate" rights="read|write" pattern="gswin64c" />
</policymap>

But when I upload a document to Moodle, it throws the following error:

ImagickException: FailedToExecuteCommand "gs" -sstdout=%stderr-dQUIET-DSAFER-DBATCH-DNOPAUSE-DNOPROMPT-dMaxBitmap=500000000-dAlign ToPixels=0-dGridFitTT=2"-SDEVICE=pngalpha" -dTextAlphaBits=4-dGraphicsAlphaBits=4 "-r150x150"-dPrinted=false*-sOutputFile=C:/Users/INNOVA~1/AppData/Local/Temp/magick-6Mjg7ywlThqzo3HGDLdGq0_2TmNV8ERx%d" "-fC:/Users/...AppData/Local/Temp/magick-K-JKeJ5TTiNf90cEz5-Kq0SwYdHxKxXx" "-fC:/Users/.../AppData/Local/Temp/magick-gyUWDIH8th4X3P540qJayx5JgNDVKrS-" (El sistema no puede encontrar el archivo especificado.)

@error/delegate.c/ExternalDelegateCommand/516 in

C:\Users\...\server\moodle\mod\securepdf\view.php:98 Stack trace: #0

C:\Users\...\server\moodle\mod\securepdf\view.php(98): Imagick->readImageBlob('%PDF-1.7\r\n%\x35\x35\x35\xB5...) #1 (main)

I appreciate any help you can give me.

Reasons:
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (2): Any suggestions?
  • RegEx Blacklisted phrase (2): it still doesn't work
  • RegEx Blacklisted phrase (2): encontrar
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: jhonatan

79509745

Date: 2025-03-14 16:57:56
Score: 1.5
Natty:
Report link

I would recommend looking into using CSOM to query the Project Online database rather than the HttpClient. It's a NuGet package you can add to your project.

Check out that link and the surrounding topics.

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

79509743

Date: 2025-03-14 16:56:56
Score: 1
Natty:
Report link

Adding the follwing layer after inputs solves the issue by force reshaping inputs, as suggested in the comments:

class ReshapeLayer(keras.layers.Layer):
    def __init__(self, **kwargs):
        super(ReshapeLayer, self).__init__(**kwargs)

    def build(self):
        pass

    def call(self, inputs):
        return tf.expand_dims(inputs, axis=-1)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: The_Docc

79509740

Date: 2025-03-14 16:53:55
Score: 1
Natty:
Report link
Between calls to avformat_alloc_output_context2() and avcodec_find_encoder() I think you need to call:

avio_open2(&formatContext->pb, url, AVIO_FLAG_WRITE, NULL, NULL);

Otherwise pb is NULL when the AVFormatContext trys to write the data.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Starman2049

79509739

Date: 2025-03-14 16:52:55
Score: 5.5
Natty: 6
Report link

After go to PSS the behavior (performance) is similar to 4.X?

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

79509735

Date: 2025-03-14 16:51:54
Score: 0.5
Natty:
Report link

The easiest way is to copy the code Termly provides and loadit as HTML:

export default function Terms() {
    const termlyPolicy = `
        // PASTE HERE THE CODE FROM TERMLY
    `;

    return  <div className="p-6" dangerouslySetInnerHTML={{ __html: termlyPolicy }} />
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: miguelaeh

79509726

Date: 2025-03-14 16:49:54
Score: 0.5
Natty:
Report link

I was need generate new code by changed .proto

After several attempts I realized that I don't need the plugin. And in order to update classes according to the .proto, I run "quarkusBuild" task.

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

79509725

Date: 2025-03-14 16:48:54
Score: 0.5
Natty:
Report link

In my case, I was trying to connect to a "3rd party" database that didn't exist. Example,

$foodb = Database::getConnection( 'default', 'foo' ) ;

where the foo database was not configured it settings.php.

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

79509724

Date: 2025-03-14 16:48:54
Score: 1.5
Natty:
Report link

I found this clean approach :

 try (Timeout t = Timeout.after(5, TimeUnit.SECONDS)) {
     doSomething();
// this thread will self-interrupt if it doesn't reach this line within 5 seconds
 } catch (InterruptedException e) {
 // thread timed out or was otherwise interrupted
 }

source : https://docs.oracle.com/middleware/1221/coherence/java-reference/com/oracle/common/base/Timeout.html

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

79509720

Date: 2025-03-14 16:47:53
Score: 1
Natty:
Report link

Would highly recommend if possible to just use generic resources like "Electrician" and "Mechanic" in the resource sheet rather than individual names of people for your resources.

It's way more of a pain in the butt to manage when one of your named resources leaves the company, gets promoted to a different role, goes on parental leave, etc.

I would also recommend setting the calendar of all of these generic resources to your standard company calendar with holidays, the same as your project.

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

79509716

Date: 2025-03-14 16:44:53
Score: 1
Natty:
Report link

In java, the import statements themselves do not load anything into memory. They are just references to classes or packages that the Java compiler and the JVM will use to resolve class names. The actual loading of classes happens during runtime when those classes are needed

In python, when you import a module, the entire module is loaded into memory at runtime. This means that even if you import a module but never actually use it, Python will still load the module into memory, which includes all definitions, functions, and objects in that module.

In terms of memory efficiency, this does make Python less efficient in this specific context, because Python will allocate memory for entire modules that might not even be needed.

About your last question Python will still load all 3 packages into memory, whereas Java will only load the package that you actually use.

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