79389629

Date: 2025-01-27 02:25:56
Score: 9 🚩
Natty:
Report link

Having the same issue, did u figure it out

Reasons:
  • RegEx Blacklisted phrase (3): did u figure it out
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rise Above The Machines

79389623

Date: 2025-01-27 02:17:55
Score: 2.5
Natty:
Report link

The only way I know of is a tool in fusion 360 fat automatically converts meshes into solid objects within the program by combining the triangles into faces and feeling everything within those faces in. I'm not sure what all of these guys are yapping about with there being no possible way to turn a mesh into a solid object, but I will say unless you have a very good PC it's likely that this process will fail if you're trying to convert a complicated mesh. But personally I think these guys were just being NPCs and not realizing what you meant. Instead choosing to thank you meant a literal file to file conversion. Oh also PS just to make sure I wasn't being a dick about them not knowing about something that didn't even exist yet, sp I went ahead and looked up when they added this feature it was 2013

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hater mc hater pants

79389621

Date: 2025-01-27 02:14:54
Score: 3
Natty:
Report link

Kindly disbale Python Environment Manager(Deprecated) extension from your VS Code. Normally this extension is installed when you install Python Extension Pack.

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

79389611

Date: 2025-01-27 02:01:52
Score: 3
Natty:
Report link

removing \bin from JAVA_HOME worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aditya

79389609

Date: 2025-01-27 01:59:52
Score: 0.5
Natty:
Report link

As rioV8 said, give focus to the terminal and press q.

In addition, the program can be terminated by ctrl+ C.

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

79389606

Date: 2025-01-27 01:57:51
Score: 3.5
Natty:
Report link

With the codebase annotation you don't have to list all the functions and you can deploy all at once, if needed. https://firebase.google.com/docs/functions/organize-functions?gen=1st

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

79389603

Date: 2025-01-27 01:51:50
Score: 1
Natty:
Report link

I quite like this one, it's fast, as weasyprint would take too long and not produce the correct input for me :

google-chrome --headless --disable-gpu --print-to-pdf="out" "input.pdf"

Example on macOS :

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --print-to-pdf="out" "input.pdf"

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

79389573

Date: 2025-01-27 01:12:44
Score: 1.5
Natty:
Report link

What worked for me was the following:

use *db_name*

go

exec sp_addrolemember 'db_owner', 'NT AUTHORITY\NETWORK SERVICE';

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Linda Rawson

79389558

Date: 2025-01-27 00:59:40
Score: 1
Natty:
Report link

I noticed you are just returning a k RAW value. StochRSI to chart should consist of K and D values.

From my experience, what will cause different k and d values is based on several factors:

  1. K lookback period
  2. D lookback period
  3. Moving Average method (SIMPLE, exponential, weighted, Wilder's, or Hull) for both calculating RSI and StochRSI for D Value calculation.

When you use .mean(), this is an indicator that the MA is SIMPLE for calculating the RSI. The Kraken chart might be using Wilder's MA like a majority of the brokerages do within the charting (typically it defaults to this.)

I noticed that you are not calculating D. As well, you are finding the k RAW value and stop calculating, where you are not applying a MA method to your K RAW value to smooth it. Given the current code, you are not storing k values for every minute interval which would not make it possible to smooth it using .rolling.

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

79389550

Date: 2025-01-27 00:56:40
Score: 1.5
Natty:
Report link

I had the same problem in my project and the only thing i changed was creating an instance of my EmbeddedId in the Entity class. It looked something like this.

@EmbeddedId ListyHoteliKey id = new ListyHoteliKey();

After that everything was warking perfect but i am not an expert when it coms to Spring and java so it might have some consequences in other places in the code i am not aware of.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • User mentioned (1): @EmbeddedId
  • Low reputation (1):
Posted by: Mefiu

79389543

Date: 2025-01-27 00:49:39
Score: 3.5
Natty:
Report link

here is page I found a while ago, I think it might be helpful for anyone trying to integrate Salesforce to DocuSign in future --> https://salesforcesolutions.io/end-to-end-solutions/

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

79389540

Date: 2025-01-27 00:44:38
Score: 3.5
Natty:
Report link

try investigating your nodejs version. switching from v18 to v20.18 just fixed the same ‘hanging forever’ issue for me. see here: https://github.com/vercel/next.js/issues/52616#issuecomment-1749824093

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

79389539

Date: 2025-01-27 00:43:38
Score: 1.5
Natty:
Report link

As noted by Michael Petch, this is resolved by ensuring relevant segment registers are set to 0

mov ax, 0
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MichaelT572

79389530

Date: 2025-01-27 00:35:36
Score: 1
Natty:
Report link

For future reference, here's what I learned while trying to get this working:

I have the album art loading now and it will play the mp3 files. For the album art, I was creating the Uri with the fromFile method, instead of the parse method. That was messing up the path. I adjusted and called the mapUri method in the ContentProvider that I copied from the uamp sample. It was trying to get the content from a web address and my app gets the content from a local file. The path needed to look like this content://data/data/com.emrick.dj/albumart/album.jpg.

I had been testing the play function by putting a break point on the onPlay method in the mediaSession.setCallback. It never hit the breakpoint - then I realized it was actually calling the onPlayFromMediaId method, not onPlay. I wrote that method and then the breakpoint on it was reached. I wired it to my existing MediaService (for the mp3 player) but it didn't play. Then I realized it had to handle the audio focus. Apparently the Windows Head Unit takes the audio focus away from my mp3 player. I changed my mediaService to ask for the audio focus and then it would play my mp3 files.

It took a lot of work to get to this point - I could have really used a complete example in Java, not Kotlin. Lots of details that weren't obvious to me. Anyway, I hope these notes help others trying to get this to work! Thanks Ben Sagmoe for pointing me in the right directions.

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

79389522

Date: 2025-01-27 00:18:33
Score: 3
Natty:
Report link

I think they want a different solution like I do. You are suggesting converting them after generating them, there's a way to simply generate them in haml and take out the extra step of converting and deleting them.

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

79389518

Date: 2025-01-27 00:17:32
Score: 4.5
Natty: 5.5
Report link

There is an unknown user in the Google Playstore on unsecured Google Samsung Galaxy A15 5G. Remove it or explain how do I remove it.

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Trudie

79389517

Date: 2025-01-27 00:16:32
Score: 2.5
Natty:
Report link

I wrote a script to do some stuff whenever Input.GetMouseButtonDown came true after a click anywhere on the screen. I added the script to an otherwise empty Game Object "Z". It works fine. I wrote another script to do some other stuff whenever OnMouseDown() came true while the mouse was above a particular Game Object "X" but according to my debugs this code never gets called. I added this script to Game Object X, which starts off inactive but gets activated later. The first mouse detection continues to work fine. The second script did work briefly but now doesn't! X is a child of another Game Object "Y" and is physically (i.e. on the screen) within the box of Y. If I add the same code to Y as is in X (but changing the debug messages) then Unity always detects clicks within Y (as well as Z) but never on X. Is there something I don't understand about mouse activity in my scene or is it more likely I have made a silly coding error?

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

79389496

Date: 2025-01-26 23:57:27
Score: 6 🚩
Natty:
Report link

Have the same problem, wanted to sort by createdAt field (created by default) but no option to sort.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Roberto

79389494

Date: 2025-01-26 23:53:26
Score: 1.5
Natty:
Report link

Make sure that you don't have a separate firewall running on the VM/server itself, in addition to the cloud's native firewall. Changing cloud firewall rules and dealing with the SSH keys will be useless as the server's firewall will terminate the connections. The only way to see this happening is to check the firewall logs on the server.

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

79389460

Date: 2025-01-26 23:21:19
Score: 2
Natty:
Report link
  1. increase the number of epochs
  2. increase the number of batches by decreasing the batch size
  3. increase the number of embeddings or numbers output by the encoder section of the auto encoder should increase the accuracy
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tony Cardinal

79389451

Date: 2025-01-26 23:06:16
Score: 1
Natty:
Report link

Update that may be helpful I am using SQLExpress v 15 and Management Studio 19. I installed accessdatabaseengine_X64 and ran


`USE [master] GO

EXEC sp_configure 'Show Advanced Options', 1 RECONFIGURE GO

EXEC sp_configure 'Ad Hoc Distributed Queries', 1 RECONFIGURE GO

EXEC sp_MSSet_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'AllowInProcess', 1 GO

EXEC sp_MSSet_oledb_prop N'Microsoft.ACE.OLEDB.16.0', N'DynamicParameters', 1 GO`


Then I ran the openrowset query....


--build new table SELECT * into MyTable from OPENROWSET('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=C:\ExcelFiles\Book2.xlsx;HDR=YES', 'select * from [Sheet1$]')


Everything was roses... Shut down the machine and started in back up the next day and ran .....


--build new table SELECT * into MyTable from OPENROWSET('Microsoft.ACE.OLEDB.16.0', 'Excel 12.0;Database=C:\ExcelFiles\Book2.xlsx;HDR=YES', 'select * from [Sheet1$]')


Got this error... "Cannot initialize the data source object of OLE DB provider ACE.OLEDB.16.0"

Spent the next X hours trying to figure out what happened. Logged out and logged in as 'sa' and it all worked....--> windows security issue then.

Rebooted the machine and got the error again...found this solution. --I will summarize here..-> my windows authenticated login for SQLExpress did not have permissions on the SQLExpress service --

Solution 2 Check whether the user login that you are accessing has rights on SQL Server Service or not. If not you will have to give your credentials so that the SQL Service runs using your login credentials.

Steps

  1. Close SQL Server Management Studio. Type Services.msc in the run command to open the services window

  2. Search for SQL Server Service and right click it and select properties

  3. In the Log On Tab, select This Account. Click on Browse and type your login name there and the click on Check Names

  4. Once it finds your login name press OK.

  5. Now type your login’s passwords in both the fields as shown below press apply and then ok

  6. Restart the services so that the new changes are applied as shown in figure below.

  7. Now start SQL Server Management Studio and try to run the query if still not working try a system restart

--I did the services restart and it worked and a reboot and it worked. here is the link -- it was for oledb.12 but it also works for oledb.16 --solution 2

https://www.aspsnippets.com/Articles/96/The-OLE-DB-provider-Microsoft.Ace.OLEDB.12.0-for-linked-server-null/

Reasons:
  • Blacklisted phrase (1): here is the link
  • Blacklisted phrase (2): still not working
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: cjjeeper

79389445

Date: 2025-01-26 23:01:15
Score: 3
Natty:
Report link

I know this is kind of an old post, but I just made a navigation tool that I wrote public today. If you're still looking for a way to cd around faster you might like this: https://github.com/egurapha/Shunpo

There's a tutorial video here: https://www.youtube.com/watch?v=TN66A3MPo50

Hope you like it!

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ryuichi

79389432

Date: 2025-01-26 22:50:12
Score: 4
Natty: 4
Report link

layer.property("ADBE Mask Parade").property(1).property("ADBE Mask Shape")

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

79389429

Date: 2025-01-26 22:48:11
Score: 0.5
Natty:
Report link

Use import wikipedia. If you don't have it, use pip install wikipedia. Great. Now for the coordinates. Let's say you want to find the coordinates of Beijing, China. (You need to specify the country.)

import wikipedia as wiki
page = wiki.page("China")
coordinates = page.coordinates
print(coordinates)

This will output: (Decimal('39.90666666999999989684511092491447925567626953125'), Decimal('116.3974999999999937472239253111183643341064453125')). See! That simple. No API. I assure you, if you go to PyPI and search "wikipedia", you will find the wikipedia package.

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

79389428

Date: 2025-01-26 22:47:11
Score: 0.5
Natty:
Report link

2 Steps are required to make Creator not redirect the console output to its internal console:

a) Go to the Build & Run Settings of your project, select Run, in the Run Section, select "Run in terminal"

