79224890

Date: 2024-11-25 23:44:58
Score: 1
Natty:
Report link

Nowadays, its possible to convert a matrix to a line using the formula TOROW():

=TOROW(A1:C3)

The result will show the items in the following order

A1 A2 A3 B1 B2 B3 C1 C2 C3
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: amkawai

79224880

Date: 2024-11-25 23:40:56
Score: 1.5
Natty:
Report link

You can update the task 24 hours after the assignment. The update resets the timer of "task.system-deleted" will be triggered. For example, if the task was created in "2024-11-20 20PM" and assigned to a worker, if there's no update on it, it'll be finished at "2024-11-21 20PM," but if you update the attributes of the task in "2024-11-21 10PM," it'll be finished just in "2024-11-22 10PM." You can do it until the time of timeout configured to the task.

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

79224879

Date: 2024-11-25 23:40:56
Score: 3
Natty:
Report link

SOLVED!

The issue that i was having was that it seems like the scaleType that i had selected which 'time' seemd the right choice was not. After switching it to 'point' it solved my issue.

scaleType: 'time' -> scaleType: 'point'

There are more types in the MUI documentation, so if it still not working try out more of them. https://mui.com/x/api/charts/spark-line-chart/

Reasons:
  • Blacklisted phrase (2): still not working
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Interglot

79224869

Date: 2024-11-25 23:34:55
Score: 1.5
Natty:
Report link

You need to unpivot the table instead of creating a pivot table. Try to use this solution.

You need to transform your table before applying the Unpivot2 macro:

enter image description here

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

79224865

Date: 2024-11-25 23:32:54
Score: 4.5
Natty:
Report link

try the following

sudo dnf install -y https://s3.amazonaws.com/session-manager-downloads/plugin/latest/linux_64bit/session-manager-plugin.rpm

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

79224858

Date: 2024-11-25 23:28:52
Score: 1
Natty:
Report link
var pattern = @"(?<!\\)(\r|\n)";
var replacement = @"\\${0}";

These will work.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: AVTUNEY

79224842

Date: 2024-11-25 23:19:51
Score: 2
Natty:
Report link

Had a similar issue. Switching to 3.12 solved the indentation issue but produced a different error when I tried to re-run a line after I ran the full script.

