79412473

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

Update: as stated in this answer, mediapipe is now supported on Python 3.12 (see this documentation).

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kovy Jacob

79412433

Date: 2025-02-04 16:52:59
Score: 4.5
Natty:
Report link

useMemo do not keep your data on refresh page (full reload browser page and not re-reder) . Did you tried some way for caching your api response?

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

79412431

Date: 2025-02-04 16:50:57
Score: 4
Natty:
Report link

Settings -> File Browser -> Use checkboxes to select items -> Yes(default True)

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

79412427

Date: 2025-02-04 16:48:57
Score: 1.5
Natty:
Report link

IsAsync=True was the source of the problem. Without it controls are not being re-created. I am not sure what's going on behind the scenes though.

The help (https://learn.microsoft.com/en-us/dotnet/api/system.windows.data.binding.isasync?view=windowsdesktop-9.0) says "Use the IsAsync property when the get accessor of your binding source property might take a long time."

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): was the
  • Low reputation (0.5):
Posted by: Alex Gdalevich

79412426

Date: 2025-02-04 16:48:57
Score: 2.5
Natty:
Report link

3D2D UI library: https://github.com/wyozi-gmod/imgui

Never used but heard many times. In next time ask at development channel at gmod discord to faster get answer

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

79412416

Date: 2025-02-04 16:45:56
Score: 0.5
Natty:
Report link

try this code, to edit the source code

Reasons:
  • Whitelisted phrase (-2): try this code
  • Low length (2):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ikram Bashir

79412415

Date: 2025-02-04 16:45:56
Score: 0.5
Natty:
Report link

Just do subsets specifying the condition using the column rank_group:

import pandas as pd
df = pd.DataFrame({'rank_group':[1,1,2,2,2,2,3,3,3,4,4,4,5,5,6,6,6,7,7,8,8,8]})

train, validation, test = df[df['rank_group'] <6], df[df['rank_group'].isin([6,7])], df[df['rank_group'] >7]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: brenodacosta

79412412

Date: 2025-02-04 16:45:56
Score: 1
Natty:
Report link

Possibly try to search for it as you might not have the specific portion for Visual Studio to see it.

Also you can add the component through the NuGet Package Manager, and Visual Studio installer components has the developer bundle that contains it as well.

Here is a link that references those options in another post: How to reference Microsoft.Office.Interop.Excel dll?

Hopefully that helps.