enter image description here

b) Go to the Application Output Pane. There is a wheel indicating the settings for the Aplication Output. Press it and select the "Terminal" section. There disable "Use internal terminal".

enter image description here

That's all. Pretty unintuitive:-)

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

79389426

Date: 2025-01-26 22:47:11
Score: 1
Natty:
Report link

Hold the Option key (⌥) and hover your mouse over a variable or function. A popup will appear showing the type or function signature.

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

79389419

Date: 2025-01-26 22:42:09
Score: 2.5
Natty:
Report link

Not sure if this helps but I believe the VS upgrade you did also included the installation of .NET 9. Changing your target to .NET 9 may fix at least some of the namespace errors.

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

79389397

Date: 2025-01-26 22:27:06
Score: 0.5
Natty:
Report link

I have found a really easy way to achieve what I want. I'm surprised I was unable to find it anywhere, so I'm sharing it for whomever stumbles upon the same problem.

Let's say you have a div with x-data that contains the variable that you want to pass to htmx:

<div x-data="{
    dataForHtmx: {'key1': 1, 'key2': [1,2,3]},
    
    init() {
        Alpine.store('dataForHtmx', this.dataForHtmx);
    },
}">

As you can see, you just need to define the init method and call Alpine.store to make your alpine.js variable visible to outside js code. Now that's how the htmx ajax element needs to look like:

<form hx-post="/your_handle" hx-vals="js:{'data': JSON.stringify(Alpine.store('dataForHtmx'))}" hx-ext="json-enc" class="form" id="form">

And that's it. The value of dataForHtmx will be turned into a json string that you can parse in your backend code. And an amazing thing is that you can manipulate dataForHtmx however you want via x-model etc, and the changes will be reflected in the request. Don't forget to include the json-enc extension, otherwise your request will be in the form of query params.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: DiplomateProgrammer

79389385

Date: 2025-01-26 22:19:04
Score: 1.5
Natty:
Report link

I think this may be the easier way To get the current scroll position of the page or any scrollable element element.scrollHeight

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

79389381

Date: 2025-01-26 22:15:04
Score: 3
Natty:
Report link

For anyone else in the same situation, here is how I solved it:

I used the pip standalone zip application to download pip, install the package, then delete pip

Perma link to code: https://github.com/cibere/flogin/blob/b4619040c1d6cfb19ac211300ecae013cc044454/flogin/pip.py

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cibere

79389353

Date: 2025-01-26 21:54:59
Score: 0.5
Natty:
Report link

Your 6th item in directive causes Catastrophic backtracking
# Annotatable definition attributes
resulting in TextMate giving up on the rest of the line

regex101.com

\b((?:\s*(?!class|enum|interface|type|namespace|var|const|function|extends|implements|default\s+xml\s+namespace|new|delete|void|typeof|await|yield|instanceof|not\s+in|in|is(\s+not)?|as|if|else|for\s+each|for|return|throw|switch\s+type|switch|case|try|catch|finally\b)(?:[\p{L}$_\p{Nl}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))(?:[\p{L}$_\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))*(?:\s*\.\s*(?:[\p{L}$_\p{Nl}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))(?:[\p{L}$_\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}]|\\u((\{[A-Fa-f0-9]+\})|[A-Fa-f0-9]{4}))*)*)+)\s*(?=class|enum|interface|type|namespace|var|const|function)\b

VSCode JSON TextMate

I would recommend using atomic groups (?>...) and possessive quantifiers ?+, *+ & ++ where possible
This will disable backtracking
Just remember it can be a double edge sword if you've set up your regex in a way that requires backtracking for it to work

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

79389351

Date: 2025-01-26 21:51:59
Score: 3
Natty:
Report link

So how can this be possible on Samsung S5 rooted with magisk on stock Android 6.0.1 ? I searched the internet for straight 4 hours but no practical solution found.

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

79389333

Date: 2025-01-26 21:34:55
Score: 2.5
Natty:
Report link