Switching to the pre-release Python extension on VS Code (PR mentioned here: https://github.com/microsoft/vscode-python/issues/24256#issuecomment-2465711450) fixed everything!

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

79224841

Date: 2024-11-25 23:18:50
Score: 1
Natty:
Report link

Hi found the answer here:

https://community.auth0.com/t/error-in-nextjs-15/151480

The answer was to upgrade again back to NextJs V15.0.3 following this:

https://www.npmjs.com/package/@auth0/nextjs-auth0/v/4.0.0-beta.0

it might sound silly that I downgraded to NextJs 14, but I have been using Auth0 with NextJs for a while using the dynamic API approach and when i downgraded, I compared the package.json with another working project. It seemed like a good idea to take that approach. After posting this and stepping back, i decided to try fixing the errors in NextJs v15 which has a different aproach to the dynamic API approach explained in the link above. Once I had that working, both of my issues were resolved.

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

79224840

Date: 2024-11-25 23:16:50
Score: 1
Natty:
Report link
  1. You haven't provided any details about your home network. It seems likely that your home network sits behind a some kind of device that provides Network Address Translation (NAT) so that devices on your home network are able to access the Internet, even thought your Internet Service Provider (ISP) has only provided you a single, publicly routable IP address. You might refer to this device as your home router, your broadband router, or even your wireless router. It may even be built into the modem that provides you with Internet service.

    If that assumption is correct, you arguably don't need to do anything else. The router is providing NAT service, which precludes explicit attempts by an external entity from initiating contact with any device on on your home network. If that assumption is incorrect, you should clarify the details of your home network environment.

  2. I don't have a lot of insight into web servers, but the first thing that comes to mind is that you could look into enabling username/password authentication on the web service as a whole, or for the exposed Django app.

  3. Give my assumption about your home router, then in principle you don't need to modify its firewall configuration. You should make sure that it does not have any port forwarding rules enabled, or if it does, those rules are not pointing at your Dango app's listening port.

    That said, you could consider enabling firewall rules on your ubuntu server. You can explicitly allow only local source IP addresses to connect to your server. Last I knew ubuntu uses the ufw firewall tool. Enable it according to this document. This will block almost everything from connecting to your server. You then need to add a rule to allow any connections.

    Then add a rule like sudo ufw allow proto tcp from 192.168.1.0/24 to any port 80 . This assumes your home network is in the network range 192.168.1.0/24, your Dgango is listening on port 80, and uses TCP (save assumption for HTTP and HTTPS). Change the range and the port number per your requirements.

    If you use SSH to connect to your server, you'll need to enable that, as well. (TCP port 22).

  4. You could modify your Django instance per this link to enforce allow lists for your application. However, in my opinion, implementing the firewall rule on the ubuntu server is equivalent, and (again, in my opinion) is easier to maintain.

Reasons:
  • Blacklisted phrase (1): this document
  • Blacklisted phrase (1): this link
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jeremy Impson

79224831

Date: 2024-11-25 23:12:49
Score: 0.5
Natty:
Report link

A little late, but in case it helps to anyone:

You can put all your validations in a FormRequest and set the property $stopOnFirstFailure of the FormRequest to true.

class YourFormRequest extends FormRequest
{

    protected $stopOnFirstFailure = true;

    ....
    ....
    ....
}

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

79224814

Date: 2024-11-25 23:04:47
Score: 2
Natty:
Report link

The issue was that my env file had CRLF line endings. Switching to LF solved the problem.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Carl Patenaude Poulin

79224803

Date: 2024-11-25 23:00:41
Score: 10.5 🚩
Natty:
Report link

did you ever figure it out? I am having the same issue.

Reasons:
  • RegEx Blacklisted phrase (3): did you ever figure it out
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: hiya

79224802

Date: 2024-11-25 23:00:39
Score: 6 🚩
Natty:
Report link

Hi please share your report so that i can view and test

Reasons:
  • RegEx Blacklisted phrase (2.5): please share your
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nikita Arora

79224800

Date: 2024-11-25 22:59:38
Score: 1.5
Natty:
Report link

What happens when you do import pandas outside of the venv i.e. in a regular Python console that uses the global Python interpreter on your computer?

I've had similar issues on a lot of different machines I've worked with. Most of the time it is usually an issue with the virtualenv or that the computer has not added Python to PATH.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: aconfusedtortoise

79224799

Date: 2024-11-25 22:59:36
Score: 8.5 🚩
Natty: 6.5
Report link

I have also encountered this exact issue after upgrading it to .net 8.0 from 6.0.

The error seems to come when trying to send a request from HttpClient, SendAsync/GetAsync/PostAsync and in my case, it is intermittent. It definitely worked on previous .net 6. and no change of code too.

Did you manage to resolve this? Or anybody has solution for this? Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you manage to resolve this
  • RegEx Blacklisted phrase (1.5): resolve this?
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Lidya

79224797

Date: 2024-11-25 22:59:36
Score: 2
Natty:
Report link

Answered by Peter Cordes

They're probably counting instruction-fetch: 3 instructions plus a load and a store. Registers aren't memory. Some microarchitectures fetch blocks of machine code in wider chunks (and even decode multiple instructions per cycle in parallel), but those uarches would have an I-cache (or a unified L1 cache on older ARMs). So there'd be 2 data cache accesses (load + store) and one or two I-cache accesses on a high-performance CPU.

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

79224796

Date: 2024-11-25 22:57:33
Score: 6.5 🚩
Natty: 4
Report link

I face the same problem and the same frustration

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

79224794

Date: 2024-11-25 22:57:33
Score: 4.5
Natty: 4.5
Report link

I know this post is after many years, but I have landed in the same situation as you. Do you recollect if you were able to keep the SAP process active even after external connection (OData service call in my case) terminates as a result of time-out ?

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

79224792

Date: 2024-11-25 22:56:33
Score: 3
Natty:
Report link

Well, if I get it right and “Accessibility” pane in DevTools shows the aria label in the “Computed Properties” → “Name” section, the answer is “1”.

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

79224771

Date: 2024-11-25 22:43:30
Score: 3
Natty:
Report link

I would like to comment that this "feature" seriously affects the ability to store Python code in SQL Server varchar fields. In Python, a trailing backslash is a virtual line continuation, and needs to be preserved. When a query returns something different to what was stored, and you're dealing with code, you end up with something that will no longer run.

Reasons:
  • Blacklisted phrase (1): to comment
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TrevorMag

79224763

Date: 2024-11-25 22:33:28
Score: 4
Natty:
Report link

I found the answer. I had to add the "$Home/dotnet/tools" to the path.

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

79224762

Date: 2024-11-25 22:33:28
Score: 1.5
Natty:
Report link
    FilePond.registerPlugin(
        FilePondPluginImagePreview,
    );

    $(document).ready(function (e) {...

...

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

79224738

Date: 2024-11-25 22:19:25
Score: 1.5
Natty:
Report link

It looks like you need to check your database constraints. If you have set user_id as not null for table "company_info".

Also, I am not sure what your actual requirement of the project is but having onetoone join with user_id in company_info & address table is not making sense to me. Why any company will have only one user? May it should be onetomany or manytomany depending upon your requirement.

My suggestion will be to check what should be your db design and correct the table joining in backend accrodingly.

(Edited) If you want it to stay as onetoone relation, mention foreign key in only one table is enough. Like, keep company_id & address_id in user or vice versa.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Khushali S

79224735

Date: 2024-11-25 22:17:25
Score: 0.5
Natty:
Report link

To resolve the issue, change the folder name from:

dcbcd87108cec70bb467e05d5172bee8efb944af-0241f059-0743-498d-b994-7c82e3b551d2

to:

dcbcd87108cec70bb467e05d5172bee8efb944af

Repeat this process as needed, and it will work!

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

79224713

Date: 2024-11-25 22:04:21
Score: 4
Natty:
Report link

resolved. Check the last comment.

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

79224699

Date: 2024-11-25 21:59:20
Score: 1
Natty:
Report link

puedes usar el método window.open de JavaScript con la referencia adecuada.

<button type='submit' name='refresh' onclick='refresh()'>Actualizar</button>
<script>
    function refresh() { 
        setTimeout(() => {
            window.open("summary.php", "_blank");
        }, 1000);
    }
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mrdavidalv

79224698

Date: 2024-11-25 21:58:20
Score: 2
Natty:
Report link

I was also getting this error, which I believe was due to running scrapy with scrapy-playwright on a Windows machine. The scrapy-playwright documentation indicates that on Windows, scrapy and playwright have to run in different loops. My solution to this error was to run my code in a docker container which seems to have worked.

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

79224686

Date: 2024-11-25 21:52:17
Score: 3.5
Natty:
Report link

Thank you, I knew it had to be simple.

The lambda is massively over-simplied in my question, which is why it doesn't appear to make sense.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rmoss3475

79224679

Date: 2024-11-25 21:50:17
Score: 3
Natty:
Report link

This is not a problem with your code/bot. Discord was having an "Issue preventing some bot interactions". The issue is fixed now and you can see the status here.

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

79224672

Date: 2024-11-25 21:44:15
Score: 3.5
Natty:
Report link

If you are sending emails from your mail server be cautious it can be marked as spam and blacklisted.. something you don't want. I would go with mail chimp

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

79224666

Date: 2024-11-25 21:42:14
Score: 1.5
Natty:
Report link

The problem arises because switch statements in Java do not support double as a type for the expression being tested. Instead, you need to use an integer-compatible type (like int) for the switch expression.

Convert the score to an int before using it in the switch statement. Replace score with an integer division of score by 10.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: layan.3oth

79224655

Date: 2024-11-25 21:38:13
Score: 1.5
Natty:
Report link

I applied @jasonharper's comment:

The questionmark wasn't the problem, instead I tried changed dirnames while iterating through filenames and changing them.

Working code:

import os
import re

def changefilename():
    dir_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "..",".."))
    for root, dirs, files in os.walk(dir_path):
        for dir in dirs:
            new_dir = re.sub(r"([^\?]*)\?(.*)", r"\1\2", dir)
            print(dir, root, new_root)
            os.rename(os.path.join(root, dir),os.path.join(root, new_dir))

changefilename()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jasonharper's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: brathenne

79224650

Date: 2024-11-25 21:35:12
Score: 4
Natty: 4
Report link

remove the webdrivermanager dependency. It conflicts with built-in selenium manager.

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

79224639

Date: 2024-11-25 21:32:11
Score: 0.5
Natty:
Report link

In my case it was a configuration problem:

I misunderstood the k3s --cluster-domain option (which feeds into kubelet's --cluster-domain option) to mean the public domain of the cluster. All the k3s documentation offers is "Cluster Domain".

But --cluster-domain must be a private, cluster-internal domain like the default "cluster.local".

By assigning the public domain, I basically removed it from external DNS lookup, i.e. coredns refused to DNS-recurse. Hence the HTTP challenge self check did not work.

Removing the --cluster-domain option (i.e. letting it default to "cluster.local"), and rebooting the cluster solved the issue.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: markus

79224637

Date: 2024-11-25 21:29:10
Score: 0.5
Natty:
Report link

I had nbconvert and Latex kits installed but nbconvert didn't have access to the templates and dependencies it needed.

I was able to circumvent that by explicitly running the terminal command jupyter nbconvert --to webpdf /.../notebook_name.ipynb (I needed to playwright install chromium for that to work).

However, for a long-term automated fix I tried:

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

79224635

Date: 2024-11-25 21:29:10
Score: 1
Natty:
Report link

Today I tried to get two different AI applications to solve this problem and I was unsuccessful. Then I started searching the old fashioned way and within 10 minutes I found the solution here. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sover Flow

79224621

Date: 2024-11-25 21:23:06
Score: 7.5 🚩
Natty:
Report link

I am facing similar issues for CustomPolicyProvider I have created a jar and also added org.keycloak.provider.ProviderFactory under META-INF/services but still its not showing MyCustomPolicy Provider in UI nor anything in the logs, I m using version 26.0.5 locally on my machine. Pls help

Reasons:
  • RegEx Blacklisted phrase (3): Pls help
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing similar issue
  • Low reputation (1):
Posted by: codekom

79224615

Date: 2024-11-25 21:20:05
Score: 2.5
Natty:
Report link

Also Verify your enviroments, If that path does not exist anymore remove it and put the right path. Also thank everyone for their contributions for this thread. It really helped narrow down my specific problem.

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

79224614

Date: 2024-11-25 21:20:05
Score: 1.5
Natty:
Report link

Later version of MySQL and Delphi 11: I don't know if it's applicable to the earlier versions.

I didn't have the 2013 VC++ redistributable installed. It gives no hint that is the problem.

"It is necessary to install the Visual C++ Redistributable Packages for Visual Studio 2013 too."

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

79224610

Date: 2024-11-25 21:18:05
Score: 3
Natty:
Report link

I agree with mortom123. Looks like your DB connection is failing. Check your URL, Username & Password in your application.yml file.

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

79224605

Date: 2024-11-25 21:16:04
Score: 1.5
Natty:
Report link

Late to the party. But you can just use [DATATYPE] ARRAY as a column type in liquibase, e.g. varchar ARRAY. This will create a column of type varchar array.

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

79224602

Date: 2024-11-25 21:13:04
Score: 1
Natty:
Report link

I tried several things... what worked for me was to enter the project folder using the prompt and configure my credentials again:

set HTTP_PROXY=http://username:password@proxyserver:port

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

79224599

Date: 2024-11-25 21:13:04
Score: 3
Natty:
Report link

It looks like you cannot connect to your database. Maybe you can check that the value of $DSPOSTGRESQL_URL is correctly set inside the deployment?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: mortom123

79224593

Date: 2024-11-25 21:09:02
Score: 4.5
Natty:
Report link

What is the error message when it is not running correctly? Can you post the stack trace?

Adding @BeforeClass helps may suggest that your test object fixture instantiation may have some conflicts or overriding.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you post
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: jzleetcode.github.io

79224588

Date: 2024-11-25 21:08:02
Score: 2.5
Natty:
Report link

Un-installing python and then re-install using the bundle they provide in the installer should fix this.

See point #3 here

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

79224572

Date: 2024-11-25 20:57:59
Score: 3
Natty:
Report link

Unfortunately this value is hardcoded:

#define TOUCH_EXTRA_AREA_WIDTH 50

See https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-22/gtk/gtkpaned.c#L720

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

79224560

Date: 2024-11-25 20:52:58
Score: 1
Natty:
Report link

In your security filter chain, disable the cors configuration. Here is the line of code:

.cors(cors-> cors.disable())

instead of using corsConfigurationSource() use the above code line(this code line should inside in security filter chain).

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

79224558

Date: 2024-11-25 20:50:58
Score: 0.5
Natty:
Report link

In my case I was using a check in view.py to check if a there are any objects in a model. I wanted to delete unnecessary migrations and start from zero. But every time I ran makemigrations I get django.db.utils.OperationalError: no such table error. After removing the if models.Product.objects.exists() check from my view.py then I could run the makemigrations command.

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

79224551

Date: 2024-11-25 20:48:57
Score: 4.5
Natty: 4.5
Report link

OBS -> RTMP -> Nginx-rtmp-module -> ffmpeg -> RTP -> Janus -> webRTC -> Browser

Maybe you should send it through my Nintendo 3DS as well for good measure?

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

79224540

Date: 2024-11-25 20:39:55
Score: 3.5
Natty:
Report link

The procedure is correct as the policy will not show immediately when clicked on. However once saved, it will show up in the keycloak console

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

79224531

Date: 2024-11-25 20:36:54
Score: 3
Natty:
Report link

Not knowing the definition of UnknownStruct I think it's just a reference that Member2, Member3 and Member4 (three consecutive pointers) all point to the address of Member2 which is a single (32-bit) pointer.

Or (jokingly) maybe its a Secret of reverse engineering ?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dominik Weber

79224520

Date: 2024-11-25 20:31:53
Score: 2
Natty:
Report link

It happens when you have multiple files with the same name, under a folder, or even when the folder and a file are named the same,

eg. /pages/reviews and /page/reviews.js or /pages/reviews.tsx and /pages/reviews.jsx

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

79224517

Date: 2024-11-25 20:30:53
Score: 1.5
Natty:
Report link

You can't avoid it. Any running app starts seeing DeadSystemException when the Android system is shutting down. Just ignore it.

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

79224512

Date: 2024-11-25 20:29:53
Score: 0.5
Natty:
Report link

if I replace SectionMarkValues.NextPage with SectionMarkValues.NextPage.Continuous it still produces a page break

Paragraph paragraph232 = new Paragraph();

    ParagraphProperties paragraphProperties220 = new ParagraphProperties();

    SectionProperties sectionProperties1 = new SectionProperties();
    SectionType sectionType1 = new SectionType(){ Val = SectionMarkValues.NextPage };

    sectionProperties1.Append(sectionType1);

    paragraphProperties220.Append(sectionProperties1);

    paragraph232.Append(paragraphProperties220);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28482658

79224511

Date: 2024-11-25 20:29:52
Score: 4.5
Natty: 5.5
Report link

The proposed solution is applicable for Vite + Module Federation as well?

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sravan Kumar

79224510

Date: 2024-11-25 20:28:52
Score: 3.5
Natty:
Report link

Ultra-fast serverless functions powered by GraalOS

https://blogs.oracle.com/cloud-infrastructure/post/ultrafast-serverless-functions-powered-by-graalos

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

79224507

Date: 2024-11-25 20:27:51
Score: 1
Natty:
Report link

Have you tried to log the configuration of the Kafka client in the application?

Maybe enable.idempotence is true, and, in that case, it should have a producerId generated with an expiration:

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Wall-E

79224505

Date: 2024-11-25 20:26:51
Score: 3.5
Natty:
Report link

it is very simple with API 80 RS Serial Data Communication

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

79224500

Date: 2024-11-25 20:25:51
Score: 2
Natty:
Report link

SELECT name, description, ... WHERE id IN (SELECT id FROM table1 WHERE ... ORDER BY display_order, name)

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

79224496

Date: 2024-11-25 20:24:50
Score: 1.5
Natty:
Report link

The issue was and still remains that your a dirty 2 cent lowie thats committed adultery and have no self worth, so you are crying out for attention and a cucumber in ur holes... while ur husband sits thers and watches.. any1 like u that has never been happy with the way they look or just jealous and want everything you really shouldn't have will definitely run into problems like this one. So just for everyones info, this animals name is christine and she likes to consider herself as my x ..but lets just call her a scrappy left over that is not only looking worse by the day, but her bipolar is kicking on at overdrive, and being diagnosed with m.s to her was a blessing as then if she ever was asked a question by any1 that was with her, in regards to sleeping around and not being loyal. Well YUP U guessed it, she pulls out and plays the ms card and seems to have lost her memories. I just camt see anyone with memory loss be able to wip up there codes so quickly. That would be also when she would ask me to go to a location at leasf half an hour away to buy her some sort of item, that was herself buying time to be deceitful and sneak in her male/ female clients and charge for rub and tug and sex also if the other party could keep there food down when she would get naked.. but now its time to pay the penalty u fat dyke.

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Peter Berreta

79224494

Date: 2024-11-25 20:23:50
Score: 1
Natty:
Report link

If someone looks for the actual answer to the question... 3021300906052b0e03021a05000414 correspond to the SHA1 digital signature. It is a constant.

enter image description here

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

79224492

Date: 2024-11-25 20:22:48
Score: 6.5 🚩
Natty: 5
Report link

I have the same problem but im not using wsl-ubuntu how can i install libfreetype for sfml MinGW compiler(non-MSYS2) if there is an alternative way using cmake thats more preferable

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: mohammad ramezani

79224488

Date: 2024-11-25 20:20:47
Score: 1
Natty:
Report link

You get the authenticated user but you can't see it because you didn't print their information. add these line of codes to yours:

Map<String, Object> attributes = oAuth2User.getAttributes();
String email = (String) attributes.get("email");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Muhammed Duzgun

79224477

Date: 2024-11-25 20:15:43
Score: 10.5 🚩
Natty: 6
Report link

I have this same issue right now, did you ever solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Radu

79224475

Date: 2024-11-25 20:14:43
Score: 0.5
Natty:
Report link

Find it!

Inside each child Tabs.Screen we can add a sceneStyle, and it seems that the scene is the content.

import '../../global.css';
import HeaderDefault from '@/components/header/default';
import { Tabs } from 'expo-router';
import React from 'react';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { UINotificationToast } from '@/components/ui/notification/Toast';
import { View } from 'react-native';

export default function ContextLayout() {

  return (
    <SafeAreaProvider>
      <View
        style={{ flex: 1, backgroundColor: '#FF0000' /* Red background */ }}
      >
        <Tabs
          screenOptions={{
            header: ({ route }) => <HeaderDefault alignLeft={true} />,
            tabBarStyle: {
              backgroundColor: '#FBFFFE',
            },
          }}
        >
          <Tabs.Screen 
            name='dashboard' 
            options={{
              sceneStyle: {
                backgroundColor: 'red', // This what you want
              },
            }}
          />
        </Tabs>
      </View>
      <UINotificationToast />
    </SafeAreaProvider>
  );
}

Only the content is red

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

79224473

Date: 2024-11-25 20:14:43
Score: 2
Natty:
Report link

As an alternate solution if you don't want to alter the MySQL table, your scripting language may have a function to convert the source data for the INSERT into the preferred character encoding, for example, PHP has mb_convert_encoding, which has resolved the issue for me: https://www.php.net/manual/en/function.mb-convert-encoding.php

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

79224469

Date: 2024-11-25 20:11:42
Score: 1.5
Natty:
Report link

Here is a tool that I have used with some success:

It will allow you to script out a transform operation and then mass-apply it to a set of repositories.

These tools effectively handle the main execution loop described in Christophe's answer.

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

79224468

Date: 2024-11-25 20:11:42
Score: 2.5
Natty:
Report link

A few years late but just in case anybody stumbles upon this. You should be using FixedUpdate() for movement. I believe fixed update runs seveal times per frame in some cases and is designed to run at fixed intervals for this exact reason.

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

79224454

Date: 2024-11-25 20:04:40
Score: 2
Natty:
Report link
  1. Go to config/excel.php
  2. In CSV settings change in 'input_encoding' => 'UTF-8' for Csv::GUESS_ENCODING
  3. Add the reference at the top of the file also use PhpOffice\PhpSpreadsheet\Reader\Csv;
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jonatan Garces Lara

79224452

Date: 2024-11-25 20:04:40
Score: 1
Natty:
Report link

Thank you for the detailed question and an interesting puzzle. It is not clear to me where it crashes or with what exception. Knowing the framework you are using is helpful as well. il2cpp:5E0B10E0 (this is the original GetShoppingVisitorsCount function?) seems cut off at the end after calling sub_5D6506A0.

Regardless, in Hacks::CallUserFunction() you are calling typedef int32_t(__thiscall* ShoppingVisitorsCountFunc)(User* user, const void* methodInfo);

The current Hacks object pointer is then the this pointer of il2cpp:5E0B10E0. But I suspect that the called function is expecting the Mods object as this (if it's a __thiscall) and that may very well be the source of the crash. I also think that il2cpp:5E0B10E0 is NOT __thiscall and it only has one argument, as ECS does not seem to be used (other than passibly in one of the sub-functions. It also seems to endlessly recurse if the DWORD at arg0 + 0x134 is null.

Reference: visual studio this calling convention: https://learn.microsoft.com/en-us/cpp/cpp/thiscall?view=msvc-170

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dominik Weber

79224440

Date: 2024-11-25 19:58:38
Score: 1.5
Natty:
Report link

Why not copying the data without dump?

# drop new table if exists
drop table if exists users_new;

# create new table as clone
create table users_new like users;

# copy data
insert into users_new select * from users;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why not
  • High reputation (-1):
Posted by: Wiimm

79224438

Date: 2024-11-25 19:56:38
Score: 2
Natty:
Report link

Looking at this problem for extracting cells from excel formulas, this could be a valid solution.

For sheet names where you use only any word character (\w) than you don't need apostrophe (') before and after the sheet name (Sheet1! or Sheet_1!).

For sheet name where you use any non-word character (\W\w) than you need apostrophe (') before and after the sheet name ('Sheet 1'! or 'Sheet.1'!).

sheet = ('[^']+'|\w+)!
cell = \$?[a-zA-Z]{1,3}\$?[1-9]{1,7}(:\$?[a-zA-Z]{1,3}\$?[1-9]{1,7})?

enter image description here

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: milang

79224437

Date: 2024-11-25 19:56:38
Score: 1.5
Natty:
Report link

The FileNotFoundError occurs when Python tries to access a file that doesn’t exist in the specified path. In the context of pickling your ML model, the problem might be due to one of the following issues: First is Incorrect File Path Second, Commenting Out the Pickle Save Code Third, File Deletion or Moving fourth, Read/Write Permissions

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

79224429

Date: 2024-11-25 19:52:36
Score: 1
Natty:
Report link

what you are seeing in the console are aggregated stats for that specific insert statement / fingerprint. The execution count indicates that that statement has run 1.8 million times (note that this includes retries) and on average each time it does 7.5 writes (writing to a single row).

Hope that helps, see Statements Page for more details.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): what you are
  • Low reputation (0.5):
Posted by: alyshan

79224417

Date: 2024-11-25 19:49:36
Score: 4
Natty:
Report link

note that the bug with the display of the empty string was reported in https://issues.apache.org/jira/browse/ARTEMIS-4547 and was solved in 2.32.0

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

79224416

Date: 2024-11-25 19:47:35
Score: 3.5
Natty:
Report link

Anyone ever find solution to this? This is a broken json generated

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

79224412

Date: 2024-11-25 19:47:35
Score: 0.5
Natty:
Report link

Numpy may be inferring the datatype to be 2 characters for labels = np.array(['No']*10000) since all elements of the array have two characters.

Try labels = np.array(['No']*10000, dtype='<U3')

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

79224406

Date: 2024-11-25 19:45:34
Score: 2.5
Natty:
Report link

60 hours worthbof work was it. Kess ekhit rubbik inshullah u die very soon u evil fat ugly dyke. And tell them your real name christine gemayell. And you actually had the nerve to ask , why did i feed you cement floors. But today is your worst day. Just watch.

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

79224402

Date: 2024-11-25 19:44:34
Score: 2
Natty:
Report link

Removed the from the tab items and used the id of the tab.

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

79224398

Date: 2024-11-25 19:41:33
Score: 3
Natty:
Report link

Update to extension version published today.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: José Simões

79224380

Date: 2024-11-25 19:32:31
Score: 3
Natty:
Report link

Don't keep piling framework upon framework upon framework. Just use CoreAudio.

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

79224369

Date: 2024-11-25 19:29:28
Score: 8 🚩
Natty: 6.5
Report link

+1. Any suggestions for this??

Reasons:
  • RegEx Blacklisted phrase (2): Any suggestions
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mahesh

79224366

Date: 2024-11-25 19:29:28
Score: 0.5
Natty:
Report link

What about a simpler approach:

Let's create a class:

public class FooDto {

@NotNull
private final Foo foo;

public FooDto(Foo foo) {

 this.foo = foo;

}

public String getName() {
 return foo.name();
}

public String getDescription() {
 return foo.getLabel();
}

}

And then in Controller:

@GetMapping
public ResponseEntity<Set<FooDto>> allOfFoo() {
  return ResponseEntity.ok(EnumSet.allOf(Foo.class).stream().map(f -> new FooDto(f)).collect(Collectors.toSet()));
}

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Aleksander Burzec

79224364

Date: 2024-11-25 19:28:28
Score: 0.5
Natty:
Report link
my.ds.new <- my.ds %>% mutate(response = ifelse(c(0, abs(diff(response))) > abs(response * .1) & 
                                                  lag(area) == area, 
                                                lag(response), 
                                                response))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Matt0706

79224347

Date: 2024-11-25 19:22:26
Score: 1.5
Natty:
Report link

As per @Sweeper's initial suggestion in the comments, I ended up creating a custom confirmation dialog from scratch, that seeks to emulate the default .confirmationDialog, with some extra customization options.

With this custom confirmation, I have control over the color of the button labels, plus additional control over:

The custom dialog still:

There may be some other features missing when compared to the default, but for my purposes, this is suitable at this stage.

Here's the full code, followed by some example usage and screenshots:

import SwiftUI

struct ConfirmationDialogButtons: View {
    
    //State values
    @State private var showButtonDialog = true
    
    //Body
    var body: some View {
        ZStack {
            VStack {
                Button("Open button dialog") {
                    showButtonDialog.toggle()
                }
            }
            .buttonStyle(.borderedProminent)
            .buttonDialog(
                title: "Some menu title text",
                isPresented: $showButtonDialog,
                labelColor: .green
            ) {
                Button("Action 1") {}
                Button("Action 2") {}
                Button("Action 3") {}
            }
        }
        .tint(.green)
    }
}

extension View {
    func buttonDialog(
        
        title: String = "",
        isPresented: Binding<Bool>,
        
        labelColor: Color? = nil,
        buttonSpacing: CGFloat? = nil,
        buttonBackground: Color? = nil,
        buttonCornerRadius: CGFloat? = nil,
        
        @ViewBuilder buttons: @escaping () -> some View
        
    ) -> some View {
        self
            .modifier(
                ButtonDialogModifier(
                    title: title,
                    isPresented: isPresented,
                    
                    labelColor: labelColor,
                    buttonSpacing: buttonSpacing,
                    buttonBackground: buttonBackground,
                    buttonCornerRadius: buttonCornerRadius,
                    
                    buttons: buttons
                )
            )
    }
}

struct ButtonDialogModifier<Buttons: View>: ViewModifier {
    
    //Parameters
    var title: String
    @Binding var isPresented: Bool
    
    var labelColor: Color
    var buttonSpacing: CGFloat
    var buttonBackground: Color
    var buttonCornerRadius: CGFloat
    var dialogCornerRadius: CGFloat
    
    @ViewBuilder let buttons: () -> Buttons
    
    //Default values
    private let defaultButtonBackground: Color = Color(UIColor.secondarySystemBackground)
    private let defaultCornerRadius: CGFloat = 12
    private var cancelButtonLabelColor: Color
    
    //Initializer
    init(
        title: String? = nil,
        isPresented: Binding<Bool>,
        
        labelColor: Color? = nil,
        buttonSpacing: CGFloat? = nil,
        buttonBackground: Color? = nil,
        buttonCornerRadius: CGFloat? = nil,
        dialogCornerRadius: CGFloat? = nil,
        
        buttons: @escaping () -> Buttons
    ) {
        //Initialize with default values
        self.title = title ?? ""
        self._isPresented = isPresented
        
        self.labelColor = labelColor ?? .accentColor
        self.buttonSpacing = buttonSpacing ?? 0
        self.buttonBackground = buttonBackground ?? defaultButtonBackground
        self.buttonCornerRadius = (buttonCornerRadius != nil ? buttonCornerRadius : self.buttonSpacing == 0 ? 0 : buttonCornerRadius) ?? defaultCornerRadius
        self.dialogCornerRadius = dialogCornerRadius ?? buttonCornerRadius ?? defaultCornerRadius
        
        self.buttons = buttons
        
        self.cancelButtonLabelColor = self.buttonBackground == defaultButtonBackground ? self.labelColor : self.buttonBackground
    }
    
    //Body
    func body(content: Content) -> some View {
        
        content
            .frame(maxWidth: .infinity, maxHeight: .infinity)
            .overlay {
                ZStack(alignment: .bottom) {
                    
                    if isPresented {
                        Color.black
                            .opacity(0.2)
                            .ignoresSafeArea()
                            .transition(.opacity)
                    }
                    
                    if isPresented {
                        
                        //Menu wrapper
                        VStack(spacing: 10) {
                            VStack(spacing: buttonSpacing) {
                                Text(title)
                                    .foregroundStyle(.secondary)
                                    .font(.subheadline)
                                    .frame(maxWidth: .infinity, alignment: .center)
                                    .padding()
                                    .background(Color(UIColor.secondarySystemBackground), in: RoundedRectangle(cornerRadius: buttonCornerRadius))
                                
                                // Apply style for each button passed in content
                                buttons()
                                    .buttonStyle(FullWidthButtonStyle(labelColor: labelColor, buttonBackground: buttonBackground, buttonCornerRadius: buttonCornerRadius))
                            }
                            .font(.title3)
                            .clipShape(RoundedRectangle(cornerRadius: dialogCornerRadius))
                            
                            //Cancel button
                            Button {
                                isPresented.toggle()
                            } label: {
                                Text("Cancel")
                                    .fontWeight(.semibold)
                            }
                            .buttonStyle(FullWidthButtonStyle(labelColor: cancelButtonLabelColor, buttonBackground: Color(UIColor.tertiarySystemBackground), buttonCornerRadius: dialogCornerRadius))
                        }
                        .font(.title3)
                        .padding(10)
                        .transition(.move(edge: .bottom))
                    }
                }
                .animation(.easeInOut, value: isPresented)
            }
    }
    
    //Custom full-width button style
    private struct FullWidthButtonStyle: ButtonStyle {
        
        //Parameters
        var labelColor: Color
        var buttonBackground: Color = Color(UIColor.secondarySystemBackground)
        var buttonCornerRadius: CGFloat
        
        //Body
        func makeBody(configuration: Configuration) -> some View {
            configuration.label
                .frame(maxWidth: .infinity) // Make the button full width
                .padding()
                .background(buttonBackground, in: RoundedRectangle(cornerRadius: buttonCornerRadius))
                .opacity(configuration.isPressed ? 0.8 : 1.0) // Add press feedback
                .foregroundStyle(labelColor)
                .overlay(Divider(), alignment: .top)
        }
    }
}


#Preview {
    ConfirmationDialogButtons()
}

Customization examples

Simple color label customization:

.buttonDialog(
    title: "Some menu title text",
    isPresented: $showButtonDialog,
    labelColor: .cyan // <- Simple button label color customization
) {
    Button("Action 1") {}
    Button("Action 2") {}
    Button("Action 3") {}
}

enter image description here

Dark mode support (follow system setting):

enter image description here

Button spacing:

.buttonDialog(
    title: "Some menu title text",
    isPresented: $showButtonDialog,
    labelColor: .cyan, // <- Button label color customization
    buttonSpacing: 10 // <- Button spacing
) {
    Button("Action 1") {}
    Button("Action 2") {}
    Button("Action 3") {}
}

enter image description here

Button corner radius:

.buttonDialog(
    title: "Some menu title text",
    isPresented: $showButtonDialog,
    labelColor: .cyan, // <- Button label color customization
    buttonSpacing: 10, // <- Button spacing
    buttonCornerRadius: 30 // <- Button corner radius
) {
    Button("Action 1") {}
    Button("Action 2") {}
    Button("Action 3") {}
}

enter image description here

Custom button background:

.buttonDialog(
    title: "Some menu title text",
    isPresented: $showButtonDialog,
    labelColor: .white, // <- Button label color customization
    buttonSpacing: 10, // <- Button spacing
    buttonBackground: .green, // <- Button background
    buttonCornerRadius: 30 // <- Button corner radius
) {
    Button("Action 1") {}
    Button("Action 2") {}
    Button("Action 3") {}
}

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Sweeper's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrei G.

79224346

Date: 2024-11-25 19:22:26
Score: 2.5
Natty:
Report link

I faced this issue when I had an issue with flutter doctor. In my case it had to do with xcode and I just didn't think it had something to do with that bug. So try running flutter doctor and resolved any issue that comes up.

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

79224343

Date: 2024-11-25 19:20:25
Score: 0.5
Natty:
Report link

You may try this formula:

=LET(a;FILTER(TOCOL(F2:F;1);TOCOL(E2:E;1)=A2);b;COUNTUNIQUE(BYROW(a;LAMBDA(x;XLOOKUP(x;TOCOL(H2:H;1);TOCOL(I2:I;1)))));c;JOIN(";";a);HSTACK(b;c))

Output:

Output

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

79224339

Date: 2024-11-25 19:19:25
Score: 2
Natty:
Report link

In the current version (8.1.0) this can be achieved by using:

services.AddTransient<IApiControllerFilter, NoControllerFilter>();

See https://github.com/dotnet/aspnet-api-versioning/issues/1029 for details.

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

79224337

Date: 2024-11-25 19:19:23
Score: 9.5 🚩
Natty: 4
Report link

abras tenido alguna respuesta, tengo el mismo caso, pero ambos programas son de x64. enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (2.5): mismo
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: oscar eduardo vergara flores

79224335

Date: 2024-11-25 19:18:22
Score: 1
Natty:
Report link

dont use example from website.. its outdated. piece of crap...

luckily some people manage to run it.

also VS-nuget packages are Crap dependency wise.
be sure all libs are installed. nuget fails silently... no dialog when it fails.. read the output at the bottom window..

some libs install without checking any dependancy but, even crash on runtime. such a sh*tfest over there on the nugetLANDia.


check out this video. do exactly what hes doing.

  1. create New DotNet 8 console App .

  2. important!!. install these 4 package here..

    <PackageReference Include="ClickableTransparentOverlay" Version="9.1.0" />
    <PackageReference Include="ImGui.NET" Version="1.91.0.1" />
    <PackageReference Include="SixLabors.ImageSharp" Version="3.1.6" />
    <PackageReference Include="Veldrid.ImGui" Version="5.72.0" />
    <PackageReference Include="Vortice.Mathematics" Version="1.9.3" />
  1. here the bare minimum example.

here is program.cs // new style

// See https://aka.ms/new-console-template for more information
using console_Imgui;


Console.WriteLine("Welcome To **ImGuiNET  ** ");
var v1 = new myView1();
v1.Start().Wait();

// myview1.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ImGuiNET;
using ClickableTransparentOverlay;
using System.Numerics;

namespace console_Imgui
{
    internal class myView1 : Overlay
    {

        protected override void Render()
        {
            ImGui.Begin("window1", ImGuiWindowFlags.None);

            ImGui.Text("hello f*cking finally from Imgui.");

            ImGui.End();


        }


    }


}

here the tutorial videos . which i got the info from.... by the way:: cpp guys are sado/maso. they love to torture themself/other-coders.


https://youtu.be/vuiMjD_Z7aY?si=L59WrhYhcsJp6Uib&t=164

  1. video update.. he uses nuget: Clickable.... v9.1.0 (cuz v10 has some errors ??)

https://www.youtube.com/watch?v=5yVpcJo_jjs


here is another guy...

https://www.youtube.com/watch?v=V6FsOXsnVsA&list=PLuH9V-2zo1hCUZMZrMdaWPJarQ_7ZL2Ah

this playlist last video uses. loads another font Arial. it works...

both of these guys install the same 4 libs..

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: bh_earth0

79224330

Date: 2024-11-25 19:17:22
Score: 3
Natty:
Report link

Have you even checked to see if the script has been added to use js for bootstrap elements? <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>

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

79224329

Date: 2024-11-25 19:16:22
Score: 2
Natty:
Report link

To build a Bluetooth-based smart switch controlled via a mobile application, Bluetooth Low Energy (BLE) is typically the recommended protocol due to its low power consumption and modern features like GATT (Generic Attribute Profile), which simplifies communication between devices. Why GATT Is Recommended Structured Communication: GATT organizes data in a service-characteristic structure, making it easier to define and retrieve specific data, such as commands for switching on/off. Interoperability: GATT is widely supported on BLE devices and provides a standard approach to communicate between devices. Low Power: BLE with GATT consumes less power compared to classic Bluetooth. Steps to Build the Application

  1. Understand Your Smart Switch Check Specifications: Verify if your smart switch supports BLE and if it comes with a predefined GATT profile. Service and Characteristics: Typically, the switch will expose a GATT service with a characteristic to control its on/off state.

  2. Use GATT for Communication Service: A collection of related characteristics. For example, your switch might have a service for device control. Characteristic: A specific data point. For example, a characteristic might accept 0x01 for ON and 0x00 for OFF.

  3. Finding the Right Input Manufacturer Documentation: Check the smart switch's documentation for its GATT profile, including the UUIDs for services and characteristics. Use BLE Debug Tools: If documentation is not available, use tools like nRF Connect to scan and interact with the switch. Look for writable characteristics and try sending simple values like 0x00 or 0x01 to identify their effect. Trial and Error: In absence of details, reverse-engineer by experimenting with different inputs using BLE debugging apps.

  4. Develop the Application Client Role: Your app acts as a GATT client, and the smart switch is the GATT server. Write Value: Use the app to write values (0x00 or 0x01) to the characteristic associated with switching.

    BluetoothGattCharacteristic switchCharacteristic; // Assume this is discovered String switchUUID = "0000xxxx-0000-1000-8000-00805f9b34fb"; // Replace with actual UUID

    // Write to characteristic (on/off) void toggleSwitch(boolean state) { if (switchCharacteristic != null) { byte[] value = new byte[]{(byte) (state ? 1 : 0)}; switchCharacteristic.setValue(value); bluetoothGatt.writeCharacteristic(switchCharacteristic); } }

    // Discover services and characteristics @Override public void onServicesDiscovered(BluetoothGatt gatt, int status) { if (status == BluetoothGatt.GATT_SUCCESS) { for (BluetoothGattService service : gatt.getServices()) { if (service.getUuid().toString().equals(SERVICE_UUID)) { // Replace with the service UUID switchCharacteristic = service.getCharacteristic(UUID.fromString(switchUUID)); } } } }

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Override
  • Low reputation (1):
Posted by: Jasmine Smart Homes

79224326

Date: 2024-11-25 19:13:21
Score: 1
Natty:
Report link

See this GitHub reply . In the terminal, you need to specifify output-dir ../output ; such as quarto render test.qmd --output-dir ../output . In the .qmd, output-dir: "../output" seems ignored

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

79224325

Date: 2024-11-25 19:13:21
Score: 4
Natty: 4.5
Report link

for Jalali calendar use this datepicker from react-day-picker: https://daypicker.dev/docs/localization#jalali-calendar

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

79224316

Date: 2024-11-25 19:10:20
Score: 2.5
Natty:
Report link

This can be fixed by adding a visible="true" attribute to VerticalTimelineElement.

In my case. this is what the fixed code looked like in NextJs:

Below is my code https://i.sstatic.net/1KyZOYE3.png

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

79224313

Date: 2024-11-25 19:08:20
Score: 3
Natty:
Report link

Removing the controls attribute alone will allow you to manage mouse events on the video tag. This is the only solution for this, no CSS trick will make any difference.

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

79224309

Date: 2024-11-25 19:06:19
Score: 1.5
Natty:
Report link

I figured out what my issue was. In the include paths I had the branch name again where I only needed the path. It's working now.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AMN

79224299

Date: 2024-11-25 19:01:18
Score: 2
Natty:
Report link

SELECT FLOOR(UNIX_TIMESTAMP(NOW(3)) * 1000)

This will give you the current time as integer in milliseconds.

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

79224285

Date: 2024-11-25 18:57:16
Score: 0.5
Natty:
Report link

You can pipe this to the end of your code to remove 0d, 0h, 0m, or 0s

sed 's, 0[a-z],,g'
$ printf '%dd %dh %dm %ds\n' $((secs/86400)) $((secs%86400/3600)) $((secs%3600/60)) $((secs%60))
1d 0h 27m 3s

$ printf ... | sed 's, 0[a-z],,g'
1d 27m 3s
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nntrn

79224260

Date: 2024-11-25 18:49:14
Score: 1.5
Natty:
Report link

I had similar problem when launching benchmark test from android studio ui (Green Run button)- just use the gradle task either in gradle section on the right side of studio window or run in terminal cd $path/to/your/project/root/folder , ,.gradlew :app:assembleDebug

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