(if you haven't solved it already)

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

79412411

Date: 2025-02-04 16:44:55
Score: 2.5
Natty:
Report link

See the memory_graph package for a visual representation of your Python program state while using one of various debugger tools. Alternatively debugger tool Python Tutor can be used to visualize the state of a small program.

Full disclosure: I am the developer of memory_graph.

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

79412396

Date: 2025-02-04 16:38:52
Score: 6 🚩
Natty:
Report link

I have the same issue. I have two classes one-to-many (parent -> [child]) relationship. If I put the SwiftData relationship (explicit or inferred), even adding the records, the performance is degraded too much (Talking about 100k+ records). My only option was remove the relationship and add manually foreign keys to child entities, and modifying the queries to look for Ids.

What helped too was:

How do you insert an array of objects into the SwiftData ModelContext

Reasons:
  • Blacklisted phrase (1): How do you
  • Blacklisted phrase (1): I have the same issue
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: user2722327

79412388

Date: 2025-02-04 16:33:51
Score: 2.5
Natty:
Report link

This appears to have been a temporary latency issue within the GCP system, errors are now reporting for me in sub-minute latencies.

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

79412380

Date: 2025-02-04 16:30:50
Score: 3.5
Natty:
Report link

Seem to be a PrimeVue issue : https://github.com/primefaces/primevue/issues/6924 https://github.com/primefaces/primevue/issues/7075

fixed here : https://github.com/primefaces/primevue/commit/536d21cef153416c665f728ee04012a0c492ae69

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

79412379

Date: 2025-02-04 16:29:50
Score: 0.5
Natty:
Report link

I wont differ because your code just changes the velocity of the gameobject. If velocity changes, speed changes but since transform.right * velocity * 3f is always same, velocity doesnt change, so speed doesnt change.

You can try this yourself by going to game window, selecting resolution option then turning Vsync on or off. Enabling Vsync will lock your fps to 60, disabling it will increase your fps. Vsync option in game window

You can see your fps from going to game window and clicking stats option Stats option in game window

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BringSalavat

79412377

Date: 2025-02-04 16:29:50
Score: 0.5
Natty:
Report link

Is about Ideolog plugin configuration.

Go to:

File | Settings | Editor | Log Highlighting --> is using Windows and Linux

or

PhpStorm | Settings | Editor | Log Highlighting --> if using macOS

Set a value in Allow editing log files smaller than (KB)

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

79412374

Date: 2025-02-04 16:28:50
Score: 2
Natty:
Report link

In my opinion the best way is to install Bash on Windows (one comes free with git, or from https://www.msys2.org/) and run 'tail -F', and several other utils, from there.

An alternative is to install WSL but it's a bit excessive just to have the command tail...

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

79412367

Date: 2025-02-04 16:24:48
Score: 0.5
Natty:
Report link

I think that Mahmoud Ben Hassine's reply in this GH issue could be the solution.

https://github.com/spring-projects/spring-batch/issues/4466#issuecomment-1777222632

So in your case, not using an incrementer is the way to go. An incrementer is really only useful when there is a clearly defined sequence of job instances based on job parameters (ie the next job instance is defined by incrementing the parameters of the previous job instance).

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Duliamo Ergassia

79412363

Date: 2025-02-04 16:22:48
Score: 3
Natty:
Report link

Simply goto the project properties and ensure that "create a Windows MSIX package" checkbox is checked, in the Application->"Windows Target" tab, refer to the image attached.screenshot of the checkbox

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

79412358

Date: 2025-02-04 16:22:47
Score: 4
Natty:
Report link

The answer is in the body of the issue

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

79412351

Date: 2025-02-04 16:21:46
Score: 4.5
Natty: 6.5
Report link

This article has details on how to do migrate Azure repo to Gitlab with branches, history and tags.

https://www.smashingmagazine.com/2014/05/moving-git-repository-new-server/

Reasons:
  • Blacklisted phrase (1): This article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sohani

79412340

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

Just in case it helps, this modified Divi Blog module adds tag filtering.

leave blank for no extra filtering, use commas to set multiple tags: https://github.com/Dercetech/divi-custom/tree/main

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

79412316

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

It is indeed a setting, in the Navigation preferences:

enter image description here

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

79412305

Date: 2025-02-04 16:08:42
Score: 0.5
Natty:
Report link

JLS Compliance and Program Termination:

Your understanding is correct. According to the Java Language Specification (JLS), the program is not guaranteed to halt. The JMM allows executions where the write to the volatile flag is ordered after an infinite sequence of reads in the synchronization order. This means the main thread could theoretically observe false indefinitely, even after the write occurs, due to the JMM's lack of strict liveness guarantees. While volatile ensures visibility and happens-before ordering, it does not enforce real-time scheduling or bounded latency. Thus, the JLS permits behaviors where the program hangs, even if such scenarios are improbable in practice.

Real JVM Behavior:

In practice, no real JVM will hang for this program when flag is volatile. Real JVMs (like OpenJDK) implement volatile with strong visibility semantics, ensuring that writes are promptly propagated. The assembly you observed confirms that the loop checks the volatile variable directly (not cached), and the second thread’s write will eventually be observed. While the JLS theoretically allows non-termination, actual JVMs prioritize practical correctness over such edge cases. Non-termination would require a JVM that violates the intent of volatile, which no mainstream implementation does.

Final Answer :
Yes, the program is allowed to not halt under the JMM, but it will likely halt in practice on modern JVMs. ​

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

79412291

Date: 2025-02-04 16:03:41
Score: 1
Natty:
Report link

cast that to string first to avoid that

SELECT CAST(CONCAT('22', 'E', '01') AS VARCHAR(200)) AS string_E;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: R.F.

79412288

Date: 2025-02-04 16:03:41
Score: 1.5
Natty:
Report link

Try also changing selenium configuration from standalone-chrome >> standalone-chromium:

selenium:
    image: selenium/standalone-chromium
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: N O

79412284

Date: 2025-02-04 16:02:41
Score: 3.5
Natty:
Report link

UPDATE: Python 3.12 is now supported for mediapipe.

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

79412280

Date: 2025-02-04 16:01:41
Score: 3.5
Natty:
Report link

1.Проверьте, точно ли вы делаете коммит и пишете имя с почтой под одним пользователем. 2. Попробуйте пропустить параметр --global. 3. Проверьте читаемость файла .gitconfig в домашней директории.

Если вы под Linux и только вы пользуетесь компьютером: Выполните "sudo cp ~/.gitconfig /etc/gitconfig" (это скопирует конфиг в /etc)

Reasons:
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Alexandr Pakhabov

79412277

Date: 2025-02-04 15:59:40
Score: 1.5
Natty:
Report link

I don't know if that would help anyone but I had similar problem when using react-output-target. It just doesn't export the global css file. What I did was to import the styles in the entry point of my react-output-app and then export with

export * from './components/stencil-generated/components';

as per the documentation

That way it gets imported in the consuming app.

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

79412273

Date: 2025-02-04 15:58:40
Score: 1.5
Natty:
Report link

The transaction is started in parentLevel() when you then call second level that is also annotated transactional then the already created parent transaction is propagated to the second level. When then something in the second transaction fails it marks the transaction to be rolled back (even if you use retryable) what you would need to do is to open a new Transaction that you make Retryable that would solve the issue.

Check this out for more https://medium.com/@ayushgupta60/springboot-retry-transaction-marked-as-rollback-74ab21733469

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nico S.

79412270

Date: 2025-02-04 15:56:39
Score: 0.5
Natty:
Report link

For a slightly more general approach: to copy any canvas item:

coords = canvas.coords(item_id)
config = canvas.itemconfig(item_id)
new_config = {key: config[key][-1] for key in config.keys()}
item = new_canvas._create(item_type, coords, {})
new_canvas.itemconfigure(item, new_config)

enter code here

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

79412269

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

Felt the needs going to be a good day for you and your family and friends with you and your family and friends and family and friends and family and friends and friends and family and friends and friends and family and friends and friends and family and friends and friends and family and friends and friends and family and. Complex thing of that is research and I will be there in a few minutes and I will be there in a few minutes and I will be there in a few minutes and I will be there in a few minutes and.

Reasons:
  • Blacklisted phrase (1): good day
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Victor Villagrana

79412260

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

I faced an issue where my project, which was working fine before, suddenly stopped building successfully. To fix this, I added the following code inside the dependencies block in my build.gradle file :

dependencies {
    ///add this code here ...
    configurations.all {
    exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
    }
    ///end...
}

enter image description here

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

79412259

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

Right mouse click on document tab and in context menu select "Open Preview".

Another option is to click on the button Open Preview on the Side in the upper right corner.

Once more option is to press button combination Cmd+Shift+P(MacOS) or Ctrl+Shift+P(Windows) and in input field type "markdown"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vincent van Gogh

79412253

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

I have noticed this as well. Not sure what the issue is, it seems to only be affecting Text fields. You will also notice that when you add cards to the form for these fields that the ErrorMessage and Star components are not created. Can't tell if this is a bug or not.

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

79412246

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

I want meson to only run those that were affected by any changes I've made.

This is impossible to know, tests can depend on anything.

It has no way to only run newly compiled tests.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: TingPing

79412235

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

The answer above is RDD style. Here is the approach if you use Dataframe (in Scala):

// Using isin() function to check value in list of values
val listValues = Seq("Java","Scala")
df.filter(df("language").isin(listValues:_*)).show()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexei Sosenkov

79412228

Date: 2025-02-04 15:51:38
Score: 1
Natty:
Report link

I got a same error: "java.net.ConnectException: Connection refused", when I did remote debugging my local web server from a Java applicaiton.

Finally I found the problems:

  1. The "https://" was used while it should have been "http://" in my case.
  2. The port specified in the property file should be different from the port used for remote-debugging.

The URL in the property file in my Java application should be accessible and tested from the browser.

After made the above two changes, the issue resolved for me.

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

79412220

Date: 2025-02-04 15:39:28
Score: 0.5
Natty:
Report link

%d works for me, prints date/time in UTC:

log4cplus.appender.R.layout.ConversionPattern=%d{%H:%M:%S,%q %m-%d}  %5p  %m  (ThreadId %t)%n
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: gdudas

79412215

Date: 2025-02-04 15:39:28
Score: 1.5
Natty:
Report link

This formula returns the intended result in my sample sheet. I understand that you have access to FILTER and UNIQUE formulas.

=SUM(INDEX(UNIQUE(FILTER(D2:E18,C2:C18=2022)),,2))
+SUM(INDEX(UNIQUE(FILTER(D2:E18,(C2:C18<>2022)* 
(ISNUMBER(SEARCH("Saab",A2:A18))+ISNUMBER(SEARCH("White",B2:B18))))),,2))

Manufacturer

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

79412196

Date: 2025-02-04 15:30:27
Score: 0.5
Natty:
Report link

I was able to pass the "sasl.jaas.config" property value as a dynamic property by clicking on the (plus) + sign and adding this as key and whatever value you want to pass. It worked.

passing jaas config

Reasons:
  • Whitelisted phrase (-1): It worked
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Vijay Kumar

79412192

Date: 2025-02-04 15:29:26
Score: 2.5
Natty:
Report link

I believe that it is not actually mocking the New-Object command which is causing the failure. I've tried rescoping the Mock inside the "It" but still getting the same results. The problem seems to be with my Mock statement.

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

79412191

Date: 2025-02-04 15:29:26
Score: 3.5
Natty:
Report link

I have the exact same issue. But luckily, Github also recognises README.md file in docs/ directory and surfaces that up to display in repo homepage without having to symlink it.

docs/
- images/
   image.png
- README.md

Also make sure there are no README files in the root repo.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the exact same issue
  • Low reputation (1):
Posted by: Paul

79412189

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

I know it’s a very old question, but I struggle also to sign an xml file and searched hours for a working solution.

I worked with this solution. But your xml need a area like xml_template.

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

79412179

Date: 2025-02-04 15:22:25
Score: 0.5
Natty:
Report link

This is a common bug. As you noted, the project should be fully functional despite the error code, but I agree that it is unwanted and unhelpful. Luckily, the solution for most people(including when I was getting this error) is simple.

First, you note that you removed all references to the file. Make sure also that this is true for commented out sections. Some versions of the godot editor (please correct me if I am incorrect) will error from references to files even if they are commented.

The error is with the editor not "realizing" that files have changed, and so we essentially just need to force the editor to reload the project. Close your project, and open Godot again. Now, open another project. If you don't have another, just make a new one and open that. Then close it and open your main project again. Most of the time, this solves the issue. Repeat once or twice if the error persists.

The other common solution is one that you have already tried. I will include it for thoroughness. If you restore the "missing" files exactly to what they were pre-error, and delete through the editor, it may fix the problem as well. Consider reverting certain folders to previous versions through your version control setup.

If this doesn't help, please see https://github.com/godotengine/godot/issues/81867 for more fixes.

Reasons:
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (1.5): help, please
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jonathan F.

79412170

Date: 2025-02-04 15:18:23
Score: 4.5
Natty: 6
Report link

ok so quick question, is it possible for this code to be created without jump commands such as jmp .ect.?, because in this form there are too many lines for my liking. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dfghj

79412168

Date: 2025-02-04 15:18:23
Score: 0.5
Natty:
Report link

data.table as of v1.16.0 now allows for the following:

dt[, names(.SD) := lapply(.SD, fx)]

and

dt[, names(.SD) := lapply(.SD, fx), .SDcols = is.numeric].

So, you could run:

dt[ , names(.SD) := lapply(.SD, "*", -1), .SDcols = cols]

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

79412167

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

I tried this solution from Microsoft:

npm create vite@latest my-react-app -- --template react

Source: https://learn.microsoft.com/en-us/windows/dev-environment/javascript/react-on-windows

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

79412162

Date: 2025-02-04 15:16:22
Score: 1.5
Natty:
Report link

create a new navHostController for nested NavHost

val navController = rememberNavController()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Athar Gul

79412161

Date: 2025-02-04 15:16:22
Score: 1
Natty:
Report link

If the results folder is not generated, it means either there is some error in the benchmarking process and you need to look closely if everything executed successfully or you might need to run the benchmarking in verbose mode.

Regarding graphical representation, you can easily plot a bar chart using matplotlib python library that could do a side by side comparison. I assume you are good at professional plot in python using matplotlib.

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

79412155

Date: 2025-02-04 15:13:21
Score: 0.5
Natty:
Report link

So far, the best shot is to declare variables within the mixin and use them outside:

.test-mixin(@varname)
{
    test-prop: @varname; // Do something.

    @res-1: 7;
    @res-2: 8;
}

:root
{
    @test-var: 5;
    @result: .test-mixin(@test-var);
    --test-1: @result[@res-1]; // 7
    --test-2: @result[@res-2]; // 8
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shtole

79412153

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

if you are installing via conda do this:

conda install conda-forge::yfinance

According to: https://anaconda.org/conda-forge/yfinance

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

79412132

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

Immediately when branch name is updated: This option sets the build policy status in a pull request to failed when the protected branch is updated. Requeue a build to refresh the build status. This setting ensures that the changes in pull requests build successfully even as the protected branch changes. This option is best for teams that have important branches with a lower volume of changes. Teams working in busy development branches may find it disruptive to wait for a build to complete every time the protected branch is updated.

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

79412130

Date: 2025-02-04 15:04:18
Score: 0.5
Natty:
Report link
               const URLBox = ({ url, onDelete }) => {
      const handleCopy = async () => {
        try {
          await navigator.clipboard.writeText(url);
        } catch (err) {
          console.error('Copy failed', err);
        }
      };

      return (
        <Box
          sx={{
            width: '100%',
            border: '1px solid #ccc',
            borderRadius: 0,
            p: 1,
            display: 'flex',
            alignItems: 'center',
            wordBreak: 'break-all', // allows long URLs to wrap within the container
          }}
        >
          <Typography variant="body2" sx={{ flexGrow: 1 }}>
            {url}
          </Typography>
          <IconButton size="small" onClick={handleCopy}>
            <ContentCopyIcon fontSize="small" />
          </IconButton>
          <IconButton size="small" onClick={() => onDelete(url)}>
            <DeleteIcon fontSize="small" />
          </IconButton>
        </Box>
      );
    };
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kumar

79412126

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

The implementation of ORB in OpenCV is available to .NET languages through the Emgu .NET wrapper library.

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

79412109

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

I was facing it when I was installing Flutter Firebase CLI from a YouTube Video, It is solved in that video and it is simple

sudo gem install xcodeproj
Reasons:
  • Whitelisted phrase (-1): It is solved
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: umair shah

79412094

Date: 2025-02-04 14:55:16
Score: 2
Natty:
Report link

Using iis is definitively a good choice if the solver you are using has that option.

Quick suggestion, have you tried dropping constraints to figure out which one is not being satisfied? (I assume it's infeasibility not unbound problem). Constraints like Demand Fulfillment, Minimum distribution and Nutrient requirements might have data that produce this infeasibility. Without them, a trivial solution would be possible, right?

Any solver output or data for the problem?

Reasons:
  • Whitelisted phrase (-1): have you tried
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: marcos

79412092

Date: 2025-02-04 14:53:15
Score: 2.5
Natty:
Report link

Ok so after several days of debugging, I found what could be wrong. Instead of triggering the Live Activity from a Capacitor plugin I trigger it from a Custom Native iOS code. Difference between both is very thin.

In the iOS project, Capacitor plugin is a Pod dependency whereas Capacitor Native Code is written directly inside the iOS app. It's the only difference I see, but I didn't find clear statement in Apple doc specifying that Live Activities can't be triggered from a Pod dependency.

Reasons:
  • Blacklisted phrase (1): what could be
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Baptiste

79412088

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

Installed VS2019 with the GitHub extensions installed. Tools > Options > Environment > Uncheck "new git user experience"

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

79412084

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

To compare floating point values, in Python 3.5 and later you might also want to consider math.isclose, in which you can also plug an epsilon for absolute tolerance if necessary.

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

79412082

Date: 2025-02-04 14:49:15
Score: 0.5
Natty:
Report link

This result came up when I searched, before I remembered the solution, so posting it in case it helps anyone.

https://twig.symfony.com/doc/3.x/tags/with.html

{% for item in collection %}

    {% with item %}

        {{ post.title }}
        {{ category.id }}
        {{ var1 }}
         ... etc

    {% endwith %}

{% endfor %}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrew Dinmore

79412078

Date: 2025-02-04 14:47:14
Score: 1.5
Natty:
Report link

I think this is already solved with above solutions, but if you are looking for a very clean approach to this where only a single line of code does your job then you might wanna check this out:

Its open, scalable and provides enough utilities for most of the requirements. Define a class as you normally would, rest of things are taken care by the library.

https://github.com/anirudha-stack/JsonScrutinize

https://www.nuget.org/packages/JsonScrutinize

Nested json is supported, you can get Mismatched type keys, null keys and missing keys from this.

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

79412075

Date: 2025-02-04 14:46:14
Score: 0.5
Natty:
Report link

This result came up when I searched, before I remembered the solution, so posting it in case it helps anyone.

https://twig.symfony.com/doc/3.x/tags/with.html

{% set example_array = {foo: 'bar'} %}

{% with example_array %}
    {{ foo }}
{% endwith %}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrew Dinmore

79412071

Date: 2025-02-04 14:45:14
Score: 2
Natty:
Report link

Another, cleaner option is to use Docker Compose healthcheck attribute (tutorial)

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

79412063

Date: 2025-02-04 14:41:13
Score: 1
Natty:
Report link

The problem is that the Windows Explorer's Create shortcut action that I was using creates a file symbolic link, not a directory symbolic link.

I had to use the command prompt to create the symlink:

mklink /d "x/node_modules/y" "C:\Users\hydro\Repository Groups\Jet\y"

Then the y module was finally found by TypeScript.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matheus Dias de Souza

79412059

Date: 2025-02-04 14:40:13
Score: 1
Natty:
Report link

I had the opposite problem that was not easy to solve at first. In order to remove an attribute that has no value such as "readonly", "disabled", or "inert", setting it to "true" or "false" will actually activate it. Instead, specifying "@true" or "@false" such as "readonly=@true", "disabled=@false", or "inert=@false" will prevent the attribute from being generated.

https://blazor-university.com/components/code-generated-html-attributes/#special-cases

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

79412054

Date: 2025-02-04 14:38:13
Score: 0.5
Natty:
Report link

I couldn't get it to work with any CRSF settings when I tried. Eventually I disabled the check in Django. This is not secure of course..

Add this to your pySentryConf:

MIDDLEWARE = [
  middleware for middleware in MIDDLEWARE if middleware != "django.middleware.csrf.CsrfViewMiddleware"
]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alex R

79412048

Date: 2025-02-04 14:36:12
Score: 1.5
Natty:
Report link

install vite-plugin-restart.

import ViteRestart from 'vite-plugin-restart'

export default {
  plugins: [
    ViteRestart({
      restart: [
        'xxx.wasm',
      ]
    })
  ],
}

this solution is origin from https://github.com/vitejs/vite/issues/14423#issuecomment-1728905288

here is similar questions.

https://github.com/vitejs/vite/discussions/16708

https://github.com/vitejs/vite/issues/14423

https://github.com/vitejs/vite/issues/14570

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: illusory0x0

79412039

Date: 2025-02-04 14:34:11
Score: 2
Natty:
Report link

LATEST SOLUTION 2025

Try to use it like this and i guarantee you that this will surely work add this line in application.properties

spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

@Column(name = ""resellerName"") private String resellerName;

by adding that line you are send the name of table in quotes as if you don't send that in quotes then sql server by default convert it into lowerCase and replace space with _

Thank You

Reasons:
  • Blacklisted phrase (0.5): Thank You
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sarthak Gupta

79412033

Date: 2025-02-04 14:32:11
Score: 1
Natty:
Report link

Sometimes CSS animation can solve the problem. It's lighter and easy to use, plus there's no need to add code (just 1 or two classes to the items). So you can render all your Items once (hidden by default or with its specific class). Add to any items a dinamic class to change the delay value. If you type "css animation to show items slowly" on ChatGPT site you will see a clear example.

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

79412030

Date: 2025-02-04 14:31:09
Score: 9.5 🚩
Natty: 5.5
Report link

How would I add this into a setup.py for it to run the setup process? I'm getting my error from readthedocs when I try to build it. I added a setup.py file into root but not sure what code should be inside it. Can you help or do I need to do another post for this?

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Can you help
  • RegEx Blacklisted phrase (1): I'm getting my error
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How would I add this into a
  • Low reputation (1):
Posted by: David Gall

79412028

Date: 2025-02-04 14:30:08
Score: 0.5
Natty:
Report link

I have the exact same content on the file, but I get an error, maybe I'm missing install something?

return {
  "nvimtools/none-ls.nvim",
  dpendencies = {
    "nvimtools/none-ls-extras.nvim",
  },
  config = function()
    local null_ls = require("null-ls")

    null_ls.setup({
      sources = {
        null_ls.builtins.formatting.stylua,
        null_ls.builtins.formatting.prettier,
        require("none-ls.diagnostics.eslint_d"),
      },
    })

    vim.keymap.set("n", "<leader>gf", vim.lsp.buf.format, { desc = "Format file" })
  end,
}

here is the error message when I start nvim

Failed to run `config` for none-ls.nvim

/Users/zlnk/.config/nvim/lua/zlnk/plugins/none-ls.lua:13: module 'none-ls.diagnostics.eslint_d' not found:
^Ino field package.preload['none-ls.diagnostics.eslint_d']
cache_loader: module none-ls.diagnostics.eslint_d not found
cache_loader_lib: module none-ls.diagnostics.eslint_d not found
^Ino file './none-ls/diagnostics/eslint_d.lua'
^Ino file '/opt/homebrew/share/luajit-2.1/none-ls/diagnostics/eslint_d.lua'
^Ino file '/usr/local/share/lua/5.1/none-ls/diagnostics/eslint_d.lua'
^Ino file '/usr/local/share/lua/5.1/none-ls/diagnostics/eslint_d/init.lua'
^Ino file '/opt/homebrew/share/lua/5.1/none-ls/diagnostics/eslint_d.lua'
^Ino file '/opt/homebrew/share/lua/5.1/none-ls/diagnostics/eslint_d/init.lua'
^Ino file '/Users/zlnk/.local/share/nvim/lazy-rocks/telescope.nvim/share/lua/5.1/none-ls/diagnostics/eslint_d.lua'
^Ino file '/Users/zlnk/.local/share/nvim/lazy-rocks/telescope.nvim/share/lua/5.1/none-ls/diagnostics/eslint_d/init.lua'
^Ino file './none-ls/diagnostics/eslint_d.so'
^Ino file '/usr/local/lib/lua/5.1/none-ls/diagnostics/eslint_d.so'
^Ino file '/opt/homebrew/lib/lua/5.1/none-ls/diagnostics/eslint_d.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
^Ino file '/Users/zlnk/.local/share/nvim/lazy-rocks/telescope.nvim/lib/lua/5.1/none-ls/diagnostics/eslint_d.so'
^Ino file '/Users/zlnk/.local/share/nvim/lazy-rocks/telescope.nvim/lib64/lua/5.1/none-ls/diagnostics/eslint_d.so'
^Ino file './none-ls.so'
^Ino file '/usr/local/lib/lua/5.1/none-ls.so'
^Ino file '/opt/homebrew/lib/lua/5.1/none-ls.so'
^Ino file '/usr/local/lib/lua/5.1/loadall.so'
^Ino file '/Users/zlnk/.local/share/nvim/lazy-rocks/telescope.nvim/lib/lua/5.1/none-ls.so'
^Ino file '/Users/zlnk/.local/share/nvim/lazy-rocks/telescope.nvim/lib64/lua/5.1/none-ls.so'

# stacktrace:
  - lua/zlnk/plugins/none-ls.lua:13 _in_ **config**
  - lua/zlnk/lazy.lua:16
  - init.lua:3
Reasons:
  • RegEx Blacklisted phrase (1): I get an error
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: sebazelonka

79412027

Date: 2025-02-04 14:29:08
Score: 0.5
Natty:
Report link

just trying to help out. Stack's like a 2nd code repo for me... :) Following will work for a bunch of servers working of FQDN of servers in AD env... Note:

  1. Assumes VM names are host part of FQDN. If not, you will have to modify below to get vm names. FQDN is needed for invoke-command (ICM) that pulls drive letters.

  2. Of course, powercli module and you have to have vcenter connections available to query. connect-viserver etc...

  3. You of course can add a bunch of properties beyond what I have below, but for my purposes, I wrote this due to some of our VMs having same size volumes and tix came in to modify one of them and I was guessing. You can modify to use invoke-vmscript and similar for linux/unix systems to match mountpoints. Powershell section should work on win 2016+

  4. Did search for this online and everyone seems to want to write giant modules or functions or classes for this. Way overkill for my simple purpose of closing tix. ;)

  5. Watch out copying and pasting from web pages. Some trixy fonts use oddball characters for single and double quotes etc...

    "fqdnserver2","fqdnserver1" | %{$vmDiskinfo = get-vm $.split(".")[0] | get-harddisk | %{New-Object -TypeName psobject -Property @{'sn/uuid' = $.extensiondata.backing.uuid.replace('-',''); 'filename' = $.filename.split(' ')[1]}}; $command = {param($p1) (get-disk | Where Serialnumber -eq $p1 | Get-Partition | Where DriveLetter -match '[A-Z]').DriveLetter}; foreach ($psobj in $vmDiskinfo) {$final = $psobj; $final | add-member -MemberType noteproperty -name driveLetter -Value (icm -cn $ -ScriptBlock $command -ArgumentList $psobj.sn); $final | add-member -MemberType noteproperty -name fqdn -Value $_ ; $final }}

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

79412018

Date: 2025-02-04 14:25:07
Score: 0.5
Natty:
Report link

if reLoadPage type is bool? then you don't have to define as bool after the variable name, it's unnecessary.

you can write like below
if (reLoadPage ?? false)

or with as bool
if (reLoadPage as bool? ?? false)

if reLoadPage type is dynamic then
if((reLoadPage is bool) ? reLoadPage : false)

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

79412015

Date: 2025-02-04 14:24:07
Score: 2.5
Natty:
Report link

Removing React.StrictMode makes your drag-and-drop functionality work because React.StrictMode causes components to render twice in development mode. This double rendering can interfere with the way react-beautiful-dnd tracks elements, leading to unexpected behavior.

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

79412009

Date: 2025-02-04 14:23:06
Score: 1
Natty:
Report link

Since pandas >= 0.25.0, you're able to use the explode method.

movie_data['genre_ids'].explode().hist()

will do the trick.

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

79412002

Date: 2025-02-04 14:21:06
Score: 1.5
Natty:
Report link

The main issue in the current question is recomposition during handling the click button state. Better to keep handling using the Side-Effect mechanism: Side Effects. Also here the additional source to read about handling user interactions: User Interactions

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

79411998

Date: 2025-02-04 14:20:05
Score: 2
Natty:
Report link

There is a different package of poi that also includes all xml schemas, we also had troubles when using just poi-ooxml with our Excel exporters. Would be worth to try:

org.apache.poi:poi-ooxml-full:5.4.0 in favor of poi-ooxml

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

79411992

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

I have been told that we should use functions to return simple queries to protect direct manipulation of the tables themselves.

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

79411988

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

FIXED:

Use "Dialog()" instead and wrap in in a Container()/SizedBox().

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rami Dhouib

79411981

Date: 2025-02-04 14:15:03
Score: 1
Natty:
Report link

If you are exhausting all options above and you are using redhat OS and still not able to get it resolved. Check if fapolicyd is enabled. If fapolicyd is enabled you get all sort of Operation Not Permitted when performing git commands. If that is the case, it is fapolicyd that messes up your files. Add an allow rule to your /etc/fapolicy.d/rules.d/70-trusted-lang.rules (or other file). Example: allow perm=any exe=/usr/bin/git all : all

remember to regenerate the rule and reload the service.

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

79411979

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

There are mainly 3 options that I've found. I haven't tried either of them myself yet though.

  1. https://github.com/github/safe-settings

    an app to manage policy-as-code and apply repository settings across an organization.

  2. Custom script with GH CLI similar to https://github.com/adamchainz/scripts/blob/main/myrepos/0000-repo-settings.sh

  3. Terraform https://registry.terraform.io/providers/integrations/github/latest/docs

P.S. .github/ (even euphemeral) approach doesn't seem adequate as it would allow anybody having commit access to update repo settings, which effectively hijacks GH permissions model.

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

79411969

Date: 2025-02-04 14:12:02
Score: 4.5
Natty: 4
Report link

You need to install JDK not only Java.

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

79411963

Date: 2025-02-04 14:11:01
Score: 5
Natty:
Report link

I have applied all the things but the problem is that only Entity framework 6.5.1 is latest version and others versions are Deprecated still I ma facing the same error System.ArgumentNullException: 'Value cannot be null. Parameter name: entitySet'

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nikita

79411957

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

The most possible reason is: you created another class / namespace or copied the web app to another solution

so there's no more class MvcApplication1 It has another name like FooApp2

Check the C# code behind the web page and replace MvcApplication1 with a proper name.

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

79411947

Date: 2025-02-04 14:02:58
Score: 4
Natty: 5
Report link

I have the some problem, because of refreshing tokens I need to send the current token with every request in the header. The solution with using Policy "Set HTTP header" seems not to work, have they changed something? is there another solution how to deal with refreshing tokens?

here are my policy settings: enter image description here

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: IchKG

79411946

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

As a comment to users that:

Solution You might have an issue with the structure of your local package. Ideally, the code of the package should have a folder called src, and contained within it a folder with your package source files.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pablo Jeken Rico

79411944

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

Best way to reduce that code is to use one of the available text template engines such as Inja or Mustache (both results of Google Search, I am not affiliated with either and don't recommend one or the other, just the principle of not rolling your own C++ text template engine).

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

79411937

Date: 2025-02-04 13:59:57
Score: 1
Natty:
Report link

Seems like, there is no click event, and one need to put input handling in a global update function that will be called by p5play for every frame.

function update() {
  if ( sprite.mouse.hovering() && mouse.presses('left') )
    /* mouse press event! */;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user1768761

79411935

Date: 2025-02-04 13:59:57
Score: 3
Natty:
Report link

how could this suddenly happen?

The issue occurred because the signing keys on https://registry.npmjs.org/-/npm/v1/keys were rotated and newly signed releases from pnpm caused Corepack to fail verification.

You can find background discussions from users in the Corepack issue #612

is this a legitimate fix?

You have disabled Corepack and you are installing the latest version of pnpm. This is a supported way to install pnpm, so it is legitimate. Only you can decide if that is what you want.

If you want to return to using Corepack, you can read the recommendations for workarounds in Comment from the Corepack maintainer team.

The issue is fixed in [email protected] which is so far rolled out with Node.js 23.7.0.

According to Corepack issue #627, the Node.js team says that the Corepack fix is eligible for rollout to Node.js LTS two weeks after the release on Jan 30, 2025 through Node.js 23.7.0.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how
  • Low reputation (0.5):
Posted by: MikeMcC399

79411932

Date: 2025-02-04 13:58:57
Score: 1
Natty:
Report link

You can now use session_duration_limit, which is the maximum allowed duration for the session in seconds.

Sample interface:

export interface StartAvatarResponse {
  session_id: string,
  access_token: string,
  url: string,
  is_paid: boolean,
  session_duration_limit: number
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jan Carlo Once

79411922

Date: 2025-02-04 13:52:56
Score: 1
Natty:
Report link

You can simply use JSDoc for this purpose. Take for example the following snippet:

 /**
 * @type {import("react").CSSProperties}
 */
const padStyle = {
  bottom: '20vh',
  right: '20vw'
}

export default padStyle

Vs code understands the JSDoc annotation and voila:

VSCode CSS intellisense

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

79411907

Date: 2025-02-04 13:49:54
Score: 4.5
Natty: 4
Report link

yeah, good start. if you zoom in too much, the picture might become too big for the window aand you fast want to get scrollbars. however, it appears tricky to the it correctly. i have been trying for more than a day and i did not manage to use scrollbars to pan into a zoomed section of the image. can anybody please put a working example ?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Günther Sohler

79411903

Date: 2025-02-04 13:47:54
Score: 1
Natty:
Report link

The correct way is to check first whether the reLoadPage variable is bool or not so that you can check its type.

final reLoadPage = null;
if((reLoadPage is bool) ? reLoadPage : false){
print("Can reLoadPage");
}
else{
print("Can Not reLoadPage");
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nitesh Wadhwani

79411900

Date: 2025-02-04 13:46:53
Score: 1
Natty:
Report link

Of course, there could be demands from a product manager or a UI designer. But, do not forget about the UX (user experience)! If the tappable area is to small, a user can click a little to any side and the onClick callback will not be triggered. It is kinda bad UX. A user could be dissatisfied with the behavior, till uninstallation of the app. I would not suggest to remove the default paddings.

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

79411893

Date: 2025-02-04 13:42:53
Score: 3
Natty:
Report link

This issue was addressed by Amazon in a January 2025 update. You can now login to a maximum of 5 accounts in the same browser instance, without the need of any additional plugin.

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

79411892

Date: 2025-02-04 13:42:53
Score: 0.5
Natty:
Report link
  1. Please (strongly) consider switching to much better and more capable go pprof implementation (github.com/google/pprof). Sadly, distros continue to ship our old perl implementation, but upcoming 2.17 release already had that pprof implementation amputated. So, hopefully, it will encourage distros some more.

  2. .clone thingy is artifact of optimizations and demangling. Sometimes compilers create optimized copies of certain functions (e.g. constant propagating some things). pprof is supposed to remove this detail from function name. (But sometimes you want to see those details and more, such as template arguments; see --symbolize option for that)

  3. if or when you see mixed up parent/child relations, consider checking your stack trace capturing method. Skipping "first parent" stack frame is a known issue with frame-pointers-based stacktrace capturing. See here: https://github.com/gperftools/gperftools/wiki/gperftools'-stacktrace-capturing-methods-and-their-issues#frame-pointers

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

79411884

Date: 2025-02-04 13:40:52
Score: 0.5
Natty:
Report link

ZygD solution doesnt work since month is zero indexed. here a simple fix to it.

from pyspark.sql.functions import lpad, concat, lit, regexp_replace, col

def convert_gregorian_datetime_to_date(df, col_name):
    gregorian_regex = '(?:.*)YEAR=(\d+).+?MONTH=(\d+).+?DAY_OF_MONTH=(\d+).+?HOUR=(\d+).+?MINUTE=(\d+).+?SECOND=(\d+).+'

    return (df.withColumn("year_tmp",  regexp_replace(col(col_name), gregorian_regex, '$1'))
              .withColumn("month_tmp", regexp_replace(col(col_name), gregorian_regex, '$2').cast('integer')+1) # month is zero indexed
              .withColumn("month_tmp", lpad(col("month_tmp").cast("string"), 2, "0"))
              .withColumn("day_tmp",   regexp_replace(col(col_name), gregorian_regex, '$3'))
              .withColumn(col_name, concat(col("year_tmp"), lit("-"), col("month_tmp"), lit("-"), col("day_tmp")).cast('date'))
              .drop("year_tmp", "month_tmp", "day_tmp"))

df = spark.createDataFrame(
    [('java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Etc/UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2017,MONTH=7,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=18,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=0,HOUR=9,HOUR_OF_DAY=9,MINUTE=1,SECOND=52,MILLISECOND=0,ZONE_OFFSET=?,DST_OFFSET=?]',)],
    ['GregorianCalendar']
)

df.transform(convert_gregorian_datetime_to_date,'GregorianCalendar').show()

+-----------------+
|GregorianCalendar|
+-----------------+
|       2017-08-18|
+-----------------+
Reasons:
  • Blacklisted phrase (1): doesnt work
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Filippo Adessi

79411879

Date: 2025-02-04 13:38:51
Score: 1
Natty:
Report link

Its not possible out of the box but you can write a helper function like this

from pyray import Vector2

def multiply_vector2(v, scalar):
    return Vector2(v.x * scalar, v.y * scalar)

v2 = Vector2(1, 2)
result = multiply_vector2(v2, 10)
print(result.x, result.y)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JuanPlayz

79411870

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

After adding onProcessed eventListener as you did, you need to make drawingBuffer canvas on top using CSS. Here is an example:

canvas.drawingBuffer {
display: block;
position: absolute;
z-index: 2;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nader

79411861

Date: 2025-02-04 13:30:48
Score: 2.5
Natty:
Report link

There may be hidden Unicode characters in the lines you mentioned. Try writing those in by yourself and see if it works.

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

79411858

Date: 2025-02-04 13:30:47
Score: 8.5 🚩
Natty: 5.5
Report link

Were you able to run third-party JS code in obsidian?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Xion