Even if I remove turbopack, i still getting same hydratation error,

... was exiting on new chakra 3.5, but seems will still causing me troubles..

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucilo del Castillo

79389323

Date: 2025-01-26 21:25:53
Score: 1.5
Natty:
Report link

Recently I had same error. Reason for that I came in thus post.

I have using spyder version 6, installed with flatpak, before I used spyder 5.4.2 (native of debian's repositories).

Was strange because an old script worked fine, then I thinked if proof the same script in Jupyter Notebook? and no problem! then I proof in Pyzo, zero problem, further I decided reinstall spyder 5.4.2, and surprise, it work:

import serial

puerto_serial = '/dev/ttyACM0'
baud_rate = 9600
timeout = 10
    
arduino = serial.Serial(puerto_serial, baud_rate, timeout=timeout)

My humble opinion, if is problem of IDE?

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

79389316

Date: 2025-01-26 21:16:50
Score: 0.5
Natty:
Report link

is there at least a way to prevent Delphi to put a line break after the colon : in case statements?

The formatter has an option Line break after label to control that.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there
  • High reputation (-2):
Posted by: Uwe Raabe

79389309

Date: 2025-01-26 21:13:50
Score: 1.5
Natty:
Report link

The solution seems to be related to memory management. BigInteger works in the background with ArrayPool.Shared.Rent. If BigInteger is too busy with new memory being generated, the result of the mathematical operation can be written over the number on the left or right. However, to perform such an operation, it may be necessary to start coding with masm rather than BigInteger. Sample masm project links:

https://github.com/bestprogramming/BigIntAddition https://github.com/bestprogramming/BigIntMultiplication

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

79389303

Date: 2025-01-26 21:10:48
Score: 5
Natty: 4.5
Report link

I tried to use this code to get the option to create two different sigals from my strategy, one for a buy signal and one for a sell signal, but I can't get it to work. It is really frustrating. Has anybody got this working?

Really hoping for help on this. Thank you very much!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2): working?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Richard Moret

79389278

Date: 2025-01-26 20:52:44
Score: 3
Natty:
Report link

Scenario 1 is the correct one. Try it with a scaleset. Add the rule for CPU>5%, period 5mins, cool down 2mins and you will notice that every 2 mins you will be getting a new instance.

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

79389270

Date: 2025-01-26 20:45:43
Score: 1.5
Natty:
Report link

name: Build STI App

on: push: branches: - main

jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3

- name: Set up Python (if needed)
  uses: actions/setup-python@v4
  with:
    python-version: 3.9

- name: Build app
  run: |
    echo "Building STI App"
    mkdir output
    cp -r * output/
    echo "Build complete"

- name: Upload artifact
  uses: actions/upload-artifact@v3
  with:
    name: STI-Build
    path: output/
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: STI

79389269

Date: 2025-01-26 20:45:43
Score: 1
Natty:
Report link

I found this warning (Incorrect date value: '2024-11-07 22:00:00' for column 'fecha' at row 1) on valid dates The problem cames because I defined a function as: FUNCTION CheckDateTimeHoliday(fecha DATE,....) RETURNS tinyint(1)

but it should be defined with the correct type (DATETIME) FUNCTION CheckDateTimeHoliday(fecha DATETIME,....) RETURNS tinyint(1)

The first function did not give any error, but I found the warning on any SELECT with the incorrect funcion define

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Oscar García

79389266

Date: 2025-01-26 20:41:42
Score: 2
Natty:
Report link

You don't want to use either of these approaches any more, as they're only valid for older (2.x) models.

Instead, if you need to get token counts for a message before generating a response, you will want to use the count_tokens endpoint (this link is for the Python SDK but is available in the Typescript one and via HTTP requests).

The other, more accurate option, would be to generate your message, and in the resulting Message object, get the exact number of tokens used for the input and output with message.usage.input_tokens and message.usage.output_tokens.

Reasons:
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kyle

79389258

Date: 2025-01-26 20:38:41
Score: 1.5
Natty:
Report link
echo msgbox | "C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe" *

The asterisk means "get the script from standard input". Some special characters in your script must be escaped with a caret (^).

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

79389257

Date: 2025-01-26 20:38:41
Score: 1.5
Natty:
Report link

Based on the comments to the question, I worked out 2 solutions. One based on map, the other still uses slices:

Using map (map[int]Unit like @David-Maze suggested)

package main

import (
    "fmt"
    "slices"
)

type Game struct {
    Map *TileMap
}

type TileMap struct {
    Units map[int]Unit
}

func (tilemap *TileMap) removeByKey(key int) {
    delete(tilemap.Units, key)
}

func (tilemap *TileMap) getUnitsByEmpire(empire int) []int {
    units := []int{}
    for key, unit := range tilemap.Units {
        if unit.Empire == empire {
            units = append(units, key)
        }
    }
    slices.SortStableFunc(units, func(a, b int) int {
        if a < b {
            return -1
        }
        if a > b {
            return 1
        }
        return 0
    })
    return units
}

type Unit struct {
    X, Y, Empire int
}

type Army []int

func (army Army) removeByKey(tilemap *TileMap) []int {
    tilemap.removeByKey(army[0])
    return slices.Delete(army, 0, 1)
}

func (army Army) X(tilemap *TileMap) int {
    return tilemap.Units[army[0]].X
}

func (army Army) setX(tilemap *TileMap, x int) {
    for _, key := range army {
        if entry, ok := tilemap.Units[key]; ok {
            entry.X = x
            tilemap.Units[key] = entry
        }
    }
}

func (army Army) Y(tilemap *TileMap) int {
    return tilemap.Units[army[0]].Y
}

func (army Army) setY(tilemap *TileMap, y int) {
    for _, key := range army {
        if entry, ok := tilemap.Units[key]; ok {
            entry.Y = y
            tilemap.Units[key] = entry
        }
    }
}

func (army Army) print(name string) {
    fmt.Println()
    fmt.Println(name, "len:", len(army), "cap", cap(army), ":")
    fmt.Printf("%+v\n", army)
    for _, unit := range army {
        fmt.Printf("%+v\n", unit)
    }
}

func main() {
    game := Game{}
    game.Map = &TileMap{}
    game.Map.Units = map[int]Unit{
        0:  Unit{X: 0, Y: 0, Empire: 0},
        1:  Unit{X: 0, Y: 0, Empire: 0},
        2:  Unit{X: 0, Y: 0, Empire: 0},
        10: Unit{X: 1, Y: 1, Empire: 1},
        11: Unit{X: 1, Y: 1, Empire: 1},
        12: Unit{X: 1, Y: 1, Empire: 1},
        20: Unit{X: 2, Y: 2, Empire: 2},
        21: Unit{X: 2, Y: 2, Empire: 2},
        30: Unit{X: 3, Y: 3, Empire: 3},
        31: Unit{X: 3, Y: 3, Empire: 3},
        40: Unit{X: 4, Y: 4, Empire: 4},
        41: Unit{X: 4, Y: 4, Empire: 4},
        42: Unit{X: 4, Y: 4, Empire: 4},
    }

    fmt.Println("game.Map.Units:", len(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for key, unit := range game.Map.Units {
        fmt.Printf("%d: %+v\n", key, unit)
    }

    attackers := Army(game.Map.getUnitsByEmpire(1))
    attackers.print("attackers")

    defenders := Army(game.Map.getUnitsByEmpire(3))
    defenders.print("defenders")
    x := defenders.X(game.Map)
    y := defenders.Y(game.Map)

    round := 0
    attackerRandomValues := []int{9, 0, 0, 9}
    defenderRandomValues := []int{0, 9, 9, 0}
    for len(attackers) > 0 && len(defenders) > 0 {
        round++
        r1 := 0
        r2 := 0
        for r1 == r2 {
            //r1 = rand.Intn(10)
            //r2 = rand.Intn(10)
            r1, attackerRandomValues = attackerRandomValues[0], attackerRandomValues[1:]
            r2, defenderRandomValues = defenderRandomValues[0], defenderRandomValues[1:]
        }
        attackerWon := r1 > r2
        if attackerWon {
            defenders = defenders.removeByKey(game.Map)
        }
        defenderWon := r1 < r2
        if defenderWon {
            attackers = attackers.removeByKey(game.Map)
        }

        fmt.Println("\nround:", round)
        attackers.print("attackers")
        defenders.print("defenders")

        fmt.Println("\ngame.Map.Units:", len(game.Map.Units))
        fmt.Printf("%+v\n", game.Map.Units)
        for key, unit := range game.Map.Units {
            fmt.Printf("%d: %+v\n", key, unit)
        }
    }

    attackersWon := len(attackers) > 0
    if attackersWon {
        attackers.setX(game.Map, x)
        attackers.setY(game.Map, y)
        fmt.Println("\nAttackers won!")
        attackers.print("attackers")
    }

    defendersWon := len(defenders) > 0
    if defendersWon {
        fmt.Println("\nDefenders won!")
        defenders.print("defenders")
    }

    fmt.Println("\ngame.Map.Units:", len(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for key, unit := range game.Map.Units {
        fmt.Printf("%d: %+v\n", key, unit)
    }
}

https://goplay.tools/snippet/DybcFaj1I29

Using slices (like I suggested myself during the question)

package main

import (
    "fmt"
    "slices"
)

type Game struct {
    Map *TileMap
}

type TileMap struct {
    Units []Unit
}

func (tilemap *TileMap) removeById(id int) []Unit {
    for i := range tilemap.Units {
        if tilemap.Units[i].Id == id {
            return tilemap.removeUnitByIndex(i)
        }
    }
    return nil
}

func (tilemap *TileMap) removeUnitByIndex(i int) []Unit {
    return slices.Delete(tilemap.Units, i, i+1)
}

func (tilemap *TileMap) getUnitsByEmpire(empire int) []*Unit {
    units := []*Unit{}
    for i := range tilemap.Units {
        if tilemap.Units[i].Empire == empire {
            units = append(units, &tilemap.Units[i])
        }
    }
    return units
}

type Unit struct {
    Id, X, Y, Empire int
}

type Army []*Unit

func (army Army) removeUnitByIndex(i int) Army {
    return slices.Delete(army, i, i+1)
}

func (army Army) X() int {
    return army[0].X
}

func (army Army) setX(x int) {
    for _, unit := range army {
        unit.X = x
    }
}

func (army Army) Y() int {
    return army[0].Y
}

func (army Army) setY(y int) {
    for _, unit := range army {
        unit.Y = y
    }
}

func (army Army) print(name string) {
    fmt.Println()
    fmt.Println(name, "len:", len(army), "cap", cap(army), ":")
    fmt.Printf("%+v\n", army)
    for _, unit := range army {
        fmt.Printf("%+v\n", unit)
    }
}

func main() {
    game := Game{}
    game.Map = &TileMap{}
    game.Map.Units = append(game.Map.Units, Unit{Id: 0, X: 0, Y: 0, Empire: 0}, Unit{Id: 1, X: 0, Y: 0, Empire: 0}, Unit{Id: 2, X: 0, Y: 0, Empire: 0})
    game.Map.Units = append(game.Map.Units, Unit{Id: 10, X: 1, Y: 1, Empire: 1}, Unit{Id: 11, X: 1, Y: 1, Empire: 1}, Unit{Id: 12, X: 1, Y: 1, Empire: 1})
    game.Map.Units = append(game.Map.Units, Unit{Id: 20, X: 2, Y: 2, Empire: 2}, Unit{Id: 21, X: 2, Y: 2, Empire: 2})
    game.Map.Units = append(game.Map.Units, Unit{Id: 30, X: 3, Y: 3, Empire: 3}, Unit{Id: 31, X: 3, Y: 3, Empire: 3})
    game.Map.Units = append(game.Map.Units, Unit{Id: 40, X: 4, Y: 4, Empire: 4}, Unit{Id: 41, X: 4, Y: 4, Empire: 4}, Unit{Id: 42, X: 4, Y: 4, Empire: 4})

    fmt.Println("game.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for _, unit := range game.Map.Units {
        fmt.Printf("%+v\n", unit)
    }

    killed := []int{}

    attackers := Army(game.Map.getUnitsByEmpire(1))
    attackers.print("attackers")

    defenders := Army(game.Map.getUnitsByEmpire(3))
    defenders.print("defenders")
    x := defenders.X()
    y := defenders.Y()

    round := 0
    attackerRandomValues := []int{9, 0, 0, 9}
    defenderRandomValues := []int{0, 9, 9, 0}
    for len(attackers) > 0 && len(defenders) > 0 {
        round++
        r1 := 0
        r2 := 0
        for r1 == r2 {
            //r1 = rand.Intn(10)
            //r2 = rand.Intn(10)
            r1, attackerRandomValues = attackerRandomValues[0], attackerRandomValues[1:]
            r2, defenderRandomValues = defenderRandomValues[0], defenderRandomValues[1:]
        }
        attackerWon := r1 > r2
        if attackerWon {
            killed = append(killed, defenders[0].Id)
            defenders = defenders.removeUnitByIndex(0)
        }
        defenderWon := r1 < r2
        if defenderWon {
            killed = append(killed, attackers[0].Id)
            attackers = attackers.removeUnitByIndex(0)
        }

        fmt.Println("\nround:", round)
        attackers.print("attackers")
        defenders.print("defenders")
        fmt.Println("\nkilled:", killed)

        fmt.Println("\ngame.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
        fmt.Printf("%+v\n", game.Map.Units)
        for _, unit := range game.Map.Units {
            fmt.Printf("%+v\n", unit)
        }
    }

    attackersWon := len(attackers) > 0
    if attackersWon {
        attackers.setX(x)
        attackers.setY(y)
        fmt.Println("\nAttackers won!")
        attackers.print("attackers")
    }

    defendersWon := len(defenders) > 0
    if defendersWon {
        fmt.Println("\nDefenders won!")
        defenders.print("defenders")
    }

    fmt.Println("\nRemoving killed units ...")

    fmt.Println("\ngame.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for _, unit := range game.Map.Units {
        fmt.Printf("%+v\n", unit)
    }

    for _, id := range killed {
        game.Map.Units = game.Map.removeById(id)
    }

    fmt.Println("\ngame.Map.Units:", len(game.Map.Units), cap(game.Map.Units))
    fmt.Printf("%+v\n", game.Map.Units)
    for _, unit := range game.Map.Units {
        fmt.Printf("%+v\n", unit)
    }
}

https://goplay.tools/snippet/sLPbCPyRoGG

Please feel free to comment to improve the code posted!

Reasons:
  • Blacklisted phrase (1): to comment
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @David-Maze
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: scratch

79389254

Date: 2025-01-26 20:35:40
Score: 1
Natty:
Report link

I came here because I faced the same issue in a Fedora Fresh install. After that, I spent an evening solving the problem. Thanks to chatGPT and DeepSeek, I discovered the issue, as Warp uses Wireguard. Ensure the kernel module is loaded

   sudo modprobe wireguard 
   lsmod | grep wireguard # Check if loaded

If not loaded above then install

    sudo dnf install cloudflare-warp

Key Dependencies to check

    sudo dnf install wireguard-tools
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe

79389251

Date: 2025-01-26 20:33:40
Score: 0.5
Natty:
Report link

Ever wanted to compare two values but didn't know which operator might be needed (==, !=, <, >, etc)?

This little function dynamically accepts two values (operands) and a string operator and returns a Boolean result.

Hopefully somebody can use the code below as a starting point. Happy coding!

# Compare Two Values Using String Operator

def Compare(Operand, Operator, Comparitor):
    """
    This function allows one to pass two values
    : (Operand and Comparitor) and one dynamic string
    : Operator.  Results (True or False) based on the
    : logical evaluation of the full expression.
    :
    : NOTE: Operand and Comparitor must be the same 
    : data type. 
    :
    : Incoming Parameters:
    : Operand:      Any value, any data type
    : Operator:     "==", "!=", ">", ">=", "<", "<="
    : Comparitor:   Any value, data type must match 
    :                           Operand data type
    :
    : Return value: True or False (Boolean)
    :
    : Example:      Compare(0, "==", 1) returns False
    : Example:      Compare("a", "!=", "x") returns True
    """

    if type(Operand) != type(Comparitor):
        print("Operand and Comparitor must be the same days type:")
        print("   Operand data type: ", type(Operand))
        print("Comparitor data type: ", type(Comparitor))
        raise Exception("Data types mismatch")
    #_if
    
    match Operator:
        case "==":
            if Operand == Comparitor:
                return(True)
            else:
                return(False)
        case "!=":
            if Operand != Comparitor:
                return(True)
            else:
                return(False)
        case ">":
            if Operand > Comparitor:
                return(True)
            else:
                return(False)
        case ">=":
            if Operand >= Comparitor:
                return(True)
            else:
                return(False)
        case "<":
            if Operand < Comparitor:
                return(True)
            else:
                return(False)
        case "<=":
            if Operand <= Comparitor:
                return(True)
            else:
                return(False)
        case _: # unmatched case above
            raise Exception("Operator " + Operator + " not supported.")
    
    raise Exception("Unreachable code error.")
        
#_def

# Isolated self-tests
if __name__ == "__main__":
    print("expect true: ",  Compare("phone", "==", "phone"))
    print("expect false: ", Compare("phone", "!=", "phone"))
    print("expect true: ",  Compare("phone", ">",  "number"))
    print("expect true: ",  Compare("phone", ">=", "book"))
    print("expect true: ",  Compare("phone", "<",  "call"))
    print("expect false: ", Compare("phone", "<=", "receiver"))
    # print("Data type error: ", Compare("x", ">=",  200))
    # print("Operand error: ", Compare("phone", "tbd",  "telly"))
#_if __name__ Self-Tests
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David A. Steinberg

79389249

Date: 2025-01-26 20:33:40
Score: 1
Natty:
Report link

Like Pipo mention, you need to add a version number after the carrot "^" to the repo reference in your composer require command: "'composer' 'require' 'pantheon-systems/drupal-integrations:^<add_version_here>' '--no-update'".

Here's the repor for themodule https://github.com/pantheon-systems/drupal-integrations where you can get the appropriate version (branch or tag).

Good luck.

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

79389240

Date: 2025-01-26 20:27:38
Score: 1
Natty:
Report link

While it's possible, you can probably capture it without using negative lookahead using something like:

\s*General\s+Information\s+(?:---)+-*[\s\S]+?(?:---)+-*\s*$

You can read the details here

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

79389234

Date: 2025-01-26 20:22:37
Score: 1
Natty:
Report link
user_input = input()
short_names = user_input.split()
    
   
short_names = short_names[0:] #allows for input of all elements in dict
del short_names[0] #delete first element 
 
#change the last element to Joe
short_names[-1] = "Joe" 
    
print(short_names)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aaron J. Washington

79389230

Date: 2025-01-26 20:18:37
Score: 1.5
Natty:
Report link

Yeah, Pantheon can be extremely annoying. Try prepending "STYXKEY_" to the name of all cookies (e.g. "STYXKEY_my-cookie") that you set and get. Checkout this Pantheon page regarding caching (https://docs.pantheon.io/caching-advanced-topics). The prepended string tells Pantheon to include the cookie.

Goog luck.

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

79389228

Date: 2025-01-26 20:18:36
Score: 4
Natty: 4.5
Report link

this is an article explaining the issue and how to fix it its about TLS/JA3 Fingerprinting

https://medium.com/@gg5cr71/how-to-fix-403-forbidden-errors-when-calling-apis-using-python-requests-bcfc1b7eb4da

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: M Younes

79389227

Date: 2025-01-26 20:17:35
Score: 5.5
Natty:
Report link

i resolve the problem its configuration of virtual host and the host file of windows thx for all and thx for this post Virtual host not working on XAMPP, something very strange happenning

Reasons:
  • Blacklisted phrase (1): thx
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: amine amino

79389224

Date: 2025-01-26 20:16:35
Score: 1
Natty:
Report link

This error generally occurs due to version incompatibility of redux and redux-thunk

you can try using the compatible version then it will work

try installing the existing version then install below version

as it has resolved my issue, can try this

npm install [email protected] [email protected]

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shivam

79389216

Date: 2025-01-26 20:11:33
Score: 1.5
Natty:
Report link

Move you application folder to another smaller path it's just a problem or PATH Length

Remove node_modules folder and android folder and re-run npm run android

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

79389205

Date: 2025-01-26 20:02:32
Score: 0.5
Natty:
Report link

I had to struggle with this too, the problem for me was that I had to escape the string parameters with backslashes:

gimp-2.8 -i -b '(batch-unsharp-mask \"*.png\" 5.0 0.5 0)' -b '(gimp-quit 0)'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hasenpriester

79389201

Date: 2025-01-26 19:54:30
Score: 0.5
Natty:
Report link

Not sure what is the error as I cannot see the error.

You can add this to your pom.xml

    <dependency>
        <groupId>org.apache.logging.log4j</groupId>
        <artifactId>log4j-api</artifactId>
        <version>2.16.0</version>
    </dependency>

Import this on your class file

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

define your logger name

public class myclassname {
    private static final Logger logger = LogManager.getLogger(myclassname.class)

use this method to call your logger

  logger.error();
Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Engr Ebuka Orioha

79389190

Date: 2025-01-26 19:46:28
Score: 1
Natty:
Report link

The flutter_html package(at least the version you've imported) under the hood uses the webview_flutter plugin. You didn't mention what version of flutter_html you are using, but, i suppose, it's around 2.2.1. This version works with webview_flutter package from version 2.0.4 till 3.0.0(exclusive).

The error you're getting says that the webview_flutter package doesn't provide the API we expect. That means only one thing: you are using a version of the webview_flutter that flutter_html(the version you're using) isn't ready to work with.

How is it possible? Perhaps, you're importing imperatively by yourself the webview_flutter in pubspec.yaml, and you're importing a version out of the range ">=2.0.4 <3.0.0"(perhaps you're importing a newer version, that changed its API).

How to solve the issue?

You have to make sure that both flutter_html package and your own code use the same version(API) of the webview_flutter plugin. You can do it either by:

  1. Downgrading the version of webview_flutter to the range that flutter_html expects
  2. Upgrading the flutter_html version(to the prerelease version. For example 3.0.0-beta2) because: it has been splitted into multiple packages, and now it is more modular, and it gives you the choice to import only the modules you need. webview_flutter is used in the iframe module. You may not need it at all, and, therefore, you will just not import it, and the problem is solved. And even if you need it, and you want to import it, this module uses already the newer API of the webview_flutter plugin(>=4.0.0 <5.0.0, i suppose, the one you are using), and it should solve your problem.

Hope it helps. Good luck!

Reasons:
  • Blacklisted phrase (1): How to solve
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (1.5): How to solve the issue?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Radomir Epur

79389180

Date: 2025-01-26 19:42:27
Score: 1
Natty:
Report link

This is resolved by removing check_existence=True, Actually it caused an error due to I manually triggered that in dev environment. While waiting for its planned schedule of automatic run, can see 'check_task_a' step is 'success'.

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

79389175

Date: 2025-01-26 19:39:26
Score: 9 🚩
Natty: 4.5
Report link

My Facebook account has been locked . It has problem regarding confirm your identity. I can't unlock my account. please help me to unlock my Facebook account otherwise change option get a Code by email or get a code by phone number

Name :- Sahajamal sk

Email:- [email protected]

My new phone Please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me to
  • RegEx Blacklisted phrase (3): Please help me
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Suraj

79389164

Date: 2025-01-26 19:34:24
Score: 3.5
Natty:
Report link

I tried all the solutions provided and they definitely had some effect, but what got me to the point was the Microsoft solution at the following link:

https://learn.microsoft.com/en-us/visualstudio/ide/optimize-visual-studio-performance?view=vs-2022

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

79389163

Date: 2025-01-26 19:34:24
Score: 3.5
Natty:
Report link

I have similar issue I need to change letter N to letter A but with specific properties.

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 111.7 185">
    <defs>
        <clipPath id="letter-N">
            <path d="M109.71,141.8c0,4.14-2.07,6.2-6.21,6.2h-24.47c-1.95,0-3.79-.46-5.51-1.38s-3.16-2.12-4.31-3.62l-20.68-29.3c-.23-.34-.55-.72-.95-1.12s-.89-.49-1.47-.26c-.81.34-1.21,1.21-1.21,2.59v26.89c0,4.14-2.07,6.2-6.21,6.2H8.19c-4.14,0-6.21-2.07-6.21-6.2V43.2c0-4.14,2.07-6.2,6.21-6.2h24.3c1.95,0,3.79.46,5.52,1.38,1.72.92,3.16,2.13,4.31,3.62l20.86,29.3c.23.34.54.72.95,1.12.4.4.89.49,1.47.26.8-.46,1.21-1.32,1.21-2.59v-26.89c0-4.14,2.07-6.2,6.2-6.2h30.51c4.14,0,6.21,2.07,6.21,6.2v98.6h-.02Z"/>
        </clipPath>
  </defs>
  <image width="100%" height="100%" preserveAspectRatio="xMidYMid slice" clip-path="url(#letter-N)" href=""></image>
  <path class="cover" d="M0,0v185h111.7V0H0ZM109.71,141.8c0,4.14-2.07,6.2-6.21,6.2h-24.47c-1.95,0-3.79-.46-5.51-1.38s-3.16-2.12-4.31-3.62l-20.68-29.3c-.23-.34-.55-.72-.95-1.12s-.89-.49-1.47-.26c-.81.34-1.21,1.21-1.21,2.59v26.89c0,4.14-2.07,6.2-6.21,6.2H8.19c-4.14,0-6.21-2.07-6.21-6.2V43.2c0-4.14,2.07-6.2,6.21-6.2h24.3c1.95,0,3.79.46,5.52,1.38,1.72.92,3.16,2.13,4.31,3.62l20.86,29.3c.23.34.54.72.95,1.12.4.4.89.49,1.47.26.8-.46,1.21-1.32,1.21-2.59v-26.89c0-4.14,2.07-6.2,6.2-6.2h30.51c4.14,0,6.21,2.07,6.21,6.2v98.6h-.02Z"/>
  <path class="outline" d="M103.51,37c4.14,0,6.21,2.07,6.21,6.2v98.59c0,4.14-2.07,6.2-6.21,6.2h-24.48c-1.95,0-3.79-.46-5.51-1.38s-3.16-2.12-4.31-3.62l-20.68-29.3c-.23-.34-.55-.72-.95-1.12-.26-.26-.55-.38-.87-.38-.19,0-.38.04-.59.12-.81.34-1.21,1.21-1.21,2.59v26.89c0,4.14-2.07,6.2-6.21,6.2H8.19c-4.14,0-6.21-2.07-6.21-6.2V43.2c0-4.14,2.07-6.2,6.21-6.2h24.3c1.95,0,3.79.46,5.52,1.38,1.72.92,3.16,2.13,4.31,3.62l20.86,29.3c.23.34.54.72.95,1.12.25.26.54.39.87.39.19,0,.39-.04.6-.13.8-.46,1.21-1.32,1.21-2.59v-26.89c0-4.14,2.07-6.2,6.2-6.2h30.5M103.51,36.25h-30.51c-4.55,0-6.95,2.4-6.95,6.95v26.89c0,1.36-.54,1.76-.78,1.91-.1.04-.19.06-.27.06-.09,0-.19-.02-.34-.16-.36-.36-.65-.7-.85-1.01l-20.88-29.33c-1.23-1.59-2.76-2.88-4.57-3.85-1.83-.97-3.8-1.47-5.87-1.47H8.19c-4.55,0-6.96,2.4-6.96,6.95v98.59c0,4.55,2.41,6.95,6.96,6.95h30.51c4.55,0,6.96-2.4,6.96-6.95v-26.89c0-1.57.56-1.82.75-1.9.1-.04.21-.06.3-.06s.2.02.35.17c.36.37.65.71.85,1.01l20.69,29.32c1.23,1.6,2.76,2.88,4.57,3.85,1.82.97,3.79,1.47,5.87,1.47h24.48c4.55,0,6.96-2.4,6.96-6.95V43.2c-.02-4.55-2.42-6.95-6.97-6.95h0Z"/>
</svg>

I can't do it right and miss class cover and outline.

Letter A Letter N

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I have similar
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have similar issue
  • Low reputation (1):
Posted by: Przemysław Jaskulski

79389161

Date: 2025-01-26 19:32:23
Score: 0.5
Natty:
Report link

You need to enable the openssl extension in the PHP configuration used by your terminal. Go to your php.ini file (for example: C:\tools\php83\php.ini), find the line with ;extension=openssl or ;extension=php_openssl.dll, remove the semicolon at the start, and then save the file. After that, open a new terminal window, run php -m to make sure openssl appears in the list, and then try creating your Laravel project again.

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

79389149

Date: 2025-01-26 19:26:22
Score: 0.5
Natty:
Report link

This is a CORS common headache. I suggest that you test via a browser (preferably Chrome, because it can be very strict) and check the request transactions via the Network tab in Devtools. Look for the "preflight" line and review the results.

I'm guessing that you'll need to add a couple of headers. Also, CORS can frown upon "allowedOrigins: '*'. I think it prefers specificity.

So research CORS preflight and the expected headers.

Note, curl and to other non-browser tools for testing requests do not do the "preflight" OPTIONS request, which is a browser security thing.

Good luck.

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

79389146

Date: 2025-01-26 19:26:21
Score: 4
Natty:
Report link

Try to trim the $element variable

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

79389145

Date: 2025-01-26 19:25:21
Score: 3.5
Natty:
Report link

Thanks so much was struggling with static vs. dynamic formulas for a while. This solved the situation. Thumbs Up!!!

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

79389128

Date: 2025-01-26 19:06:17
Score: 0.5
Natty:
Report link

This works in VS 2022! Just make sure that you add your startup.cs

Install-Package Microsoft.AspNet.SignalR 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Guy Cothal

79389126

Date: 2025-01-26 19:05:17
Score: 1
Natty:
Report link

The error is quite clear. Check all the available properties of Classname[0]. You can use your console to see all the properties contained for Classname[0]; I am sure there is no removeEventListener

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: Engr Ebuka Orioha

79389124

Date: 2025-01-26 19:03:16
Score: 2
Natty:
Report link
  1. Close VSCode
  2. rename problematic repo folder
  3. Open renamed repo folder in VSCode
  4. Close VSCode
  5. rename repo folder back to original
  6. Open repo in VSCode

This fixed it for me. Seems to reset some repo-specific things. I only had one repo have this problem.

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

79389123

Date: 2025-01-26 19:03:16
Score: 1
Natty:
Report link

In latest Android studio(Flutter), it's not appear "open for editing in android studio" in app/build.gradle,

  1. you can check ctrl+shift+A, and check for "Execute gradle task"
  2. if it didn't work either, than do checkout your java and gradle version! there's certain version matching needed! you can check online!

Mine works with Java 17, or you can install java 11(do check online)!

  1. check your java version first! if it latest(java 22) than go to your jdk path and put your installed jdk(11 or 17) in that path!
  2. Ensure to add path and system environment variables to installed jsk(17) instead of latest!
  3. Go ahead, restart Android Studio, and open cmd in Android directory(cmd android)
  4. paste this: flutterfire configure

Good luck!!

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

79389113

Date: 2025-01-26 18:57:15
Score: 3
Natty:
Report link

I have not dealt with redis on my Pantheon sites, but have you tried: "terminus redis:enable <site_id>"?

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

79389107

Date: 2025-01-26 18:55:14
Score: 0.5
Natty:
Report link

Using 365:

=REGEXEXTRACT(A1,"^.*\d(?!.*\d)")

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-2):
Posted by: Ron Rosenfeld

79389105

Date: 2025-01-26 18:54:13
Score: 9
Natty: 7
Report link

This field must be a string. (#100) It's showing repeatedly whenever I run ads for a message campaign, but it doesn't show anything like this while running a website purchase campaign. Can anyone please help me with it?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • RegEx Blacklisted phrase (0.5): anyone please help
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rahat

79389097

Date: 2025-01-26 18:47:12
Score: 2
Natty:
Report link

I don't know if you already solved this issue. I just got mine working. For anyone else that might have the same issue. The following code works. It goes from 0 (1000ms pw) to 5% (1050ms pw).

One thing that I found is that not every pin on my ESP32 Dev kit v1 can be used. It's also important that the ESC gnd is connected to the ESP32.

The code:

#include <Arduino.h>
#include <ESP32Servo.h>

const int ESC_PIN = 13;  // GPIO pin connected to the ESC
const int MIN_THROTTLE = 1000;  // Minimum throttle (1ms pulse width)
const int MAX_THROTTLE_5_PERCENT = 1050;  // Maximum throttle at 5% (1.05ms pulse width)
const int FREQUENCY = 50;  // 50Hz frequency for ESC

// Initialize the Servo object for ESC control
Servo escServo;

void setup() {
  // Start Serial communication for debugging
  Serial.begin(115200);
  Serial.println("Starting PWM control using ESP32Servo...");

  // Attach the ESC to the specified GPIO pin
  escServo.setPeriodHertz(FREQUENCY);  // Set frequency to 50Hz
  escServo.attach(ESC_PIN, MIN_THROTTLE, MAX_THROTTLE_5_PERCENT); // Attach to the ESC pin

  // Initial throttle setting (this will arm the ESC if it's idle)
  Serial.println("Sending minimum throttle for arming sequence...");
  escServo.writeMicroseconds(MIN_THROTTLE);  // Minimum throttle to arm the ESC
  delay(2000);  // Wait for arming sequence

  // Send zero throttle value to complete arming sequence
  Serial.println("Sending zero throttle to complete the arming sequence...");
  escServo.writeMicroseconds(MIN_THROTTLE);  // Zero throttle
  delay(1000);  // Allow ESC to register the zero throttle

  // Send zero throttle again (or fail-safe throttle if desired)
  Serial.println("Sending zero throttle again.");
  escServo.writeMicroseconds(MIN_THROTTLE);  // Zero throttle again
}

void loop() {
  // You can implement logic to gradually increase or decrease the throttle here
  // Example: Ramp up throttle from min to 5% max
  
  // Ramp up throttle from minimum to 5% of maximum (1600 µs)
  for (int pulse = MIN_THROTTLE; pulse <= MAX_THROTTLE_5_PERCENT; pulse += 10) {
    escServo.writeMicroseconds(pulse);
    Serial.print("Throttle: ");
    Serial.println(pulse);
    delay(100);  // Ramp up slowly
  }
  
  delay(2000); // Hold throttle for 2 seconds
  
  // Ramp down throttle from 5% of maximum to minimum
  for (int pulse = MAX_THROTTLE_5_PERCENT; pulse >= MIN_THROTTLE; pulse -= 10) {
    escServo.writeMicroseconds(pulse);
    Serial.print("Throttle: ");
    Serial.println(pulse);
    delay(50);  // Ramp down slowly
  }
  
  delay(2000); // Hold minimum throttle for 2 seconds
}

The serial log:

Throttle: 1030
Throttle: 1040
Throttle: 1050
Throttle: 1050
Throttle: 1040
Throttle: 1030
Throttle: 1020
Throttle: 1010
Throttle: 1000
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Low reputation (1):
Posted by: MartijnSchuman

79389079

Date: 2025-01-26 18:37:10
Score: 2
Natty:
Report link

Angular CLI (Command Line Interface)

To increase the productivity, we can create components, directives, pipes, services etc... with the help of Angular CLI.

Once we install Angular CLI

Locally Installation: ng i | install @angular/cli

i - shorthand install - fullhand

D:/> ng i @angular/cli

Suppose I am in D drive, above install angular cli locally in D drive. Tomorrow If I want to create angular project or work with angular project. I will get error.

To install angular cli globally in your system modified the above command with below command

D:/> ng i -g @angular/cli

-g --> globally

It will install the angular cli locally in that drive.

You can check other options to do with ng

Just type in Terminal or Command Prompt

ng --help

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amit Singh

79389077

Date: 2025-01-26 18:35:09
Score: 0.5
Natty:
Report link

At least with Ansible 2.18.1, using local_action with async works with such a playbook:

- name: Demonstrate async local_action
  hosts:
    demohost
  tasks:
    - name: Start async task
      local_action:
        module: ansible.builtin.command
        cmd: sleep 20
      async: 100
      poll: 0
      register: async_out
    - name: Run concurrent task
      ansible.builtin.debug:
        msg: "Does not wait for async task"
    - name: Poll for async task completion
      local_action:
        module: ansible.builtin.async_status
        jid: "{{ async_out.ansible_job_id }}"
      register: async_poll_out
      until: async_poll_out.finished
      delay: 5
      retries: 10
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: eroen

79389074

Date: 2025-01-26 18:33:09
Score: 3
Natty:
Report link

Run maven clean(mvn clean) and finally maven clean install(mvn install). This should remove the warning sign and compile the project

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

79389072

Date: 2025-01-26 18:32:09
Score: 1.5
Natty:
Report link

was not working when was in Mobile View dev mode in chrome

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

79389070

Date: 2025-01-26 18:32:09
Score: 0.5
Natty:
Report link

This question is super old at this point and this is not a direct answer, but I figured I would chime in with a solution I found to a related issue which had initially led me here.

In my case I was trying to aggregate values located in the same cell across multiple sheets without using a reference column. Generating an array of all the sheet names is trivial enough, but then I was having a hard time figuring out how to actually use the values in those referenced cells, since even now in 2025 you can't use INDIRECT with array formulae.

What I ended up finding was that I could essentially substitute ARRAYFORMULA with MAKEARRAY. Use cases for this are going to be very niche and specialized so I don't have a great example of this in action that will be able to make this easier to grasp - but if you, like me, found yourself at this stackoverflow post, looking into the MAKEARRAY and required LAMBDA formulae might be where you find your solution too.

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

79389068

Date: 2025-01-26 18:31:09
Score: 3
Natty:
Report link

I just set this up and it is great for the many wi fi phones I have connected. Get the "ADB Wi-Fi" plug in. Under File -> Settings -> Plugins -> Marketplace, use the search and install.

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

79389064

Date: 2025-01-26 18:28:08
Score: 2.5
Natty:
Report link

I have a few folders to search:

C:\Program Files\VSTPlugIns C:\Program Files\Steinberg\VstPlugins C:\Program Files\Common Files\VST3 C:\Program Files\Common Files\VST2 C:\Program Files\Native Instruments\VSTPlugins 32 bit C:\Program Files\Native Instruments\VSTPlugins 64 bit

C:\Program Files (x86)\VSTPlugIns C:\Program Files (x86)\Steinberg\VstPlugins C:\Program Files (x86)\Common Files\VST2 C:\Program Files (x86)\Common Files\VST3

In every of these folders i created folder named "YEAH"

By the option 1, I writen a command fo first 6 folders...

YEAH (folder:(C:\Program Files\VSTPlugIns) OR folder:(C:\Program Files\Steinberg\VstPlugins) OR folder:(C:\Program Files\Common Files\VST3) OR folder:(C:\Program Files\Common Files\VST2) OR folder:(C:\Program Files\Native Instruments\VSTPlugins 64 bit) OR folder:(C:\Program Files\Native Instruments\VSTPlugins 32 bit))

... and it works very well. 6 'YEAH' folders in search results!!

but when i try add any (x86) folder to this command or use this method for only (x86) folders it does't work

I paste the command YEAH (folder:(C:\Program Files (x86)\Common Files\VST2) OR folder:(C:\Program Files (x86)\Common Files\VST3)) and I don't get any results

Whoever knows why it doesn't work on folders (x86)?

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

79389055

Date: 2025-01-26 18:23:07
Score: 1
Natty:
Report link

SGBD: MySQL

with recursive sequence AS (

SELECT MIN(min) AS val, id
FROM register
GROUP BY id
UNION ALL
SELECT val + 1, id
FROM sequence
JOIN register ON sequence.id = register.id
WHERE val < register.max

) SELECT id, val FROM sequence ORDER BY id, val;

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

79389049

Date: 2025-01-26 18:20:06
Score: 2.5
Natty:
Report link

Running Fedora 41, but this could be from other dependencies on the system.

$ sudo dnf install fuse Updating and loading repositories: Repositories loaded. Package "fuse-2.9.9-22.fc41.x86_64" is already installed.

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

79389048

Date: 2025-01-26 18:19:06
Score: 1
Natty:
Report link

In the doc : The multiple() method may be used in combination with relationship() to use a BelongsToMany relationship. So you need to provide the maxItems method to one (1) if only one item

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

79389044

Date: 2025-01-26 18:14:05
Score: 1
Natty:
Report link

you can use PORTPY : https:/portpy.com PORTPY is a powerful yet simple framework that allows you to use it without the need to install Python.

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

79389030

Date: 2025-01-26 18:06:03
Score: 1
Natty:
Report link

Use (controlled!) recursivity:

with recursive v as
(
    select id, min val, max from a
    union
    select id, val + 1, max from v where val < max
)
select id, val from v;

See it running live.

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

79389025

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

Can't comment yet, but I made a project that implements idea of Alatun Detours library. I made a decent instruction as well. See it at https://github.com/NickViz/signtoolrdp

Reasons:
  • RegEx Blacklisted phrase (1): Can't comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can't
  • Low reputation (1):
Posted by: Nikolai Vorontsov

79389024

Date: 2025-01-26 18:02:01
Score: 2
Natty:
Report link

afteradding the below properties in application.properties file it is working spring.cache.ehcache.config=classpath:ehcache.xml spring.cache.type=simple spring.cache.cache-names=

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

79389014

Date: 2025-01-26 17:55:59
Score: 4
Natty:
Report link

You need to configure your preferred version of JDK in Android Studio. I am using Andriod studio for Macenter image description here

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

79389011

Date: 2025-01-26 17:54:58
Score: 2.5
Natty:
Report link

In regard to Vasily's answer to use MudInput instead of MudTextField,

MudInput does address autocomplete issue but currently MudInput will not render correctly Input in MudItem is not filling whole width #6341

I tried other solutions such as adding 'autocomplete="off"', 'autocomplete="false"' and 'autocomplete="host-ip"' but none of those options change the autocomplete behavior of Edge. I have not tried other browsers as if it does not work for Edge, it is not a complete solution.

So, for now it seems like I am stuck with either a) incorrect options showing up in autocomplete or b) inconsistent rendering.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am stuck
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Skattch

79389009

Date: 2025-01-26 17:53:58
Score: 2
Natty:
Report link

You can enable self healing property on the the particular test case, so that it will identify the properties. Also you can use vision AI to scan the SUT.

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

79389008

Date: 2025-01-26 17:53:58
Score: 1
Natty:
Report link

Same issue. Seems like Mapbox injects this style:

input:-webkit-autofill,select:-webkit-autofill,textarea:-webkit-autofill{animation-name:onbrowserautofillstart}input:not(:-webkit-autofill),select:not(:-webkit-autofill),textarea:not(:-webkit-autofill){animation-name:onbrowserautofillcancel}@keyframes onbrowserautofillstart{0%{animation-name:"onbrowserautofillstart"}to{animation-name:"onbrowserautofillstart"}}@keyframes onbrowserautofillcancel{0%{animation-name:"onbrowserautofillcancel"}to{animation-name:"onbrowserautofillcancel"}}
Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Berke Aras

79389006

Date: 2025-01-26 17:51:58
Score: 1
Natty:
Report link

I guess you are having the latest version of Turbo, but your turbo version requires some minimum specific version of NextJS. Updating the NextJS to the latest version will fix this:

npm install next@latest

Then, follow the installation process again after clearing the cache.

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

79389005

Date: 2025-01-26 17:51:58
Score: 1
Natty:
Report link

I had to install whitenoise and followed its Documentation. I could access the styles via url but it was not reflecting on the page

pip install whitenoise

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

79388973

Date: 2025-01-26 17:32:53
Score: 1.5
Natty:
Report link

ARM8 spinlocks test for success on the store-exclusive operation, otherwise they keep spinning. Code copied from another project may spin forever if the CPUs are not in the correct state. In this sense, the answer by Blazej Michalik and comment by artless-noise-bye-due2AI above are straight to the point. I was unable to detect a successful STXR operation until Blazej's three conditions are met, i.e. all cores contending for a store-exclusive spinlock must have their cache and mmu enabled, and the spinlock itself must be located in normal cacheable memory. I was surprised that exclusive locking on ARM8 requires normal cacheable memory (rather than uncached memory). I work aarch64 EL3 on Pi3b+, Pi4 and Pi5, all three platforms behave in the same way.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ian Pedley

79388969

Date: 2025-01-26 17:29:52
Score: 2.5
Natty:
Report link

You must add an string interpolation for your arguments, So you must replace -ArgumentList $args by -ArgumentList '${args}'. Remember to include the single quotes.

You can get more information about it here:

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

79388965

Date: 2025-01-26 17:26:51
Score: 4
Natty:
Report link

It's fixed by updating ceph and cephadm from version 17 to 19.2.

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

79388963

Date: 2025-01-26 17:24:50
Score: 1
Natty:
Report link

I think I have identified the error.

First I need to import the CSS part

symfony console importmap:req bootstrap/dist/css/bootstrap.min.css

And insert the import in asset/app.js

import 'bootstrap/dist/css/bootstrap.min.css';

Then I need to import the correct JS part, which is ..bundle.. and not ..min..

symfony console importmap:req bootstrap/dist/js/bootstrap.bundle.min.js

And insert the correct import in asset/app.js

import 'bootstrap/dist/js/bootstrap.bundle.min.js';

Now it seems everything is working correctly.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Paolo Maggio

79388957

Date: 2025-01-26 17:19:49
Score: 3.5
Natty:
Report link

This is possible with an Intellij plugin "Spring Xml Bean Migrator"

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

79388952

Date: 2025-01-26 17:16:48
Score: 1.5
Natty:
Report link

This worked:

MEMORY {
  kernel_space (rwx) : ORIGIN = 0x80200000, LENGTH = 5K
}

SECTIONS {
  .text : {
    *(.text*)
  } > kernel_space
}

"Why did the previous one not work?" you ask? I don't know, all I know is I'm finally free of linker hell, and I'm happy.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CocytusDEDI

79388950

Date: 2025-01-26 17:14:48
Score: 2.5
Natty:
Report link

If anyone is still having trouble with this, I think I've figured out the problem. The gamlss wp() function have problems when your data is called "df" or "data". Give your dataset any other name than these two, and you will probably no longer get this error.

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

79388945

Date: 2025-01-26 17:12:47
Score: 2
Natty:
Report link

The best option to create a png image is the zlib library, because a png file obeys to the zlib standard. It has multiple implementations in various programming language too and you can set the compression level.

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